specops 0.2.3 → 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 (61) hide show
  1. package/.opencode/agent/demand-analyst.md +69 -18
  2. package/.opencode/agent/verifier.md +231 -0
  3. package/.opencode/skills/brainstorming/SKILL.md +105 -0
  4. package/.opencode/skills/demand-analysis/SKILL.md +393 -47
  5. package/.opencode/skills/dispatching-parallel-agents/SKILL.md +180 -0
  6. package/.opencode/skills/executing-plans/SKILL.md +90 -0
  7. package/.opencode/skills/finishing-a-development-branch/SKILL.md +222 -0
  8. package/.opencode/skills/receiving-code-review/SKILL.md +213 -0
  9. package/.opencode/skills/repo-clone-analyze/SKILL.md +371 -0
  10. package/.opencode/skills/requesting-code-review/SKILL.md +105 -0
  11. package/.opencode/skills/requesting-code-review/code-reviewer.md +146 -0
  12. package/.opencode/skills/subagent-driven-development/SKILL.md +242 -0
  13. package/.opencode/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
  14. package/.opencode/skills/subagent-driven-development/implementer-prompt.md +78 -0
  15. package/.opencode/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  16. package/.opencode/skills/systematic-debugging/SKILL.md +296 -0
  17. package/.opencode/skills/systematic-debugging/condition-based-waiting.md +115 -0
  18. package/.opencode/skills/systematic-debugging/defense-in-depth.md +122 -0
  19. package/.opencode/skills/systematic-debugging/root-cause-tracing.md +169 -0
  20. package/.opencode/skills/test-driven-development/SKILL.md +399 -0
  21. package/.opencode/skills/test-driven-development/testing-anti-patterns.md +299 -0
  22. package/.opencode/skills/using-git-worktrees/SKILL.md +218 -0
  23. package/.opencode/skills/using-superpowers/SKILL.md +99 -0
  24. package/.opencode/skills/verification-before-completion/SKILL.md +150 -0
  25. package/.opencode/skills/writing-plans/SKILL.md +123 -0
  26. package/.opencode/skills/writing-skills/SKILL.md +654 -0
  27. package/dist/__e2e__/01-state-engine.e2e.test.js +1 -1
  28. package/dist/acceptance/lazyDetector.js +1 -1
  29. package/dist/acceptance/lazyDetector.test.js +1 -1
  30. package/dist/acceptance/reporter.js +1 -1
  31. package/dist/acceptance/reporter.test.js +1 -1
  32. package/dist/acceptance/runner.js +1 -1
  33. package/dist/acceptance/runner.test.js +1 -1
  34. package/dist/cli.js +1 -1
  35. package/dist/context/index.js +1 -1
  36. package/dist/context/promptTemplate.js +1 -1
  37. package/dist/context/promptTemplate.test.js +1 -1
  38. package/dist/context/techContextLoader.js +1 -1
  39. package/dist/context/techContextLoader.test.js +1 -1
  40. package/dist/engine.js +1 -1
  41. package/dist/evolution/distiller.js +1 -1
  42. package/dist/evolution/index.js +1 -1
  43. package/dist/evolution/memoryGraph.js +1 -1
  44. package/dist/evolution/selector.js +1 -1
  45. package/dist/evolution/signals.js +1 -1
  46. package/dist/evolution/solidify.js +1 -1
  47. package/dist/evolution/store.js +1 -1
  48. package/dist/evolution/types.js +1 -1
  49. package/dist/init.js +1 -1
  50. package/dist/machines/agentMachine.js +1 -1
  51. package/dist/machines/agentMachine.test.js +1 -1
  52. package/dist/machines/supervisorMachine.js +1 -1
  53. package/dist/machines/supervisorMachine.test.js +1 -1
  54. package/dist/persistence/schema.js +1 -1
  55. package/dist/persistence/stateFile.js +1 -1
  56. package/dist/persistence/stateFile.test.js +1 -1
  57. package/dist/plugin-engine.js +1 -1
  58. package/dist/plugin.js +1 -1
  59. package/dist/types/index.js +1 -1
  60. package/dist/utils/id.js +1 -1
  61. package/package.json +1 -1
package/dist/engine.js CHANGED
@@ -1 +1 @@
1
- (function(_0x32d319,_0x412558){const _0xfaa649={_0x4b0b0:0x1a,_0x21c87f:0x94,_0x5a8ca3:0x9f,_0x4766a2:0x1f7,_0x3da0a1:0x210,_0x512f0f:0x28a,_0x3a8e47:0x47,_0x8d1563:0x2ec,_0x35254b:0x5,_0x2159c0:0x56,_0xd345e4:0xc6,_0x1676af:0xf4,_0x3beec5:0x172},_0x4dad7f={_0x2634b5:0x1d7};function _0x4760ea(_0x5171a9,_0x22d0d4){return _0x22df(_0x5171a9- -_0x4dad7f._0x2634b5,_0x22d0d4);}function _0x14ce7f(_0x6d9d8,_0x54478e){return _0x22df(_0x6d9d8-0x75,_0x54478e);}const _0x2f7429=_0x32d319();while(!![]){try{const _0x1dd08d=-parseInt(_0x4760ea(_0xfaa649._0x4b0b0,_0xfaa649._0x21c87f))/(-0x1ab1*-0x1+-0x2*-0xf5+-0x1c9a)*(-parseInt(_0x4760ea(_0xfaa649._0x5a8ca3,0x37))/(0x1*0x778+-0x1c9c+0x1526))+-parseInt(_0x14ce7f(_0xfaa649._0x4766a2,0x1f0))/(0x1c37*0x1+0x1c61+-0x3895)*(parseInt(_0x14ce7f(_0xfaa649._0x3da0a1,_0xfaa649._0x512f0f))/(-0x1ea4+-0x4d0*0x8+-0x2294*-0x2))+-parseInt(_0x14ce7f(0x2b5,0x271))/(0x1*-0x1523+0x541*0x7+-0xf9f*0x1)*(-parseInt(_0x4760ea(-0x25,-0x31))/(0x7f*0x13+-0xbb5+0x24e))+-parseInt(_0x4760ea(_0xfaa649._0x3a8e47,-0x59))/(-0x66b+0x1c1c+-0x15aa)*(parseInt(_0x14ce7f(_0xfaa649._0x8d1563,0x2c7))/(0x139c+0x1e19+0x1b*-0x1d7))+parseInt(_0x4760ea(_0xfaa649._0x35254b,-0x24))/(-0x62*0x2f+-0xa*-0x4c+0xf0f)*(parseInt(_0x4760ea(0x9b,_0xfaa649._0x2159c0))/(0x167b+-0xf6f*-0x1+-0x1*0x25e0))+-parseInt(_0x4760ea(_0xfaa649._0xd345e4,0x94))/(0x1*-0x1a31+-0x94b+-0x6b*-0x55)+parseInt(_0x4760ea(_0xfaa649._0x1676af,_0xfaa649._0x3beec5))/(0x1*0xf3c+-0xb2f+-0x401);if(_0x1dd08d===_0x412558)break;else _0x2f7429['push'](_0x2f7429['shift']());}catch(_0x1bbe56){_0x2f7429['push'](_0x2f7429['shift']());}}}(_0x468c,0x223e9+-0x345bb+-0xbe3*-0x43));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{loadTechContext}from'./context/index.js';import{generateAgentId}from'./utils/id.js';import{readFileSync,existsSync,mkdirSync}from'node:fs';import{resolve}from'node:path';const _0x33ab0a={};function _0x104d2d(_0x1133bb,_0x3529a9){return _0x22df(_0x1133bb- -0x1a8,_0x3529a9);}_0x33ab0a[_0x54f219(-0xc2,-0xbf)+'lysis']=_0x104d2d(0x26,0x41),_0x33ab0a[_0x54f219(-0xa4,-0xd7)+_0x104d2d(0xa9,0x12a)]=_0x104d2d(-0x24,0x87),_0x33ab0a[_0x54f219(-0x48,0x10)+_0x54f219(-0x65,0x30)]=_0x54f219(-0x17b,-0x137),_0x33ab0a['tech_selec'+_0x54f219(-0x33,0xe)]=_0x104d2d(0xb8,0x107),_0x33ab0a[_0x54f219(-0x2c,0x2a)]='讨论',_0x33ab0a[_0x54f219(-0x14c,-0x1f5)]='规划',_0x33ab0a['execute']='执行',_0x33ab0a['verify']='验证';const PHASE_NAMES=_0x33ab0a,STATE_FILE_PATH=resolve(process[_0x104d2d(-0x1f,0x4d)](),_0x104d2d(-0x7,0x51),'state.json');let activeEngine=null;export async function startEngine(_0x5ad550){const _0x2bb53f={_0x557696:0xff,_0x5e2ae8:0xa3,_0x574a20:0x119,_0x1af07d:0x112,_0x35ac0e:0x15,_0x41899c:0x2a,_0x43798f:0xbe,_0x378616:0x5,_0xc8c0d4:0x88,_0x3b6f44:0xa9,_0x3b4965:0x88,_0x132994:0xe1,_0x46305b:0x78,_0xf2fac5:0x58,_0x2e2adb:0x3d,_0x42ca97:0x104,_0x7b21c8:0x3d,_0x340b61:0xa9,_0x135083:0x156,_0x1aa5d3:0x46,_0x644a9:0x40,_0x2fc5e5:0xd8,_0x1c0c58:0x6d,_0x4c9a07:0x8e,_0x233b8b:0xd1,_0x54dc11:0x15d,_0x2e685a:0x120,_0x26ec3d:0x1c0,_0x54c23c:0x3f,_0xe0cbfe:0x1fe,_0x2bd5b1:0xfc,_0xf44cf6:0x55,_0x14ab13:0x52,_0x11ddc1:0x12,_0x4b98ac:0x9,_0xc8ad24:0xd1,_0x41bed0:0xc2,_0x21dc57:0xe2,_0x65d0a3:0x75,_0x130a95:0xc,_0x4d2507:0x223,_0x3551a7:0xa5,_0x370e57:0xd3,_0x3dd664:0x54,_0x23368d:0xd9,_0x2c78a0:0x10,_0x49fe6e:0x1ce,_0x1ebae6:0x1d6,_0x9a3810:0xe6,_0x4301d5:0xa6,_0x297553:0x1a3,_0x22ee4b:0x172,_0x5e5d37:0x107,_0x409bcd:0xce,_0x2f5efe:0xb4,_0x51b672:0xaf,_0x2acf5d:0x8c,_0x3150b0:0x145,_0x5ab0c8:0x165,_0x18e7ad:0xd4,_0x22a019:0xe4,_0x297d2d:0x51,_0x464a46:0xed,_0x27ca18:0x4f,_0x3e4510:0x97,_0x5b40ac:0xc5,_0x579b9e:0x16e,_0x2cec60:0x1ac,_0x3da1a9:0x76,_0x165c2a:0xb0,_0x5278b6:0x143,_0x25c3bb:0xa3,_0x4c6474:0x70,_0x2e516e:0x124},_0x209469={_0x1198cc:0x1d6},_0x1cbee6={_0x62bd0:0x122},_0x569f5f={'Pgeen':_0x3e81b7(-0x1fb,-0x19d),'Dlecz':'\x20→\x20','hLttz':function(_0x2e0c03,_0x331ba3){return _0x2e0c03>_0x331ba3;},'egBVQ':function(_0x3374d5){return _0x3374d5();},'IVvsh':function(_0x53de3d,_0x389023){return _0x53de3d<_0x389023;},'cnZDw':function(_0x47d117){return _0x47d117();},'Ehbcv':_0x43097a(_0x2bb53f._0x557696,_0x2bb53f._0x5e2ae8)+_0x3e81b7(-_0x2bb53f._0x574a20,-_0x2bb53f._0x1af07d),'ppAca':function(_0x176a0b,_0x2fc037){return _0x176a0b+_0x2fc037;},'dTgZX':function(_0x29bcb3,_0xe1622a){return _0x29bcb3!==_0xe1622a;},'mOhYo':'hwKGP','bfeiN':_0x3e81b7(-0x116,-0xaf)+'用\x20advance/'+_0x43097a(_0x2bb53f._0x35ac0e,0x2b)+_0x43097a(_0x2bb53f._0x41899c,0xb6)+'段'},{projectName:_0x51f6b3,agentCount:agentCount=0x25e1*0x1+0x1*0x2709+-0x4ce9,phases:phases=PHASES}=_0x5ad550,_0x149e1c=new Map();function _0x43097a(_0x39df4e,_0x47a8e0){return _0x54f219(_0x47a8e0-_0x1cbee6._0x62bd0,_0x39df4e);}function _0x3e81b7(_0x1d48de,_0x549059){return _0x104d2d(_0x1d48de- -_0x209469._0x1198cc,_0x549059);}console[_0x3e81b7(-0x124,-0x16e)](_0x43097a(-0x9,0x45)+_0x43097a(_0x2bb53f._0x43798f,0xd6)+'擎'),console[_0x43097a(-_0x2bb53f._0x378616,_0x2bb53f._0xc8c0d4)]('\x20\x20\x20项目:\x20'+_0x51f6b3),console[_0x43097a(_0x2bb53f._0x3b6f44,_0x2bb53f._0x3b4965)](_0x3e81b7(-0xe0,-0x12d)+'量:\x20'+agentCount),console[_0x3e81b7(-0x124,-0x154)](_0x43097a(_0x2bb53f._0x132994,_0x2bb53f._0x46305b)+phases['map'](_0x11ce5e=>PHASE_NAMES[_0x11ce5e]??_0x11ce5e)[_0x43097a(-_0x2bb53f._0xf2fac5,-0x28)](_0x569f5f[_0x43097a(_0x2bb53f._0x2e2adb,0xa2)])+'\x0a');let _0x65ef7e=null;try{_0x65ef7e=loadTechContext(),_0x65ef7e&&console[_0x43097a(_0x2bb53f._0x42ca97,0x88)](_0x43097a(-_0x2bb53f._0x7b21c8,-0x34));}catch(_0x2b5c78){console[_0x43097a(0x12,_0x2bb53f._0x340b61)]('⚠️\x20\x20加载技术上下文'+_0x3e81b7(-0x18b,-0x123),_0x2b5c78);}let _0x273471=null;if(_0x569f5f[_0x43097a(_0x2bb53f._0x135083,0xf5)](agentCount,0x19*0x13f+-0x28a*0xe+0x466*0x1)){const _0x3607a6=_0x569f5f[_0x43097a(_0x2bb53f._0x1aa5d3,0x19)](generateAgentId),_0x332c2f={};_0x332c2f[_0x43097a(-_0x2bb53f._0x644a9,0x67)]=_0x3607a6;const _0x1eaef5={};_0x1eaef5[_0x3e81b7(-_0x2bb53f._0x2fc5e5,-_0x2bb53f._0x1af07d)]=_0x332c2f,_0x273471=createActor(supervisorMachine,_0x1eaef5),_0x273471[_0x43097a(_0x2bb53f._0x1c0c58,0x51)]();const _0x2e8c2b={};_0x2e8c2b[_0x3e81b7(-0x1a3,-0x222)]=_0x43097a(_0x2bb53f._0x4c9a07,0x3b)+'E',_0x2e8c2b['phase']=phases[-0xa0*-0x38+0x10c0+-0x33c0],_0x273471[_0x3e81b7(-_0x2bb53f._0x233b8b,-_0x2bb53f._0x54dc11)](_0x2e8c2b),console['log']('['+_0x3607a6+(']\x20Supervis'+_0x43097a(_0x2bb53f._0x46305b,0x86)));for(let _0x252667=-0xcd8+0x1c5f*0x1+-0x3*0x52d;_0x569f5f['IVvsh'](_0x252667,agentCount);_0x252667++){const _0x264486=_0x569f5f[_0x3e81b7(-_0x2bb53f._0x2e685a,-_0x2bb53f._0x26ec3d)](generateAgentId);_0x273471[_0x43097a(_0x2bb53f._0x54c23c,0xdb)]({'type':_0x569f5f[_0x43097a(0x4e,0x7c)],'childId':_0x264486,'task':_0x3e81b7(-0x1df,-0x20f)+_0x569f5f[_0x3e81b7(-_0x2bb53f._0xe0cbfe,-0x270)](_0x252667,0x1*-0x1f9c+0xed*-0x3+-0x1132*-0x2)});const _0x228111={};_0x228111[_0x43097a(_0x2bb53f._0x2bd5b1,0x67)]=_0x264486,_0x228111[_0x3e81b7(-0xd3,-_0x2bb53f._0xf44cf6)]=_0x3607a6,_0x228111[_0x43097a(0x99,_0x2bb53f._0x14ab13)]=phases;const _0x36f886={};_0x36f886[_0x43097a(0xff,0xd4)]=_0x228111;const _0xaa9f4=createActor(agentMachine,_0x36f886);_0xaa9f4[_0x3e81b7(-0x15b,-0x1b5)]();const _0x4ec361={};_0x4ec361[_0x43097a(-_0x2bb53f._0x11ddc1,_0x2bb53f._0x4b98ac)]='START',_0xaa9f4[_0x3e81b7(-_0x2bb53f._0xc8ad24,-0x84)](_0x4ec361),_0x149e1c[_0x43097a(0x128,0xaf)](_0x264486,_0xaa9f4),console[_0x43097a(_0x2bb53f._0x41bed0,_0x2bb53f._0x3b4965)]('['+_0x3607a6+(_0x3e81b7(-0x163,-0x1b2)+'t:\x20')+_0x264486);}}else{if(_0x569f5f[_0x3e81b7(-_0x2bb53f._0x21dc57,-_0x2bb53f._0x65d0a3)](_0x569f5f[_0x43097a(-0x94,_0x2bb53f._0x130a95)],_0x569f5f[_0x3e81b7(-0x1a0,-_0x2bb53f._0x4d2507)])){if(!_0x1408e6[_0x3e81b7(-0x117,-_0x2bb53f._0x3551a7)](_0x1f5214)){const _0x118ef2=_0x2398ac[_0x1a5768],_0x4ac90c={};_0x4ac90c[_0x43097a(0xd2,0x67)]=_0x275e78,_0x4ac90c[_0x3e81b7(-_0x2bb53f._0x370e57,-0x102)]=_0x118ef2[_0x43097a(_0x2bb53f._0x3dd664,_0x2bb53f._0x23368d)]??_0x1b741b;const _0xfb77d6={};_0xfb77d6[_0x3e81b7(-0xd8,-0x5e)]=_0x4ac90c;const _0x40e4d8=_0x1a39a2(_0xfb2427,_0xfb77d6);_0x40e4d8[_0x3e81b7(-0x15b,-0x1c1)]();const _0x189abc={};_0x189abc[_0x43097a(_0x2bb53f._0x2c78a0,_0x2bb53f._0x4b98ac)]=_0x569f5f[_0x3e81b7(-_0x2bb53f._0x49fe6e,-_0x2bb53f._0x1ebae6)],_0x40e4d8['send'](_0x189abc);for(let _0x46604f=0x3e2+0x141e+-0x1800;_0x46604f<_0x22b405[_0x43097a(_0x2bb53f._0x9a3810,_0x2bb53f._0x4301d5)];_0x46604f++){const _0x555de3={};_0x555de3[_0x3e81b7(-_0x2bb53f._0x297553,-_0x2bb53f._0x22ee4b)]='PHASE_COMP'+_0x43097a(_0x2bb53f._0x5e5d37,_0x2bb53f._0x409bcd),_0x40e4d8[_0x3e81b7(-_0x2bb53f._0x233b8b,-_0x2bb53f._0x2f5efe)](_0x555de3);}_0x2c8b80[_0x43097a(0x13d,_0x2bb53f._0x51b672)](_0x21152b,_0x40e4d8);}}else{const _0x5c0e6d=_0x569f5f[_0x43097a(0x98,_0x2bb53f._0x2acf5d)](generateAgentId),_0x1efd16={};_0x1efd16[_0x3e81b7(-_0x2bb53f._0x3150b0,-_0x2bb53f._0x5ab0c8)]=_0x5c0e6d,_0x1efd16[_0x43097a(0x6d,0x52)]=phases;const _0x51c4df={};_0x51c4df[_0x43097a(_0x2bb53f._0x54dc11,_0x2bb53f._0x18e7ad)]=_0x1efd16;const _0x567e5f=createActor(agentMachine,_0x51c4df);_0x567e5f[_0x43097a(_0x2bb53f._0x22a019,_0x2bb53f._0x297d2d)]();const _0x5afbb3={};_0x5afbb3[_0x3e81b7(-_0x2bb53f._0x297553,-0x24a)]=_0x43097a(-_0x2bb53f._0x464a46,-_0x2bb53f._0x27ca18),_0x567e5f[_0x43097a(_0x2bb53f._0x3e4510,0xdb)](_0x5afbb3),_0x149e1c[_0x43097a(_0x2bb53f._0x5b40ac,0xaf)](_0x5c0e6d,_0x567e5f),console[_0x3e81b7(-0x124,-_0x2bb53f._0x18e7ad)]('['+_0x5c0e6d+(_0x3e81b7(-_0x2bb53f._0x579b9e,-_0x2bb53f._0x2cec60)+_0x43097a(_0x2bb53f._0x3da1a9,_0x2bb53f._0x165c2a)));}}const _0x4834e4={};_0x4834e4['projectNam'+'e']=_0x51f6b3,_0x4834e4[_0x3e81b7(-0x15a,-0x1ff)]=phases,_0x4834e4[_0x3e81b7(-_0x2bb53f._0x5278b6,-0xd7)]=_0x149e1c,_0x4834e4[_0x43097a(_0x2bb53f._0x25c3bb,0xd)+'Actor']=_0x273471,_0x4834e4[_0x43097a(_0x2bb53f._0x4c6474,0x2)+'t']=_0x65ef7e,activeEngine=_0x4834e4,await persistCurrentState(),console[_0x3e81b7(-_0x2bb53f._0x2e516e,-0x84)](_0x569f5f['bfeiN']);}export async function advancePhase(_0x237c25){const _0x47aa98={_0x2e4a67:0x237,_0x5c93b6:0x13c,_0x2130b5:0x127,_0x538d92:0x39f,_0x316c23:0x303,_0x377bdb:0x1d6,_0x419fdf:0x460,_0x583045:0x483,_0x560723:0x1df,_0x3f85d7:0x22e,_0x4f82ef:0x412,_0xfeac34:0x3d8,_0x93faab:0x338,_0x2a79c2:0x3c1,_0x3a8109:0x166,_0xe86a12:0x1ad,_0x13711a:0x1ce,_0x394b93:0x450,_0x1ebf77:0x462,_0x147a38:0x43f,_0x36e5f0:0x4d7,_0x542025:0x18d,_0x422d41:0x219,_0x144f2c:0x166,_0x1e521f:0x130,_0x31b711:0x269,_0x1b5512:0x219,_0x2a8dc3:0x435,_0x49ab2c:0x445,_0x276ed1:0x491,_0x513795:0x3f0,_0x40397b:0x34d,_0x35bfe4:0x32d,_0x320806:0xee,_0x3a7f9b:0x170,_0x338737:0x1b5,_0x215064:0x221,_0x295cb0:0xbc,_0x5752fc:0x14e,_0x1b1ce1:0x3ac,_0x57acd4:0x471,_0x3b3336:0xb4,_0x1e46b7:0x6e,_0x13379a:0x116,_0x7bf294:0x1f2,_0x2d9f7a:0x196,_0x43262c:0x226,_0x6393f1:0x30c,_0x342d71:0x293,_0x442162:0x301,_0x21361e:0x4af,_0x997a70:0x443,_0xce90a2:0x14f,_0x1d6201:0x3b8,_0x3fd06f:0x41d,_0x2e8141:0x464,_0x22448a:0x2bb,_0x5f26da:0x42c,_0x1ad820:0x3df,_0x4d888b:0x3b3,_0x162567:0x3f0,_0x45ae28:0x3e9,_0x450c13:0x33f},_0x2e48a0={_0x3de9bd:0x268};function _0x1cb85c(_0xfdd49a,_0x53e64d){return _0x104d2d(_0xfdd49a-0x33e,_0x53e64d);}function _0x51d667(_0x200865,_0x4971fe){return _0x54f219(_0x4971fe-_0x2e48a0._0x3de9bd,_0x200865);}const _0x5c7c00={'foAZm':'ALL_CHILDR'+'EN_DONE','WfwZZ':'📋\x20已加载技术上下文','dnWRs':function(_0x143e45,_0x4b7518){return _0x143e45===_0x4b7518;},'sIgRf':_0x51d667(0x228,_0x47aa98._0x2e4a67),'ifwPa':_0x51d667(_0x47aa98._0x5c93b6,_0x47aa98._0x2130b5),'jjIaB':function(_0x46694f,_0x114797){return _0x46694f===_0x114797;},'fxXGO':'completed','EGfYW':_0x1cb85c(_0x47aa98._0x538d92,_0x47aa98._0x316c23)+_0x51d667(0x22a,0x214),'qcowI':function(_0x60ac74,_0x8acf77){return _0x60ac74===_0x8acf77;},'UdBfi':function(_0x315ea9){return _0x315ea9();},'sPxBq':function(_0x17be5b){return _0x17be5b();},'ECJUi':'⚠️\x20\x20无活跃引擎且状'+'态文件不存在,请先运'+_0x51d667(_0x47aa98._0x377bdb,0x241)+_0x1cb85c(_0x47aa98._0x419fdf,_0x47aa98._0x583045)+'t\x20命令','MCisy':_0x51d667(_0x47aa98._0x560723,_0x47aa98._0x3f85d7)+_0x1cb85c(_0x47aa98._0x4f82ef,_0x47aa98._0xfeac34)};if(activeEngine){if(_0x5c7c00[_0x1cb85c(_0x47aa98._0x93faab,_0x47aa98._0x2a79c2)](_0x51d667(_0x47aa98._0x3a8109,0xf5),'QXbsr')){const {actors:_0x324b52}=activeEngine,_0x5906a2=_0x237c25??findFirstIncompleteAgent(_0x324b52);if(!_0x5906a2){if(_0x51d667(0xc0,0x125)==='QQzZi'){if(_0x237c25){await advancePhaseViaFile(_0x237c25);return;}console[_0x51d667(_0x47aa98._0xe86a12,_0x47aa98._0x13711a)](_0x1cb85c(_0x47aa98._0x394b93,_0x47aa98._0x1ebf77)+_0x51d667(0x14f,0x1f0));return;}else{const _0xfdb7bf=_0x21bb66[_0x34282d]['phase'];_0x1db6b2[_0xfdb7bf]=(_0x1653d8[_0xfdb7bf]??-0x1f*-0x8b+0x1*0x1dc5+0x952*-0x5)+(0x11bd+0x529*-0x4+0xba*0x4);}}const _0xf76d71=_0x324b52[_0x1cb85c(_0x47aa98._0x147a38,_0x47aa98._0x36e5f0)](_0x5906a2);if(!_0xf76d71){await advancePhaseViaFile(_0x5906a2);return;}const _0x280956=_0xf76d71[_0x51d667(_0x47aa98._0x542025,0x111)+'t'](),_0x3b2ece=typeof _0x280956[_0x51d667(0x1bd,_0x47aa98._0x422d41)]===_0x5c7c00[_0x51d667(_0x47aa98._0x144f2c,_0x47aa98._0x1e521f)]?_0x280956[_0x51d667(_0x47aa98._0x31b711,_0x47aa98._0x1b5512)]:_0x5c7c00[_0x1cb85c(_0x47aa98._0x2a8dc3,0x450)];if(_0x5c7c00[_0x1cb85c(_0x47aa98._0x49ab2c,_0x47aa98._0x276ed1)](_0x3b2ece,_0x5c7c00['fxXGO'])){console[_0x1cb85c(_0x47aa98._0x513795,_0x47aa98._0x40397b)]('['+_0x5906a2+_0x1cb85c(0x362,_0x47aa98._0x35bfe4));return;}const _0x4f9a96={};_0x4f9a96[_0x51d667(_0x47aa98._0x320806,0x14f)]=_0x5c7c00[_0x51d667(_0x47aa98._0x3a7f9b,_0x47aa98._0x338737)],_0xf76d71[_0x51d667(0x19c,_0x47aa98._0x215064)](_0x4f9a96);const _0x3312ff=_0xf76d71[_0x51d667(_0x47aa98._0x295cb0,0x111)+'t'](),_0x25dcf7=_0x5c7c00[_0x51d667(0xa6,_0x47aa98._0x5752fc)](typeof _0x3312ff['value'],_0x5c7c00['sIgRf'])?_0x3312ff[_0x1cb85c(0x43b,_0x47aa98._0x1b1ce1)]:_0x51d667(0x1b1,0x127),_0x1d0042=PHASE_NAMES[_0x3b2ece]??_0x3b2ece,_0x3b7d5b=PHASE_NAMES[_0x25dcf7]??_0x25dcf7;console[_0x1cb85c(_0x47aa98._0x513795,_0x47aa98._0x57acd4)]('['+_0x5906a2+']\x20'+_0x1d0042+_0x51d667(_0x47aa98._0x3b3336,0x154)+_0x3b7d5b),await _0x5c7c00['UdBfi'](persistCurrentState);_0x5c7c00[_0x51d667(_0x47aa98._0x1e46b7,_0x47aa98._0x13379a)](_0x25dcf7,_0x1cb85c(0x3da,0x356))&&(console[_0x51d667(_0x47aa98._0x7bf294,0x1ce)](_0x1cb85c(0x3ce,0x389)+_0x5906a2+_0x1cb85c(_0x47aa98._0x4f82ef,0x3b6)),checkAllComplete());return;}else{for(const [_0x380985]of _0x5cc2dd['actors']){const _0x1d800f={};_0x1d800f[_0x51d667(_0x47aa98._0x2d9f7a,_0x47aa98._0x43262c)]=_0x51d667(0xc4,0x144);const _0x46d93e={};_0x46d93e[_0x1cb85c(0x371,_0x47aa98._0x6393f1)]=_0x51d667(0x16d,0x18e)+'LETE',_0x46d93e[_0x51d667(0xa0,0x11f)]=_0x380985,_0x46d93e[_0x1cb85c(0x321,_0x47aa98._0x342d71)]=_0x1d800f,_0x3d19b6[_0x1cb85c(0x375,_0x47aa98._0x442162)+_0x1cb85c(0x440,_0x47aa98._0x21361e)][_0x1cb85c(_0x47aa98._0x997a70,0x3b0)](_0x46d93e);}const _0x141ddb={};_0x141ddb[_0x1cb85c(0x371,0x32e)]=_0x5c7c00['foAZm'],_0x1f2e85['supervisor'+'Actor']['send'](_0x141ddb);const _0x532bc5={};_0x532bc5[_0x51d667(0xb1,_0x47aa98._0xce90a2)]=_0x1cb85c(_0x47aa98._0x538d92,0x3f8)+_0x51d667(0x224,0x214),_0x52694e['supervisor'+_0x1cb85c(0x440,_0x47aa98._0x1d6201)]['send'](_0x532bc5);}}if(_0x237c25)await advancePhaseViaFile(_0x237c25);else{if(_0x5c7c00[_0x51d667(0xae,0x116)](_0x1cb85c(_0x47aa98._0x3fd06f,_0x47aa98._0x2e8141),_0x51d667(0x9d,0x146)))_0xcc5325=_0x5cc3e0(),_0x19b8a9&&_0x53e94c['log'](_0x5c7c00[_0x1cb85c(0x31d,_0x47aa98._0x22448a)]);else{const _0x340b86=await _0x5c7c00[_0x1cb85c(0x3c7,_0x47aa98._0x5f26da)](readStateFile);if(!_0x340b86){console[_0x1cb85c(0x3f0,0x3fc)](_0x5c7c00[_0x1cb85c(_0x47aa98._0x1ad820,0x37f)]);return;}const _0x4b9849=Object[_0x1cb85c(_0x47aa98._0x4d888b,0x35a)](_0x340b86['agents'])['find'](_0x4c6abf=>_0x340b86[_0x51d667(0x196,0x193)][_0x4c6abf][_0x1cb85c(0x3ac,0x399)]!=='completed');if(!_0x4b9849){console[_0x1cb85c(_0x47aa98._0x162567,_0x47aa98._0x45ae28)](_0x5c7c00[_0x1cb85c(_0x47aa98._0x450c13,0x389)]);return;}await advancePhaseViaFile(_0x4b9849);}}}async function advancePhaseViaFile(_0x23871d){const _0x520a2a={_0x1271e7:0x138,_0x504b1f:0x112,_0x2b24e5:0x131,_0x227a86:0xa9,_0x2ae766:0x17c,_0x39d812:0x10a,_0x24d2ea:0x64,_0x3c060e:0x13a,_0x9ab2ba:0x31,_0x2ca6f6:0xb1,_0x2e447a:0x55,_0x5950b4:0x79,_0x4fe69b:0x5f,_0x526ae2:0xd5,_0x5db383:0x21,_0x49a091:0xb3,_0x75ae46:0xf6,_0x2a423d:0xbd,_0xb7933c:0xad,_0x5bd59a:0xbb,_0x303802:0x8d,_0x3ccfaf:0xe,_0x50c6e4:0x77,_0x6b793b:0x3a,_0x5f48cb:0x89,_0x109f45:0xba,_0x18d465:0xb6,_0x2ccd1f:0xae,_0x12535f:0x8a,_0x2a4930:0x41,_0xa72363:0xab,_0x56086c:0xd9,_0x53e916:0xf1,_0x8fe585:0x101,_0x437818:0xce,_0x426ee2:0x14a,_0x5ae96b:0xbc,_0x278584:0x1a,_0x292bab:0x74,_0xc3acfb:0x14b,_0x2c37c0:0xdb,_0x3a9fbe:0xab,_0x29ff30:0x3e,_0x137563:0x8d,_0x4ef402:0x8c,_0x485b24:0x81,_0x20e83b:0x14a,_0x18c90c:0x191,_0x2b2f43:0x95,_0x24c9ff:0x7,_0x1865a1:0xc5,_0x40ad22:0xd0,_0x23c61b:0x74,_0x43a919:0x129,_0x243544:0x5d,_0x1a107f:0x12a,_0xc308e9:0x62,_0x4497f0:0xb0,_0x4163e2:0x119,_0x133eea:0xc8,_0x188a39:0x3,_0x34c755:0x32},_0xdf9139={'bmjYj':'⚠️\x20\x20状态文件不存在'+_0x1f4666(-0xd1,-0x3a)+_0x1f4666(-0x3d,-0xb),'eqMhx':_0x5c0186(-_0x520a2a._0x1271e7,-0x11e),'hUOgh':function(_0xc05ee0,_0x5182e0){return _0xc05ee0+_0x5182e0;},'aYoIy':_0x5c0186(-0x4a,-0x8d),'PirWE':function(_0x23f4e5){return _0x23f4e5();},'TIAWg':function(_0x2de895,_0x232e38){return _0x2de895!==_0x232e38;},'PSbXo':_0x5c0186(-0x167,-_0x520a2a._0x504b1f),'tBfgN':'⚠️\x20\x20状态文件不存在','FSEGF':function(_0x44a0a5,_0x3b7b47){return _0x44a0a5===_0x3b7b47;},'rZgfm':function(_0x3742cc,_0x167925){return _0x3742cc>=_0x167925;},'mGsqw':function(_0x40b9ce,_0x249c1b){return _0x40b9ce-_0x249c1b;},'XKkIo':function(_0x1ffe22,_0x20bf71){return _0x1ffe22<_0x20bf71;},'aepby':function(_0x285a26,_0x546f3b){return _0x285a26+_0x546f3b;},'wwAKi':function(_0x1daca1,_0x4719ed){return _0x1daca1<_0x4719ed;},'BPJEE':function(_0x25d4c5,_0x4e80b0){return _0x25d4c5-_0x4e80b0;},'ZukcL':'NRSXP','mQXUG':_0x1f4666(-0x10d,-_0x520a2a._0x2b24e5),'GcZWn':function(_0x5674e0,_0x422e11){return _0x5674e0===_0x422e11;},'KOFKu':_0x5c0186(-_0x520a2a._0x227a86,-0x54),'OGvYa':function(_0x523987,_0x41c2c0){return _0x523987!==_0x41c2c0;},'MGmfk':function(_0xc3d9c5,_0x4b47c0){return _0xc3d9c5(_0x4b47c0);},'qQYdw':_0x5c0186(-_0x520a2a._0x2ae766,-_0x520a2a._0x39d812)},_0x3c8960=await _0xdf9139[_0x1f4666(-_0x520a2a._0x24d2ea,-0xb7)](readStateFile);if(!_0x3c8960){if(_0xdf9139[_0x5c0186(-0xdb,-0xb1)]('knKSk',_0xdf9139[_0x1f4666(-_0x520a2a._0x3c060e,-0x136)])){console[_0x1f4666(-0x76,-0xd2)](_0xdf9139[_0x1f4666(-0x44,_0x520a2a._0x9ab2ba)]);return;}else{_0x4404f[_0x1f4666(-0x76,-0x2e)](_0xdf9139['bmjYj']);return;}}const _0x425cbc=_0x3c8960[_0x1f4666(-_0x520a2a._0x2ca6f6,-0x7b)][_0x23871d];function _0x1f4666(_0x10ebb5,_0x240aaf){return _0x104d2d(_0x10ebb5- -0x128,_0x240aaf);}if(!_0x425cbc){if(_0xdf9139[_0x5c0186(-_0x520a2a._0x2e447a,-0xb1)](_0x1f4666(-0x38,-_0x520a2a._0x5950b4),'PyRnS')){console['log'](_0x5c0186(-0x8c,-0xdd)+_0x23871d+(_0x1f4666(-_0x520a2a._0x4fe69b,-_0x520a2a._0x526ae2)+_0x1f4666(-0x4d,-_0x520a2a._0x5db383)));return;}else{const _0x31a323={};_0x31a323[_0x5c0186(-_0x520a2a._0x49a091,-_0x520a2a._0x75ae46)]=_0x1f4666(-0xc7,-0xd7)+_0x5c0186(-_0x520a2a._0x2a423d,-_0x520a2a._0x9ab2ba),_0x393cf9['send'](_0x31a323);}}if(_0xdf9139['FSEGF'](_0x425cbc[_0x5c0186(-_0x520a2a._0xb7933c,-_0x520a2a._0x5bd59a)],_0x5c0186(-0xab,-_0x520a2a._0x303802))){console[_0x5c0186(_0x520a2a._0x3ccfaf,-_0x520a2a._0x50c6e4)]('['+_0x23871d+']\x20已完成全部阶段');return;}const _0x3e1668=[...PHASES,...PIPELINE_PHASES],_0x38be51=_0x3e1668['indexOf'](_0x425cbc['phase']);let _0x4b2598;if(_0xdf9139['rZgfm'](_0x38be51,0x3a*-0x9+-0x1643+0x184d)&&_0x38be51<_0xdf9139[_0x1f4666(-0xb4,-_0x520a2a._0x6b793b)](_0x3e1668['length'],0x1abe+0x391*-0x7+-0x2*0xe3)){const _0x5a4041=PHASES[_0x1f4666(-_0x520a2a._0x5f48cb,-0xb2)](_0x425cbc[_0x1f4666(-_0x520a2a._0x109f45,-_0x520a2a._0x18d465)]),_0x21c00c=PIPELINE_PHASES[_0x5c0186(-_0x520a2a._0x2ccd1f,-_0x520a2a._0x12535f)](_0x425cbc[_0x1f4666(-0xba,-_0x520a2a._0x2a4930)]);if(_0x5a4041>=0xed5+0x1e06+-0x2cdb)_0xdf9139[_0x5c0186(0x37,-0x6f)](_0x5a4041,PHASES['length']-(-0xd*0xd6+0x1279+-0x79a))?_0x4b2598=PHASES[_0xdf9139[_0x5c0186(-_0x520a2a._0x2a4930,-0x93)](_0x5a4041,-0x1*-0x2581+0x4b*0x3c+0x3*-0x125c)]:_0x4b2598=_0x1f4666(-0x8c,-0x90);else{if(_0x21c00c>=0x20f*-0x9+0x55*0x40+0x11*-0x29){if(_0xdf9139[_0x5c0186(-_0x520a2a._0xa72363,-0xd7)](_0x21c00c,_0xdf9139[_0x1f4666(-0xf8,-_0x520a2a._0x56086c)](PIPELINE_PHASES[_0x5c0186(-_0x520a2a._0x53e916,-0x59)],0xf90+-0xc52*-0x1+-0x1be1)))_0x4b2598=PIPELINE_PHASES[_0x21c00c+(0x2276+0xdfe+-0x3073)];else{if(_0xdf9139['ZukcL']!==_0x5c0186(-_0x520a2a._0x8fe585,-_0x520a2a._0x437818))return _0x4510b2;else _0x4b2598=_0xdf9139[_0x1f4666(-_0x520a2a._0x426ee2,-_0x520a2a._0x5ae96b)];}}else _0x4b2598=_0x1f4666(-0x8c,-0x35);}}else{if(_0x425cbc['phase']===_0xdf9139['mQXUG'])_0x4b2598=PHASES[-0x2693+0x2466+0x1*0x22d];else{if(_0x5c0186(0x72,-_0x520a2a._0x278584)!==_0x1f4666(-0x19,-0x4)){const _0x32ec3e=_0x57537a[_0x5c0186(-0xe3,-0x134)+'t'](),_0x2f2bae=typeof _0x32ec3e[_0x5c0186(0x5,-0x2c)]===_0x5c0186(-0x1c,-0xe)?_0x32ec3e[_0x1f4666(-0x2b,0x6)]:_0xdf9139[_0x5c0186(-_0x520a2a._0x292bab,-0xe2)];if(_0x2f2bae!=='completed')return;}else _0x4b2598=_0xdf9139[_0x5c0186(-0x1a0,-_0x520a2a._0xc3acfb)];}}const _0x38d226=PHASE_NAMES[_0x425cbc[_0x1f4666(-0xba,-0x15c)]]??_0x425cbc['phase'],_0x381651=PHASE_NAMES[_0x4b2598]??_0x4b2598,_0x43b98d={..._0x3c8960[_0x5c0186(-_0x520a2a._0x2c37c0,-0xb2)]},_0x530eb1=_0x43b98d,_0x359d5c={..._0x425cbc};_0x359d5c[_0x5c0186(-0xa2,-0xbb)]=_0x4b2598,_0x359d5c[_0x1f4666(-_0x520a2a._0x3a9fbe,-0x6e)+'ration']='',_0x359d5c[_0x5c0186(-_0x520a2a._0x29ff30,-0xa1)+'ll']='',_0x530eb1[_0x23871d]=_0x359d5c;let _0x250261=_0x5c0186(-0x39,-_0x520a2a._0x137563);function _0x5c0186(_0x3175f1,_0x496576){return _0x104d2d(_0x496576- -0x129,_0x3175f1);}for(const _0x181e8e of Object[_0x1f4666(-0xb3,-0x127)](_0x530eb1)){if(_0xdf9139[_0x1f4666(-_0x520a2a._0x3ccfaf,0x9e)](_0x5c0186(-_0x520a2a._0x4ef402,-0x117),_0xdf9139[_0x5c0186(-_0x520a2a._0x485b24,-0xd1)]))_0x576ac9<_0x10a53f['length']-(0x1351+-0x2363+0x1013)?_0x5e9703=_0x2f5494[_0xdf9139['hUOgh'](_0x15bcc5,0x6f0+-0x2107+0x1a18)]:_0x1736a3=_0xdf9139[_0x1f4666(-_0x520a2a._0x20e83b,-_0x520a2a._0x18c90c)];else{if(_0xdf9139[_0x1f4666(-0xec,-0xeb)](_0x530eb1[_0x181e8e][_0x5c0186(-_0x520a2a._0x227a86,-0xbb)],'completed')){_0x250261=_0x530eb1[_0x181e8e][_0x5c0186(-_0x520a2a._0x2b2f43,-_0x520a2a._0x5bd59a)];break;}}}const _0x441adc={..._0x3c8960[_0x1f4666(-0x20,-_0x520a2a._0x24c9ff)]};_0x441adc[_0x5c0186(-_0x520a2a._0x1865a1,-_0x520a2a._0x40ad22)+'se']=_0x250261;const _0x27787b={};_0x27787b[_0x5c0186(_0x520a2a._0x23c61b,-0x21)]=_0x441adc,_0x27787b[_0x1f4666(-0xb1,-0x101)]=_0x530eb1,_0x27787b[_0x1f4666(-0x40,-0xd9)+_0x1f4666(-_0x520a2a._0x43a919,-0x19a)]=_0x3c8960[_0x1f4666(-0x40,-_0x520a2a._0x243544)+_0x5c0186(-0x132,-_0x520a2a._0x1a107f)],await _0xdf9139[_0x1f4666(-0xbb,-0x11)](writeStateFile,_0x27787b),console[_0x5c0186(-0x62,-0x77)]('['+_0x23871d+']\x20'+_0x38d226+'\x20→\x20'+_0x381651);if(_0x4b2598===_0x5c0186(-_0x520a2a._0xc308e9,-0x8d)){if(_0xdf9139[_0x1f4666(-_0x520a2a._0x4497f0,-_0x520a2a._0x4163e2)](_0xdf9139[_0x1f4666(-0xf7,-0xbe)],_0x5c0186(-_0x520a2a._0x133eea,-0x10a))){const _0x1a369e={..._0x1ac221[_0x16af9f]};_0x1a369e[_0x1f4666(-0xba,-0x110)]=_0x3e323f,_0x24ee0a[_0x3e8d48]=_0x1a369e;}else console[_0x5c0186(_0x520a2a._0x188a39,-_0x520a2a._0x50c6e4)](_0x1f4666(-0x98,-_0x520a2a._0x34c755)+_0x23871d+'\x20已完成全部阶段');}}function _0x22df(_0x35dc64,_0x491ef4){_0x35dc64=_0x35dc64-(-0x2*0xe4e+0x26cb*0x1+0x61*-0x17);const _0x6bb5fc=_0x468c();let _0x220f8=_0x6bb5fc[_0x35dc64];if(_0x22df['DcloHY']===undefined){var _0x38ee1f=function(_0x281c14){const _0x4ac3a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x575fb6='',_0x3bf552='';for(let _0x2a2c95=-0x19f2+0xb15+0xedd,_0x28edd2,_0x339d2a,_0x57b788=-0x134*-0x1+0xe4e*-0x2+-0x8*-0x36d;_0x339d2a=_0x281c14['charAt'](_0x57b788++);~_0x339d2a&&(_0x28edd2=_0x2a2c95%(0x1f*0x8+-0x225e+0x216a)?_0x28edd2*(-0xd35+-0x1ee5*-0x1+-0x4*0x45c)+_0x339d2a:_0x339d2a,_0x2a2c95++%(0x1957+0x7da+-0x212d*0x1))?_0x575fb6+=String['fromCharCode'](0x1936+0x61*0x43+-0x319a&_0x28edd2>>(-(0x1d*-0x8e+0x5*0x6ab+-0x1*0x113f)*_0x2a2c95&-0x6b*-0x4f+0x263b+-0x473a)):0x11af+-0x1*0xe13+-0x39c){_0x339d2a=_0x4ac3a6['indexOf'](_0x339d2a);}for(let _0x5a0cc2=-0x1712+-0x25*-0x49+0xc85*0x1,_0x11e98b=_0x575fb6['length'];_0x5a0cc2<_0x11e98b;_0x5a0cc2++){_0x3bf552+='%'+('00'+_0x575fb6['charCodeAt'](_0x5a0cc2)['toString'](0x5*0x1e7+-0x24b9+0x1b46))['slice'](-(0x4*-0x99d+0x1a8+0x542*0x7));}return decodeURIComponent(_0x3bf552);};_0x22df['DSBYaq']=_0x38ee1f,_0x22df['yVgsIz']={},_0x22df['DcloHY']=!![];}const _0xb3cd4f=_0x6bb5fc[-0x1b5d+0x1212+0x3*0x319],_0x3778f8=_0x35dc64+_0xb3cd4f,_0x40512d=_0x22df['yVgsIz'][_0x3778f8];return!_0x40512d?(_0x220f8=_0x22df['DSBYaq'](_0x220f8),_0x22df['yVgsIz'][_0x3778f8]=_0x220f8):_0x220f8=_0x40512d,_0x220f8;}export async function updateOperation(_0x28e61f,_0x5d459e,_0x1cbd8e){const _0x4d1360={_0x12de20:0xa7,_0x542051:0x8,_0x3e9e4d:0x196,_0x2d95dd:0x9c,_0x3b50ef:0x131,_0x552bb7:0xad,_0x48cab1:0x5e},_0x5c7f6e={_0x56297f:0x43},_0x293f01={_0x4149f9:0x1c9};function _0x18c304(_0x413c72,_0x109379){return _0x104d2d(_0x109379- -_0x293f01._0x4149f9,_0x413c72);}if(activeEngine){const _0x11cb2d=activeEngine[_0x5d5c32(-_0x4d1360._0x12de20,-0x76)][_0x5d5c32(0x34,-_0x4d1360._0x542051)](_0x28e61f);if(_0x11cb2d){const _0x151817={};_0x151817[_0x18c304(-0xff,-_0x4d1360._0x3e9e4d)]=_0x5d5c32(-_0x4d1360._0x2d95dd,-0xe0)+_0x18c304(-_0x4d1360._0x3b50ef,-0xdf),_0x151817[_0x5d5c32(-_0x4d1360._0x552bb7,-0x8b)]=_0x5d459e,_0x151817[_0x18c304(-0x14c,-0x1e4)]=_0x1cbd8e,_0x11cb2d[_0x18c304(-_0x4d1360._0x48cab1,-0xc4)](_0x151817),await persistCurrentState();return;}}function _0x5d5c32(_0x2bee4f,_0x483d75){return _0x54f219(_0x483d75-_0x5c7f6e._0x56297f,_0x2bee4f);}await updateOperationViaFile(_0x28e61f,_0x5d459e,_0x1cbd8e);}async function updateOperationViaFile(_0x5ac09a,_0x53f330,_0x87fe0d){const _0x5bb3e6={_0x412957:0x498,_0x4ce068:0x406,_0xf901f7:0x120,_0x23f408:0x1bb,_0x154be0:0x3e,_0x1f5850:0x166,_0x3365f7:0x3e3,_0x27698a:0x3e9,_0x4c00fc:0x39,_0x4a4cea:0xe9,_0x16b04f:0x3b5},_0x7df39e={_0x57a314:0x69},_0x150d00={'xkerf':function(_0x47f380){return _0x47f380();},'qwJHb':_0x44845d(_0x5bb3e6._0x412957,_0x5bb3e6._0x4ce068)},_0x339f14=await _0x150d00[_0x490c56(_0x5bb3e6._0xf901f7,_0x5bb3e6._0x23f408)](readStateFile);function _0x490c56(_0x2d4298,_0x11277b){return _0x104d2d(_0x2d4298-_0x7df39e._0x57a314,_0x11277b);}if(!_0x339f14){console[_0x490c56(0x11b,0xec)](_0x150d00['qwJHb']);return;}const _0x42b2a4=_0x339f14['agents'][_0x5ac09a];if(!_0x42b2a4){console['log'](_0x490c56(0xb5,_0x5bb3e6._0x154be0)+_0x5ac09a+(_0x490c56(0x132,_0x5bb3e6._0x1f5850)+'e.json'));return;}const _0x1cbc85={..._0x339f14[_0x44845d(0x359,_0x5bb3e6._0x3365f7)]},_0xc9bc72=_0x1cbc85,_0x43eed6={..._0x42b2a4};_0x43eed6[_0x44845d(0x388,_0x5bb3e6._0x27698a)+_0x490c56(_0x5bb3e6._0x4c00fc,-0x4b)]=_0x53f330,_0x43eed6[_0x44845d(0x41e,0x3f4)+'ll']=_0x87fe0d,_0xc9bc72[_0x5ac09a]=_0x43eed6;const _0x1d2d6d={};_0x1d2d6d[_0x490c56(0x171,_0x5bb3e6._0x4a4cea)]=_0x339f14[_0x44845d(0x406,0x474)];function _0x44845d(_0x198226,_0x283720){return _0x104d2d(_0x283720-0x36c,_0x198226);}_0x1d2d6d['agents']=_0xc9bc72,_0x1d2d6d[_0x44845d(_0x5bb3e6._0x16b04f,0x454)+'pshot']=_0x339f14['machineSna'+'pshot'],await writeStateFile(_0x1d2d6d);}export async function getStatus(){const _0x4a8724={_0x439287:0x6bc,_0x5360b7:0x5e7,_0x114d09:0xee,_0x276b25:0x607,_0x384c99:0x638,_0x4388c7:0x260,_0x54237c:0x662,_0x3494b8:0x59b,_0x223f88:0x1fd,_0x4c8489:0x127,_0x562a6c:0x13c,_0x5b4a3f:0x612,_0x5e213d:0xd8,_0x11ffa2:0xdc,_0x414abd:0x5e8,_0x3c012f:0x17e,_0x207c36:0x1bf,_0x395618:0x662,_0x37a931:0x162,_0x45a2b4:0x61d,_0x3033de:0x656,_0x305a1d:0x125,_0x516f5f:0x151,_0x359e6c:0x50,_0x15016a:0x5bf,_0x1b8ddf:0x206,_0x2e204e:0x5e6,_0x4d7edc:0x631,_0x4e823c:0x5dd,_0x2fea74:0x603,_0x509067:0x6f6,_0x2215e9:0x667,_0x7521c1:0x10f,_0xb870d9:0x10f,_0x4348cb:0x1bb,_0x213d6c:0xf6,_0x155d79:0x1c0},_0x8a17e={_0x2a0e86:0x6d2},_0x4cec11={'ZLsWa':_0x2c66df(0x5d0,0x620)+_0x2c66df(_0x4a8724._0x439287,0x65d)+'t\x20命令','BqzhE':function(_0x2055c7,_0x1d8a67,_0x243bca){return _0x2055c7(_0x1d8a67,_0x243bca);},'eRgPM':_0x2c66df(_0x4a8724._0x5360b7,0x55a),'YZinE':function(_0x22a0c2,_0x444773){return _0x22a0c2+_0x444773;},'llKMS':_0x2ca451(-_0x4a8724._0x114d09,-0x6e)};function _0x2ca451(_0x39373d,_0x56adcf){return _0x104d2d(_0x39373d- -0x1d7,_0x56adcf);}if(!existsSync(STATE_FILE_PATH)){console[_0x2c66df(_0x4a8724._0x276b25,_0x4a8724._0x384c99)](_0x4cec11[_0x2ca451(-0x1eb,-_0x4a8724._0x4388c7)]);return;}const _0x498678=_0x4cec11[_0x2c66df(_0x4a8724._0x54237c,0x67f)](readFileSync,STATE_FILE_PATH,_0x4cec11[_0x2c66df(_0x4a8724._0x3494b8,0x621)]),_0x5ec03a=JSON[_0x2ca451(-0x1be,-_0x4a8724._0x223f88)](_0x498678);console['log'](_0x2ca451(-0x1ac,-_0x4a8724._0x4c8489)+_0x5ec03a[_0x2ca451(-0xcf,-0x7a)][_0x2ca451(-0xb1,-_0x4a8724._0x562a6c)]),console[_0x2c66df(_0x4a8724._0x5b4a3f,_0x4a8724._0x384c99)](_0x2ca451(-_0x4a8724._0x5e213d,-_0x4a8724._0x11ffa2)+_0x5ec03a[_0x2c66df(_0x4a8724._0x414abd,0x68e)][_0x2ca451(-_0x4a8724._0x3c012f,-_0x4a8724._0x207c36)+'se']),console['log']('\x20\x20\x20版本:\x20'+_0x5ec03a[_0x2c66df(0x66f,_0x4a8724._0x395618)]);function _0x2c66df(_0xf94085,_0x57b278){return _0x54f219(_0x57b278-_0x8a17e._0x2a0e86,_0xf94085);}console['log']('\x20\x20\x20更新时间:\x20'+_0x5ec03a['updatedAt']+'\x0a');const _0x52ebb=_0x5ec03a['agents'],_0x38f78f=Object[_0x2ca451(-_0x4a8724._0x37a931,-_0x4a8724._0x223f88)](_0x52ebb);if(_0x38f78f[_0x2c66df(_0x4a8724._0x45a2b4,_0x4a8724._0x3033de)]===-0x376*0x5+-0x19c3*-0x1+0x5*-0x1b1){console[_0x2ca451(-_0x4a8724._0x305a1d,-0x165)](_0x2ca451(-_0x4a8724._0x516f5f,-0x1bd)+'t\x20记录');return;}console[_0x2c66df(0x64b,_0x4a8724._0x384c99)]('\x20\x20\x20Agent\x20I'+_0x2ca451(-0xea,-_0x4a8724._0x359e6c)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x2ca451(-0xc3,-0x70)+_0x2c66df(_0x4a8724._0x15016a,0x60b)+_0x2ca451(-0x198,-_0x4a8724._0x1b8ddf)+'工具'),console[_0x2ca451(-_0x4a8724._0x305a1d,-0xe7)](_0x4cec11['YZinE'](_0x4cec11[_0x2c66df(_0x4a8724._0x2e204e,0x5a3)],'-'['repeat'](-0xeb1+-0xab0+-0x1*-0x19b1)));for(const _0x31b44f of _0x38f78f){const _0x146990=_0x52ebb[_0x31b44f],_0x4e5c70=PHASE_NAMES[_0x146990[_0x2c66df(0x5e8,0x5f4)]]??_0x146990[_0x2c66df(_0x4a8724._0x4d7edc,0x5f4)],_0x45409b=_0x146990[_0x2c66df(_0x4a8724._0x4e823c,_0x4a8724._0x2fea74)+'ration']||'-',_0x353a86=_0x146990['currentSki'+'ll']||'-';console['log']('\x20\x20\x20'+_0x31b44f[_0x2c66df(_0x4a8724._0x509067,_0x4a8724._0x2215e9)](0x1f29+0x16e+-0xad7*0x3)+_0x2ca451(-_0x4a8724._0x7521c1,-0xf8)+_0x4e5c70[_0x2ca451(-0xf6,-0xee)](0x1477+0xb*-0x1b1+-0x1ce)+_0x2ca451(-_0x4a8724._0xb870d9,-_0x4a8724._0x4348cb)+_0x45409b[_0x2ca451(-_0x4a8724._0x213d6c,-0x142)](-0x2143+0x198*-0x3+0x1310*0x2)+'\x20|\x20'+_0x353a86);}console[_0x2ca451(-0x125,-_0x4a8724._0x155d79)]();}export async function resumeEngine(){const _0x148126={_0x1bdb07:0x3d2,_0x5c214c:0x353,_0x56ea4a:0x241,_0x51e676:0x1c4,_0x196560:0x175,_0x11c002:0x294,_0x20b9fa:0x31a,_0x2ee684:0x423,_0x31d65d:0x3b1,_0x16aecf:0x202,_0x429738:0x1a8,_0x38fa43:0x164,_0x6b67ba:0x18b,_0x38d4e0:0x2b6,_0xe3bfd4:0x205,_0x1cba5a:0x1c7,_0x3cc635:0x301,_0x3ffe3b:0x389,_0x46ae11:0x413,_0x3100ea:0x2cd,_0x4a9179:0x38b,_0x281efa:0x3c1,_0x193377:0xef,_0x37caf9:0x89,_0x3fdd14:0x1df,_0x3013aa:0x248,_0x42cc6b:0x2b4,_0x429a0e:0x3b3,_0x2583bf:0x32e,_0x5c1a1a:0x327,_0x49235c:0x24a,_0x33f7a5:0x2bf,_0x1b1f92:0x2a5,_0x53f0e6:0x34a,_0x3f7a4a:0x141,_0x15cbd9:0x71,_0x43a3bb:0xdd,_0x189ed2:0x2ec,_0x56c8d3:0x19a,_0x37f4a2:0x1e6,_0x34f82a:0x392,_0x764b3f:0x1e2,_0x487bbd:0x110,_0x1f4b85:0x167,_0x521544:0x163,_0x52f39f:0x19f,_0x3fcbf2:0x1db,_0x451cf4:0x1a7,_0x107d59:0x377,_0x46a91e:0x2f2,_0x20599f:0x356,_0x537c8d:0x2f6,_0x52a0a9:0x396,_0x5b90b9:0x138,_0xc72e8c:0x10e,_0x5628b8:0x378,_0x28d1f8:0x10a,_0x3f0352:0x380,_0x58c86d:0x117,_0x3c8d08:0x182,_0x34c371:0x174,_0x1dbece:0x1e2,_0x1f85a2:0x323,_0x3ddc57:0x3be,_0x530021:0x2f1,_0x321c5d:0x332,_0x5bc8c6:0x3ce,_0x5f10ab:0x415,_0x4bb5b2:0x390,_0x49c92b:0x374,_0x3314cf:0x29a,_0x4e4d20:0x9b,_0x2a056b:0x335,_0x438ff8:0x2d3,_0x1f086a:0x113,_0x26c460:0x2b1,_0xe93f2:0x2e5,_0x272589:0x3d1,_0x47f998:0x3bf},_0x8db4ab={_0x5713e6:0x2b9},_0x5e7b2b={_0x5a55d1:0x215},_0x4393d6={'qmuxm':function(_0x1fd2dd,_0x5361b1){return _0x1fd2dd(_0x5361b1);},'fBLQL':_0x3373ca(_0x148126._0x1bdb07,_0x148126._0x5c214c)+',无法恢复。请先运行'+'\x20start\x20命令','PEYku':function(_0x422fdd,_0x4d31c3,_0x2b483c){return _0x422fdd(_0x4d31c3,_0x2b483c);},'QFvGH':_0x9a2803(-_0x148126._0x56ea4a,-_0x148126._0x51e676),'XPDhJ':_0x9a2803(-0x103,-_0x148126._0x196560)+_0x9a2803(-0x210,-0x29c),'XxARn':_0x3373ca(0x2ce,_0x148126._0x11c002),'QuHdP':_0x3373ca(0x270,_0x148126._0x20b9fa)+_0x3373ca(_0x148126._0x2ee684,_0x148126._0x31d65d),'NFUAy':_0x9a2803(-_0x148126._0x16aecf,-_0x148126._0x429738),'wdMlI':function(_0x43d802,_0x40cb0f,_0x349925){return _0x43d802(_0x40cb0f,_0x349925);},'jwmyE':function(_0x368d95,_0x11c10d){return _0x368d95<_0x11c10d;},'Xacvh':function(_0x340213){return _0x340213();}};if(!_0x4393d6['qmuxm'](existsSync,STATE_FILE_PATH)){console[_0x3373ca(0x2ce,0x36b)](_0x4393d6[_0x9a2803(-0x1dc,-0x21c)]);return;}const _0x54a1a1=_0x4393d6[_0x9a2803(-0x177,-0x1da)](readFileSync,STATE_FILE_PATH,_0x4393d6[_0x9a2803(-_0x148126._0x38fa43,-_0x148126._0x6b67ba)]),_0x442dc7=JSON[_0x9a2803(-0x1fc,-0x1bb)](_0x54a1a1);function _0x9a2803(_0x37053d,_0x6fdbe5){return _0x104d2d(_0x37053d- -_0x5e7b2b._0x5a55d1,_0x6fdbe5);}const _0x243859=_0x442dc7[_0x3373ca(_0x148126._0x38d4e0,0x330)],_0xc750e=Object[_0x9a2803(-0x1a0,-0x10a)](_0x243859),_0x24f43f=_0xc750e[_0x9a2803(-_0x148126._0xe3bfd4,-_0x148126._0x1cba5a)](_0x150d09=>_0x243859[_0x150d09][_0x3373ca(0x2d7,0x327)]!==_0x9a2803(-0x179,-0x155));if(_0x24f43f[_0x3373ca(_0x148126._0x3cc635,_0x148126._0x3ffe3b)]===-0x2f5+0x1fc4+-0x1ccf){console['log'](_0x4393d6[_0x3373ca(_0x148126._0x46ae11,0x3dd)]);return;}console['log']('\x0a🔄\x20恢复引擎'),console[_0x3373ca(_0x148126._0x3100ea,0x36b)](_0x3373ca(0x2d2,0x372)+_0x442dc7[_0x3373ca(_0x148126._0x4a9179,_0x148126._0x281efa)][_0x9a2803(-_0x148126._0x193377,-_0x148126._0x37caf9)]),console[_0x9a2803(-0x163,-_0x148126._0x3fdd14)]('\x20\x20\x20未完成\x20Age'+_0x3373ca(_0x148126._0x3013aa,_0x148126._0x42cc6b)+_0x24f43f[_0x3373ca(0x2df,_0x148126._0x3ffe3b)]+'\x0a');const _0x21dfe8=new Map();let _0x4c8d6b=null;try{_0x4c8d6b=loadTechContext();}catch{}for(const _0x504764 of _0x24f43f){const _0x14b5f7=_0x243859[_0x504764],_0x26c922=PHASES[_0x3373ca(_0x148126._0x429a0e,0x358)](_0x14b5f7[_0x3373ca(_0x148126._0x2583bf,_0x148126._0x5c1a1a)]);if(_0x26c922===-(-0x1c02+0x10dd+0x2*0x593)){console[_0x3373ca(0x2cf,0x36b)]('['+_0x504764+_0x9a2803(-0x1d4,-_0x148126._0x49235c)+_0x14b5f7[_0x3373ca(_0x148126._0x33f7a5,0x327)]+',跳过');continue;}const _0x20abc3={};_0x20abc3[_0x3373ca(_0x148126._0x1b1f92,_0x148126._0x53f0e6)]=_0x504764,_0x20abc3[_0x9a2803(-0x112,-_0x148126._0x3f7a4a)]=_0x14b5f7[_0x9a2803(-0x112,-_0x148126._0x15cbd9)]??undefined;const _0x554620={};_0x554620[_0x9a2803(-0x117,-_0x148126._0x43a3bb)]=_0x20abc3;const _0x45a0a7=_0x4393d6[_0x3373ca(_0x148126._0x189ed2,0x357)](createActor,agentMachine,_0x554620);_0x45a0a7[_0x9a2803(-_0x148126._0x56c8d3,-_0x148126._0x37f4a2)](),_0x21dfe8[_0x3373ca(0x3c7,_0x148126._0x34f82a)](_0x504764,_0x45a0a7);const _0x22c8e5={};_0x22c8e5[_0x9a2803(-_0x148126._0x764b3f,-0x1d3)]=_0x4393d6['XxARn'],_0x45a0a7[_0x9a2803(-_0x148126._0x487bbd,-_0x148126._0x1f4b85)](_0x22c8e5);for(let _0x43226a=-0x6*0x26c+0x1f21+-0x1099;_0x43226a<_0x26c922;_0x43226a++){const _0x2cc492={};_0x2cc492[_0x9a2803(-0x1e2,-0x15f)]=_0x4393d6['QuHdP'],_0x45a0a7[_0x9a2803(-_0x148126._0x487bbd,-0xa2)](_0x2cc492);}console[_0x9a2803(-_0x148126._0x521544,-_0x148126._0x52f39f)]('['+_0x504764+_0x9a2803(-_0x148126._0x3fcbf2,-0x1d4)+(PHASE_NAMES[_0x14b5f7[_0x9a2803(-_0x148126._0x451cf4,-0x1e2)]]??_0x14b5f7[_0x3373ca(_0x148126._0x107d59,_0x148126._0x5c1a1a)])+_0x3373ca(_0x148126._0x46a91e,_0x148126._0x20599f));}for(const _0x5b83d7 of _0xc750e){if(_0x3373ca(_0x148126._0x537c8d,_0x148126._0x52a0a9)===_0x9a2803(-_0x148126._0x5b90b9,-_0x148126._0xc72e8c)){if(!_0x21dfe8[_0x3373ca(0x2d8,_0x148126._0x5628b8)](_0x5b83d7)){if(_0x4393d6[_0x9a2803(-_0x148126._0x196560,-0x170)]!==_0x4393d6['NFUAy'])_0x38c772=_0x70ea4[_0x9a2803(-_0x148126._0x451cf4,-_0x148126._0x28d1f8)];else{const _0x361cc4=_0x243859[_0x5b83d7],_0x5dfe81={};_0x5dfe81[_0x3373ca(_0x148126._0x3f0352,0x34a)]=_0x5b83d7,_0x5dfe81['parentId']=_0x361cc4[_0x9a2803(-0x112,-0xf9)]??undefined;const _0x470c8a={};_0x470c8a[_0x9a2803(-_0x148126._0x58c86d,-_0x148126._0x3c8d08)]=_0x5dfe81;const _0xf9f22d=_0x4393d6[_0x9a2803(-0x1e0,-_0x148126._0x34c371)](createActor,agentMachine,_0x470c8a);_0xf9f22d[_0x9a2803(-0x19a,-0x217)]();const _0x35b792={};_0x35b792[_0x9a2803(-_0x148126._0x1dbece,-0x192)]=_0x4393d6[_0x9a2803(-0x22a,-0x1a2)],_0xf9f22d[_0x3373ca(_0x148126._0x1f85a2,_0x148126._0x3ddc57)](_0x35b792);for(let _0x2db3f4=-0x1535+0x1*0x165f+0x12a*-0x1;_0x4393d6[_0x3373ca(_0x148126._0x530021,0x2da)](_0x2db3f4,PHASES['length']);_0x2db3f4++){const _0x531722={};_0x531722[_0x3373ca(0x363,0x2ec)]=_0x4393d6[_0x3373ca(_0x148126._0x321c5d,0x2d5)],_0xf9f22d['send'](_0x531722);}_0x21dfe8['set'](_0x5b83d7,_0xf9f22d);}}}else{_0x4bb0d3['log'](_0x3373ca(_0x148126._0x5bc8c6,0x353)+_0x3373ca(_0x148126._0x5f10ab,_0x148126._0x4bb5b2)+_0x3373ca(_0x148126._0x49c92b,0x324));return;}}const _0x584e5b={};_0x584e5b[_0x9a2803(-0x242,-_0x148126._0x3314cf)+'e']=_0x442dc7[_0x3373ca(0x421,0x3c1)][_0x9a2803(-_0x148126._0x193377,-_0x148126._0x4e4d20)],_0x584e5b[_0x3373ca(0x34f,_0x148126._0x2a056b)]=PHASES,_0x584e5b[_0x3373ca(_0x148126._0x438ff8,0x34c)]=_0x21dfe8,_0x584e5b[_0x9a2803(-0x1de,-0x1e4)+_0x9a2803(-_0x148126._0x1f086a,-0x1aa)]=null;function _0x3373ca(_0x1220a4,_0x314a98){return _0x104d2d(_0x314a98-_0x8db4ab._0x5713e6,_0x1220a4);}_0x584e5b[_0x3373ca(_0x148126._0x26c460,_0x148126._0xe93f2)+'t']=_0x4c8d6b,activeEngine=_0x584e5b,await _0x4393d6[_0x3373ca(0x2f7,0x38b)](persistCurrentState),console['log'](_0x3373ca(_0x148126._0x272589,_0x148126._0x47f998)+_0x9a2803(-0x1cd,-0x1ad)+'推进阶段');}export function stopEngine(){const _0x4395d1={_0x120235:0x194,_0x1f1b18:0x142,_0x52775d:0x186,_0x5ded4f:0x159,_0x22779e:0xec,_0x30f797:0x7a,_0x1a78b5:0xd3,_0x2d513e:0x15f,_0x4cbf05:0x123,_0x300124:0x10c,_0xca2876:0x123,_0x15509c:0xeb,_0x27b15f:0x19},_0x26aa49={};_0x26aa49[_0x1fad17(-0xef,-_0x4395d1._0x120235)]=function(_0x52be72,_0x4447ca){return _0x52be72===_0x4447ca;};function _0x2956ab(_0x41ef9e,_0x52babd){return _0x54f219(_0x41ef9e-0x152,_0x52babd);}const _0x3613ae=_0x26aa49;if(!activeEngine)return;for(const [,_0x584720]of activeEngine[_0x1fad17(-_0x4395d1._0x1f1b18,-_0x4395d1._0x52775d)]){_0x584720[_0x2956ab(0x114,0xac)]();}if(activeEngine['supervisor'+_0x1fad17(-0xd3,-_0x4395d1._0x5ded4f)]){if(_0x3613ae[_0x2956ab(_0x4395d1._0x22779e,0x108)](_0x1fad17(-0xca,-0x37),_0x2956ab(0x111,_0x4395d1._0x30f797)))activeEngine['supervisor'+_0x1fad17(-_0x4395d1._0x1a78b5,-0x115)][_0x2956ab(0x114,_0x4395d1._0x2d513e)]();else{_0x217d5f[_0x1fad17(-_0x4395d1._0x4cbf05,-0x121)]('['+_0x577ee3+_0x1fad17(-0x1b1,-_0x4395d1._0x300124));return;}}function _0x1fad17(_0x4b2ee5,_0x4a9bd5){return _0x104d2d(_0x4b2ee5- -0x1d5,_0x4a9bd5);}activeEngine=null,console[_0x1fad17(-_0x4395d1._0xca2876,-_0x4395d1._0x15509c)](_0x2956ab(0x43,-_0x4395d1._0x27b15f));}export function getEngine(){return activeEngine;}export async function registerAgent(_0x5dcbab,_0x225bcf={}){const _0x28b32f={_0x4b0a31:0x4ba,_0x482621:0x422,_0x2ab25d:0x499,_0x12b51a:0x40e,_0x163d1e:0x49f,_0x2a0ffe:0x505,_0x1a9ff2:0x44a,_0xad1f69:0x45b,_0x23714b:0x3fc,_0x38a62d:0x496,_0x2ba35e:0x493,_0x138f34:0x47b,_0x3f123c:0x40b,_0x8d05d5:0x438,_0x3a80b1:0x4d3,_0x1d7913:0x4cc,_0x230f18:0x50e,_0x422b70:0x34b,_0x10ae62:0x3e5,_0x1edb43:0x32a,_0x17a131:0x3c1,_0x391d6b:0x3d3,_0x2e394e:0x414,_0x599089:0x39e,_0x518ab2:0x43d,_0x413ea8:0x387,_0x4540f5:0x40e,_0x543926:0x41c,_0x165236:0x44f,_0x1b23fa:0x4f7,_0x46a867:0x3d0,_0x42fe84:0x44f,_0x3b4eed:0x471,_0x102821:0x3b1,_0x27cab2:0x4f5,_0x1abb91:0x412,_0x143ff2:0x41a,_0x243b4b:0x3f9,_0x22ff8f:0x3e9,_0x44bb73:0x3d5,_0x139de4:0x3e8,_0x5a1806:0x40c,_0x17f368:0x3bf,_0x3d2e2a:0x4e9,_0x2c9bde:0x4fc,_0x29b973:0x46b,_0x1543ad:0x3d0,_0x4d6722:0x3f3,_0x36c59b:0x434,_0x5a6534:0x431,_0x2e21dd:0x46f,_0x4f6aaa:0x3fb,_0xfbef20:0x3ce,_0x5edcf8:0x42d},_0x5f4733={_0x4c62ab:0x540},_0x42a45b={_0x3a362e:0x52d},_0x1ea046={'xQCyR':'github_url','wdYEw':_0x1edc14(_0x28b32f._0x4b0a31,_0x28b32f._0x482621)+'l','zVihA':function(_0x28d63f,_0x3e02f2){return _0x28d63f>_0x3e02f2;},'PNzkS':_0x1edc14(_0x28b32f._0x2ab25d,_0x28b32f._0x12b51a)+'t','jHDJj':_0x1edc14(0x3ff,0x385),'BWSZS':function(_0x30c366){return _0x30c366();},'BnGUj':function(_0x66189a,_0x5ec181){return _0x66189a===_0x5ec181;},'zCskt':_0x1edc14(_0x28b32f._0x163d1e,_0x28b32f._0x2a0ffe),'nNMBo':_0x1edc14(_0x28b32f._0x1a9ff2,0x4bd),'obYTB':_0x2de83f(_0x28b32f._0xad1f69,_0x28b32f._0x23714b),'QwiZR':function(_0x5b26c1,_0x5188a7){return _0x5b26c1!==_0x5188a7;}},_0x2ac719=await _0x1ea046[_0x2de83f(0x538,_0x28b32f._0x38a62d)](readStateFile);if(!_0x2ac719){console[_0x2de83f(0x4e2,_0x28b32f._0x2ba35e)](_0x2de83f(0x502,_0x28b32f._0x138f34)+_0x2de83f(_0x28b32f._0x3f123c,_0x28b32f._0x8d05d5)+_0x2de83f(_0x28b32f._0x3a80b1,_0x28b32f._0x1d7913));return;}function _0x2de83f(_0x4c03af,_0x5e4ba5){return _0x54f219(_0x5e4ba5-_0x42a45b._0x3a362e,_0x4c03af);}if(_0x2ac719[_0x1edc14(0x46b,_0x28b32f._0x230f18)][_0x5dcbab]){if(_0x1ea046[_0x2de83f(_0x28b32f._0x422b70,_0x28b32f._0x10ae62)](_0x1ea046['zCskt'],_0x1ea046[_0x1edc14(0x50c,0x496)])){if(/^https?:\/\/github\.com\//[_0x2de83f(0x381,0x3c1)](_0x2032ab))return _0x1ea046[_0x1edc14(0x4e0,0x4ce)];if(/^https?:\/\//[_0x2de83f(_0x28b32f._0x1edb43,_0x28b32f._0x17a131)](_0x34655a))return _0x1ea046['wdYEw'];if(_0x1ea046[_0x2de83f(_0x28b32f._0x391d6b,0x463)](_0x5046b7[_0x2de83f(_0x28b32f._0x2e394e,0x4b1)],0x20f2+-0x45b+0x1*-0x1c8d))return _0x1ea046['PNzkS'];return _0x1ea046[_0x2de83f(_0x28b32f._0x599089,_0x28b32f._0x518ab2)];}else{console['log']('⚠️\x20\x20Agent\x20'+_0x5dcbab+_0x2de83f(_0x28b32f._0x413ea8,_0x28b32f._0x4540f5));return;}}const _0x50d00f=_0x225bcf[_0x2de83f(_0x28b32f._0x543926,_0x28b32f._0x165236)]??_0x1ea046['obYTB'];function _0x1edc14(_0x2172e2,_0x3d77f1){return _0x54f219(_0x2172e2-_0x5f4733._0x4c62ab,_0x3d77f1);}const _0x36a6ee=_0x225bcf[_0x1edc14(_0x28b32f._0x1b23fa,0x541)]??null,_0x54c390={};_0x54c390['agentId']=_0x5dcbab,_0x54c390['parentId']=_0x36a6ee,_0x54c390[_0x1edc14(0x40c,_0x28b32f._0x46a867)]=[],_0x54c390[_0x2de83f(0x4a1,_0x28b32f._0x42fe84)]=_0x50d00f,_0x54c390[_0x1edc14(_0x28b32f._0x3b4eed,_0x28b32f._0x4b0a31)+_0x2de83f(0x40b,_0x28b32f._0x102821)]='',_0x54c390[_0x1edc14(0x47c,_0x28b32f._0x27cab2)+'ll']='';const _0x4192ff=_0x54c390,_0x44be67={..._0x2ac719[_0x1edc14(0x46b,_0x28b32f._0x1abb91)]};_0x44be67[_0x5dcbab]=_0x4192ff;const _0x2b1663=_0x44be67;if(_0x36a6ee&&_0x2b1663[_0x36a6ee]){const _0x2957d0=_0x2b1663[_0x36a6ee];if(!_0x2957d0[_0x2de83f(_0x28b32f._0x143ff2,_0x28b32f._0x243b4b)][_0x2de83f(_0x28b32f._0x22ff8f,0x470)](_0x5dcbab)){if(_0x1ea046['QwiZR'](_0x2de83f(0x473,_0x28b32f._0x44bb73),_0x1edc14(_0x28b32f._0x139de4,0x47c)))_0x138015[_0x2eb4da]=_0x4d11b0;else{const _0x5aee6e={..._0x2957d0};_0x5aee6e[_0x2de83f(0x3f6,0x3f9)]=[..._0x2957d0[_0x1edc14(_0x28b32f._0x5a1806,_0x28b32f._0x17f368)],_0x5dcbab],_0x2b1663[_0x36a6ee]=_0x5aee6e;}}}const _0x4919f7={};_0x4919f7[_0x2de83f(0x55b,_0x28b32f._0x3d2e2a)]=_0x2ac719[_0x1edc14(_0x28b32f._0x2c9bde,0x4e1)],_0x4919f7[_0x1edc14(_0x28b32f._0x29b973,_0x28b32f._0x1543ad)]=_0x2b1663,_0x4919f7['machineSna'+_0x1edc14(_0x28b32f._0x4d6722,_0x28b32f._0x36c59b)]=_0x2ac719['machineSna'+_0x1edc14(_0x28b32f._0x4d6722,_0x28b32f._0x5a6534)],await writeStateFile(_0x4919f7);const _0x3e7f76=PHASE_NAMES[_0x50d00f]??_0x50d00f;console[_0x2de83f(_0x28b32f._0x2e21dd,0x493)](_0x2de83f(_0x28b32f._0x4f6aaa,0x451)+'册:\x20'+_0x5dcbab),console[_0x2de83f(0x4bd,_0x28b32f._0x2ba35e)](_0x2de83f(0x3e8,_0x28b32f._0xfbef20)+_0x3e7f76);if(_0x36a6ee)console[_0x2de83f(0x519,_0x28b32f._0x2ba35e)](_0x1edc14(0x4a1,_0x28b32f._0x5edcf8)+':\x20'+_0x36a6ee);}export async function deregisterAgent(_0x45b7b7){const _0x22c325={_0x25f1e3:0x522,_0x5e44b2:0x4fa,_0x17448c:0x4ac,_0x480ccf:0x4c2,_0x3e9be7:0x3db,_0x477961:0x487,_0x251f62:0x3e6,_0x39db85:0x454,_0x8ab84c:0x4d5,_0x2a5184:0x549,_0xd0237e:0x57d,_0x41f29f:0x6eb,_0x411c9d:0x4b6,_0x44da9a:0x513,_0x5b543b:0x52f,_0x25a329:0x56c,_0x2d4128:0x3fa,_0x53b9c5:0x4d8,_0x27d719:0x4ac,_0x49c543:0x508,_0x194cfd:0x569,_0x14419d:0x536,_0x205954:0x4e8,_0x19f502:0x47e,_0x4b4906:0x503,_0x11dfc0:0x5d0,_0x32e22e:0x518,_0x6e3558:0x4d3,_0x3eeb29:0x4f8,_0x2e6ddd:0x40f,_0x54e47d:0x4d5},_0x2c93d8={_0x44a6c1:0x554},_0x5dfe02={'qsMuL':_0x16d5c2(0x4bf,_0x22c325._0x25f1e3)+_0x16d5c2(_0x22c325._0x5e44b2,0x4e4),'MefBT':_0x16d5c2(0x544,0x4aa),'vfWdc':function(_0x1c0f07,_0x2ca5a6){return _0x1c0f07!==_0x2ca5a6;},'RTqPi':_0x16d5c2(0x40e,_0x22c325._0x17448c),'tyeaA':function(_0x1a0994,_0x4c3bc7){return _0x1a0994(_0x4c3bc7);},'ObCis':'idle'},_0x586c5d=await readStateFile();function _0x16d5c2(_0xa82a4f,_0x43089e){return _0x104d2d(_0x43089e-0x410,_0xa82a4f);}if(!_0x586c5d){console[_0x16d5c2(0x517,_0x22c325._0x480ccf)](_0x5dfe02['MefBT']);return;}if(!_0x586c5d[_0x16d5c2(_0x22c325._0x3e9be7,_0x22c325._0x477961)][_0x45b7b7]){console[_0x195e0e(0x67d,0x606)](_0x16d5c2(_0x22c325._0x251f62,_0x22c325._0x39db85)+_0x45b7b7+_0x16d5c2(_0x22c325._0x8ab84c,0x43e));return;}const _0x2a3eaa=_0x586c5d[_0x195e0e(_0x22c325._0x2a5184,0x5cb)][_0x45b7b7];function _0x195e0e(_0xe1014d,_0x5a4be8){return _0x104d2d(_0x5a4be8-_0x2c93d8._0x44a6c1,_0xe1014d);}const _0x6b6027={..._0x586c5d[_0x195e0e(_0x22c325._0xd0237e,0x5cb)]},_0x2b6729=_0x6b6027;delete _0x2b6729[_0x45b7b7];if(_0x2a3eaa['parentId']&&_0x2b6729[_0x2a3eaa[_0x195e0e(_0x22c325._0x41f29f,0x657)]]){const _0x2dc83a=_0x2b6729[_0x2a3eaa['parentId']];_0x2b6729[_0x2a3eaa[_0x16d5c2(_0x22c325._0x411c9d,_0x22c325._0x44da9a)]]={..._0x2dc83a,'childIds':_0x2dc83a[_0x195e0e(_0x22c325._0x5b543b,_0x22c325._0x25a329)][_0x195e0e(0x5cb,0x564)](_0x136c22=>_0x136c22!==_0x45b7b7)};}const _0xfc96f2=Object[_0x16d5c2(_0x22c325._0x2d4128,0x485)](_0x2b6729);let _0x14fe5c=_0x16d5c2(_0x22c325._0x53b9c5,_0x22c325._0x27d719);for(const _0x5a4155 of _0xfc96f2){if(_0x195e0e(0x4fc,0x569)===_0x195e0e(_0x22c325._0x49c543,_0x22c325._0x194cfd)){if(_0x5dfe02[_0x195e0e(0x52d,_0x22c325._0x14419d)](_0x2b6729[_0x5a4155][_0x16d5c2(_0x22c325._0x205954,_0x22c325._0x19f502)],_0x5dfe02[_0x16d5c2(0x5a7,_0x22c325._0x4b4906)])){_0x14fe5c=_0x2b6729[_0x5a4155][_0x195e0e(0x54b,0x5c2)];break;}}else{_0x1965b0[_0x195e0e(0x69b,0x606)](_0x5dfe02['qsMuL']);return;}}await _0x5dfe02[_0x195e0e(_0x22c325._0x11dfc0,0x552)](writeStateFile,{'project':{..._0x586c5d[_0x16d5c2(0x575,_0x22c325._0x32e22e)],'currentPhase':_0xfc96f2['length']>0xc55+0x1537*-0x1+0x8e2?_0x14fe5c:_0x5dfe02[_0x16d5c2(0x439,_0x22c325._0x6e3558)]},'agents':_0x2b6729,'machineSnapshot':_0x586c5d[_0x16d5c2(0x46d,_0x22c325._0x3eeb29)+_0x16d5c2(0x42f,_0x22c325._0x2e6ddd)]}),console['log']('✅\x20Agent\x20已注'+_0x16d5c2(_0x22c325._0x54e47d,0x44b)+_0x45b7b7);}function detectInputType(_0x145df9){const _0x47c0c8={_0x1d693d:0x1b5,_0x395759:0x1a3,_0x27b374:0x1cb,_0x48a80b:0x19f,_0xf31c63:0x1a3,_0xe942d5:0x205,_0x1ef59e:0x1fc,_0x3969cd:0x222},_0xf4fd25={_0x556cac:0x17d},_0x487016={};function _0x951a8e(_0x91217,_0x36f399){return _0x54f219(_0x91217- -0x37,_0x36f399);}_0x487016[_0x3092b6(0x1fc,_0x47c0c8._0x1d693d)]='website_ur'+'l';function _0x3092b6(_0x3482b2,_0x55b64d){return _0x104d2d(_0x3482b2-_0xf4fd25._0x556cac,_0x55b64d);}const _0x43f216=_0x487016;if(/^https?:\/\/github\.com\//[_0x951a8e(-_0x47c0c8._0x395759,-_0x47c0c8._0x27b374)](_0x145df9))return _0x3092b6(_0x47c0c8._0x48a80b,0x207);if(/^https?:\/\//[_0x951a8e(-_0x47c0c8._0xf31c63,-_0x47c0c8._0xe942d5)](_0x145df9))return _0x43f216[_0x3092b6(_0x47c0c8._0x1ef59e,0x214)];if(_0x145df9['length']>-0xfd*0x14+0x1499+-0xcb)return _0x3092b6(_0x47c0c8._0x3969cd,0x225)+'t';return _0x951a8e(-0x178,-0xf1);}const _0x319022={};_0x319022['requiremen'+'t']=_0x104d2d(0x81,0x44),_0x319022[_0x104d2d(0x22,-0x10)]=_0x104d2d(0x116,0x113),_0x319022[_0x54f219(-0x86,-0x34)+'l']='网站\x20URL',_0x319022['unknown']=_0x104d2d(0xbc,0xd9);const INPUT_TYPE_NAMES=_0x319022;async function readStateFile(){const _0x1de880={_0x5bdb8d:0x25c},_0x40a5db={'vPvxl':function(_0xe19707,_0xe65662){return _0xe19707(_0xe65662);}};function _0x10a441(_0xd793f6,_0x5e888d){return _0x54f219(_0x5e888d-_0x1de880._0x5bdb8d,_0xd793f6);}if(!_0x40a5db[_0x10a441(0x218,0x1d5)](existsSync,STATE_FILE_PATH))return null;const _0x3be053=new StateFileManager(STATE_FILE_PATH);return _0x3be053['read']();}async function writeStateFile(_0x542d6c){const _0x612024={_0x162c6f:0x93,_0xbc50f6:0x5d2,_0x496309:0x4e0,_0xd9d04f:0x500,_0x3a0ea5:0x54,_0x25f3d9:0x4f4,_0x5d001b:0x5dc,_0x11d431:0x60,_0x2f74af:0xa,_0x51acbd:0x5fc,_0x4432ba:0x5e5,_0x2532b8:0xc2,_0x4efe8f:0x37,_0x2a589d:0x5b9,_0xf5a855:0x476,_0x3df30f:0x4e7},_0x339f9e={_0x5bba6f:0x65d},_0x16c3f5={};function _0x5d9df7(_0x2cd517,_0x4dd234){return _0x54f219(_0x4dd234-0xb2,_0x2cd517);}_0x16c3f5[_0x5d9df7(0xaf,0x54)]=function(_0x40b887,_0x4fcbfc){return _0x40b887===_0x4fcbfc;};function _0x2d4287(_0x472dd8,_0x26498b){return _0x54f219(_0x26498b-_0x339f9e._0x5bba6f,_0x472dd8);}_0x16c3f5[_0x5d9df7(-_0x612024._0x162c6f,-0xbd)]='LHVFU',_0x16c3f5[_0x2d4287(_0x612024._0xbc50f6,0x573)]='wALsS',_0x16c3f5['nSSpA']=function(_0x50620d,_0x4cd2a2){return _0x50620d instanceof _0x4cd2a2;};const _0x4b0b3f=_0x16c3f5;for(let _0xea86ab=0x1c04+-0x19ff+0x205*-0x1;_0xea86ab<MAX_RETRIES;_0xea86ab++){try{const _0x469729=new StateFileManager(STATE_FILE_PATH);await _0x469729[_0x2d4287(_0x612024._0x496309,_0x612024._0xd9d04f)](),await _0x469729['write'](_0x542d6c);return;}catch(_0x277f48){if(_0x4b0b3f[_0x5d9df7(0xdc,_0x612024._0x3a0ea5)](_0x4b0b3f['UieBA'],_0x4b0b3f[_0x2d4287(_0x612024._0x25f3d9,0x573)]))_0x459428[_0x2d4287(_0x612024._0x5d001b,0x5c3)](_0x5d9df7(_0x612024._0x11d431,-_0x612024._0x2f74af)+_0x56007a+_0x2d4287(_0x612024._0x51acbd,_0x612024._0x4432ba));else{if(_0x4b0b3f[_0x5d9df7(_0x612024._0x2532b8,_0x612024._0x4efe8f)](_0x277f48,Error)&&_0x277f48[_0x2d4287(_0x612024._0x2a589d,0x561)][_0x2d4287(0x616,0x5a0)](_0x2d4287(_0x612024._0xf5a855,_0x612024._0x3df30f))&&_0xea86ab<MAX_RETRIES-(0x843+0xd1d+0x155f*-0x1)){await new Promise(_0x3eff7f=>setTimeout(_0x3eff7f,0x1299+0x1*0x1e07+0x2*-0x1837+Math[_0x2d4287(0x5c8,0x5bd)]()*(0x1*-0x1ca7+0xdf7+-0xf14*-0x1)));continue;}throw _0x277f48;}}}}export async function newProject(_0x1b926d){const _0x13db66={_0x3e2a25:0x4e1,_0x5d7511:0x4ed,_0x2a347b:0x330,_0x2b0d0f:0x28e,_0x13faa2:0x217,_0x10fba0:0x23e,_0xa1c955:0x22f,_0x48b8b2:0x1d7,_0x511190:0x247,_0x2d8d1e:0x2c7,_0x3f9c51:0x5f0,_0x12176c:0x5d5,_0xf55cab:0x24e,_0xaeb7f8:0x1c6,_0x458a22:0x2a4,_0x346f6b:0x2e5,_0x3abfd3:0x2c8,_0x338d52:0x2fa,_0x401c97:0x54f,_0xb3eb49:0x404,_0x12a9da:0x5bf,_0x28a7be:0x2ab,_0x522a80:0x2e8,_0x2f5a67:0x300,_0x7f9ffa:0x58c,_0x1e073c:0x55d,_0x18d774:0x62e,_0x304de4:0x584,_0x68e192:0x27b,_0x48227b:0x1dd,_0x388c3c:0x599,_0x21c2d7:0x286,_0x2e9306:0x4b1,_0x1894b9:0x4d4,_0x730bb3:0x505,_0x213a45:0x50a},_0x4de2cc={_0x3bbd07:0x4d2},_0x96dd8={'EhzHw':function(_0x439286,_0x273005,_0x2d69c2){return _0x439286(_0x273005,_0x2d69c2);},'bDtMS':function(_0x606295,_0x1d1d52,_0x26bb3f){return _0x606295(_0x1d1d52,_0x26bb3f);},'HaCEM':_0x424019(_0x13db66._0x3e2a25,_0x13db66._0x5d7511),'EOWUY':function(_0x1ad68f,_0x24eba4){return _0x1ad68f(_0x24eba4);}},_0x489cd8=_0x96dd8[_0x193642(_0x13db66._0x2a347b,_0x13db66._0x2b0d0f)](resolve,process[_0x193642(_0x13db66._0x13faa2,_0x13db66._0x10fba0)](),_0x193642(_0x13db66._0xa1c955,_0x13db66._0x48b8b2));if(!existsSync(_0x489cd8)){const _0x3e3a48={};_0x3e3a48['recursive']=!![],_0x96dd8[_0x193642(_0x13db66._0x511190,0x220)](mkdirSync,_0x489cd8,_0x3e3a48);}const _0x3403eb=generateAgentId(),_0x14adbd={};_0x14adbd[_0x193642(_0x13db66._0x2d8d1e,0x291)]=_0x3403eb,_0x14adbd[_0x424019(_0x13db66._0x3f9c51,_0x13db66._0x12176c)]=null,_0x14adbd[_0x193642(_0x13db66._0xf55cab,_0x13db66._0xaeb7f8)]=[],_0x14adbd[_0x193642(_0x13db66._0x458a22,_0x13db66._0x346f6b)]=_0x96dd8[_0x193642(_0x13db66._0x3abfd3,_0x13db66._0x338d52)];function _0x193642(_0x369474,_0x598497){return _0x54f219(_0x369474-0x382,_0x598497);}_0x14adbd[_0x424019(0x501,_0x13db66._0x401c97)+_0x424019(_0x13db66._0xb3eb49,0x4a2)]='',_0x14adbd[_0x424019(_0x13db66._0x12a9da,0x55a)+'ll']='';const _0x5ba4b0=_0x14adbd,_0x10ce5d={};_0x10ce5d[_0x3403eb]=_0x5ba4b0;function _0x424019(_0x72325e,_0x48c6c6){return _0x104d2d(_0x48c6c6-_0x4de2cc._0x3bbd07,_0x72325e);}await _0x96dd8[_0x193642(0x21e,0x21a)](writeStateFile,{'project':{'name':_0x1b926d,'currentPhase':_0x96dd8[_0x193642(_0x13db66._0x3abfd3,_0x13db66._0x28a7be)]},'agents':_0x10ce5d,'machineSnapshot':null}),console[_0x193642(_0x13db66._0x522a80,_0x13db66._0x2f5a67)](_0x424019(_0x13db66._0x7f9ffa,_0x13db66._0x1e073c)+_0x1b926d),console[_0x424019(_0x13db66._0x18d774,_0x13db66._0x304de4)](_0x193642(_0x13db66._0x68e192,_0x13db66._0x48227b)+_0x489cd8),console[_0x193642(0x2e8,0x2c8)](_0x424019(0x61d,_0x13db66._0x388c3c)+_0x193642(0x228,0x25e)+_0x3403eb),console[_0x424019(0x5bc,_0x13db66._0x304de4)](_0x193642(0x2d8,_0x13db66._0x21c2d7)+PIPELINE_PHASES[_0x424019(0x552,0x525)](_0x45dcbf=>PHASE_NAMES[_0x45dcbf]??_0x45dcbf)[_0x424019(_0x13db66._0x2e9306,_0x13db66._0x1894b9)](_0x424019(_0x13db66._0x730bb3,_0x13db66._0x213a45))+'\x0a');}export async function discussPhase(_0xb4b591){const _0x3db545={_0x474dba:0x1b4,_0x4b7ecd:0x292,_0x42c506:0x268,_0x40a584:0x1c6,_0x467010:0xe1,_0x30e12f:0x26a,_0xf51b94:0xd9,_0x5ab5fc:0x268,_0x5baf0c:0x297,_0x5d9713:0x127,_0x4e579c:0xcd,_0x439adb:0x171,_0x5b64d:0x1af,_0x1dabbf:0x2c2,_0x350025:0x171,_0x273bad:0x224,_0x45db02:0x15e,_0x19d7ad:0x3f},_0x33b3c1={'ytOyV':function(_0x1d5039,_0x21e731){return _0x1d5039??_0x21e731;},'EmFmB':function(_0xa09af1){return _0xa09af1();}},_0x4d1ba3=_0x33b3c1[_0xaa8655(_0x3db545._0x474dba,0x147)](_0xb4b591,_0xaa8655(_0x3db545._0x4b7ecd,_0x3db545._0x42c506)),_0x4b0d39=await _0x33b3c1[_0xaa8655(_0x3db545._0x40a584,0x190)](readStateFile);if(!_0x4b0d39){console[_0x59dfcf(0x161,0xf9)](_0x59dfcf(0xdf,_0x3db545._0x467010)+_0x59dfcf(0xb4,0x9e)+'project\x20命令');return;}const _0x246aeb=_0x4b0d39[_0xaa8655(0x1e9,_0x3db545._0x30e12f)];for(const _0x2e3c4f of Object['keys'](_0x246aeb)){_0x246aeb[_0x2e3c4f][_0x59dfcf(_0x3db545._0xf51b94,0xb5)]!==_0xaa8655(0x20e,_0x3db545._0x5ab5fc)&&(_0x246aeb[_0x2e3c4f]={..._0x246aeb[_0x2e3c4f],'phase':_0x4d1ba3});}const _0x2f2ad5={};function _0xaa8655(_0x2f3b1e,_0x4dcb24){return _0x104d2d(_0x2f3b1e-0x172,_0x4dcb24);}_0x2f2ad5['name']=_0x4b0d39[_0xaa8655(0x27a,_0x3db545._0x5baf0c)]['name'],_0x2f2ad5[_0x59dfcf(_0x3db545._0x5d9713,0xa0)+'se']=_0x4d1ba3;const _0x1434ea={};_0x1434ea['project']=_0x2f2ad5,_0x1434ea[_0xaa8655(0x1e9,0x1ca)]=_0x246aeb,_0x1434ea[_0x59dfcf(_0x3db545._0x4e579c,0x12f)+_0xaa8655(_0x3db545._0x439adb,_0x3db545._0x5b64d)]=null,await writeStateFile(_0x1434ea);const _0x4512ea=PHASE_NAMES[_0x4d1ba3]??_0x4d1ba3;console['log']('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x4512ea);function _0x59dfcf(_0x25f022,_0x4c357f){return _0x54f219(_0x4c357f-0x193,_0x25f022);}console[_0x59dfcf(0x10a,0xf9)](_0xaa8655(0x22b,0x19c)+_0x4b0d39[_0xaa8655(0x27a,_0x3db545._0x1dabbf)]['name']),console[_0x59dfcf(_0x3db545._0x350025,0xf9)](_0xaa8655(0x271,0x1e5)+_0x4512ea),console[_0xaa8655(_0x3db545._0x273bad,0x1cc)](_0xaa8655(0x15c,_0x3db545._0x45db02)+_0x59dfcf(-_0x3db545._0x19d7ad,0x2b)+'\x0a');}export async function planPhase(_0x5c02d7){const _0x9a56e8={_0x1e8f53:0x4ba,_0x5d2308:0x556,_0x339fd3:0x4f4,_0x5c8dce:0x547,_0x1fc7b2:0x483,_0xbe741:0x45c,_0x248b9e:0x42d,_0x96a39e:0x456,_0x908d38:0x49f,_0x70dfe6:0x448,_0x3734f8:0x42b,_0x3cd3da:0x53d,_0xd46a05:0x418,_0x22e69b:0x40d,_0x22dc7d:0x644,_0x276c7e:0x5c2,_0x52caf7:0x531,_0x1effb7:0x428,_0x28f235:0x56c,_0x5376f5:0x596,_0x59ea00:0x51f,_0x5dab5b:0x5b9,_0x41c267:0x39e,_0x1821c8:0x449,_0x4e41b5:0x3c2},_0x4ff527={_0x15780d:0x4ba},_0x7caeef={'HUElZ':function(_0x1609dd,_0x742ddc){return _0x1609dd??_0x742ddc;},'gnDrS':_0x8c8166(0x477,_0x9a56e8._0x1e8f53),'rOiet':_0x8c8166(0x5f3,_0x9a56e8._0x5d2308),'ittfJ':function(_0x1dc0ce,_0x21bcad){return _0x1dc0ce(_0x21bcad);}};function _0x362f73(_0x243f57,_0x271d21){return _0x54f219(_0x271d21-0x500,_0x243f57);}const _0x14134d=_0x7caeef[_0x8c8166(0x55a,0x5cd)](_0x5c02d7,_0x7caeef[_0x8c8166(_0x9a56e8._0x339fd3,_0x9a56e8._0x5c8dce)]),_0x1261a1=await readStateFile();if(!_0x1261a1){console[_0x362f73(_0x9a56e8._0x1fc7b2,0x466)](_0x362f73(_0x9a56e8._0xbe741,0x44e)+_0x362f73(_0x9a56e8._0x248b9e,0x40b)+_0x362f73(_0x9a56e8._0x96a39e,_0x9a56e8._0x908d38));return;}const _0x202251=_0x1261a1[_0x362f73(_0x9a56e8._0x70dfe6,_0x9a56e8._0x3734f8)];for(const _0x4f2ce3 of Object[_0x8c8166(0x568,0x52f)](_0x202251)){_0x202251[_0x4f2ce3]['phase']!==_0x7caeef[_0x8c8166(_0x9a56e8._0x3cd3da,0x52b)]&&(_0x202251[_0x4f2ce3]={..._0x202251[_0x4f2ce3],'phase':_0x14134d});}const _0x59ea98={};_0x59ea98['name']=_0x1261a1[_0x362f73(_0x9a56e8._0xd46a05,0x4bc)][_0x362f73(0x4f8,0x4da)],_0x59ea98[_0x362f73(0x4b3,_0x9a56e8._0x22e69b)+'se']=_0x14134d;function _0x8c8166(_0x59e506,_0x587b02){return _0x104d2d(_0x587b02-_0x4ff527._0x15780d,_0x59e506);}const _0x5b04e8={};_0x5b04e8[_0x8c8166(_0x9a56e8._0x22dc7d,_0x9a56e8._0x276c7e)]=_0x59ea98,_0x5b04e8[_0x8c8166(0x4d6,_0x9a56e8._0x52caf7)]=_0x202251,_0x5b04e8['machineSna'+_0x8c8166(_0x9a56e8._0x1effb7,0x4b9)]=null,await _0x7caeef[_0x362f73(0x3b7,0x45e)](writeStateFile,_0x5b04e8);const _0x195849=PHASE_NAMES[_0x14134d]??_0x14134d;console[_0x362f73(0x505,0x466)]('\x0a📝\x20进入规划阶段:'+'\x20'+_0x195849),console[_0x8c8166(0x591,_0x9a56e8._0x28f235)]('\x20\x20\x20项目:\x20'+_0x1261a1['project'][_0x362f73(0x512,0x4da)]),console[_0x8c8166(_0x9a56e8._0x5376f5,0x56c)](_0x8c8166(_0x9a56e8._0x59ea00,_0x9a56e8._0x5dab5b)+_0x195849),console['log'](_0x362f73(0x322,_0x9a56e8._0x41c267)+_0x362f73(_0x9a56e8._0x1821c8,_0x9a56e8._0x4e41b5)+'\x0a');}export async function executePhase(_0x657921){const _0x471962={_0x50334a:0x20c,_0x12379f:0x12a,_0x3412c4:0xb9,_0x325a9a:0x135,_0x53eb10:0xf6,_0x1a8ee0:0x5a0,_0x52b71d:0x5c8,_0x4aea7d:0x5d9,_0x27fec0:0x5e7,_0x5743a4:0x143,_0x3c69a3:0x1b9,_0x142e1c:0x1c8,_0x1694e6:0x1fd,_0x1c934e:0x14a,_0x35f014:0x183,_0x100733:0x58a,_0x402f67:0x5b6,_0x53b9c3:0x565,_0x48c09e:0x570,_0x3ed13f:0xf9,_0x1395b5:0x92,_0x35e982:0x6a,_0x5e3bf9:0x66f,_0x107977:0x565,_0x5c279d:0x4c3,_0x37f0b9:0x5d6,_0x283105:0x553,_0x5efc29:0x606,_0x204d13:0xd},_0x1ed7f2={_0x26e50d:0x63a},_0x2a21ff={'vKNHj':function(_0x530ea6){return _0x530ea6();},'qofpZ':function(_0x59bb31,_0x3c173a){return _0x59bb31===_0x3c173a;},'TzMzg':_0x5f09a9(-0x1c8,-_0x471962._0x50334a),'VHiKT':function(_0x4e17eb,_0x356515){return _0x4e17eb!==_0x356515;}};function _0x5f09a9(_0x9b198b,_0x2b3498){return _0x54f219(_0x9b198b- -0x6c,_0x2b3498);}const _0x347792=_0x657921??_0x5f09a9(-_0x471962._0x12379f,-_0x471962._0x3412c4),_0x3ef192=await _0x2a21ff[_0x5f09a9(-_0x471962._0x325a9a,-_0x471962._0x53eb10)](readStateFile);if(!_0x3ef192){console[_0x17ee89(_0x471962._0x1a8ee0,_0x471962._0x52b71d)]('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0x17ee89(_0x471962._0x4aea7d,_0x471962._0x27fec0));return;}const _0x2bbb98=_0x3ef192['agents'];for(const _0x42eb47 of Object[_0x5f09a9(-_0x471962._0x5743a4,-_0x471962._0x3c69a3)](_0x2bbb98)){if(_0x2a21ff['qofpZ'](_0x5f09a9(-_0x471962._0x142e1c,-_0x471962._0x1694e6),_0x2a21ff[_0x17ee89(0x50c,0x46b)]))_0x2a21ff['VHiKT'](_0x2bbb98[_0x42eb47][_0x5f09a9(-_0x471962._0x1c934e,-_0x471962._0x35f014)],_0x17ee89(_0x471962._0x100733,_0x471962._0x402f67))&&(_0x2bbb98[_0x42eb47]={..._0x2bbb98[_0x42eb47],'phase':_0x347792});else for(const [_0x503a5d,_0x120fc2]of _0x3680f7[_0x5f09a9(-0xd6,-_0x471962._0x3412c4)](_0x1fac68[_0x17ee89(_0x471962._0x53b9c3,_0x471962._0x48c09e)])){!_0x5a9267[_0x5f09a9(-_0x471962._0x3ed13f,-0xe5)](_0x503a5d)&&(_0x478307[_0x503a5d]=_0x120fc2);}}const _0x858b86={};_0x858b86[_0x5f09a9(-_0x471962._0x1395b5,-_0x471962._0x35e982)]=_0x3ef192['project'][_0x5f09a9(-0x92,-0xdf)],_0x858b86['currentPha'+'se']=_0x347792;const _0x57eaad={};_0x57eaad[_0x17ee89(0x5f6,_0x471962._0x5e3bf9)]=_0x858b86,_0x57eaad[_0x17ee89(_0x471962._0x107977,_0x471962._0x5c279d)]=_0x2bbb98;function _0x17ee89(_0x504ca0,_0x2ccb58){return _0x54f219(_0x504ca0-_0x1ed7f2._0x26e50d,_0x2ccb58);}_0x57eaad[_0x17ee89(_0x471962._0x37f0b9,_0x471962._0x283105)+_0x5f09a9(-0x1b9,-0x20a)]=null,await writeStateFile(_0x57eaad);const _0x24054b=PHASE_NAMES[_0x347792]??_0x347792;console[_0x5f09a9(-0x106,-0x1a0)](_0x5f09a9(-0x13e,-0x1a9)+'\x20'+_0x24054b),console['log'](_0x17ee89(0x5a7,_0x471962._0x5efc29)+_0x3ef192['project'][_0x5f09a9(-0x92,-_0x471962._0x204d13)]),console[_0x17ee89(0x5a0,0x5a8)](_0x5f09a9(-0xb9,-0x95)+_0x24054b),console['log']('\x20\x20\x20提示:\x20在此阶'+'段执行具体任务\x0a');}export async function verifyPhase(_0x1616b8){const _0x552c27={_0x4b7f4d:0x115,_0x49d61a:0x51,_0x5cc8d2:0x366,_0xa4f4c6:0x95,_0x5ce092:0x16,_0x484010:0x3e,_0x4ab782:0x14,_0x2e24c3:0x392,_0x291356:0x3b,_0xcd24df:0x71,_0x121e38:0xc5,_0x46011e:0x437,_0x2f7194:0x3b8,_0x6c2ed6:0x342,_0x4168ad:0x28b,_0x1e988f:0x309,_0x20bcb3:0x15,_0x23ebb5:0x87,_0x3c8c20:0x2b2,_0x3c7a8c:0x344,_0x301c8f:0x376,_0x4ce3a3:0x39a,_0x51d3c8:0xb3,_0x358dad:0xc5,_0x34f2f5:0x51,_0x184b67:0x1f6},_0x6b1112={_0x3d7a90:0x3de},_0x221b42={_0x375951:0xeb},_0x3c3ceb={};_0x3c3ceb[_0x2d182c(_0x552c27._0x4b7f4d,0xbb)]='⚠️\x20\x20状态文件不存在'+_0x234a34(0x385,0x2e9)+_0x234a34(0x2e8,0x37d),_0x3c3ceb['ViNbc']=function(_0x54e93b,_0x407427){return _0x54e93b!==_0x407427;};const _0x5ed16d=_0x3c3ceb,_0xc2815a=_0x1616b8??_0x234a34(0x274,0x312),_0x1ee2a3=await readStateFile();if(!_0x1ee2a3){console[_0x2d182c(0xaf,_0x552c27._0x49d61a)](_0x5ed16d[_0x234a34(_0x552c27._0x5cc8d2,0x3ae)]);return;}const _0x915cb4=_0x1ee2a3[_0x2d182c(_0x552c27._0xa4f4c6,_0x552c27._0x5ce092)];for(const _0x290d03 of Object[_0x2d182c(_0x552c27._0x484010,_0x552c27._0x4ab782)](_0x915cb4)){_0x5ed16d[_0x234a34(_0x552c27._0x2e24c3,0x2fc)](_0x915cb4[_0x290d03][_0x2d182c(0xae,0xd)],_0x2d182c(-0x67,_0x552c27._0x291356))&&(_0x915cb4[_0x290d03]={..._0x915cb4[_0x290d03],'phase':_0xc2815a});}const _0xe42cda={};_0xe42cda[_0x2d182c(_0x552c27._0xcd24df,_0x552c27._0x121e38)]=_0x1ee2a3['project'][_0x234a34(_0x552c27._0x46011e,_0x552c27._0x2f7194)];function _0x2d182c(_0x518e76,_0x5f29ca){return _0x54f219(_0x5f29ca-_0x221b42._0x375951,_0x518e76);}_0xe42cda[_0x234a34(_0x552c27._0x6c2ed6,0x2eb)+'se']=_0xc2815a;function _0x234a34(_0x4454f0,_0x3b4233){return _0x54f219(_0x3b4233-_0x6b1112._0x3d7a90,_0x4454f0);}const _0x2ec914={};_0x2ec914['project']=_0xe42cda,_0x2ec914[_0x234a34(_0x552c27._0x4168ad,_0x552c27._0x1e988f)]=_0x915cb4,_0x2ec914[_0x2d182c(-_0x552c27._0x20bcb3,_0x552c27._0x23ebb5)+_0x234a34(0x267,0x291)]=null,await writeStateFile(_0x2ec914);const _0x398db4=PHASE_NAMES[_0xc2815a]??_0xc2815a;console['log'](_0x234a34(0x20c,_0x552c27._0x3c8c20)+'\x20'+_0x398db4),console[_0x234a34(0x3b2,_0x552c27._0x3c7a8c)]('\x20\x20\x20项目:\x20'+_0x1ee2a3[_0x234a34(_0x552c27._0x301c8f,_0x552c27._0x4ce3a3)][_0x2d182c(_0x552c27._0x51d3c8,_0x552c27._0x358dad)]),console[_0x2d182c(0x5c,_0x552c27._0x34f2f5)](_0x2d182c(0x40,0x9e)+_0x398db4),console[_0x2d182c(0x3a,0x51)](_0x234a34(_0x552c27._0x184b67,0x27c)+_0x2d182c(-0x43,0x5)+'\x0a');}export async function analyzeInput(_0x525d8a){const _0x2ae047={_0x58009d:0x1f6,_0x5a70c2:0x1ab,_0x552ca:0x1b3,_0x4ffb1e:0x2fb,_0x97b576:0x1ab,_0x48fa2a:0x1fb,_0x5ce64a:0x231,_0x23bd8d:0x193,_0x3cdf33:0x290,_0x293823:0x250,_0x9bbfb5:0x1cc,_0x650a32:0x265,_0x2119d6:0x1ca,_0x54d556:0x2b7,_0x409c1d:0x2a5,_0x5aa49c:0x323,_0x1ede67:0x2fe,_0x253eed:0x2e8,_0x577da3:0x2cd,_0x4addd3:0x2ed,_0x408a04:0x218,_0xd4fb14:0x215,_0x434e37:0x1b4,_0x2ad97b:0x341,_0x3832db:0x19a,_0x32c5e5:0x2eb,_0x25436a:0x2a2,_0x274652:0x346,_0x22ab4d:0x269},_0x21e77b={'LJuQY':function(_0x589d67){return _0x589d67();},'TneBM':_0x22060c(_0x2ae047._0x58009d,_0x2ae047._0x5a70c2)+_0x22060c(_0x2ae047._0x552ca,0x1ba)+'project\x20命令','iHtxm':'AjqEp','YPkXe':function(_0x22171b,_0x4c8852){return _0x22171b(_0x4c8852);},'gbfEj':_0x51adef(0x2a5,_0x2ae047._0x4ffb1e)+_0x22060c(_0x2ae047._0x97b576,_0x2ae047._0x48fa2a),'fpIMs':_0x51adef(_0x2ae047._0x5ce64a,_0x2ae047._0x23bd8d)},_0x1c54d5=await _0x21e77b['LJuQY'](readStateFile);if(!_0x1c54d5){console[_0x51adef(0x2cd,0x367)](_0x21e77b[_0x22060c(0x143,0x119)]);return;}const _0x262c05=detectInputType(_0x525d8a),_0xdf72ff=INPUT_TYPE_NAMES[_0x262c05];function _0x51adef(_0x4c6656,_0x3e4989){return _0x54f219(_0x4c6656-0x367,_0x3e4989);}const _0x40cd8b=_0x1c54d5[_0x51adef(0x292,0x21b)];for(const _0x2f6fe3 of Object[_0x51adef(_0x2ae047._0x3cdf33,_0x2ae047._0x293823)](_0x40cd8b)){if(_0x21e77b[_0x51adef(0x265,_0x2ae047._0x9bbfb5)]!==_0x21e77b[_0x51adef(_0x2ae047._0x650a32,0x280)]){_0x9acdfc['log'](_0x51adef(0x25f,0x304)+_0x38610c+'\x20不存在');return;}else _0x40cd8b[_0x2f6fe3][_0x22060c(_0x2ae047._0x2119d6,0x212)]!==_0x51adef(_0x2ae047._0x54d556,0x22b)&&(_0x40cd8b[_0x2f6fe3]={..._0x40cd8b[_0x2f6fe3],'phase':_0x51adef(_0x2ae047._0x409c1d,0x294)+_0x22060c(0x1ab,0x119),'currentOperation':'分析'+_0xdf72ff+':\x20'+_0x525d8a[_0x22060c(0x176,0x1e4)](0x4af*-0x1+0xf*-0xd1+0x16*0xc5,-0x35*0xa3+-0x448*-0x1+0x1da9)});}function _0x22060c(_0x3bb0a0,_0x2d9316){return _0x104d2d(_0x3bb0a0-0x15c,_0x2d9316);}await _0x21e77b['YPkXe'](writeStateFile,{'project':{'name':_0x1c54d5[_0x51adef(_0x2ae047._0x5aa49c,0x2ab)][_0x22060c(0x282,0x2ee)],'currentPhase':_0x21e77b[_0x51adef(_0x2ae047._0x1ede67,_0x2ae047._0x253eed)]},'agents':_0x40cd8b,'machineSnapshot':null}),console[_0x51adef(_0x2ae047._0x577da3,_0x2ae047._0x4addd3)](_0x51adef(_0x2ae047._0x408a04,_0x2ae047._0xd4fb14)),console[_0x22060c(0x20e,_0x2ae047._0x434e37)]('\x20\x20\x20项目:\x20'+_0x1c54d5[_0x51adef(0x323,0x33c)][_0x51adef(_0x2ae047._0x2ad97b,0x307)]),console['log'](_0x22060c(_0x2ae047._0x3832db,0x163)+_0xdf72ff),console['log']('\x20\x20\x20输入内容:\x20'+(_0x525d8a[_0x51adef(_0x2ae047._0x32c5e5,0x242)]>0xa05+-0x1*-0x2182+-0x25*0x12b?_0x525d8a[_0x51adef(0x235,0x19b)](-0x5*-0x76f+0x4*-0x8c9+-0x207,-0x1*-0x1f31+0x7d9*-0x2+-0xf2f)+_0x21e77b[_0x51adef(_0x2ae047._0x25436a,0x327)]:_0x525d8a)),console['log'](_0x51adef(0x2dd,_0x2ae047._0x274652)+_0x22060c(_0x2ae047._0x22ab4d,0x2c1));}export async function showProgress(){const _0x4b58c0={_0x3acd31:0xb,_0x56441b:0x70,_0x50fc5c:0x171,_0x90f3a1:0x3,_0x4bbf34:0x5a,_0x491528:0x14b,_0x4833db:0x181,_0x20e9ba:0x1fe,_0x14b7c7:0xb,_0x25d684:0x89,_0x4d6e7a:0x3a,_0x1c8243:0xdb,_0x525581:0xa4,_0x206952:0x9e,_0x5c533d:0x95,_0x319c09:0x9c,_0x1a830e:0xbd,_0x24d50f:0xd2,_0x2ff682:0x10b,_0x4d38b8:0x18e,_0x4b275d:0x1c,_0xd14605:0x5,_0x198c46:0x58,_0x55efec:0x185,_0x2bafd8:0xed,_0x33b85f:0xdf,_0x753868:0x58,_0x1db65e:0x119,_0x4fab72:0xb,_0x1f6e4f:0x109,_0x4d799e:0x138,_0x4bdce7:0xce,_0x25bdc5:0x141,_0xf8ad0f:0x1ed,_0x5d1940:0x152,_0x4b63ed:0x12a,_0x58683c:0x11a,_0xb3f4df:0xe1,_0x45788a:0x168,_0x47f757:0x49,_0x16ef3a:0x5d,_0x38ff9f:0x178,_0x3abb06:0x138,_0x38b849:0x167,_0x34b14f:0xe4,_0x2b2a36:0x134,_0x2329a6:0xa1,_0x2dd025:0x58,_0x4f498d:0x2,_0x1a8d8a:0x9c,_0x324248:0x54,_0x246787:0xf0,_0x5e2a92:0x10e,_0x4c4235:0xd6,_0x202e25:0xc5,_0x119f49:0x16f,_0x38a86d:0x167,_0x364976:0x42},_0x49d765={_0x398599:0x10a},_0x3d4a1c={_0x44c81f:0x86},_0x327ef3={};_0x327ef3[_0x39ec95(_0x4b58c0._0x3acd31,-0x12)]=_0x39ec95(-_0x4b58c0._0x56441b,-0xdd)+',请先运行\x20new-'+_0x5c4ecb(0x177,_0x4b58c0._0x50fc5c),_0x327ef3[_0x5c4ecb(0x129,0xb5)]=function(_0x10a5a3,_0x189ccb){return _0x10a5a3>_0x189ccb;};function _0x5c4ecb(_0xc84e42,_0x39b9b6){return _0x104d2d(_0x39b9b6-_0x3d4a1c._0x44c81f,_0xc84e42);}_0x327ef3[_0x39ec95(-0x9e,-0x97)]=function(_0x1b664f,_0x37d76a){return _0x1b664f*_0x37d76a;},_0x327ef3[_0x5c4ecb(0x15,0x95)]=function(_0x4fef8c,_0xfa0891){return _0x4fef8c/_0xfa0891;},_0x327ef3[_0x39ec95(-0x91,_0x4b58c0._0x90f3a1)]=_0x39ec95(-0x104,-_0x4b58c0._0x4bbf34),_0x327ef3['qgFIb']=_0x5c4ecb(_0x4b58c0._0x491528,_0x4b58c0._0x4833db)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x39ec95(0xa,0x9d)+_0x39ec95(-0x85,0x13)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具',_0x327ef3['LAmlw']=_0x5c4ecb(_0x4b58c0._0x20e9ba,0x16f);const _0x3ec9ee=_0x327ef3,_0x479d2b=await readStateFile();if(!_0x479d2b){console[_0x39ec95(-0x58,-0xd)](_0x3ec9ee[_0x39ec95(_0x4b58c0._0x14b7c7,-_0x4b58c0._0x25d684)]);return;}const _0x3b35be=_0x479d2b[_0x39ec95(-0x93,-0xe2)],_0x4a0e78=Object['keys'](_0x3b35be),_0x199829=_0x4a0e78['length'],_0x5135b8=_0x4a0e78['filter'](_0x201187=>_0x3b35be[_0x201187][_0x39ec95(-0x9c,-0xc9)]==='completed')[_0x39ec95(-_0x4b58c0._0x4d6e7a,-0x1d)],_0x64ea3d=_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x1c8243,-0xc9)](_0x199829,-0x185*-0xd+-0x2*0xd09+0x21*0x31)?Math[_0x39ec95(-0x19,-_0x4b58c0._0x525581)](_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x206952,-0x13f)](_0x3ec9ee[_0x5c4ecb(0x140,_0x4b58c0._0x5c533d)](_0x5135b8,_0x199829),-0x198b*0x1+0x9*0x279+-0x9d*-0x6)):0x16bd*-0x1+-0x10e2+0x279f,_0x4945f6={};for(const _0x288d92 of _0x4a0e78){const _0x2d8a5c=_0x3b35be[_0x288d92][_0x39ec95(-_0x4b58c0._0x319c09,-0xdd)];_0x4945f6[_0x2d8a5c]=(_0x4945f6[_0x2d8a5c]??0x10*-0x215+-0xc*-0x146+0x1*0x1208)+(0x6*0x599+-0x160+-0x2035);}console['log'](_0x39ec95(-_0x4b58c0._0x1a830e,-_0x4b58c0._0x24d50f)+_0x479d2b[_0x5c4ecb(_0x4b58c0._0x2ff682,_0x4b58c0._0x4d38b8)][_0x39ec95(_0x4b58c0._0x4b275d,-_0x4b58c0._0xd14605)]),console[_0x39ec95(-_0x4b58c0._0x198c46,-0x22)](_0x5c4ecb(0x202,_0x4b58c0._0x55efec)+(PHASE_NAMES[_0x479d2b[_0x5c4ecb(0x222,_0x4b58c0._0x4d38b8)][_0x5c4ecb(_0x4b58c0._0x2bafd8,_0x4b58c0._0x33b85f)+'se']]??_0x479d2b[_0x39ec95(-0x2,0x0)]['currentPha'+'se'])),console[_0x39ec95(-_0x4b58c0._0x753868,0x45)](_0x39ec95(-_0x4b58c0._0x1db65e,-0x74)+_0x479d2b[_0x39ec95(-0x2e,-_0x4b58c0._0x4fab72)]);function _0x39ec95(_0x3b6ae3,_0x1c2955){return _0x104d2d(_0x3b6ae3- -_0x49d765._0x398599,_0x1c2955);}console[_0x5c4ecb(_0x4b58c0._0x1f6e4f,_0x4b58c0._0x4d799e)](_0x5c4ecb(_0x4b58c0._0x4bdce7,_0x4b58c0._0x25bdc5)+_0x479d2b['updatedAt']),console[_0x5c4ecb(0x1cc,0x138)]('\x20\x20\x20完成度:\x20'+_0x64ea3d+_0x5c4ecb(_0x4b58c0._0xf8ad0f,0x19d)+_0x5135b8+'/'+_0x199829+_0x5c4ecb(_0x4b58c0._0x5d1940,_0x4b58c0._0x4b63ed)),console[_0x39ec95(-_0x4b58c0._0x198c46,0x3c)](_0x3ec9ee[_0x39ec95(-0x91,-_0x4b58c0._0x58683c)]);for(const [_0x9c8262,_0x40a37f]of Object[_0x5c4ecb(_0x4b58c0._0xb3f4df,_0x4b58c0._0x45788a)](_0x4945f6)){const _0x8d02cb=PHASE_NAMES[_0x9c8262]??_0x9c8262,_0x30b08f='█'[_0x5c4ecb(-_0x4b58c0._0x47f757,_0x4b58c0._0x16ef3a)](_0x40a37f)+'░'[_0x5c4ecb(0x4d,0x5d)](Math[_0x5c4ecb(0x1d0,_0x4b58c0._0x38ff9f)](-0x8e*0x39+0x3*-0x8f3+0x3a77,_0x199829-_0x40a37f));console[_0x5c4ecb(0x162,_0x4b58c0._0x3abb06)]('\x20\x20\x20\x20\x20\x20'+_0x8d02cb[_0x5c4ecb(0x1b3,_0x4b58c0._0x38b849)](-0x1d85+0x2365+0xa*-0x95)+'\x20'+_0x30b08f+'\x20'+_0x40a37f);}console['log']();if(_0x4a0e78['length']>-0x1b7*0x10+-0x1233+0x1*0x2da3){console['log'](_0x5c4ecb(0xf9,_0x4b58c0._0x34b14f)+_0x5c4ecb(_0x4b58c0._0x4d799e,_0x4b58c0._0x2b2a36)),console['log'](_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x2329a6,-0x58)]),console[_0x39ec95(-_0x4b58c0._0x2dd025,-0x80)](_0x3ec9ee['LAmlw']+'-'['repeat'](0xbf*0xd+0x340+-0xca3));for(const _0x2baced of _0x4a0e78){const _0x4ce3dc=_0x3b35be[_0x2baced],_0x1a7f1a=PHASE_NAMES[_0x4ce3dc[_0x39ec95(-_0x4b58c0._0x319c09,-_0x4b58c0._0x4f498d)]]??_0x4ce3dc[_0x39ec95(-_0x4b58c0._0x1a8d8a,-0xbe)],_0x346a46=_0x4ce3dc[_0x5c4ecb(0xdf,0x103)+_0x5c4ecb(_0x4b58c0._0x324248,0x56)]||'-',_0x19af66=_0x4ce3dc[_0x5c4ecb(_0x4b58c0._0x246787,_0x4b58c0._0x5e2a92)+'ll']||'-';console[_0x39ec95(-0x58,-_0x4b58c0._0x4c4235)](_0x5c4ecb(_0x4b58c0._0x202e25,_0x4b58c0._0x119f49)+_0x2baced[_0x5c4ecb(0x1bb,_0x4b58c0._0x38a86d)](-0x16ff+-0x1367*0x1+0x2a78)+_0x39ec95(-_0x4b58c0._0x364976,0x5b)+_0x1a7f1a[_0x5c4ecb(0x17d,0x167)](0x1a5d*0x1+0x2290+0x1*-0x3cdf)+'\x20|\x20'+_0x346a46['padEnd'](-0x53*0x59+0x84a*0x1+-0x371*-0x6)+_0x39ec95(-_0x4b58c0._0x364976,0x5a)+_0x19af66);}console['log']();}}export async function quickTask(_0x3300cd){const _0x38bf9a={_0x112b96:0x3c,_0x3c41a5:0x6cc,_0x582972:0x61,_0x561a2e:0x546,_0x34b0cb:0x5d2,_0x59f30b:0x552,_0xf30541:0x577,_0x2f6f9c:0x54,_0x2ab8bb:0x5f5,_0x3b572a:0x28,_0x1fff72:0x1b,_0x41fdac:0x679,_0x295f0a:0x615,_0x413b98:0x543,_0xff7a44:0x4ed,_0x722454:0x678,_0x3de65b:0x58b,_0xf86017:0x612,_0x4ef0cd:0xc1,_0x4ad0b8:0x697,_0x499a4a:0x6e5,_0x80cabd:0x5c,_0x4064e7:0x20,_0x4813ab:0x124,_0x38172f:0xb5,_0x5968ab:0x69,_0x55cff9:0x631,_0x22965a:0x589,_0x19619b:0x97,_0x144d10:0x5d4,_0xd4d248:0x6b},_0x48e0f1={_0xae6068:0x14f},_0x465f48={'JDknM':'completed','bYOma':function(_0x2e5639){return _0x2e5639();},'JZpxh':function(_0x2e0a98,_0x4867ec,_0x37afc9){return _0x2e0a98(_0x4867ec,_0x37afc9);},'tyUiX':_0x1d5fec(-0x4,-_0x38bf9a._0x112b96),'gxlvF':'KTGZk','agEdx':_0x3f7d9c(0x67d,_0x38bf9a._0x3c41a5),'RFgUB':_0x3f7d9c(0x5d5,0x5b2),'kHQNz':function(_0x10202f){return _0x10202f();},'lcGBV':_0x1d5fec(0x10c,_0x38bf9a._0x582972),'SqHVM':function(_0x5a514b,_0x5a09c5){return _0x5a514b(_0x5a09c5);}},_0x39d3e=await _0x465f48[_0x1d5fec(-0x14,-0x3d)](readStateFile);if(!_0x39d3e){const _0x143261=_0x465f48[_0x3f7d9c(_0x38bf9a._0x561a2e,_0x38bf9a._0x34b0cb)](resolve,process[_0x3f7d9c(_0x38bf9a._0x59f30b,0x562)](),_0x465f48[_0x3f7d9c(0x5d1,_0x38bf9a._0xf30541)]);if(!existsSync(_0x143261)){if(_0x465f48[_0x1d5fec(_0x38bf9a._0x2f6f9c,-0x1e)]!==_0x465f48[_0x3f7d9c(_0x38bf9a._0x2ab8bb,0x576)]){const _0x192023={};_0x192023['recursive']=!![],_0x465f48[_0x1d5fec(-_0x38bf9a._0x3b572a,-0x70)](mkdirSync,_0x143261,_0x192023);}else _0x255a87=_0x465f48[_0x1d5fec(0x28,_0x38bf9a._0x1fff72)];}}const _0x337eab=_0x39d3e?.[_0x3f7d9c(_0x38bf9a._0x41fdac,_0x38bf9a._0x295f0a)]['name']??_0x465f48[_0x3f7d9c(_0x38bf9a._0x413b98,_0x38bf9a._0xff7a44)],_0x11133b=_0x39d3e?Object['keys'](_0x39d3e[_0x3f7d9c(0x5e8,_0x38bf9a._0x722454)])[0xdb7*0x1+0x8df+-0x1*0x1696]??_0x465f48['kHQNz'](generateAgentId):_0x465f48[_0x1d5fec(0x6a,-0x3b)](generateAgentId),_0x3c1149={'agentId':_0x11133b,'parentId':null,'childIds':[],'phase':_0x1d5fec(0x91,0xe2),'currentOperation':_0x3300cd[_0x3f7d9c(_0x38bf9a._0x3de65b,_0x38bf9a._0xf86017)](-0x6f3+0x1505*-0x1+0x1bf8,-0x19bc+-0x1*-0x1ca0+-0x280),'currentSkill':_0x465f48[_0x1d5fec(_0x38bf9a._0x4ef0cd,0x150)]},_0x247b85={};_0x247b85[_0x3f7d9c(_0x38bf9a._0x4ad0b8,_0x38bf9a._0x499a4a)]=_0x337eab,_0x247b85[_0x1d5fec(_0x38bf9a._0x80cabd,0x7)+'se']=_0x3f7d9c(0x67a,0x618);function _0x1d5fec(_0x2b94e4,_0x28de35){return _0x54f219(_0x2b94e4-_0x48e0f1._0xae6068,_0x28de35);}const _0xd5034f={};_0xd5034f[_0x11133b]=_0x3c1149;const _0x1324ac={};_0x1324ac[_0x3f7d9c(_0x38bf9a._0x41fdac,0x6b8)]=_0x247b85,_0x1324ac[_0x1d5fec(0x7a,_0x38bf9a._0x4064e7)]=_0xd5034f,_0x1324ac['machineSna'+_0x3f7d9c(0x570,0x5bf)]=null,await _0x465f48[_0x3f7d9c(0x681,0x620)](writeStateFile,_0x1324ac),console['log'](_0x1d5fec(_0x38bf9a._0x4813ab,0x17e));function _0x3f7d9c(_0x4dea97,_0x2ddf5b){return _0x104d2d(_0x4dea97-0x571,_0x2ddf5b);}console[_0x1d5fec(_0x38bf9a._0x38172f,_0x38bf9a._0x5968ab)](_0x3f7d9c(0x62a,_0x38bf9a._0x55cff9)+_0x337eab),console[_0x3f7d9c(0x623,_0x38bf9a._0x22965a)]('\x20\x20\x20任务:\x20'+_0x3300cd),console[_0x3f7d9c(0x623,0x69c)]('\x20\x20\x20Agent:\x20'+_0x11133b),console[_0x1d5fec(0xb5,0xfa)](_0x1d5fec(_0x38bf9a._0x19619b,0x12f)+_0x3f7d9c(0x5fd,_0x38bf9a._0x144d10)+_0x1d5fec(0xa6,_0x38bf9a._0xd4d248));}function _0x54f219(_0x4ef08a,_0x449751){return _0x22df(_0x4ef08a- -0x2f4,_0x449751);}function findFirstIncompleteAgent(_0x4d18a8){const _0x1cc129={_0x203c8d:0x413,_0x4d2d5e:0x3f6,_0x2dab92:0x309,_0xecdea:0x34f,_0x5141db:0x4f9,_0x3b0562:0x498,_0x11174a:0x3af,_0x5b8efa:0x34b,_0xc2776:0x578,_0x5964bd:0x3ac,_0x119ff7:0x452,_0x77246:0x435,_0x2d3486:0x51e,_0x1eb0dc:0x492,_0x544856:0x44f,_0x10b0e8:0x3ac,_0xc134b7:0x3e9,_0xdbc5b:0x4a3,_0x5d88ea:0x449,_0x6c467d:0x4fb,_0x4e8f7f:0x3ce,_0x3bc591:0x4bc,_0x59d985:0x4cd},_0x3394ea={};_0x3394ea[_0x3ef005(_0x1cc129._0x203c8d,_0x1cc129._0x4d2d5e)]=function(_0x41ba8e,_0x1fcc89){return _0x41ba8e===_0x1fcc89;},_0x3394ea[_0x3ef005(0x3b1,_0x1cc129._0x2dab92)]=_0xfb38e2(0x468,0x411);function _0x3ef005(_0x522a94,_0x509f4e){return _0x54f219(_0x522a94-0x49e,_0x509f4e);}_0x3394ea[_0x3ef005(0x3e9,_0x1cc129._0xecdea)]=_0xfb38e2(_0x1cc129._0x5141db,_0x1cc129._0x3b0562),_0x3394ea[_0x3ef005(_0x1cc129._0x11174a,_0x1cc129._0x5b8efa)]=_0xfb38e2(_0x1cc129._0xc2776,0x5c1),_0x3394ea[_0x3ef005(_0x1cc129._0x5964bd,0x424)]=function(_0x220be9,_0x117a39){return _0x220be9!==_0x117a39;};function _0xfb38e2(_0x3c80b8,_0x46a98d){return _0x54f219(_0x3c80b8-0x5a9,_0x46a98d);}const _0x1caf02=_0x3394ea;for(const [_0x2966bb,_0x1e538d]of _0x4d18a8){const _0x161b9f=_0x1e538d[_0xfb38e2(_0x1cc129._0x119ff7,_0x1cc129._0x77246)+'t'](),_0x5ea831=_0x1caf02[_0xfb38e2(_0x1cc129._0x2d3486,_0x1cc129._0x1eb0dc)](typeof _0x161b9f[_0x3ef005(_0x1cc129._0x544856,0x4de)],_0x1caf02[_0x3ef005(0x3af,0x3fe)])?_0x161b9f['value']:_0x1caf02['mXRaq'];if(_0x1caf02[_0x3ef005(_0x1cc129._0x10b0e8,0x340)](_0x5ea831,_0x1caf02[_0x3ef005(_0x1cc129._0xc134b7,0x3bc)])){if(_0x3ef005(0x398,0x38a)!==_0xfb38e2(_0x1cc129._0xdbc5b,_0x1cc129._0x5d88ea)){const _0x4df9c0=_0xf9b6ea[_0xfb38e2(0x452,_0x1cc129._0x6c467d)+'t'](),_0x37ad19=_0x1caf02[_0x3ef005(0x413,_0x1cc129._0x4e8f7f)](typeof _0x4df9c0[_0x3ef005(0x44f,0x4d9)],_0xfb38e2(0x578,0x5d1))?_0x4df9c0['value']:_0x1caf02[_0xfb38e2(_0x1cc129._0x3bc591,0x561)];if(_0x37ad19!==_0x1caf02[_0xfb38e2(0x4f4,_0x1cc129._0x59d985)])return _0x8d8404;}else return _0x2966bb;}}return null;}function checkAllComplete(){const _0x205696={_0x5b9467:0x19b,_0x50f206:0x18f,_0x116ec6:0x3bd,_0x2fecab:0x407,_0x1e6efd:0x43b,_0x3b5e54:0x227,_0x375d37:0x292,_0x2c8120:0x192,_0x12c48f:0x180,_0x47f61d:0x207,_0x2e8b1c:0x1e9,_0x3db97e:0x468,_0x4fc966:0x342,_0x508c01:0x2e6,_0x2dc6d1:0x12c,_0x43e7f9:0x1e1,_0x3f5cad:0x415,_0x13eefa:0x3a7,_0x255b1d:0x310,_0xf04a81:0x22b,_0x1af50a:0x29b,_0x16fc9d:0x39a,_0xecf693:0x1ba,_0xc78048:0x129,_0x3646d4:0x1fb,_0xaa536:0x221,_0x319d22:0x375,_0x271f42:0x423,_0xf8da45:0x410,_0x50c9ea:0x427,_0x516f40:0x33e,_0x410463:0x2b9,_0x297519:0x1f7,_0x1a8a6b:0x460},_0x4c1b94={_0x406e74:0x30b},_0xef6e15={'nsNRW':function(_0x427941,_0x890da5,_0x1cea71){return _0x427941(_0x890da5,_0x1cea71);},'kQJNx':_0x407bbd(-0x113,-0x128),'ScFmY':_0x364d66(0x316,0x2e8),'YYwfk':_0x407bbd(-0x1bc,-0x13a)+_0x407bbd(-0x136,-0xe7)};if(!activeEngine)return;function _0x364d66(_0x597e8f,_0x212ab7){return _0x104d2d(_0x597e8f-_0x4c1b94._0x406e74,_0x212ab7);}for(const [,_0x224c46]of activeEngine[_0x407bbd(-_0x205696._0x5b9467,-0xf1)]){if(_0x407bbd(-0x1cb,-_0x205696._0x50f206)===_0x407bbd(-0x1cb,-0x14c)){const _0x364d36=_0x224c46[_0x407bbd(-0x239,-0x1a5)+'t'](),_0x1ccdd2=typeof _0x364d36[_0x364d66(0x408,_0x205696._0x116ec6)]===_0xef6e15[_0x364d66(_0x205696._0x2fecab,_0x205696._0x1e6efd)]?_0x364d36[_0x407bbd(-0x131,-0x1bd)]:_0xef6e15[_0x407bbd(-_0x205696._0x3b5e54,-_0x205696._0x375d37)];if(_0x1ccdd2!==_0x407bbd(-_0x205696._0x2c8120,-_0x205696._0x12c48f))return;}else{const _0x4a02a6={};_0x4a02a6[_0x407bbd(-0x17a,-0x1c7)]=!![],_0xef6e15[_0x407bbd(-_0x205696._0x47f61d,-_0x205696._0x2e8b1c)](_0x29c782,_0x5623e9,_0x4a02a6);}}console[_0x364d66(_0x205696._0x116ec6,_0x205696._0x3db97e)](_0x364d66(0x3f0,0x3ae)+'t\x20已完成全部阶段');function _0x407bbd(_0x2efb45,_0x1a9c3a){return _0x54f219(_0x2efb45- -0xe2,_0x1a9c3a);}if(activeEngine[_0x364d66(_0x205696._0x4fc966,_0x205696._0x508c01)+_0x407bbd(-_0x205696._0x2dc6d1,-0xe9)]){for(const [_0x24cbdb]of activeEngine[_0x407bbd(-0x19b,-_0x205696._0x43e7f9)]){const _0x384508={};_0x384508[_0x364d66(_0x205696._0x3f5cad,_0x205696._0x13eefa)]=_0x407bbd(-0x206,-0x212);const _0x4c829d={};_0x4c829d[_0x364d66(0x33e,_0x205696._0x255b1d)]=_0xef6e15['YYwfk'],_0x4c829d[_0x407bbd(-_0x205696._0xf04a81,-_0x205696._0x1af50a)]=_0x24cbdb,_0x4c829d['result']=_0x384508,activeEngine[_0x364d66(0x342,_0x205696._0x16fc9d)+_0x407bbd(-0x12c,-_0x205696._0xecf693)][_0x407bbd(-_0x205696._0xc78048,-0x12c)](_0x4c829d);}const _0x3a5972={};_0x3a5972[_0x407bbd(-_0x205696._0x3646d4,-0x249)]=_0x407bbd(-_0x205696._0xaa536,-0x1d1)+'EN_DONE',activeEngine[_0x364d66(0x342,_0x205696._0x319d22)+_0x364d66(0x40d,_0x205696._0x271f42)][_0x364d66(_0x205696._0xf8da45,_0x205696._0x50c9ea)](_0x3a5972);const _0x26471f={};_0x26471f[_0x364d66(_0x205696._0x516f40,_0x205696._0x410463)]='PHASE_COMP'+'LETE',activeEngine[_0x407bbd(-_0x205696._0x297519,-0x23e)+_0x364d66(0x40d,_0x205696._0x1a8a6b)][_0x364d66(0x410,0x457)](_0x26471f);}}const MAX_RETRIES=-0x1ffe+0x1*-0x1601+0x3604;function _0x468c(){const _0x427756=['5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','C2TPBgW','rhb1qKG','vg5LqK0','ru9xvvK','yLLpBwe','icaG5O+q56s6oIdLNkJMRAtPMly','whHbuM4','wKXZv2e','icaG6zI25Q61oIa','ufnIwg8','CMvHza','qxPWt1u','icaG54Mi5PYSoIa','DdOG','mtjTBuvuEfy','DhjzC3u','z2v0u25HChnOBW','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','5A2q5lU75yQHia','v0ruDuu','lNnWzwnVChm','zg5xuNm','BNq6ia','Ew5luey','cVcFLi0G5BYa5AEl5yIg5P6q','DhLLyue','ChnOB3q','CgXHBG','tunPC3K','AM9PBG','y2HPBgrjza','qM5hvwO','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','icaG8j+tIcdPMlBMRRxLIiBLUim6','u2ngBvK','ugDLzw4','uvf6wMK','mZm2ndHxs2HRsvK','Dw5RBM93BG','D3jPDgu','quXmx0nisuXeuG','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','u1LXELe','zMLSDgvY','yKr0tvm','BgLZv08','te1xuKi','C0LNuMy','wxbwzxO','lI4U','whb6uhK','y2HPBgrjzhm','CgfYC2u','C2XPy2u','AwrSzq','uxvizfa','BgXltvm','vhPnEMC','CNnetMK','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','ANDTEuu','z2L0AhvIx3vYBa','AvrWz1G','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','sKrRBK0','6zYa5Rgc5yIg5P6q','BNnouLC','zg9Uzq','vvbeqvrfx09qrq','vLPJtLu','cVcFK4OG6Ag555UU54Q25OcboIa','DgvJAenVBNrLEa','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','ios4JEwTMowCQa','yNbHwfm','qLbkruu','CvfzzhC','CwnVD0K','DhLWzq','otbbt2rxsgu','D2rnBeK','Bu9Oww8','C3vWzxj2AxnVCG','iokgKIa','zKjmuuW','xsdKU44G','6zsaoIa','t0D2wwe','8j+BKsdLVjxMK47LT7lLGzZMRAi','icaG6l6t5ywL57g75z6loIa','icaGicaGicb8ia','A3nzAhe','xsdNIRBMGihLVilLUlG6ia','ExrpEvy','zwDcvLe','4PQG77Ipicbbz2vUDca','icaG55UU5B2voIa','Bhn6yMS','zxfnAhG','55sOigfKDMfUy2uG','mKrwAw1ZwG','AuH0Eg0','5AsX6lsL77Ym57UN57UT5OMN6kgm','4P2miefNzw50ia','cVcFK4OG6Ag555UU6l+B5BQMoIa','DMH2D04','BhLZAxm','BwvZC2fNzq','z3HSDKy','D3Dbs2K','BwfW','rw1gBui','DxbKyxrLlw9Wzq','zLLNv0K','77Ym6k+35ywi6l+q6kgmig5LDY0','s09gs3u','y3vYCMvUDfbOyq','CLjoC2e','tLjtwfa','AKHesMO','vejzr3i','icaG8j+KLIbbz2vUDa','BvHsyxe','DhLvAvG','ueHbu0vFq09nua','qxzyzfa','revergy','CxvPy2STDgfZAW','u1rbuLrFueHbuW','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','A0HrtNO','xsbbz2vUDcdLT7lLKk8','CwDgswi','vMLoyMm','DcdLKB3KU6q','A0fkwMi','tuDTzMS','CgHHC2u','cVcFMOaG5zcV5yQOieTHBMi','4PYfiefNzw50iow3SUAZQa','CK9Pzxq','q0HjterFq09nua','xsdMTl7LJ5hLRzaGqwDLBG','BuDZCxC','A2v5CW','mtiZnJjlqvDHDvm','ywDLBNrZ','veLbv2C','B21Kv2K','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','C3rHCNq','CgHHC2vZ','y3vYCMvUDe9Wzq','B3bLCMf0Aw9U','D3fAC1u','DMvYAwz5','6zYa5Rgc5PAh5PYS','ELzPAee','DKTosgO','ywDfzhG','icaGicaGicaGia','icaG5PQc5PEGiefNzw4','zNbjtxm','y3vYCMvUDfnRAq','C1b4qNe','zgvTyw5Kx2fUyq','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','z25eCLm','zxHLy3v0zq','Aw5JBhvKzxm','cUkCHsbbz2vUDca','ywDLBNrjza','sgfdru0','ywn0B3jZ','icaG5O+q56s6oIdLV6VPGj/KU7S','y29UDgv4Da','ywvWyNK','yxHiv1G','odvYC1jIs2e','ruDMwvC','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','zvjNue0','y29TCgXLDgvK','ioAbOUwKJq','uevzA3u','Aw5KzxHpzG','tKzvqxK','runkvwK','icaG6zI25Q615BQp5yIxoIa','BgLUzE+8JoEBToAoPEAjP+IHJaO','iefNzw50kqO','CMvXDwLYzw1LBG','rwHIy3y','EhbywuS','y29TCgv0AxrVCG','x2fUywX5C2LZ','Axr0zKO','t0Xmqxq','CMfUzg9T','icaG54I2iefNzw50','ioIVPUAdHtO','BNPyDLy','B3iG5BEY5zcV5yQO','uuz2r0G','Bg9N','v3zVvLu','CMvJDxjZAxzL','qLDtwLm','y25ArhC','EgTLCMy','5OQa5PYV6ycj5z6l','icaG6Ag555UUoIa','weTRsw8','icaG5PU05PAW5PE26zE0oIa','5PYQ55+L57g75z6l','qvnl','BgnhqLy','AgfZ','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','zfnRAxK','icaG5B2t5yMn6zI25Q61oIdPNia','t2jdAxm','ugLYv0u','DLb2EgW','D2vIC2L0zv91CG','icaG5yID5AEliefNzw4','ihWG','ios4JEwTMowCQos6JIbZDgf0','mtK5ndiWEwPktLnQ','qNrdAfa','rgXLy3O','reLtuefuq0HFva','mJe5mZa2yuLVr0vw','nJy0ufLwvezv','BgvUz3rO','BLntCee','wgfJDMG','D2fYBG','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','y0jivey','CMjUDK4','77Ym6k+35ywi6l+q6kgmihn0yxi','tKTAzNm','C2v0','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','zs5QC29U','DMvYC2LVBG','tNHTv3K','vKvlrKq','EevJrgW','CMf0Aw9UioAoQoI/M+MyTG','CgfKrw5K','zw50CMLLCW','z2jMrwO','DejMz04','cVcFJOKG5OMa5PYjiefNzw4','vgvlAxe','ywX5C2LZ','BwfJAgLUzvnUyq','icaG','uKfusu9o','ChjVAMvJDcdLKB3KU6q','EffdEvi','rcaGicaGicaGia','y05yquO','A2PPDwK','r0rIsLu','CM91BMq','Bwf4','uLrXugK','zfrNwLG','mJy0mJi2nNrNrgrsta','icaGqwDLBNqG5PwW','Awz3uge','tevurq','qNf6Aeu','rwH6shC','icaGqwDLBNqGsq','A1fktNG','DMfSDwu','Aw5WDxq','icaG5B2t5yMn6zI25Q61oIa','yw4GqwDLBNqG5BYv','z2v0','qwn0B3i','CgfYzw50swq','zMvHDhvYzv9HBG','C2vUza','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','AMPjyui','ChjVAMvJDa','CxvPy2S','C3rHDhvZ','ENfSA2u','BhnvtMy','5Rgc5yIg5P6qcG','C3rVCa','A2Dttg8','u3fivK0','wwDizgG','4PYfioAjGoACIsbbz2vUDa','sfvfBfO','icaGicaGFcdMK43KVzW','EMvQyLa','r2L0shvIios7K+w6KW','jsaO','BK5nqM8','DgLVBG','r2nAv24','C3rYAw5N','tNvgr3u','AvryyuW','qKDuCxu','AeX0DhO','zgLZy3vZCW','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','BMv3lxbYB2PLyW','mteWotK1mKjnDvjNrq','wfbeAeO','6kgmihn0yxj0ioAiLIa','BMfTzq','CMf0Aw9U','5yQF6io95yIg5P6q','uKzNvui','ChjVAMvJDe5HBq','DxrMltG','sLPWEgG','5lMq6kEc6zsb5yAY56Qb','CMvWzwf0','Chbby2e','uvHIC3i','otaWodDNrM1rCgm','u1rbuLq','56UE5zob5yIg5P6q','vwLLqKe','yvLVsxK','v2z3wLO','DgvZDa','y3DK','DMzxzgm','CMvZDwX0'];_0x468c=function(){return _0x427756;};return _0x468c();}async function persistCurrentState(){const _0x3fff43={_0x4872b1:0x2ae,_0x2c8ded:0x2f5,_0x50528b:0x335,_0x5c913b:0x1ed,_0x3db322:0x1fd,_0x3d0f7b:0x4d8,_0x47e359:0x4b6,_0x1226a7:0x2b3,_0x440a6c:0x314,_0x37b119:0x28e,_0x5bc04f:0x579,_0x3970be:0x20c,_0x333066:0x602,_0xbfe46b:0x2ba,_0x1ce055:0x2ca,_0x59bebf:0x2ac,_0x2c2bf0:0x22f,_0x20b770:0x218,_0x280c1f:0x1e7,_0x565943:0x318,_0x5ca88b:0x2be,_0x1a8f9c:0x1e0,_0x47ce07:0x2f9,_0x40356e:0x2ef,_0x36461e:0x508,_0x13ce64:0x21a,_0x12d50f:0x212,_0x193e98:0x285,_0x534aa1:0x1ef,_0x4d2341:0x33d,_0x2f86b9:0x29f,_0x76faec:0x5b1,_0x52e4da:0x4b9,_0x41f0e3:0x4c6,_0x5cfba5:0x57a,_0x45ba59:0x561,_0x78cb36:0x20f,_0x33a808:0x552,_0x564664:0x267,_0x58ccf0:0x4a1,_0x48edbf:0x2ab,_0x1ed45e:0x257,_0x2a726e:0x1b2,_0x453126:0x52b,_0x13d2a3:0x4e4,_0x56d27c:0x52e},_0xc03b58={_0x13b207:0x606},_0x45b04d={'xpXYK':function(_0x37f95e,_0x2331a1){return _0x37f95e!==_0x2331a1;},'DpuBH':function(_0x132f13){return _0x132f13();},'ynKPF':_0x145c50(_0x3fff43._0x4872b1,_0x3fff43._0x2c8ded),'qaJWz':'completed','ACFXu':_0x145c50(0x2ab,0x2e2),'mAYNt':_0x145c50(0x378,_0x3fff43._0x50528b),'WvoVU':'idle','NKZfs':function(_0x2eb0ba,_0x57a248){return _0x2eb0ba===_0x57a248;},'iTpgX':function(_0x252577,_0x28260e){return _0x252577!==_0x28260e;},'WDTuE':_0x2ba83a(0x4e9,0x569),'iTXaL':function(_0x19de03,_0x2020e0){return _0x19de03 instanceof _0x2020e0;},'gMWnE':_0x145c50(0x1e3,_0x3fff43._0x5c913b),'ksYhq':function(_0x4a4a65,_0x7fa85f){return _0x4a4a65-_0x7fa85f;},'rbnvN':_0x145c50(0x35c,0x328),'NXirI':'UEScC'};if(!activeEngine)return;function _0x145c50(_0x38ec0b,_0x39f8c6){return _0x104d2d(_0x39f8c6-0x217,_0x38ec0b);}const {projectName:_0x219138,actors:_0x20aad8}=activeEngine,_0x28db39=await _0x45b04d[_0x145c50(0x232,_0x3fff43._0x3db322)](readStateFile),_0x4c64f8={};if(_0x28db39){if(_0x45b04d['ynKPF']!==_0x45b04d[_0x2ba83a(_0x3fff43._0x3d0f7b,_0x3fff43._0x47e359)])_0x2527ee=_0x145c50(0x2a3,_0x3fff43._0x1226a7);else for(const [_0x178493,_0x17b751]of Object['entries'](_0x28db39[_0x145c50(_0x3fff43._0x440a6c,_0x3fff43._0x37b119)])){!_0x20aad8[_0x2ba83a(0x55c,_0x3fff43._0x5bc04f)](_0x178493)&&(_0x4c64f8[_0x178493]=_0x17b751);}}const _0x449bc0={};let _0x3693df=_0x45b04d['qaJWz'];for(const [_0x592d56,_0x149928]of _0x20aad8){if(_0x45b04d['ACFXu']!==_0x45b04d['mAYNt']){const _0x5d81f1=_0x149928[_0x145c50(0x29e,_0x3fff43._0x3970be)+'t'](),_0x302e41=typeof _0x5d81f1['value']===_0x2ba83a(_0x3fff43._0x333066,0x5d5)?_0x5d81f1['value']:_0x45b04d[_0x145c50(_0x3fff43._0xbfe46b,_0x3fff43._0x1ce055)];_0x449bc0[_0x592d56]={'agentId':_0x592d56,'parentId':_0x5d81f1[_0x145c50(0x2e6,_0x3fff43._0x59bebf)]?.[_0x145c50(0x274,0x31a)]??null,'childIds':_0x5d81f1['context']?.[_0x145c50(0x1bd,_0x3fff43._0x2c2bf0)]??[],'phase':_0x302e41,'currentOperation':_0x5d81f1[_0x145c50(_0x3fff43._0x20b770,_0x3fff43._0x59bebf)]?.[_0x2ba83a(0x56e,0x537)+_0x145c50(0x1e7,_0x3fff43._0x280c1f)]??'','currentSkill':_0x5d81f1[_0x145c50(_0x3fff43._0x565943,0x2ac)]?.[_0x145c50(0x206,0x29f)+'ll']??''},_0x45b04d[_0x145c50(0x334,_0x3fff43._0x5ca88b)](_0x302e41,_0x45b04d['qaJWz'])&&(_0x3693df=_0x302e41);}else{const _0x1d4dae={..._0x1fd26a[_0x5d22c0]};_0x1d4dae[_0x145c50(_0x3fff43._0x1a8f9c,0x285)]=_0x203f25,_0x5e1e01[_0x326758]=_0x1d4dae;}}function _0x2ba83a(_0x21c46e,_0x4f8a14){return _0x54f219(_0x4f8a14-_0xc03b58._0x13b207,_0x21c46e);}const _0x207193={..._0x4c64f8,..._0x449bc0},_0x34bfb2=_0x207193;for(const [,_0x5cf8a1]of Object[_0x145c50(0x33d,_0x3fff43._0x47ce07)](_0x4c64f8)){if(_0x45b04d[_0x145c50(0x2be,_0x3fff43._0x40356e)](_0x2ba83a(0x4d4,_0x3fff43._0x36461e),_0x145c50(_0x3fff43._0x13ce64,0x265)))_0x45b04d[_0x145c50(0x1ad,0x23a)](_0x5cf8a1[_0x2ba83a(0x566,0x528)],_0x145c50(_0x3fff43._0x12d50f,0x2b3))&&(_0x3693df=_0x5cf8a1[_0x145c50(0x2b5,_0x3fff43._0x193e98)]);else{_0x7d1aa[_0x2ba83a(0x608,0x56c)](_0x2ba83a(0x663,0x5cc)+_0x145c50(_0x3fff43._0x534aa1,0x21c));return;}}for(let _0x2ea0f1=-0x236f+0x4be*0x7+-0x3*-0xbf;_0x2ea0f1<MAX_RETRIES;_0x2ea0f1++){try{const _0xd433da=new StateFileManager(STATE_FILE_PATH);await _0xd433da['read']();const _0x1e9389={};_0x1e9389[_0x145c50(0x3a6,_0x3fff43._0x4d2341)]=_0x219138,_0x1e9389[_0x145c50(_0x3fff43._0x2f86b9,0x270)+'se']=_0x3693df;const _0x310d81={};_0x310d81[_0x2ba83a(_0x3fff43._0x76faec,0x5c2)]=_0x1e9389,_0x310d81['agents']=_0x34bfb2,_0x310d81[_0x2ba83a(0x529,0x5a2)+_0x2ba83a(0x4d8,_0x3fff43._0x52e4da)]=null,await _0xd433da[_0x2ba83a(0x4e6,_0x3fff43._0x41f0e3)](_0x310d81);return;}catch(_0x32b302){if(_0x45b04d[_0x2ba83a(_0x3fff43._0x5cfba5,_0x3fff43._0x45ba59)](_0x45b04d[_0x145c50(0x241,_0x3fff43._0x78cb36)],_0x2ba83a(_0x3fff43._0x33a808,0x5a9))){if(_0x45b04d[_0x2ba83a(0x565,0x5d7)](_0x32b302,Error)&&_0x32b302[_0x145c50(0x2cb,_0x3fff43._0x564664)][_0x2ba83a(_0x3fff43._0x58ccf0,0x549)](_0x45b04d['gMWnE'])&&_0x2ea0f1<_0x45b04d[_0x145c50(_0x3fff43._0x48edbf,_0x3fff43._0x1ed45e)](MAX_RETRIES,0x117c+-0x1864+0x6e9)){if(_0x45b04d[_0x145c50(_0x3fff43._0x2a726e,0x23a)](_0x45b04d[_0x2ba83a(_0x3fff43._0x453126,0x590)],_0x45b04d['NXirI'])){await new Promise(_0x59ba9b=>setTimeout(_0x59ba9b,0x18*0x178+-0x840+0x92*-0x2f+Math['random']()*(0x1d2d+-0xf64+0x477*-0x3)));continue;}else _0x25045b<_0x327e7a[_0x2ba83a(_0x3fff43._0x13d2a3,0x58a)]-(-0x1fb4+-0xab9+-0x2*-0x1537)?_0x287dd2=_0x134aae[_0x1a31f4+(-0x2574+0x1*-0x2309+-0x80e*-0x9)]:_0x4aca02='completed';}throw _0x32b302;}else{if(_0x45b04d['xpXYK'](_0xb4c308[_0x52d2a7]['phase'],_0x145c50(0x281,0x2b3))){const _0x54045d={..._0x194b9d[_0x4c23e3]};_0x54045d[_0x2ba83a(_0x3fff43._0x56d27c,0x528)]=_0x203c0c,_0x1317a[_0x3d400a]=_0x54045d;}}}}}
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)]);}}}