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.
- package/.opencode/agent/demand-analyst.md +69 -18
- package/.opencode/agent/verifier.md +231 -0
- package/.opencode/skills/brainstorming/SKILL.md +105 -0
- package/.opencode/skills/demand-analysis/SKILL.md +393 -47
- package/.opencode/skills/dispatching-parallel-agents/SKILL.md +180 -0
- package/.opencode/skills/executing-plans/SKILL.md +90 -0
- package/.opencode/skills/finishing-a-development-branch/SKILL.md +222 -0
- package/.opencode/skills/receiving-code-review/SKILL.md +213 -0
- package/.opencode/skills/repo-clone-analyze/SKILL.md +371 -0
- package/.opencode/skills/requesting-code-review/SKILL.md +105 -0
- package/.opencode/skills/requesting-code-review/code-reviewer.md +146 -0
- package/.opencode/skills/subagent-driven-development/SKILL.md +242 -0
- package/.opencode/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/.opencode/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/.opencode/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/.opencode/skills/systematic-debugging/SKILL.md +296 -0
- package/.opencode/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/.opencode/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/.opencode/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/.opencode/skills/test-driven-development/SKILL.md +399 -0
- package/.opencode/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/.opencode/skills/using-git-worktrees/SKILL.md +218 -0
- package/.opencode/skills/using-superpowers/SKILL.md +99 -0
- package/.opencode/skills/verification-before-completion/SKILL.md +150 -0
- package/.opencode/skills/writing-plans/SKILL.md +123 -0
- package/.opencode/skills/writing-skills/SKILL.md +654 -0
- package/dist/__e2e__/01-state-engine.e2e.test.js +1 -1
- package/dist/acceptance/lazyDetector.js +1 -1
- package/dist/acceptance/lazyDetector.test.js +1 -1
- package/dist/acceptance/reporter.js +1 -1
- package/dist/acceptance/reporter.test.js +1 -1
- package/dist/acceptance/runner.js +1 -1
- package/dist/acceptance/runner.test.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/context/index.js +1 -1
- package/dist/context/promptTemplate.js +1 -1
- package/dist/context/promptTemplate.test.js +1 -1
- package/dist/context/techContextLoader.js +1 -1
- package/dist/context/techContextLoader.test.js +1 -1
- package/dist/engine.js +1 -1
- package/dist/evolution/distiller.js +1 -1
- package/dist/evolution/index.js +1 -1
- package/dist/evolution/memoryGraph.js +1 -1
- package/dist/evolution/selector.js +1 -1
- package/dist/evolution/signals.js +1 -1
- package/dist/evolution/solidify.js +1 -1
- package/dist/evolution/store.js +1 -1
- package/dist/evolution/types.js +1 -1
- package/dist/init.js +1 -1
- package/dist/machines/agentMachine.js +1 -1
- package/dist/machines/agentMachine.test.js +1 -1
- package/dist/machines/supervisorMachine.js +1 -1
- package/dist/machines/supervisorMachine.test.js +1 -1
- package/dist/persistence/schema.js +1 -1
- package/dist/persistence/stateFile.js +1 -1
- package/dist/persistence/stateFile.test.js +1 -1
- package/dist/plugin-engine.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +1 -1
package/dist/plugin-engine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x23a605,_0x1dabd5){const _0x1dfa05={_0x1d7059:0x182,_0x43358b:0xe3,_0x52db00:0xf1,_0x383f9c:0x115,_0x232e8c:0x12a,_0x543154:0xb7,_0x26fdcb:0xf2,_0x3881e5:0xf5,_0x1f5d4f:0x116,_0x34557f:0x151,_0x158e92:0x190,_0x3fd5b1:0xf7,_0x25291a:0x12e,_0x363a11:0x13d},_0x17d753=_0x23a605();function _0x14f44d(_0x560513,_0x42f00c){return _0x8537(_0x42f00c- -0x277,_0x560513);}function _0x2863f3(_0x22d94b,_0x234178){return _0x8537(_0x234178-0x4,_0x22d94b);}while(!![]){try{const _0x1d3ce9=parseInt(_0x2863f3(0x161,_0x1dfa05._0x1d7059))/(0x1784+0x1*-0x401+-0x1382)+parseInt(_0x2863f3(_0x1dfa05._0x43358b,0x123))/(0x99a+0x2078*0x1+0x1*-0x2a10)*(-parseInt(_0x14f44d(-_0x1dfa05._0x52db00,-_0x1dfa05._0x383f9c))/(-0x20e5+0x1fdf+0x109))+parseInt(_0x14f44d(-0x17c,-_0x1dfa05._0x232e8c))/(0x161*0x17+-0x11c*0x3+0x327*-0x9)*(parseInt(_0x14f44d(-_0x1dfa05._0x543154,-_0x1dfa05._0x26fdcb))/(-0xb3*-0x8+0x2f9*-0x1+-0x29a))+parseInt(_0x14f44d(-_0x1dfa05._0x3881e5,-_0x1dfa05._0x1f5d4f))/(-0x21a6+0xff9+0xc5*0x17)+parseInt(_0x2863f3(_0x1dfa05._0x34557f,_0x1dfa05._0x158e92))/(0x212*-0x4+-0xdbc+0x759*0x3)+parseInt(_0x14f44d(-0x171,-0x16d))/(-0x1d3b+0x796+0x15ad)*(-parseInt(_0x14f44d(-0x137,-_0x1dfa05._0x3fd5b1))/(-0x3*0x656+-0x1298+0x25a3))+parseInt(_0x2863f3(0xf2,_0x1dfa05._0x25291a))/(0x14f4+-0x3eb*-0x7+-0x3057)*(-parseInt(_0x14f44d(-0x187,-_0x1dfa05._0x363a11))/(0xedf+0x213a+-0x300e));if(_0x1d3ce9===_0x1dabd5)break;else _0x17d753['push'](_0x17d753['shift']());}catch(_0x2fddb7){_0x17d753['push'](_0x17d753['shift']());}}}(_0x2f07,0x155fd0+-0x41ec2+-0x5b72d*0x1));import{existsSync,readFileSync,mkdirSync}from'node:fs';import{resolve}from'node:path';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0xfed63e={};_0xfed63e[_0x442897(0x3ec,0x3b5)+_0x438d39(0x337,0x31f)]=_0x438d39(0x31b,0x347);function _0x442897(_0x1eb763,_0x5a0d61){return _0x8537(_0x5a0d61-0x232,_0x1eb763);}_0xfed63e[_0x442897(0x375,0x3a6)+'_analysis']=_0x438d39(0x2e2,0x31c),_0xfed63e[_0x442897(0x3b1,0x3c9)+_0x442897(0x369,0x39f)]=_0x442897(0x31d,0x357),_0xfed63e['tech_selec'+_0x442897(0x390,0x38a)]=_0x442897(0x384,0x35b),_0xfed63e[_0x442897(0x347,0x37c)]='讨论',_0xfed63e[_0x442897(0x397,0x392)]='规划',_0xfed63e[_0x442897(0x3a3,0x380)]='执行',_0xfed63e[_0x438d39(0x2be,0x2d8)]='验证';const PHASE_NAMES=_0xfed63e,MAX_RETRIES=-0x2299+0x466*0x3+0x1*0x156c;function _0x438d39(_0xf45597,_0x43161f){return _0x8537(_0xf45597-0x1c9,_0x43161f);}async function readStateFile(_0x276d05){const _0x521175={_0x38ebc2:0x33c},_0x3ef317={_0x3aecde:0x74},_0x211085={'hrQfI':function(_0x5ba20a,_0x49eccb){return _0x5ba20a(_0x49eccb);}};function _0x584520(_0x141512,_0x27a8de){return _0x438d39(_0x141512-_0x3ef317._0x3aecde,_0x27a8de);}if(!_0x211085[_0x584520(0x375,_0x521175._0x38ebc2)](existsSync,_0x276d05))return null;const _0x5acc06=new StateFileManager(_0x276d05);return _0x5acc06['read']();}async function writeStateFile(_0x12319b,_0x388ab3){const _0x1471b2={_0x5a47f5:0x297,_0x1bf2f9:0x2d9,_0x7d0029:0x1a2,_0x40b721:0x196,_0x215689:0x1b3,_0x2937c3:0x1df,_0x3c7751:0x305,_0x13ec34:0x2cd,_0x1b8583:0x297,_0x167211:0x1b2,_0x42c357:0x1bb,_0xb270ed:0x2c3,_0x49bd46:0x2d9,_0x1e6696:0x1ac,_0x524694:0x22e,_0x409d3f:0x2ad,_0x1f3df0:0x27c,_0xa8b897:0x33c,_0x2b4637:0x2ae,_0x5aa4e4:0x18c,_0x49e329:0x215,_0x4a4511:0x20b,_0x4e8347:0x2be,_0x4c07b7:0x2d6},_0x5734e3={_0xe7f8be:0x19d};function _0x3a1b72(_0x47293a,_0x4afd82){return _0x442897(_0x4afd82,_0x47293a- -_0x5734e3._0xe7f8be);}const _0x4fee0c={};_0x4fee0c[_0x48ba64(0x246,_0x1471b2._0x5a47f5)]=function(_0x46bbc1,_0x2cf8bc){return _0x46bbc1<_0x2cf8bc;},_0x4fee0c[_0x48ba64(0x296,_0x1471b2._0x1bf2f9)]=function(_0x300ee8,_0x11d3c4){return _0x300ee8!==_0x11d3c4;},_0x4fee0c[_0x3a1b72(_0x1471b2._0x7d0029,0x1b4)]=_0x3a1b72(_0x1471b2._0x40b721,0x157);function _0x48ba64(_0x432b21,_0xf6f23e){return _0x442897(_0x432b21,_0xf6f23e- -0xb0);}_0x4fee0c['keOTD']=function(_0x58d202,_0x546082){return _0x58d202 instanceof _0x546082;},_0x4fee0c[_0x3a1b72(_0x1471b2._0x215689,_0x1471b2._0x2937c3)]=_0x48ba64(_0x1471b2._0x3c7751,0x2de);const _0x58af60=_0x4fee0c;for(let _0x132bf5=-0x1460+-0x22*0xc2+0x2e24;_0x58af60[_0x48ba64(_0x1471b2._0x13ec34,_0x1471b2._0x1b8583)](_0x132bf5,MAX_RETRIES);_0x132bf5++){try{const _0x13725b=new StateFileManager(_0x12319b);await _0x13725b[_0x3a1b72(_0x1471b2._0x167211,_0x1471b2._0x42c357)](),await _0x13725b['write'](_0x388ab3);return;}catch(_0x31c691){if(_0x58af60[_0x48ba64(_0x1471b2._0xb270ed,_0x1471b2._0x49bd46)](_0x48ba64(0x2d0,0x2b6),_0x58af60['Hxkhx'])){if(_0x58af60[_0x3a1b72(0x1ef,_0x1471b2._0x2937c3)](_0x31c691,Error)&&_0x31c691[_0x3a1b72(_0x1471b2._0x1e6696,0x1db)][_0x3a1b72(0x1fb,_0x1471b2._0x524694)](_0x58af60[_0x48ba64(_0x1471b2._0x409d3f,0x2a0)])&&_0x132bf5<MAX_RETRIES-(0x148*-0x16+0x1552+-0x1*-0x6df)){await new Promise(_0x47378d=>setTimeout(_0x47378d,0x1a*-0x126+-0x1735+0x3543+Math[_0x3a1b72(0x1f2,0x1a8)]()*(0x2427*0x1+-0x4*-0x27e+-0x2dbb)));continue;}throw _0x31c691;}else{const _0x3a45b2=_0x233cc2[_0x24a719],_0xefd523=_0x5668d2[_0x3a45b2['phase']]??_0x3a45b2[_0x48ba64(0x299,_0x1471b2._0x1f3df0)],_0x246095=_0x3a45b2[_0x48ba64(_0x1471b2._0xa8b897,0x2ed)+_0x48ba64(0x270,_0x1471b2._0x2b4637)]||'-',_0x507d30=_0x3a45b2[_0x3a1b72(_0x1471b2._0x5aa4e4,_0x1471b2._0x167211)+'ll']||'-';_0x5c8821['push'](_0x48ba64(0x284,0x289)+_0x12749f[_0x3a1b72(0x1e9,_0x1471b2._0x49e329)](0x113d*0x1+-0x9b+-0x1090)+_0x3a1b72(_0x1471b2._0x4a4511,0x259)+_0xefd523['padEnd'](0x4*-0x956+0x2*0xd4b+0xad0*0x1)+_0x48ba64(0x2cd,0x2f8)+_0x246095[_0x48ba64(_0x1471b2._0x4e8347,_0x1471b2._0x4c07b7)](-0x365*-0x4+0x1*0x1ab4+-0x2833)+_0x48ba64(0x33f,0x2f8)+_0x507d30);}}}}function _0x8537(_0xcb47c7,_0x1414f3){_0xcb47c7=_0xcb47c7-(0xc51+0x1288+-0x1de5);const _0x57d11d=_0x2f07();let _0x1b957f=_0x57d11d[_0xcb47c7];if(_0x8537['qapEeQ']===undefined){var _0xf58f9e=function(_0xfd9704){const _0x495047='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x296815='',_0x20a206='';for(let _0x21589a=0xe9d+0x1a3+-0x8*0x208,_0x17962f,_0x22e2d0,_0x529f24=0x195d+-0xff4*-0x2+-0x3945;_0x22e2d0=_0xfd9704['charAt'](_0x529f24++);~_0x22e2d0&&(_0x17962f=_0x21589a%(-0xadf*0x1+0x3e*-0x61+0x2261)?_0x17962f*(-0x1ede*-0x1+-0x613*-0x1+-0x24b1)+_0x22e2d0:_0x22e2d0,_0x21589a++%(0x108d+-0x1e8a+0xe01*0x1))?_0x296815+=String['fromCharCode'](-0x8*-0x26e+0xa*0x202+-0x2685&_0x17962f>>(-(-0x87+0xa7*0x1+0xa*-0x3)*_0x21589a&0x9b5+0x39e+-0xe3*0xf)):-0x60*0x49+-0x422+0x25*0xda){_0x22e2d0=_0x495047['indexOf'](_0x22e2d0);}for(let _0x4aa9d4=-0x27e+0xf8f+-0x1*0xd11,_0x2ddc82=_0x296815['length'];_0x4aa9d4<_0x2ddc82;_0x4aa9d4++){_0x20a206+='%'+('00'+_0x296815['charCodeAt'](_0x4aa9d4)['toString'](0x1f*-0x9f+0xb24*0x1+0x82d))['slice'](-(-0x41+0x7*-0x522+-0x221*-0x11));}return decodeURIComponent(_0x20a206);};_0x8537['uJYLDK']=_0xf58f9e,_0x8537['nZhJGO']={},_0x8537['qapEeQ']=!![];}const _0x28ef26=_0x57d11d[0x1a*0x28+0x1*-0x3d7+-0x39],_0x214d53=_0xcb47c7+_0x28ef26,_0x29bb1a=_0x8537['nZhJGO'][_0x214d53];return!_0x29bb1a?(_0x1b957f=_0x8537['uJYLDK'](_0x1b957f),_0x8537['nZhJGO'][_0x214d53]=_0x1b957f):_0x1b957f=_0x29bb1a,_0x1b957f;}function computeOverallPhase(_0x1f35c4){const _0xf8e58a={_0x54305f:0xd7,_0x416275:0x435,_0x44afd3:0x422,_0x553c95:0x16a,_0x2da490:0x170,_0x11c23c:0x418,_0x16d629:0x3cf,_0x4c53c2:0x3ca,_0x3e4cb8:0xdf},_0xaf782a={_0x975ad4:0x49e},_0x1d7c9d={_0x1e9c11:0xa3},_0x5e5932={};_0x5e5932[_0x145b15(-0x129,-_0xf8e58a._0x54305f)]=function(_0x966012,_0x1f60e0){return _0x966012!==_0x1f60e0;},_0x5e5932[_0x45d93e(0x467,_0xf8e58a._0x416275)]=_0x45d93e(0x414,_0xf8e58a._0x44afd3);const _0x34074b=_0x5e5932;for(const _0x4e8125 of Object[_0x145b15(-_0xf8e58a._0x553c95,-_0xf8e58a._0x2da490)](_0x1f35c4)){if(_0x34074b[_0x45d93e(_0xf8e58a._0x11c23c,0x44d)](_0x1f35c4[_0x4e8125][_0x45d93e(_0xf8e58a._0x16d629,_0xf8e58a._0x4c53c2)],_0x34074b[_0x145b15(-0xda,-_0xf8e58a._0x3e4cb8)]))return _0x1f35c4[_0x4e8125]['phase'];}function _0x45d93e(_0x156089,_0x5f40dd){return _0x442897(_0x5f40dd,_0x156089-_0x1d7c9d._0x1e9c11);}function _0x145b15(_0x4888ec,_0x55f4f5){return _0x442897(_0x55f4f5,_0x4888ec- -_0xaf782a._0x975ad4);}return'completed';}export async function getStatus(_0x5988c4){const _0x493d09={_0x54cdb2:0x185,_0x2cd4f8:0x104,_0x250d72:0xd0,_0x37ac06:0xe4,_0x5583da:0x14a,_0x17838f:0x149,_0x484239:0x199,_0x1e7f13:0x1d0,_0x18baf0:0xf1,_0x3f0fbd:0x198,_0xaa93f9:0x1d5,_0x9f1653:0xff,_0x177e66:0x194,_0x3a005a:0xee,_0x45f92f:0x85,_0x22ad16:0x8a,_0x4f165f:0x17a,_0x41456c:0xde,_0x3dfef9:0xfd,_0x47ea4e:0x136,_0x55eede:0x142,_0x219a32:0x185,_0xb433e0:0x1a0,_0x17d4e4:0x18f,_0x3dae30:0x1a8,_0x338d12:0x8b,_0x535cdf:0x192,_0xb43f6b:0x152,_0x57eba7:0x102,_0x5e24c0:0x84,_0x652443:0x3c,_0x705efe:0x102,_0x2535c4:0xd6,_0x146f6a:0x6e,_0x423609:0xba,_0x2da47e:0x197,_0x135205:0x1ea,_0x25ab34:0x156,_0x4a7ffa:0x16d,_0x1ae74f:0xc6,_0x5123e8:0x16b,_0x3e27ee:0x82,_0x1c297d:0x13d,_0x1108b3:0xa3,_0x4fb3b3:0x82},_0x30d257={_0xb4503a:0x3c1},_0x2ce3f9={_0x2d68df:0x45a},_0x3e7038={};_0x3e7038['mQQqV']=function(_0x3f66ae,_0x30185d){return _0x3f66ae===_0x30185d;},_0x3e7038[_0x37a21a(-0x198,-0x17c)]='yyWtE',_0x3e7038[_0x37a21a(-0x194,-_0x493d09._0x54cdb2)]='⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0x15d716(-0x136,-_0x493d09._0x2cd4f8),_0x3e7038[_0x15d716(-_0x493d09._0x250d72,-0xd8)]=_0x15d716(-0x125,-_0x493d09._0x37ac06),_0x3e7038[_0x37a21a(-_0x493d09._0x5583da,-_0x493d09._0x17838f)]=_0x37a21a(-_0x493d09._0x484239,-_0x493d09._0x1e7f13)+_0x37a21a(-0x148,-0x137),_0x3e7038['mCYzK']=function(_0x22cfe0,_0x504bb0){return _0x22cfe0+_0x504bb0;},_0x3e7038['NuAhI']=_0x15d716(-0x10c,-_0x493d09._0x18baf0);const _0x391783=_0x3e7038;if(!existsSync(_0x5988c4)){if(_0x391783['mQQqV'](_0x391783[_0x37a21a(-_0x493d09._0x3f0fbd,-_0x493d09._0xaa93f9)],_0x391783[_0x15d716(-0xcc,-_0x493d09._0x9f1653)]))return _0x391783[_0x15d716(-0xc9,-0xfb)];else{const _0x151e3d=_0x56e026[_0x43a8e1][_0x37a21a(-0x197,-_0x493d09._0x177e66)];_0x10ebf0[_0x151e3d]=(_0xa9deb9[_0x151e3d]??0x5*-0x379+0x134e*-0x2+-0x59*-0xa1)+(-0x20a2*0x1+0xcf3+0x13b0);}}const _0x359611=readFileSync(_0x5988c4,_0x391783[_0x15d716(-_0x493d09._0x3a005a,-0xd8)]),_0x1cb40f=JSON[_0x37a21a(-0x163,-0x1ad)](_0x359611),_0x1a159d=[];_0x1a159d[_0x15d716(-_0x493d09._0x45f92f,-0xc6)](_0x15d716(-_0x493d09._0x22ad16,-0xa8)+_0x1cb40f[_0x37a21a(-0x146,-0x147)][_0x37a21a(-0x18b,-0x18b)]),_0x1a159d['push'](_0x15d716(-0xc3,-0xb8)+(PHASE_NAMES[_0x1cb40f[_0x15d716(-0xd0,-0xad)][_0x37a21a(-0x196,-0x1c0)+'se']]??_0x1cb40f[_0x37a21a(-0x146,-_0x493d09._0x4f165f)][_0x15d716(-_0x493d09._0x41456c,-_0x493d09._0x3dfef9)+'se'])),_0x1a159d['push'](_0x15d716(-0xaf,-0x80)+_0x1cb40f[_0x37a21a(-0x186,-0x1b2)]);function _0x37a21a(_0x300f41,_0x3c4d6d){return _0x438d39(_0x300f41- -_0x2ce3f9._0x2d68df,_0x3c4d6d);}_0x1a159d[_0x37a21a(-0x15f,-_0x493d09._0x47ea4e)](_0x37a21a(-_0x493d09._0x55eede,-0x159)+_0x1cb40f[_0x37a21a(-_0x493d09._0x219a32,-_0x493d09._0xb433e0)]);const _0x58951d=_0x1cb40f['agents'],_0x5b9716=Object[_0x37a21a(-_0x493d09._0x17d4e4,-0x1b0)](_0x58951d);if(_0x5b9716[_0x15d716(-0xe1,-0xea)]===-0x25d+-0x13ad*-0x1+-0x8*0x22a)return _0x1a159d['push'](_0x391783['XPQMh']),_0x1a159d['join']('\x0a');_0x1a159d[_0x37a21a(-0x15f,-_0x493d09._0x3dae30)](''),_0x1a159d[_0x15d716(-_0x493d09._0x338d12,-0xc6)](_0x37a21a(-_0x493d09._0x535cdf,-_0x493d09._0xb43f6b)+_0x37a21a(-0x14b,-_0x493d09._0x57eba7)+_0x15d716(-_0x493d09._0x5e24c0,-0x68)+_0x15d716(-0x43,-0x6f)+_0x15d716(-_0x493d09._0x652443,-0x63)+_0x37a21a(-_0x493d09._0x705efe,-_0x493d09._0x2535c4)+'工具'),_0x1a159d[_0x15d716(-0xd9,-0xc6)](_0x391783[_0x15d716(-0x2a,-_0x493d09._0x146f6a)](_0x391783[_0x15d716(-_0x493d09._0x423609,-0x91)],'-'[_0x15d716(-0x8f,-0x86)](0xe4c+-0x202f+0x1233)));for(const _0x273301 of _0x5b9716){const _0x327c56=_0x58951d[_0x273301],_0x214a75=PHASE_NAMES[_0x327c56[_0x37a21a(-_0x493d09._0x2da47e,-_0x493d09._0x135205)]]??_0x327c56[_0x37a21a(-0x197,-0x14e)],_0x487d4d=_0x327c56[_0x37a21a(-0x126,-_0x493d09._0x25ab34)+_0x15d716(-0xa6,-0xcc)]||'-',_0x284b99=_0x327c56[_0x37a21a(-0x19a,-_0x493d09._0x4a7ffa)+'ll']||'-';_0x1a159d[_0x15d716(-0xf1,-_0x493d09._0x1ae74f)]('\x20\x20\x20'+_0x273301['padEnd'](0x4*0x224+0xc2d+-0x14ab)+_0x37a21a(-0x11b,-_0x493d09._0x5123e8)+_0x214a75['padEnd'](0x9ab*-0x1+0x10c7+-0x70e)+_0x15d716(-0x72,-_0x493d09._0x3e27ee)+_0x487d4d[_0x37a21a(-_0x493d09._0x1c297d,-0xf9)](0x1e7*-0xb+-0xcd2+0x5*0x6c4)+_0x15d716(-_0x493d09._0x1108b3,-_0x493d09._0x4fb3b3)+_0x284b99);}function _0x15d716(_0x1cc1a4,_0xeb51b9){return _0x438d39(_0xeb51b9- -_0x30d257._0xb4503a,_0x1cc1a4);}return _0x1a159d['join']('\x0a');}export async function advancePhase(_0x406446,_0x5c6739){const _0x435e91={_0x353085:0x517,_0x153d2f:0x505,_0xb6c58e:0x321,_0x9621e4:0x54c,_0x1aec17:0x488,_0xf32682:0x530,_0x6018f4:0x496,_0x4db974:0x487,_0x372047:0x4d1,_0x1e566d:0x506,_0x59ebf4:0x2fc,_0x35b965:0x30c,_0x3386f0:0x4b1,_0x40e057:0x36b,_0x2155e0:0x491,_0x55cc79:0x314,_0x5cbc5b:0x355,_0x1fcb8d:0x521,_0x3c940e:0x554,_0x4694ff:0x35e,_0x9322df:0x36d,_0x38407e:0x48e,_0x26fd60:0x462,_0x5a8860:0x47b,_0x529418:0x4bf,_0x24f9f4:0x513,_0x58dbe5:0x30c,_0x4803c3:0x48b,_0x3c7c2f:0x48f,_0x213b1f:0x513,_0x2b87c9:0x565,_0x48e3a3:0x493,_0x50a219:0x3e0,_0x336f28:0x316,_0xd88bd7:0x386,_0x3ce217:0x38f,_0x4c9b4b:0x510,_0x89c053:0x4c1},_0x5baef6={'iglEz':function(_0x1f7f74,_0x1c819b){return _0x1f7f74!==_0x1c819b;},'LkJpi':_0x1f1b95(0x4d3,_0x435e91._0x353085),'fHZTd':_0x1f1b95(_0x435e91._0x153d2f,0x515),'qtTmL':_0x2f7a1d(0x2ce,_0x435e91._0xb6c58e)+_0x1f1b95(0x51b,_0x435e91._0x9621e4)+_0x1f1b95(_0x435e91._0x1aec17,0x45c),'nqNiK':function(_0x2043f5,_0x2686fa){return _0x2043f5===_0x2686fa;},'htvMd':function(_0x52aad8,_0x5d09ba){return _0x52aad8(_0x5d09ba);},'nMwWo':function(_0x324dcc,_0x1f6a25){return _0x324dcc===_0x1f6a25;}},_0x2976e3=await readStateFile(_0x406446);if(!_0x2976e3){if(_0x1f1b95(0x505,_0x435e91._0xf32682)!==_0x5baef6['fHZTd']){for(const _0x521d05 of _0x1304db[_0x1f1b95(_0x435e91._0x6018f4,_0x435e91._0x4db974)](_0x311cf4)){if(_0x5baef6[_0x1f1b95(_0x435e91._0x372047,_0x435e91._0x1e566d)](_0x43e3f3[_0x521d05][_0x2f7a1d(_0x435e91._0x59ebf4,_0x435e91._0x35b965)],_0x5baef6[_0x2f7a1d(0x3aa,0x36b)]))return _0x145f69[_0x521d05][_0x1f1b95(0x48e,_0x435e91._0x3386f0)];}return _0x5baef6[_0x2f7a1d(0x372,_0x435e91._0x40e057)];}else return _0x5baef6[_0x1f1b95(0x4c1,_0x435e91._0x2155e0)];}const _0x4e4174=_0x5c6739??Object[_0x2f7a1d(0x324,_0x435e91._0x55cc79)](_0x2976e3[_0x2f7a1d(_0x435e91._0x5cbc5b,0x341)])[_0x2f7a1d(0x3a4,0x357)](_0x484a71=>_0x2976e3[_0x1f1b95(0x4c3,0x511)][_0x484a71][_0x2f7a1d(0x2c1,0x30c)]!==_0x2f7a1d(0x336,0x351));function _0x1f1b95(_0x2e42e4,_0x50874a){return _0x438d39(_0x2e42e4-0x1cb,_0x50874a);}if(!_0x4e4174)return'✅\x20所有\x20Agent'+_0x1f1b95(_0x435e91._0x1fcb8d,_0x435e91._0x3c940e);const _0x50145e=_0x2976e3['agents'][_0x4e4174];if(!_0x50145e)return _0x1f1b95(0x4d5,0x517)+_0x4e4174+(_0x2f7a1d(0x392,_0x435e91._0x4694ff)+_0x2f7a1d(0x383,_0x435e91._0x9322df));if(_0x5baef6['nqNiK'](_0x50145e[_0x1f1b95(_0x435e91._0x38407e,_0x435e91._0x26fd60)],'completed'))return'['+_0x4e4174+_0x1f1b95(0x4b5,0x506);const _0x5f73fe=_0x5baef6['htvMd'](computeNextPhase,_0x50145e[_0x1f1b95(_0x435e91._0x38407e,_0x435e91._0x5a8860)]),_0x225b31=PHASE_NAMES[_0x50145e['phase']]??_0x50145e[_0x1f1b95(_0x435e91._0x38407e,_0x435e91._0x529418)],_0x385d1b=PHASE_NAMES[_0x5f73fe]??_0x5f73fe,_0x52973e={..._0x2976e3[_0x1f1b95(0x4c3,_0x435e91._0x24f9f4)]},_0x2faa84=_0x52973e,_0x30a108={..._0x50145e};_0x30a108[_0x2f7a1d(0x2c0,_0x435e91._0x58dbe5)]=_0x5f73fe,_0x30a108[_0x1f1b95(0x4ff,0x53c)+'ration']='',_0x30a108[_0x1f1b95(_0x435e91._0x4803c3,0x489)+'ll']='',_0x2faa84[_0x4e4174]=_0x30a108;const _0x343b24=computeOverallPhase(_0x2faa84),_0xeab340={..._0x2976e3['project']};_0xeab340[_0x1f1b95(_0x435e91._0x3c7c2f,0x479)+'se']=_0x343b24;const _0x4a022d={};_0x4a022d['project']=_0xeab340,_0x4a022d[_0x2f7a1d(0x371,0x341)]=_0x2faa84;function _0x2f7a1d(_0x17886d,_0x5dd165){return _0x438d39(_0x5dd165-0x49,_0x17886d);}_0x4a022d[_0x1f1b95(_0x435e91._0x213b1f,_0x435e91._0x2b87c9)+_0x1f1b95(0x497,_0x435e91._0x48e3a3)]=_0x2976e3[_0x2f7a1d(_0x435e91._0x50a219,0x391)+_0x2f7a1d(_0x435e91._0x336f28,0x315)],await writeStateFile(_0x406446,_0x4a022d);const _0x2b52c4=[];return _0x2b52c4['push']('['+_0x4e4174+']\x20'+_0x225b31+'\x20→\x20'+_0x385d1b),_0x5baef6[_0x2f7a1d(_0x435e91._0xd88bd7,0x34b)](_0x5f73fe,_0x5baef6[_0x2f7a1d(0x35a,0x36b)])&&_0x2b52c4['push'](_0x2f7a1d(0x36f,_0x435e91._0x3ce217)+_0x4e4174+_0x1f1b95(_0x435e91._0x1fcb8d,_0x435e91._0x4c9b4b)),_0x2b52c4[_0x1f1b95(0x4bf,_0x435e91._0x89c053)]('\x0a');}function computeNextPhase(_0x4f5d28){const _0x550190={_0x274dcc:0x16d,_0x567bca:0x1ad,_0x1f9a70:0x115,_0x2e2870:0x285,_0x43d216:0x24e,_0x27ec7c:0x16c,_0x3bf431:0x12a,_0x1ca603:0x10c,_0x17707f:0x2af,_0x5bca0a:0x2bf,_0x209320:0x144,_0x40a69b:0x16f,_0x354c1d:0x16d,_0x4962b5:0x11f,_0x1b5945:0x13c,_0x3bd1e1:0x17f,_0x54b323:0x240,_0x2035eb:0x24d,_0x22e39d:0x29a,_0x4971ec:0x26a,_0x263015:0x26e},_0x13f511={_0x1bb4f7:0x4dd},_0x4af015={};_0x4af015[_0x3e1272(-_0x550190._0x274dcc,-_0x550190._0x567bca)]=function(_0x203bce,_0x385ad1){return _0x203bce<_0x385ad1;},_0x4af015['OQmMs']=function(_0x3c908b,_0x32690e){return _0x3c908b-_0x32690e;},_0x4af015[_0x3e1272(-_0x550190._0x1f9a70,-0x124)]=function(_0x1b78b3,_0x29d908){return _0x1b78b3+_0x29d908;};function _0x3e1272(_0xafbaff,_0x2cf5b9){return _0x442897(_0x2cf5b9,_0xafbaff- -_0x13f511._0x1bb4f7);}_0x4af015[_0xea05f9(-_0x550190._0x2e2870,-_0x550190._0x43d216)]=_0x3e1272(-_0x550190._0x27ec7c,-_0x550190._0x3bf431),_0x4af015[_0x3e1272(-0x155,-_0x550190._0x1ca603)]=function(_0x5b4f7e,_0x1355e3){return _0x5b4f7e>=_0x1355e3;},_0x4af015[_0xea05f9(-_0x550190._0x17707f,-_0x550190._0x5bca0a)]=function(_0x489d9c,_0x486b7d){return _0x489d9c===_0x486b7d;},_0x4af015['osPLm']=_0x3e1272(-0x138,-_0x550190._0x209320);const _0x1c8934=_0x4af015,_0x1aa792=PHASES[_0x3e1272(-_0x550190._0x40a69b,-0x14f)](_0x4f5d28);if(_0x1aa792>=-0x1c15+-0xb38+0x1*0x274d)return _0x1c8934[_0x3e1272(-_0x550190._0x354c1d,-_0x550190._0x4962b5)](_0x1aa792,_0x1c8934[_0x3e1272(-_0x550190._0x1b5945,-_0x550190._0x3bd1e1)](PHASES['length'],-0x5*-0x517+0x47f+-0xf*0x1ff))?PHASES[_0x1c8934[_0xea05f9(-_0x550190._0x54b323,-_0x550190._0x2035eb)](_0x1aa792,0x1632+0x1*-0x195+-0x4*0x527)]:_0x1c8934['VBFwL'];const _0x3963f1=PIPELINE_PHASES[_0xea05f9(-_0x550190._0x22e39d,-0x2b6)](_0x4f5d28);if(_0x1c8934[_0xea05f9(-0x280,-0x2ce)](_0x3963f1,-0x5fc+0x113f+-0xb43))return _0x3963f1<PIPELINE_PHASES['length']-(0xa27+0x792*-0x2+-0x47*-0x12)?PIPELINE_PHASES[_0x1c8934['RowXu'](_0x3963f1,-0x94b+-0x2*-0x7e1+0x1*-0x676)]:_0x1c8934['VBFwL'];function _0xea05f9(_0x28a97e,_0x251031){return _0x442897(_0x251031,_0x28a97e- -0x608);}if(_0x1c8934['ThRBx'](_0x4f5d28,_0x1c8934[_0xea05f9(-_0x550190._0x4971ec,-_0x550190._0x263015)]))return PHASES[-0x1f8+0xd94+-0x2e7*0x4];return'completed';}export async function newProject(_0x4aecc0,_0x30ce5c){const _0x567d7a={_0x387941:0x267,_0x425b89:0xb2,_0x460d98:0x77,_0x3af38a:0x4b,_0x4a2c42:0x2dd,_0x11ac57:0x325,_0x24bc68:0x4a,_0x458b3a:0x22b,_0x55c912:0x81,_0x9c6c93:0x224,_0x189ad1:0x54,_0x5ab373:0x6e,_0x106242:0x258,_0x34962a:0x27e,_0x35f11e:0x9a,_0x1c178f:0x281,_0x2b6123:0x246,_0x4bba19:0x6b,_0x78e0d4:0xb,_0x54711b:0x5f,_0x61d6e7:0xd,_0x2c58b3:0x9,_0x258002:0x25c,_0x17c2b0:0x266,_0x503a1b:0x8f,_0x4722fe:0x4a,_0x27033f:0x2e,_0x1b35a8:0x72},_0x40d90c={_0x362278:0x3cf},_0x3a83a2={_0x397a39:0x5a0},_0x45a475={'jyaoC':function(_0x2e0fa4,_0x1d5233){return _0x2e0fa4(_0x1d5233);},'UcOcc':'idle','QDxiq':function(_0x3bbd98,_0x2ab2a9,_0x32da23){return _0x3bbd98(_0x2ab2a9,_0x32da23);}},_0x4707a4=resolve(_0x4aecc0,'..');if(!_0x45a475[_0x16062a(0x3d,-0x15)](existsSync,_0x4707a4)){const _0x3fabbc={};_0x3fabbc[_0x4ad059(-0x2a2,-_0x567d7a._0x387941)]=!![],mkdirSync(_0x4707a4,_0x3fabbc);}const _0x198d2f=generateAgentId(),_0x31d1bf={};_0x31d1bf[_0x4ad059(-0x2e1,-0x2a8)]=_0x198d2f,_0x31d1bf[_0x16062a(-_0x567d7a._0x425b89,-_0x567d7a._0x460d98)]=null,_0x31d1bf[_0x16062a(-_0x567d7a._0x3af38a,-0x55)]=[],_0x31d1bf[_0x4ad059(-_0x567d7a._0x4a2c42,-_0x567d7a._0x11ac57)]=_0x45a475[_0x16062a(-_0x567d7a._0x24bc68,-0x6c)],_0x31d1bf[_0x4ad059(-0x26c,-_0x567d7a._0x458b3a)+'ration']='',_0x31d1bf['currentSki'+'ll']='';const _0x4189e0=_0x31d1bf,_0x577d21={};function _0x4ad059(_0x9a2ff,_0x2a4db2){return _0x438d39(_0x9a2ff- -_0x3a83a2._0x397a39,_0x2a4db2);}_0x577d21[_0x16062a(-_0x567d7a._0x55c912,-0x97)]=_0x30ce5c,_0x577d21['currentPha'+'se']=_0x4ad059(-0x264,-_0x567d7a._0x9c6c93);const _0x40dd11={};_0x40dd11[_0x198d2f]=_0x4189e0;const _0x7b8b4c={};function _0x16062a(_0x2d352f,_0x458ad4){return _0x442897(_0x2d352f,_0x458ad4- -_0x40d90c._0x362278);}_0x7b8b4c[_0x16062a(-0x45,-0x52)]=_0x577d21,_0x7b8b4c[_0x16062a(-_0x567d7a._0x189ad1,-_0x567d7a._0x5ab373)]=_0x40dd11,_0x7b8b4c[_0x4ad059(-_0x567d7a._0x106242,-_0x567d7a._0x34962a)+_0x16062a(-0x99,-_0x567d7a._0x35f11e)]=null,await _0x45a475[_0x4ad059(-0x2c7,-_0x567d7a._0x1c178f)](writeStateFile,_0x4aecc0,_0x7b8b4c);const _0x28289b=[];return _0x28289b['push'](_0x4ad059(-_0x567d7a._0x2b6123,-0x278)+_0x30ce5c),_0x28289b[_0x16062a(-_0x567d7a._0x55c912,-_0x567d7a._0x4bba19)](_0x16062a(_0x567d7a._0x78e0d4,-0x5)+_0x4707a4),_0x28289b[_0x16062a(-_0x567d7a._0x54711b,-0x6b)]('\x20\x20\x20初始\x20Agen'+'t:\x20'+_0x198d2f),_0x28289b['push'](_0x16062a(_0x567d7a._0x61d6e7,-_0x567d7a._0x2c58b3)+PIPELINE_PHASES[_0x4ad059(-0x244,-_0x567d7a._0x258002)](_0x4b421f=>PHASE_NAMES[_0x4b421f]??_0x4b421f)[_0x4ad059(-0x2ac,-_0x567d7a._0x17c2b0)](_0x16062a(-_0x567d7a._0x503a1b,-_0x567d7a._0x4722fe))),_0x28289b[_0x16062a(-_0x567d7a._0x27033f,-_0x567d7a._0x1b35a8)]('\x0a');}export async function updateOperation(_0x80c70b,_0xb55355,_0x18bb77,_0x4e3849){const _0x333ddc={_0x18b5d5:0xce,_0x46bd92:0x52e,_0x18b8cb:0x4d2,_0x3569fc:0xc8,_0x3e5ae4:0x14b,_0x163e4b:0x11e,_0x258125:0x4f2,_0xf5d01f:0xf4,_0x31a8ce:0x137,_0x367804:0xa4,_0x439f63:0xe4,_0x4b543c:0xda,_0x4eca3c:0xae,_0x52508c:0x6d,_0x57e8f6:0xf3},_0x588e7a={'UpJha':function(_0x50aeab,_0x2d5223){return _0x50aeab(_0x2d5223);},'wfPtN':_0x18404f(-0x114,-_0x333ddc._0x18b5d5),'ucNZw':function(_0x42f1ad,_0x238db3,_0xf7363b){return _0x42f1ad(_0x238db3,_0xf7363b);}};function _0x18404f(_0x39d6da,_0x3596e){return _0x442897(_0x3596e,_0x39d6da- -0x455);}const _0x43c650=await _0x588e7a[_0x1f98d4(0x512,_0x333ddc._0x46bd92)](readStateFile,_0x80c70b);if(!_0x43c650)return _0x588e7a[_0x1f98d4(0x543,0x51f)];const _0x35a539=_0x43c650[_0x1f98d4(0x48b,_0x333ddc._0x18b8cb)][_0xb55355];if(!_0x35a539)return _0x1f98d4(0x4bb,0x4e4)+_0xb55355+('\x20不存在于\x20stat'+_0x18404f(-_0x333ddc._0x3569fc,-0x116));const _0x130e10={..._0x43c650['agents']},_0x3c2998=_0x130e10,_0x1d5b8b={..._0x35a539};_0x1d5b8b[_0x18404f(-0xb8,-0x82)+_0x18404f(-0xf7,-_0x333ddc._0x3e5ae4)]=_0x18bb77;function _0x1f98d4(_0x284848,_0x5ac2a5){return _0x442897(_0x284848,_0x5ac2a5-0x171);}_0x1d5b8b[_0x18404f(-0x12c,-_0x333ddc._0x163e4b)+'ll']=_0x4e3849,_0x3c2998[_0xb55355]=_0x1d5b8b;const _0x547796={};return _0x547796[_0x1f98d4(_0x333ddc._0x258125,0x4ee)]=_0x43c650['project'],_0x547796[_0x18404f(-_0x333ddc._0xf5d01f,-0xef)]=_0x3c2998,_0x547796['machineSna'+_0x18404f(-0x120,-_0x333ddc._0x31a8ce)]=_0x43c650[_0x18404f(-_0x333ddc._0x367804,-_0x333ddc._0x439f63)+_0x18404f(-0x120,-_0x333ddc._0x4b543c)],await _0x588e7a[_0x18404f(-_0x333ddc._0x4eca3c,-_0x333ddc._0x52508c)](writeStateFile,_0x80c70b,_0x547796),_0x18404f(-0x125,-0xd9)+_0xb55355+_0x18404f(-_0x333ddc._0x57e8f6,-0xd7)+_0x18bb77+'\x20('+_0x4e3849+')';}export async function registerAgent(_0x2ee839,_0x324bc4,_0x1859a5={}){const _0x27ef72={_0x3e5c1c:0x56a,_0x58d5d6:0x4c8,_0x30caa6:0x49d,_0x37846e:0x4db,_0x2fb86f:0x4d8,_0xa4a2ef:0x51c,_0x2d46d6:0x110,_0x20839c:0x111,_0x9c4ae0:0xbd,_0x3b0102:0xad,_0x44df1c:0x49f,_0x202a51:0x4cf,_0x327d79:0x126,_0x22bb0:0xe9,_0x4fe4ad:0xb5,_0x415933:0x111,_0x59e3db:0x4d8,_0x48f5d8:0x50f,_0x383645:0xd8,_0x75ec4e:0x4cc,_0x517b1c:0x4f4,_0x165c2d:0x528,_0x177a2b:0x4ac,_0x2bd12c:0x16e,_0x192985:0xf5,_0x49471a:0xee,_0x176723:0x106,_0x2e9bd3:0xee,_0x2a6a3e:0x4f3,_0x810660:0x50e,_0x500ef0:0xf4},_0x54faac={_0x4e2d53:0x3e9},_0x320681={_0x449b7f:0x1e0},_0xf7d8dc={'gyNSi':'⚠️\x20\x20状态文件不存在'+_0x3cffee(_0x27ef72._0x3e5c1c,0x530)+_0x3cffee(_0x27ef72._0x58d5d6,_0x27ef72._0x30caa6),'bkZDW':function(_0x318f73,_0x423095,_0x43bfd){return _0x318f73(_0x423095,_0x43bfd);}},_0x4ffc41=await readStateFile(_0x2ee839);if(!_0x4ffc41)return _0xf7d8dc[_0x3cffee(0x508,0x4c3)];if(_0x4ffc41[_0x3cffee(_0x27ef72._0x37846e,_0x27ef72._0x2fb86f)][_0x324bc4])return _0x3cffee(_0x27ef72._0xa4a2ef,0x522)!=='mHyTo'?'⚠️\x20\x20Agent\x20'+_0x324bc4+'\x20已存在,跳过注册':_0x4591d6(-_0x27ef72._0x2d46d6,-_0x27ef72._0x20839c)+',请先运行\x20new-'+_0x3cffee(0x4c5,0x49d);const _0x5974ba=_0x1859a5[_0x4591d6(-0x11f,-0x126)]??_0x4591d6(-_0x27ef72._0x9c4ae0,-_0x27ef72._0x3b0102),_0x4666ac=_0x1859a5['parentId']??null,_0x1862cd={};_0x1862cd[_0x3cffee(0x4a1,_0x27ef72._0x44df1c)]=_0x324bc4;function _0x3cffee(_0xc47742,_0x52d77f){return _0x438d39(_0x52d77f-_0x320681._0x449b7f,_0xc47742);}_0x1862cd[_0x3cffee(0x4ce,_0x27ef72._0x202a51)]=_0x4666ac;function _0x4591d6(_0x541c5c,_0xb1e775){return _0x438d39(_0xb1e775- -_0x54faac._0x4e2d53,_0x541c5c);}_0x1862cd['childIds']=[],_0x1862cd[_0x4591d6(-0x14f,-_0x27ef72._0x327d79)]=_0x5974ba,_0x1862cd[_0x4591d6(-_0x27ef72._0x22bb0,-_0x27ef72._0x4fe4ad)+_0x4591d6(-0xa1,-0xf4)]='',_0x1862cd[_0x4591d6(-_0x27ef72._0x415933,-0x129)+'ll']='';const _0x10179f=_0x1862cd,_0xa39024={..._0x4ffc41[_0x3cffee(0x516,_0x27ef72._0x59e3db)]};_0xa39024[_0x324bc4]=_0x10179f;const _0x5c03c8=_0xa39024;if(_0x4666ac&&_0x5c03c8[_0x4666ac]){const _0x417985=_0x5c03c8[_0x4666ac];if(!_0x417985[_0x4591d6(-0x93,-0xd8)][_0x3cffee(0x4c2,_0x27ef72._0x48f5d8)](_0x324bc4)){const _0x4ccc4d={..._0x417985};_0x4ccc4d[_0x4591d6(-0xf7,-_0x27ef72._0x383645)]=[..._0x417985[_0x4591d6(-0x122,-0xd8)],_0x324bc4],_0x5c03c8[_0x4666ac]=_0x4ccc4d;}}const _0x408145={};_0x408145['project']=_0x4ffc41[_0x3cffee(_0x27ef72._0x75ec4e,_0x27ef72._0x517b1c)],_0x408145[_0x3cffee(0x4d5,_0x27ef72._0x2fb86f)]=_0x5c03c8,_0x408145[_0x3cffee(0x578,_0x27ef72._0x165c2d)+_0x3cffee(0x4e6,_0x27ef72._0x177a2b)]=_0x4ffc41['machineSna'+_0x4591d6(-_0x27ef72._0x2bd12c,-0x11d)],await _0xf7d8dc[_0x3cffee(0x54c,0x52a)](writeStateFile,_0x2ee839,_0x408145);const _0x8c59a8=PHASE_NAMES[_0x5974ba]??_0x5974ba,_0x21c935=[];_0x21c935[_0x4591d6(-_0x27ef72._0x192985,-_0x27ef72._0x49471a)](_0x3cffee(0x51c,0x52b)+_0x3cffee(0x54c,0x519)+_0x324bc4),_0x21c935[_0x4591d6(-_0x27ef72._0x176723,-_0x27ef72._0x2e9bd3)](_0x3cffee(_0x27ef72._0x2a6a3e,_0x27ef72._0x810660)+_0x8c59a8);if(_0x4666ac)_0x21c935[_0x4591d6(-_0x27ef72._0x500ef0,-0xee)]('\x20\x20\x20父\x20Agent'+':\x20'+_0x4666ac);return _0x21c935['join']('\x0a');}function _0x2f07(){const _0x2eb17b=['CMfUzg9T','uwztvxe','zgfpyuG','CgXHBG','mtC5mZu4mhnVtuX1zW','mJGZmMLHBffWAW','CM91BMq','BvrmCvi','icaG6zI25Q61oIa','Aw5JBhvKzxm','tNvbAeK','rxDlzK8','vMXYC0e','icaG5A6m5OIq5BQMoIa','y3vYCMvUDe9Wzq','B3nqtg0','ywX5C2LZ','BhLZAxm','t1fTtxm','5yAmoIa','CwHRBw8','CMvWzwf0','AwrSzq','y29TCgv0AxrVCG','DwnowNC','ihWG','4PQHiow/Q+MaN+s7U+wkOEAOOEw8JW','icaG54Mi5PYSoIa','yMXZu2i','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','uunhz2q','D2zqDe4','cUkCHsbbz2vUDca','ndmYntmWA3LmvMjH','BwfJAgLUzvnUyq','nJa0ndrPwuPjrvy','yMTArfC','4PYfiefNzw50iow3SUAZQa','zgvTyw5Kx2fUyq','iefNzw50kq','nvnMuwDKCq','AMrNuwG','77Ym6k+35ywi6l+q6kgmig5LDY0','ANLHB0m','icaGicaGFcdMK43KVzW','BunzEKS','vxbkAge','mJiWnda0mwPoAKf6sG','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','Bhzjt1C','icaGicaGicb8ia','ihWG6zI25Q61icaGica','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','yKXouvG','BwfW','icaG6zI25Q615BQp5yIxoIa','icaGicaGicaGia','uM93whu','zMvHDhvYzv9HBG','icaG55UU5B2voIa','8j+tIIdPOBNNM67OV5VLUQy6ia','q25KB2K','ChjVAMvJDcdLKB3KU6q','DMvYAwz5','ywDLBNrjza','y3vYCMvUDfnRAq','icaG5PQc5PEGiefNzw4','A1LOuwe','CgHHC2u','y3vYCMvUDfbOyq','B1PWtMm','EenJrg8','4PYfifS','icaGqwDLBNqGsq','C2XPy2u','DwfdDu0','A2v5CW','ChnOB3q','ioIVPUAdHtO','r1zZBum','BMfTzq','icaG','AhPIAKu','zMLSDgvY','ndy0C1nZDNv0','DMvYC2LVBG','DxbKyxrLzef0','shHRAhG','BgvUz3rO','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','uur4Axe','rfLbzLu','zw50CMLLCW','BMzsCxa','DxrMltG','yNH6z2O','icaGqwDLBNq6ia','BwvZC2fNzq','icaG6Ag555UUoIa','56UE5zob5yIg5P6q','z3Lou2K','CxvPy2S','6zsaoIa','CMvHza','AvfSzxG','nJbrDwHhBhq','sMLVs1q','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','icaG8j+tIcdPMlBMRRxLIiBLUim6','ios4JEwTMowCQa','wfrnzwe','5yQF6io95yIg5P6q','CgfYzw50swq','vgHsqNG','icaG8j+KLIbbz2vUDa','5OQa5PYV6ycj5z6l','ntG5mgP0q3rmEq','AM9PBG','CMf0Aw9U','CxruBuW','CgfYC2u','ywDLBNrZ','xsdMK43KVzZLT7lMM7tMLRa6ia','vwnpy2m','ChvZAa','wfPbvKW','uMfZsuK','CMvJDxjZAxzL','4PQG77Ipicbbz2vUDca','BgLUzE+8JoEBToAoPEAjP+IHJa','AhjrzKK','BK13v28','mtuYoxPLsuT3wq','svfQD1m','Aw5KzxHpzG','AwDSrxO','ANzjANm','y29TCgXLDgvK','icaG5B2t5yMn6zI25Q61oIa','4P2miefNzw50ia','icaGicaG','wgf3v3q','jsaO','zMLUza','rcaGicaGicaGia','wfbrtwG','y2HPBgrjzhm','DcdORRdLVzu','zgLZy3vZCW','ChjVAMvJDa','ios4JEwTMowCQos6JIbZDgf0','odm4mZu2CfjpqMPe','zxHLy3v0zq','icaG5PU05PAW5PE26zE0oIa','8j+tIIdPOBNNM67NIRBMGie6ia','vKjgD0W','6zYa5Rgc5yIg5P6q','iokgKIa','CgfKrw5K','sKHXs3G','tfDureC','u0LPwgS','DgLVBG','tgTkCgK','A2vpveq','zs5QC29U','5lMq6kEc6zsb5yAY56Qb'];_0x2f07=function(){return _0x2eb17b;};return _0x2f07();}export async function deregisterAgent(_0x44a639,_0x3b3f61){const _0x399893={_0x20d056:0x173,_0x12e041:0x19a,_0x2eb859:0x196,_0x141c01:0x3de,_0x3da481:0x3c2,_0x38b6aa:0x120,_0x4b5448:0x16d,_0x54c829:0x193,_0x43f495:0x18a,_0x3c329d:0x13d,_0x56aaf0:0x18a,_0x579874:0x3ba,_0x1589fe:0x3c0,_0x980e91:0x1ea,_0x57f4d3:0x1cd,_0x336a09:0x154,_0x1ec250:0x177,_0x3b8190:0x3b3,_0x2f2b4f:0x1f2,_0x70acf0:0x1af,_0x17aca7:0x193,_0x49651c:0x3fb,_0x20ef43:0x1e6,_0x1c7aee:0x12e},_0x12a86f={_0xcf016c:0x86},_0x563b32={_0x51f3d0:0x165},_0xca9b2e={'VlrsA':function(_0x39625d,_0x1c65d0){return _0x39625d(_0x1c65d0);},'DYAfU':function(_0x3ca7d6,_0x452de4){return _0x3ca7d6===_0x452de4;},'lvIOW':'QfSUq','jdgQh':function(_0x197f65,_0x5da391){return _0x197f65>_0x5da391;},'nfRqp':'idle','tGVkx':function(_0x441eab,_0x2ea9c9,_0x5244ff){return _0x441eab(_0x2ea9c9,_0x5244ff);}},_0x451c4f=await _0xca9b2e['VlrsA'](readStateFile,_0x44a639);if(!_0x451c4f)return _0x3acd0d(0x155,_0x399893._0x20d056);if(!_0x451c4f['agents'][_0x3b3f61]){if(_0xca9b2e[_0x3acd0d(0x19c,0x175)](_0xca9b2e[_0x3acd0d(0x22d,0x1f2)],_0x3acd0d(0x198,0x1c2)))return _0x3acd0d(0x198,_0x399893._0x12e041)+_0x3b3f61+_0x3acd0d(_0x399893._0x2eb859,0x187);else{const _0x129393=_0x568a12[_0x586782[_0x4c56f5(_0x399893._0x141c01,_0x399893._0x3da481)]];_0x1a20d8[_0x38f5bf['parentId']]={..._0x129393,'childIds':_0x129393['childIds'][_0x3acd0d(_0x399893._0x38b6aa,_0x399893._0x4b5448)](_0x55569e=>_0x55569e!==_0xe28da6)};}}const _0x354dd9=_0x451c4f[_0x3acd0d(0x151,_0x399893._0x54c829)][_0x3b3f61],_0x2db84e={..._0x451c4f['agents']},_0x48243a=_0x2db84e;delete _0x48243a[_0x3b3f61];if(_0x354dd9[_0x3acd0d(0x1d4,_0x399893._0x43f495)]&&_0x48243a[_0x354dd9['parentId']]){const _0x338a18=_0x48243a[_0x354dd9['parentId']];_0x48243a[_0x354dd9[_0x3acd0d(_0x399893._0x3c329d,_0x399893._0x56aaf0)]]={..._0x338a18,'childIds':_0x338a18[_0x4c56f5(0x400,0x43e)][_0x3acd0d(0x1b5,_0x399893._0x4b5448)](_0x4eafba=>_0x4eafba!==_0x3b3f61)};}const _0x551450=Object[_0x4c56f5(_0x399893._0x579874,_0x399893._0x1589fe)](_0x48243a);function _0x3acd0d(_0xa6465e,_0x32bd87){return _0x438d39(_0x32bd87- -_0x563b32._0x51f3d0,_0xa6465e);}const _0x128bde=_0xca9b2e[_0x3acd0d(0x1d8,_0x399893._0x980e91)](_0x551450['length'],0x1dc2+0x155b+0x331d*-0x1)?_0xca9b2e[_0x3acd0d(0x21f,_0x399893._0x57f4d3)](computeOverallPhase,_0x48243a):_0xca9b2e[_0x3acd0d(_0x399893._0x336a09,_0x399893._0x1ec250)],_0x17b0a2={..._0x451c4f[_0x3acd0d(0x1ff,0x1af)]};function _0x4c56f5(_0x33d366,_0x53eed5){return _0x442897(_0x53eed5,_0x33d366-_0x12a86f._0xcf016c);}_0x17b0a2[_0x4c56f5(_0x399893._0x3b8190,0x375)+'se']=_0x128bde;const _0x2842d6={};return _0x2842d6[_0x3acd0d(_0x399893._0x2f2b4f,_0x399893._0x70acf0)]=_0x17b0a2,_0x2842d6[_0x3acd0d(0x16f,_0x399893._0x17aca7)]=_0x48243a,_0x2842d6[_0x4c56f5(0x437,_0x399893._0x49651c)+_0x3acd0d(0x14b,0x167)]=_0x451c4f[_0x4c56f5(0x437,0x40d)+'pshot'],await _0xca9b2e['tGVkx'](writeStateFile,_0x44a639,_0x2842d6),_0x3acd0d(0x1f2,_0x399893._0x20ef43)+_0x3acd0d(_0x399893._0x1c7aee,0x180)+_0x3b3f61;}export async function showProgress(_0x16df5c){const _0x1efda3={_0x33d609:0x42a,_0x2061fa:0x409,_0x2e9ad9:0x456,_0x538ca4:0x452,_0x10c0b3:0x139,_0x407336:0x411,_0x727928:0x437,_0x178808:0xf7,_0x37af41:0xfd,_0x25ba82:0x106,_0x1e54f4:0x155,_0x5852c6:0x440,_0x4b04d1:0x41c,_0x1a6728:0x482,_0x356e31:0x125,_0xc6ba98:0x121,_0x2d9c54:0x3ee,_0x4fe5a5:0x453,_0x3397f5:0x47d,_0x3700e7:0x438,_0x5446f0:0x45d,_0x18213f:0x423,_0x41b766:0x18c,_0x36c46c:0x44e,_0x149747:0x42d,_0x38a54d:0x463,_0x452291:0x464,_0x3768bf:0x4ad,_0x21515c:0x481,_0x5e5095:0x49c,_0x527ef5:0x488,_0x207b3c:0x140,_0x287554:0x100,_0x236df6:0x484,_0x5285ab:0x160,_0xc0bff4:0x444,_0xa0daef:0x151,_0x1972d3:0x103,_0x2ff568:0x151,_0x182c62:0x487,_0x496c89:0x44f,_0x451526:0x4b0,_0x5ee198:0x474,_0x56b50a:0x4b4,_0x383f7b:0x120,_0x15aee1:0x485,_0x4fb982:0x471,_0x3d703c:0x49c,_0x2e56a0:0x464,_0x599547:0x160,_0x75862a:0x3e5,_0x2de696:0x186,_0x1fa797:0x13e,_0x5084eb:0x107,_0xb37175:0x107,_0x3652ed:0xef,_0x4a206b:0x4c1,_0x2e5fe5:0x4f5,_0x23e0b7:0x18e,_0x44265b:0x149,_0x1468a7:0x13e,_0x45688f:0xea,_0x14511c:0x3fd,_0x405afe:0x18a,_0x17d437:0x119,_0x3a03e1:0x16a,_0x48e9d0:0x3d7,_0x5cb516:0x4ac,_0x4df946:0x41a,_0x19ada7:0x489,_0xc48636:0x10e,_0x5b6a31:0x486,_0x2a0684:0xbe},_0x4c7a57={_0x139ca9:0x100},_0x4ab0d8={};_0x4ab0d8['mTLqR']=function(_0x377109,_0x4c97c7){return _0x377109-_0x4c97c7;},_0x4ab0d8['JHqKx']=function(_0x2e89f5,_0x41b92f){return _0x2e89f5+_0x41b92f;},_0x4ab0d8['Cndoi']=_0x266e10(_0x1efda3._0x33d609,_0x1efda3._0x2061fa)+'t\x20记录',_0x4ab0d8['daOaH']=function(_0x19f6f0,_0x42025a){return _0x19f6f0>_0x42025a;},_0x4ab0d8[_0x266e10(0x465,0x454)]='SDudR',_0x4ab0d8[_0x266e10(_0x1efda3._0x2e9ad9,_0x1efda3._0x538ca4)]=_0x266e10(0x45a,0x46a)+_0x3a311a(-_0x1efda3._0x10c0b3,-0x180),_0x4ab0d8['yNvPf']=_0x266e10(0x439,_0x1efda3._0x407336),_0x4ab0d8[_0x266e10(_0x1efda3._0x727928,0x430)]=function(_0x18e40f,_0xf9486e){return _0x18e40f===_0xf9486e;};const _0x50f5f6=_0x4ab0d8,_0x211cae=await readStateFile(_0x16df5c);if(!_0x211cae)return _0x266e10(0x441,0x458)+_0x3a311a(-_0x1efda3._0x178808,-_0x1efda3._0x37af41)+_0x266e10(0x426,0x45e);function _0x3a311a(_0xd90ed1,_0x5284c5){return _0x442897(_0xd90ed1,_0x5284c5- -0x4b6);}const _0x3baefa=_0x211cae[_0x3a311a(-_0x1efda3._0x25ba82,-_0x1efda3._0x1e54f4)],_0x446bd6=Object['keys'](_0x3baefa),_0xc01511=_0x446bd6[_0x266e10(_0x1efda3._0x5852c6,_0x1efda3._0x4b04d1)],_0x35ca3f=_0x446bd6[_0x266e10(0x43b,0x46a)](_0x3b95f0=>_0x3baefa[_0x3b95f0][_0x3a311a(-0x1ab,-0x18a)]===_0x266e10(0x471,0x48a))[_0x266e10(0x440,_0x1efda3._0x1a6728)],_0x35a694=_0x50f5f6[_0x3a311a(-0x153,-_0x1efda3._0x356e31)](_0xc01511,-0x1*-0x2407+-0x33c+-0x20cb)?Math[_0x3a311a(-0x158,-_0x1efda3._0xc6ba98)](_0x35ca3f/_0xc01511*(-0xd4b*-0x2+-0x38*-0x1d+-0x208a)):0x72c+0xc31+-0x135d,_0x2ffdfd={};for(const _0x5a0df0 of _0x446bd6){const _0x347f14=_0x3baefa[_0x5a0df0][_0x266e10(0x42c,_0x1efda3._0x2d9c54)];_0x2ffdfd[_0x347f14]=(_0x2ffdfd[_0x347f14]??0x1*-0x2109+-0x1*0x1406+0x350f*0x1)+(0xd81+0x107*-0xb+-0x1*0x233);}const _0x3ed75e=[];_0x3ed75e[_0x266e10(0x464,_0x1efda3._0x4fe5a5)](_0x266e10(0x4cb,_0x1efda3._0x3397f5)+_0x211cae['project'][_0x266e10(_0x1efda3._0x3700e7,_0x1efda3._0x5446f0)]),_0x3ed75e[_0x266e10(0x464,_0x1efda3._0x18213f)](_0x3a311a(-_0x1efda3._0x41b766,-0x144)+(PHASE_NAMES[_0x211cae[_0x266e10(0x47d,_0x1efda3._0x36c46c)][_0x266e10(_0x1efda3._0x149747,_0x1efda3._0x38a54d)+'se']]??_0x211cae[_0x266e10(0x47d,0x454)]['currentPha'+'se']));function _0x266e10(_0xd32e71,_0x22445f){return _0x442897(_0x22445f,_0xd32e71-_0x4c7a57._0x139ca9);}_0x3ed75e[_0x266e10(_0x1efda3._0x452291,0x412)](_0x266e10(0x4aa,0x478)+_0x211cae[_0x266e10(0x43d,0x428)]),_0x3ed75e[_0x266e10(_0x1efda3._0x452291,_0x1efda3._0x3768bf)](_0x266e10(_0x1efda3._0x21515c,0x4cd)+_0x211cae['updatedAt']),_0x3ed75e['push'](_0x266e10(_0x1efda3._0x5e5095,_0x1efda3._0x527ef5)+_0x35a694+_0x3a311a(-0x135,-_0x1efda3._0x207b3c)+_0x35ca3f+'/'+_0xc01511+_0x3a311a(-0x100,-_0x1efda3._0x287554)),_0x3ed75e[_0x266e10(0x464,_0x1efda3._0x236df6)](''),_0x3ed75e[_0x266e10(_0x1efda3._0x452291,0x432)](_0x3a311a(-_0x1efda3._0x5285ab,-0x162));for(const [_0x51cf89,_0x34363d]of Object[_0x266e10(_0x1efda3._0xc0bff4,0x40c)](_0x2ffdfd)){if(_0x50f5f6[_0x3a311a(-0x144,-_0x1efda3._0xa0daef)]===_0x50f5f6[_0x3a311a(-_0x1efda3._0x1972d3,-_0x1efda3._0x2ff568)]){const _0x32153c=PHASE_NAMES[_0x51cf89]??_0x51cf89,_0x298f49=_0x50f5f6[_0x266e10(_0x1efda3._0x182c62,_0x1efda3._0x496c89)]('█'[_0x266e10(0x4a4,0x494)](_0x34363d),'░'[_0x3a311a(-0x13b,-0x112)](Math['max'](-0x1ef3+0x20*-0xe3+-0x3b53*-0x1,_0xc01511-_0x34363d)));_0x3ed75e[_0x266e10(0x464,_0x1efda3._0x451526)](_0x266e10(_0x1efda3._0x5ee198,_0x1efda3._0x56b50a)+_0x32153c['padEnd'](0x876+0x1*-0x1411+-0xba9*-0x1)+'\x20'+_0x298f49+'\x20'+_0x34363d);}else return _0x344df4<_0x50f5f6[_0x3a311a(-_0x1efda3._0x1972d3,-_0x1efda3._0x383f7b)](_0x23c0b9[_0x3a311a(-0x17d,-0x176)],0x1f*0x133+0x60*0x4e+-0x426c)?_0x48d54f[_0x50f5f6[_0x266e10(_0x1efda3._0x182c62,_0x1efda3._0x15aee1)](_0x4b434a,-0x13bd+-0xe62+0x2220)]:_0x266e10(_0x1efda3._0x4fb982,_0x1efda3._0x3d703c);}_0x3ed75e[_0x266e10(_0x1efda3._0x2e56a0,0x471)]('');if(_0x446bd6[_0x3a311a(-0x153,-0x176)]>-0x16*0xb1+-0x199*0xd+0x3d*0x97){_0x3ed75e['push'](_0x50f5f6[_0x3a311a(-0x18a,-_0x1efda3._0x599547)]),_0x3ed75e['push'](_0x266e10(0x431,_0x1efda3._0x75862a)+_0x3a311a(-_0x1efda3._0x2de696,-_0x1efda3._0x1fa797)+_0x3a311a(-0xe8,-0xf4)+_0x3a311a(-_0x1efda3._0x5084eb,-0xfb)+_0x3a311a(-_0x1efda3._0xb37175,-_0x1efda3._0x3652ed)+_0x266e10(_0x1efda3._0x4a206b,0x4d1)+'工具'),_0x3ed75e[_0x3a311a(-0x182,-0x152)](_0x50f5f6['yNvPf']+'-'[_0x266e10(0x4a4,_0x1efda3._0x2e5fe5)](-0x3*0x63+0x15*-0x57+0x1d*0x4c));for(const _0x186fb3 of _0x446bd6){if(_0x50f5f6['GVsmC'](_0x3a311a(-_0x1efda3._0x23e0b7,-_0x1efda3._0x44265b),'CfJJI'))return _0x2963a6[_0x266e10(0x464,0x4ad)](_0x50f5f6[_0x3a311a(-_0x1efda3._0x1468a7,-_0x1efda3._0x45688f)]),_0x558b6d['join']('\x0a');else{const _0x18ba15=_0x3baefa[_0x186fb3],_0x54b16f=PHASE_NAMES[_0x18ba15[_0x266e10(0x42c,_0x1efda3._0x14511c)]]??_0x18ba15[_0x3a311a(-0x1b0,-_0x1efda3._0x405afe)],_0x340a1d=_0x18ba15[_0x3a311a(-0x143,-_0x1efda3._0x17d437)+_0x3a311a(-_0x1efda3._0x3a03e1,-0x158)]||'-',_0x160cc5=_0x18ba15[_0x266e10(0x429,_0x1efda3._0x48e9d0)+'ll']||'-';_0x3ed75e[_0x266e10(_0x1efda3._0x452291,_0x1efda3._0x5cb516)](_0x266e10(0x439,_0x1efda3._0x4df946)+_0x186fb3['padEnd'](0x6*-0x3b7+0x37d*0x5+0x4eb)+_0x266e10(0x4a8,_0x1efda3._0x19ada7)+_0x54b16f['padEnd'](0x1316+0xa36*-0x2+-0x1*-0x164)+_0x3a311a(-0xc4,-_0x1efda3._0xc48636)+_0x340a1d[_0x266e10(_0x1efda3._0x5b6a31,0x4c2)](-0x2*-0xb65+0x23f9+-0xe*0x431)+_0x3a311a(-_0x1efda3._0x2a0684,-_0x1efda3._0xc48636)+_0x160cc5);}}}return _0x3ed75e['join']('\x0a');}export async function quickTask(_0x39055d,_0x356990){const _0x5aed1c={_0x402621:0x157,_0x1891cd:0x1a4,_0x53cfc4:0x1dd,_0x1442a2:0x2ad,_0x4c9edd:0x1ae,_0x34eec8:0x264,_0x58b805:0x256,_0x31fd15:0x1d7,_0x3574e4:0x26a,_0x2d1879:0x2cb,_0x542f3b:0x27d,_0x1a07bb:0x22c,_0x106025:0x272,_0x516788:0x23a,_0x33c7b8:0x227,_0x2742df:0x1ab,_0x2a479b:0x31b,_0x52433e:0x29a,_0x1c60ae:0x1ea,_0x4e4a37:0x27a,_0x5dbdbf:0x1da,_0x97abcd:0x294,_0x3c7e22:0x2a4,_0x32db98:0x1d3},_0x512d97={_0x578eee:0x67},_0x527ca7={'oZpNc':function(_0x3ed036,_0x43d139){return _0x3ed036(_0x43d139);},'QCGgd':function(_0x55209,_0x21b1e1,_0x370052){return _0x55209(_0x21b1e1,_0x370052);},'EwKfO':function(_0x343e0d){return _0x343e0d();},'hzbjE':function(_0x164ec2){return _0x164ec2();}},_0x5d94c8=await _0x527ca7[_0x2366db(_0x5aed1c._0x402621,_0x5aed1c._0x1891cd)](readStateFile,_0x39055d);if(!_0x5d94c8){const _0x2d2939=resolve(_0x39055d,'..');if(!existsSync(_0x2d2939)){const _0x2a6fb0={};_0x2a6fb0[_0x2366db(0x19e,_0x5aed1c._0x53cfc4)]=!![],_0x527ca7[_0x2366db(0x266,0x223)](mkdirSync,_0x2d2939,_0x2a6fb0);}}const _0x3573d7=_0x5d94c8?.[_0x4939bf(_0x5aed1c._0x1442a2,0x267)][_0x2366db(0x1b4,_0x5aed1c._0x4c9edd)]??'quick-task',_0x204f25=_0x5d94c8?Object[_0x4939bf(_0x5aed1c._0x34eec8,_0x5aed1c._0x58b805)](_0x5d94c8[_0x2366db(0x194,_0x5aed1c._0x31fd15)])[0x1267+-0x1a28+-0x7c1*-0x1]??_0x527ca7[_0x4939bf(0x2ca,0x2d2)](generateAgentId):_0x527ca7[_0x4939bf(_0x5aed1c._0x3574e4,0x261)](generateAgentId),_0x29fcd5={'agentId':_0x204f25,'parentId':null,'childIds':[],'phase':'execute','currentOperation':_0x356990[_0x4939bf(0x262,0x274)](0x117+0x15f1+-0x1708,-0x466*-0x1+0x2*-0xe03+-0x601*-0x4),'currentSkill':_0x4939bf(0x27d,_0x5aed1c._0x2d1879)},_0x52b012={};_0x52b012['name']=_0x3573d7;function _0x4939bf(_0x40d5ed,_0x4d154d){return _0x438d39(_0x40d5ed- -_0x512d97._0x578eee,_0x4d154d);}_0x52b012[_0x4939bf(0x25d,0x2ad)+'se']=_0x4939bf(_0x5aed1c._0x542f3b,_0x5aed1c._0x1a07bb);const _0x1162c2={};_0x1162c2[_0x204f25]=_0x29fcd5;const _0x1797e9={};_0x1797e9[_0x4939bf(0x2ad,_0x5aed1c._0x106025)]=_0x52b012,_0x1797e9['agents']=_0x1162c2,_0x1797e9[_0x2366db(_0x5aed1c._0x516788,_0x5aed1c._0x33c7b8)+_0x2366db(0x1d4,_0x5aed1c._0x2742df)]=null,await _0x527ca7[_0x4939bf(0x2dd,_0x5aed1c._0x2a479b)](writeStateFile,_0x39055d,_0x1797e9);const _0x4f506e=[];_0x4f506e[_0x4939bf(0x294,_0x5aed1c._0x52433e)](_0x4939bf(0x2d9,0x2c5)),_0x4f506e[_0x2366db(_0x5aed1c._0x1c60ae,0x1da)](_0x4939bf(_0x5aed1c._0x4e4a37,0x2be)+_0x3573d7),_0x4f506e[_0x2366db(0x22d,_0x5aed1c._0x5dbdbf)]('\x20\x20\x20任务:\x20'+_0x356990),_0x4f506e[_0x4939bf(_0x5aed1c._0x97abcd,_0x5aed1c._0x3c7e22)](_0x4939bf(0x278,0x299)+_0x204f25);function _0x2366db(_0x22ff7c,_0x32557f){return _0x438d39(_0x32557f- -0x121,_0x22ff7c);}return _0x4f506e[_0x2366db(0x1b6,0x1da)]('\x20\x20\x20提示:\x20快速任'+_0x4939bf(0x2dc,0x28e)+_0x4939bf(0x299,0x2cf)),_0x4f506e[_0x2366db(0x1dd,_0x5aed1c._0x32db98)]('\x0a');}
|
|
1
|
+
(function(_0x24e8e9,_0x27965c){const _0x1600cc={_0x1abc70:0x4e6,_0x11bd99:0x539,_0xdb113d:0x85,_0x25c8ac:0x30,_0x69856e:0x4ba,_0x3c9a71:0x35,_0x15e8b2:0x52,_0xaa4c9d:0x78,_0x36f3c4:0x67,_0x5c9ae2:0x7f,_0x59dd7a:0x24},_0x3ed5d2={_0x5c5f0d:0x302},_0x5644fc={_0x4a625e:0x20b};function _0x1104d2(_0x34b5e7,_0x454a50){return _0x20ca(_0x454a50- -_0x5644fc._0x4a625e,_0x34b5e7);}const _0x1b5351=_0x24e8e9();function _0x4d59af(_0x3dc1c9,_0x18b0bc){return _0x20ca(_0x3dc1c9-_0x3ed5d2._0x5c5f0d,_0x18b0bc);}while(!![]){try{const _0x10a8d1=-parseInt(_0x1104d2(-0x7b,-0x6a))/(0x188+-0x9*-0x2c9+-0x4a*0x5c)+parseInt(_0x1104d2(-0x3a,-0x2d))/(-0x2*-0xae7+0x1d06+-0x515*0xa)+-parseInt(_0x4d59af(_0x1600cc._0x1abc70,_0x1600cc._0x11bd99))/(-0x464+0x57*-0x57+0x10fc*0x2)+parseInt(_0x1104d2(-_0x1600cc._0xdb113d,-_0x1600cc._0x25c8ac))/(-0x502*-0x2+0x7*-0x1f3+-0x3a5*-0x1)+-parseInt(_0x4d59af(_0x1600cc._0x69856e,0x4dd))/(0x20d*-0x7+0x2616+0xa*-0x25f)*(parseInt(_0x4d59af(0x4ae,0x48e))/(0x4af+0x460+0x3*-0x303))+parseInt(_0x1104d2(-_0x1600cc._0x3c9a71,-_0x1600cc._0x15e8b2))/(0x956+-0xdc8+-0x5*-0xe5)*(-parseInt(_0x1104d2(-_0x1600cc._0xaa4c9d,-_0x1600cc._0x36f3c4))/(0x101*0x11+0xd*-0x1f9+0x1d*0x4c))+parseInt(_0x1104d2(-_0x1600cc._0x25c8ac,-_0x1600cc._0x5c9ae2))/(-0x11ea*0x1+0x3*-0x315+0xd99*0x2)*(parseInt(_0x1104d2(-_0x1600cc._0x59dd7a,-0x3a))/(-0x1f1c+0x65f*-0x3+0x3243));if(_0x10a8d1===_0x27965c)break;else _0x1b5351['push'](_0x1b5351['shift']());}catch(_0x2d76c6){_0x1b5351['push'](_0x1b5351['shift']());}}}(_0xdaa7,-0x1*0x39e2f+0x1005b1+-0x353f4));import{existsSync,readFileSync,mkdirSync}from'node:fs';import{resolve}from'node:path';import{StateFileManager}from'./persistence/stateFile.js';function _0x313b3d(_0xefc857,_0x2c0f34){const _0x1645ed={_0x124354:0x1a};return _0x20ca(_0xefc857-_0x1645ed._0x124354,_0x2c0f34);}import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0x2e511d={};_0x2e511d[_0x29b0ad(0x1fb,0x232)+_0x313b3d(0x1a4,0x15d)]='需求分析',_0x2e511d[_0x29b0ad(0x220,0x257)+_0x29b0ad(0x238,0x255)]=_0x313b3d(0x1da,0x1a7),_0x2e511d[_0x313b3d(0x1bf,0x17c)+_0x29b0ad(0x1df,0x221)]=_0x313b3d(0x1e1,0x1a6),_0x2e511d[_0x313b3d(0x1d4,0x1d8)+_0x313b3d(0x1a3,0x19c)]='技术选型',_0x2e511d[_0x313b3d(0x1d1,0x1ad)]='讨论',_0x2e511d[_0x29b0ad(0x27e,0x27a)]='规划',_0x2e511d['execute']='执行';function _0x29b0ad(_0x820af2,_0x1506e4){const _0x17c372={_0x3ddad3:0x89};return _0x20ca(_0x820af2-_0x17c372._0x3ddad3,_0x1506e4);}_0x2e511d[_0x29b0ad(0x1e5,0x18f)]='验证';const PHASE_NAMES=_0x2e511d,MAX_RETRIES=0x14b*0x1+0x1b0f+-0x1c55;async function readStateFile(_0x71f1b){const _0x5640dc={_0x3ddcd8:0x51a,_0x25de13:0x549},_0x59d2e1={_0x50bc69:0x304},_0x24f705={'gIhzO':function(_0x515d52,_0x47c7e2){return _0x515d52(_0x47c7e2);}};function _0x58a619(_0x441648,_0x12ec0a){return _0x29b0ad(_0x441648-_0x59d2e1._0x50bc69,_0x12ec0a);}function _0x397abc(_0x49a7b0,_0x413000){return _0x313b3d(_0x413000- -0x392,_0x49a7b0);}if(!_0x24f705[_0x58a619(_0x5640dc._0x3ddcd8,_0x5640dc._0x25de13)](existsSync,_0x71f1b))return null;const _0x4cbf48=new StateFileManager(_0x71f1b);return _0x4cbf48[_0x397abc(-0x242,-0x1ed)]();}async function writeStateFile(_0x4b091e,_0x5c6745){const _0x3f58ac={_0x169f97:0x57,_0x1cbe87:0x7e,_0x4ab896:0xf1,_0x3a22e4:0x5b,_0x10cc4d:0x406,_0x4db88e:0x55,_0x12497a:0xaa,_0x2e9af6:0x36e},_0x2ab6d0={_0x10f947:0x1dd},_0x16ed02={'vomve':function(_0x317282,_0x553c89,_0x136b7f){return _0x317282(_0x553c89,_0x136b7f);},'bBVwl':function(_0x2aba60,_0x37f996){return _0x2aba60<_0x37f996;},'GQQOZ':function(_0x32578c,_0x45d884){return _0x32578c!==_0x45d884;},'mIdRT':function(_0xd787a5,_0x3997af){return _0xd787a5 instanceof _0x3997af;}};function _0x3657c2(_0x316212,_0x21cb9e){return _0x29b0ad(_0x21cb9e- -0x2d2,_0x316212);}function _0x1b361f(_0x45e8e6,_0x3c5914){return _0x313b3d(_0x45e8e6-_0x2ab6d0._0x10f947,_0x3c5914);}for(let _0x50d34d=-0x171f*-0x1+-0xf1c*0x2+0x719;_0x16ed02[_0x3657c2(-0x33,-0x8a)](_0x50d34d,MAX_RETRIES);_0x50d34d++){try{const _0x585f54=new StateFileManager(_0x4b091e);await _0x585f54['read'](),await _0x585f54[_0x3657c2(-_0x3f58ac._0x169f97,-_0x3f58ac._0x1cbe87)](_0x5c6745);return;}catch(_0x278826){if(_0x16ed02[_0x3657c2(-0x12a,-_0x3f58ac._0x4ab896)](_0x3657c2(-0xa1,-_0x3f58ac._0x3a22e4),_0x1b361f(0x3de,_0x3f58ac._0x10cc4d))){if(_0x16ed02[_0x3657c2(-_0x3f58ac._0x4db88e,-_0x3f58ac._0x12497a)](_0x278826,Error)&&_0x278826['message']['includes']('乐观锁冲突')&&_0x50d34d<MAX_RETRIES-(0x1ef5*0x1+-0xc9e+-0x92b*0x2)){await new Promise(_0x338e47=>setTimeout(_0x338e47,-0x111+0x1*-0x192b+0x1a6e+Math[_0x3657c2(-0x3b,-0x57)]()*(-0x11*-0x19f+0x1e3d+-0x3968)));continue;}throw _0x278826;}else{const _0x37a39c={};_0x37a39c[_0x3657c2(-0xe5,-0xc7)]=!![],_0x16ed02[_0x1b361f(_0x3f58ac._0x2e9af6,0x354)](_0x36eb5d,_0x3d455a,_0x37a39c);}}}}function computeOverallPhase(_0x399141){const _0x4eaa0a={_0x5c8a10:0x197,_0x35c722:0x3b3,_0x3adcfb:0x408,_0x234125:0x14c,_0x1bf756:0x19a,_0x5aaa2b:0x3b9,_0x5bf5a7:0x3df,_0x3da97e:0x3b7,_0x44b67b:0x40a},_0x3b5113={_0x2db40c:0x1a},_0x43ca89={};_0x43ca89[_0x554e1f(_0x4eaa0a._0x5c8a10,0x17e)]=function(_0x424965,_0x12df7c){return _0x424965!==_0x12df7c;},_0x43ca89[_0x554e1f(0x1e2,0x19a)]='fpPLM';function _0x554e1f(_0x2ad23c,_0x45ce8a){return _0x313b3d(_0x45ce8a-_0x3b5113._0x2db40c,_0x2ad23c);}function _0x4c4fcb(_0x2d8886,_0x2c2479){return _0x313b3d(_0x2d8886-0x22c,_0x2c2479);}const _0x9526ca=_0x43ca89;for(const _0x1c9dcd of Object[_0x4c4fcb(_0x4eaa0a._0x35c722,_0x4eaa0a._0x3adcfb)](_0x399141)){if(_0x9526ca[_0x4c4fcb(0x390,0x37c)](_0x9526ca[_0x554e1f(_0x4eaa0a._0x234125,_0x4eaa0a._0x1bf756)],'fpPLM'))return'⚠️\x20\x20状态文件不存在'+_0x4c4fcb(0x408,_0x4eaa0a._0x5aaa2b)+_0x4c4fcb(0x40e,_0x4eaa0a._0x5bf5a7);else{if(_0x399141[_0x1c9dcd]['phase']!==_0x4c4fcb(_0x4eaa0a._0x3da97e,_0x4eaa0a._0x44b67b))return _0x399141[_0x1c9dcd][_0x554e1f(0x1d0,0x227)];}}return _0x4c4fcb(0x3b7,_0x4eaa0a._0x3da97e);}export async function getStatus(_0x2fcd40){const _0x184aa3={_0x12ca93:0x52f,_0x34060f:0x492,_0x2848ae:0x495,_0x143c56:0x4dc,_0x16b976:0x552,_0x4b0e39:0x51a,_0x49ea2e:0x2b,_0x142a9b:0x5,_0x550444:0x515,_0x1ac4c3:0x4e2,_0x102284:0x4b,_0x5690b6:0xc,_0x502b2c:0x53a,_0x578d80:0x52,_0x5d849f:0x12,_0x246c95:0xb,_0x3a07ff:0x25,_0x243f3a:0xa,_0x2ce404:0x53,_0x2a6d48:0x4ec,_0x4745fc:0x541,_0x360ff5:0x4f6,_0x2f7777:0x9d,_0x413ee3:0x83,_0x39901d:0x532,_0x10a96c:0x486,_0x13a171:0x4a8,_0x5d86ca:0x49e,_0x316729:0x90,_0x1b54c8:0x3b,_0x4ba086:0x73,_0x1211ef:0x491,_0x4dac37:0x4a8,_0x33a16a:0x49f,_0x3af011:0x4f4,_0x348190:0x4bd,_0x2a8e9b:0x4d0,_0x1054c6:0x4fa,_0x5606cb:0x7e,_0x29e4ca:0x519,_0x8f644f:0x50e},_0x26bf3b={_0x5bb406:0x187},_0x24b4ae={'UGmsf':function(_0x29b0da,_0xa20c29){return _0x29b0da(_0xa20c29);},'KkUwD':function(_0x8eee60,_0x2991cc,_0x543c9e){return _0x8eee60(_0x2991cc,_0x543c9e);},'Aukfs':_0x432d99(0x50f,_0x184aa3._0x12ca93),'oXQJl':function(_0x1cbf96,_0x5a2062){return _0x1cbf96===_0x5a2062;},'nkvpl':_0x432d99(_0x184aa3._0x34060f,_0x184aa3._0x2848ae),'XCUzu':_0x1186d2(0x41,0x18),'kuCWv':'\x20\x20\x20Agent\x20I'+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1186d2(0x6d,0x41)+_0x1186d2(-0xf,0x44)+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1186d2(0x7d,0x29)+'工具','jlSNL':_0x432d99(_0x184aa3._0x143c56,0x4fa)};if(!_0x24b4ae[_0x432d99(_0x184aa3._0x16b976,_0x184aa3._0x4b0e39)](existsSync,_0x2fcd40))return _0x1186d2(-_0x184aa3._0x49ea2e,0x11)+_0x1186d2(_0x184aa3._0x142a9b,0x55)+_0x432d99(0x504,_0x184aa3._0x550444);const _0x5757ca=_0x24b4ae[_0x432d99(0x537,_0x184aa3._0x1ac4c3)](readFileSync,_0x2fcd40,_0x24b4ae[_0x1186d2(-_0x184aa3._0x102284,_0x184aa3._0x5690b6)]),_0x207746=JSON[_0x432d99(0x580,_0x184aa3._0x502b2c)](_0x5757ca),_0x1616ef=[];_0x1616ef[_0x1186d2(-_0x184aa3._0x578d80,-_0x184aa3._0x5d849f)](_0x1186d2(0x20,-_0x184aa3._0x246c95)+_0x207746[_0x1186d2(-_0x184aa3._0x3a07ff,-_0x184aa3._0x243f3a)]['name']),_0x1616ef['push']('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0x207746[_0x1186d2(-_0x184aa3._0x2ce404,-0xa)][_0x432d99(_0x184aa3._0x2a6d48,0x541)+'se']]??_0x207746[_0x432d99(0x4bb,0x4b0)][_0x432d99(0x4f5,_0x184aa3._0x4745fc)+'se'])),_0x1616ef[_0x432d99(_0x184aa3._0x360ff5,0x4a8)](_0x1186d2(_0x184aa3._0x2f7777,_0x184aa3._0x413ee3)+_0x207746[_0x432d99(0x4de,_0x184aa3._0x39901d)]),_0x1616ef[_0x432d99(_0x184aa3._0x10a96c,_0x184aa3._0x13a171)](_0x1186d2(0x94,0x3d)+_0x207746[_0x432d99(0x4d9,_0x184aa3._0x5d86ca)]);const _0x141697=_0x207746[_0x1186d2(-_0x184aa3._0x2ce404,-0xc)],_0x47d596=Object[_0x1186d2(0x16,0x0)](_0x141697);if(_0x24b4ae[_0x1186d2(0x44,0x26)](_0x47d596['length'],0x222*0x6+0x21eb+-0x2eb7))return _0x24b4ae[_0x1186d2(_0x184aa3._0x316729,_0x184aa3._0x1b54c8)]===_0x24b4ae[_0x1186d2(0x46,0x62)]?_0x486db7[_0x2f6974]['phase']:(_0x1616ef['push']('\x20\x20\x20暂无\x20Agen'+_0x432d99(0x519,0x519)),_0x1616ef[_0x1186d2(0xab,_0x184aa3._0x4ba086)]('\x0a'));function _0x1186d2(_0x46760f,_0x2d4591){return _0x313b3d(_0x2d4591- -_0x26bf3b._0x5bb406,_0x46760f);}function _0x432d99(_0x8c555d,_0x19d408){return _0x313b3d(_0x19d408-0x333,_0x8c555d);}_0x1616ef[_0x432d99(0x47a,_0x184aa3._0x13a171)](''),_0x1616ef[_0x432d99(_0x184aa3._0x1211ef,_0x184aa3._0x4dac37)](_0x24b4ae['kuCWv']),_0x1616ef['push'](_0x24b4ae['jlSNL']+'-'[_0x432d99(0x470,_0x184aa3._0x33a16a)](-0x1e95*-0x1+0x2231*-0x1+0x3ec));for(const _0x553ebd of _0x47d596){const _0x3c46e8=_0x141697[_0x553ebd],_0x20c396=PHASE_NAMES[_0x3c46e8[_0x432d99(0x58f,0x540)]]??_0x3c46e8[_0x432d99(_0x184aa3._0x3af011,0x540)],_0x2d9a0b=_0x3c46e8[_0x432d99(0x4ec,_0x184aa3._0x348190)+_0x432d99(0x4bb,0x4ce)]||'-',_0x3455b3=_0x3c46e8[_0x1186d2(-0xb,-0xe)+'ll']||'-';_0x1616ef['push'](_0x432d99(_0x184aa3._0x2a8e9b,_0x184aa3._0x1054c6)+_0x553ebd['padEnd'](0x16d8*0x1+-0x130e+0x88*-0x7)+_0x432d99(0x4bd,0x50e)+_0x20c396['padEnd'](0x1ced+-0x136f+-0x970)+_0x432d99(0x4c4,0x50e)+_0x2d9a0b[_0x1186d2(0x5b,_0x184aa3._0x5606cb)](0x5e4*0x2+0x86a+-0x141d*0x1)+_0x432d99(_0x184aa3._0x29e4ca,0x50e)+_0x3455b3);}return _0x1616ef[_0x432d99(_0x184aa3._0x8f644f,0x52d)]('\x0a');}export async function advancePhase(_0x329d58,_0x423e9c){const _0x2856b7={_0x42fff3:0x367,_0x12e744:0x31a,_0x5aeeb2:0x2b0,_0x2abe60:0x31a,_0x4be739:0x311,_0x381795:0x506,_0xa166fb:0x4e0,_0x2f1495:0x544,_0x1a5a56:0x509,_0x5bb8a6:0x56c,_0x1abff5:0x51f,_0x1ea0b7:0x539,_0x326356:0x53a,_0x1d185d:0x316,_0x2bf339:0x31f,_0x504f9e:0x535,_0x3dc3c8:0x370,_0x4f0e54:0x341,_0x2f0ab9:0x54d,_0x18fc51:0x505,_0x12ebf8:0x5d2,_0x53be6f:0x57c,_0x79fd24:0x587,_0x3cf2f6:0x4f5,_0x227dd8:0x55e,_0x87f8bf:0x2ed,_0x70c2:0x515,_0x1076f1:0x4e5,_0x1120b4:0x4f3,_0x1fa548:0x2e0,_0x274165:0x289,_0x4d9e8b:0x4c5,_0xe63e24:0x4f5,_0x1bcdca:0x566,_0x3ca385:0x312,_0x4cacd1:0x53f,_0x5266a7:0x531,_0x43d508:0x33b,_0x1eebc3:0x35d},_0x58b7a3={_0x312dc3:0xf4},_0x49bf57={_0x133ed9:0x30b},_0x30672e={'RtuUD':_0x2e6b1f(0x553,0x512)+',请先运行\x20new-'+'project\x20命令','uaHed':function(_0x17eef4,_0x24d3af){return _0x17eef4===_0x24d3af;},'LsNcU':_0x2160db(_0x2856b7._0x42fff3,0x354)+_0x2160db(0x324,_0x2856b7._0x12e744),'nghft':function(_0x53c8d5,_0xcb923a){return _0x53c8d5(_0xcb923a);},'ZEzlx':function(_0x55523c,_0x32b62f,_0x1d75b9){return _0x55523c(_0x32b62f,_0x1d75b9);}},_0x245fb8=await readStateFile(_0x329d58);if(!_0x245fb8)return _0x30672e['RtuUD'];const _0x25b6fc=_0x423e9c??Object[_0x2160db(0x2ea,0x29c)](_0x245fb8[_0x2160db(0x2de,_0x2856b7._0x5aeeb2)])[_0x2e6b1f(0x541,0x55d)](_0x5c4794=>_0x245fb8[_0x2e6b1f(0x4af,0x4f5)][_0x5c4794][_0x2160db(0x370,0x351)]!==_0x2e6b1f(0x501,0x505));if(!_0x25b6fc){if(_0x30672e[_0x2160db(_0x2856b7._0x2abe60,_0x2856b7._0x4be739)](_0x2e6b1f(_0x2856b7._0x381795,_0x2856b7._0xa166fb),_0x2e6b1f(_0x2856b7._0x2f1495,_0x2856b7._0x1a5a56))){if(!_0x27e6df(_0x1c6bd5))return null;const _0x4c0e8c=new _0x58bdcf(_0x3dba87);return _0x4c0e8c[_0x2e6b1f(_0x2856b7._0x5bb8a6,_0x2856b7._0x1abff5)]();}else return _0x30672e[_0x2e6b1f(_0x2856b7._0x1ea0b7,_0x2856b7._0x326356)];}const _0x5920eb=_0x245fb8['agents'][_0x25b6fc];if(!_0x5920eb)return _0x2160db(_0x2856b7._0x1d185d,_0x2856b7._0x2bf339)+_0x25b6fc+(_0x2e6b1f(_0x2856b7._0x504f9e,0x53d)+'e.json');if(_0x5920eb[_0x2160db(_0x2856b7._0x3dc3c8,_0x2856b7._0x4f0e54)]===_0x2e6b1f(_0x2856b7._0x2f0ab9,_0x2856b7._0x18fc51))return'['+_0x25b6fc+_0x2e6b1f(_0x2856b7._0x12ebf8,_0x2856b7._0x53be6f);const _0x1831c5=_0x30672e['nghft'](computeNextPhase,_0x5920eb[_0x2160db(0x370,0x3b9)]),_0xeac8a1=PHASE_NAMES[_0x5920eb[_0x2160db(_0x2856b7._0x3dc3c8,0x364)]]??_0x5920eb[_0x2e6b1f(0x5dd,_0x2856b7._0x79fd24)];function _0x2e6b1f(_0xd609c,_0x5d8a9b){return _0x29b0ad(_0x5d8a9b-_0x49bf57._0x133ed9,_0xd609c);}const _0x5e8e0c=PHASE_NAMES[_0x1831c5]??_0x1831c5,_0x45d175={..._0x245fb8[_0x2e6b1f(0x4cd,_0x2856b7._0x3cf2f6)]},_0x1cb14c=_0x45d175,_0x512c63={..._0x5920eb};_0x512c63[_0x2e6b1f(_0x2856b7._0x227dd8,0x587)]=_0x1831c5,_0x512c63[_0x2160db(_0x2856b7._0x87f8bf,0x2ee)+_0x2e6b1f(0x556,_0x2856b7._0x70c2)]='',_0x512c63[_0x2e6b1f(_0x2856b7._0x1076f1,_0x2856b7._0x1120b4)+'ll']='',_0x1cb14c[_0x25b6fc]=_0x512c63;function _0x2160db(_0xb71bd2,_0x4eedc7){return _0x29b0ad(_0xb71bd2-_0x58b7a3._0x312dc3,_0x4eedc7);}const _0x3d97f3=computeOverallPhase(_0x1cb14c),_0x1e7eee={..._0x245fb8[_0x2160db(_0x2856b7._0x1fa548,_0x2856b7._0x274165)]};_0x1e7eee['currentPha'+'se']=_0x3d97f3;const _0x5d89cd={};_0x5d89cd['project']=_0x1e7eee,_0x5d89cd[_0x2e6b1f(_0x2856b7._0x4d9e8b,_0x2856b7._0xe63e24)]=_0x1cb14c,_0x5d89cd[_0x2e6b1f(0x5a2,_0x2856b7._0x1bcdca)+'pshot']=_0x245fb8[_0x2160db(0x34f,0x376)+_0x2160db(0x2cb,_0x2856b7._0x3ca385)],await _0x30672e[_0x2160db(0x2ca,0x27a)](writeStateFile,_0x329d58,_0x5d89cd);const _0x251ef=[];return _0x251ef['push']('['+_0x25b6fc+']\x20'+_0xeac8a1+'\x20→\x20'+_0x5e8e0c),_0x30672e[_0x2e6b1f(_0x2856b7._0x4cacd1,_0x2856b7._0x5266a7)](_0x1831c5,'completed')&&_0x251ef['push'](_0x2160db(_0x2856b7._0x43d508,0x2ee)+_0x25b6fc+_0x2e6b1f(0x522,0x53b)),_0x251ef[_0x2160db(_0x2856b7._0x1eebc3,0x309)]('\x0a');}function computeNextPhase(_0x103e2d){const _0x1bda93={_0x4e3533:0x1de,_0x279973:0x1dc,_0x2fc01e:0x4a,_0x42d869:0xb7,_0xf27813:0x6d,_0x35baba:0x13d,_0x515897:0x1c4,_0x40422b:0x19b,_0x4d93fc:0xb8,_0x17fd57:0x178,_0x2587d0:0x1c0,_0x49da38:0x43,_0x13eb93:0x1ea,_0x2dcd6a:0x1ba,_0x1179f1:0x6a,_0x1fabe1:0x1b8,_0x351980:0x188,_0xba17a4:0x17e,_0x507acb:0x4d,_0xaba9cc:0xe,_0x3396e9:0x166,_0x2bfb77:0x202,_0x488eed:0x189},_0x2a84d5={};_0x2a84d5[_0xa7229(-_0x1bda93._0x4e3533,-_0x1bda93._0x279973)]=function(_0x13f5ff,_0x1833f4){return _0x13f5ff<_0x1833f4;},_0x2a84d5['fSyEO']=function(_0x20b591,_0x2dd8e7){return _0x20b591+_0x2dd8e7;};function _0xa7229(_0x2f5441,_0x455600){return _0x29b0ad(_0x2f5441- -0x3bc,_0x455600);}_0x2a84d5['gmGwr']=_0x86d670(_0x1bda93._0x2fc01e,0x56),_0x2a84d5[_0x86d670(_0x1bda93._0x42d869,_0x1bda93._0xf27813)]=_0xa7229(-0x1e3,-0x19e)+_0xa7229(-0x167,-_0x1bda93._0x35baba),_0x2a84d5[_0xa7229(-_0x1bda93._0x515897,-_0x1bda93._0x40422b)]=function(_0x1a6a3f,_0x45d097){return _0x1a6a3f===_0x45d097;};function _0x86d670(_0x2ef894,_0x50e1b9){return _0x313b3d(_0x50e1b9- -0x135,_0x2ef894);}_0x2a84d5['PXRgM']=function(_0xe0f1ac,_0x5ba9ec){return _0xe0f1ac-_0x5ba9ec;},_0x2a84d5[_0x86d670(_0x1bda93._0x4d93fc,0x90)]=function(_0x44c9f1,_0x49e29e){return _0x44c9f1-_0x49e29e;},_0x2a84d5[_0xa7229(-_0x1bda93._0x17fd57,-0x159)]=_0xa7229(-_0x1bda93._0x2587d0,-0x176);const _0x586a8d=_0x2a84d5,_0x5ef39c=PHASES['indexOf'](_0x103e2d);if(_0x5ef39c>=-0x9b*-0x1+-0x22c5+-0x222a*-0x1)return _0x586a8d['JxNMK'](_0x86d670(_0x1bda93._0x49da38,0x3f),_0xa7229(-0x16f,-0x148))?_0x586a8d[_0xa7229(-0x1de,-_0x1bda93._0x13eb93)](_0x3e3fc7,_0x4d748e[_0xa7229(-0x1ce,-_0x1bda93._0x2dcd6a)]-(-0x152f+-0x1462*0x1+0x272*0x11))?_0x44dbec[_0x586a8d['fSyEO'](_0xe44f13,0x844+-0x34*-0x1a+-0xd8b*0x1)]:_0x586a8d[_0x86d670(_0x1bda93._0x1179f1,0x4d)]:_0x5ef39c<_0x586a8d['PXRgM'](PHASES['length'],-0x71*0x14+-0xd1d*0x2+0x230f)?PHASES[_0x586a8d[_0xa7229(-_0x1bda93._0x1fabe1,-0x1a0)](_0x5ef39c,0x1ca1+-0x1d8*0x2+-0x18f0)]:_0x586a8d[_0xa7229(-0x1cb,-0x174)];const _0x16c020=PIPELINE_PHASES['indexOf'](_0x103e2d);if(_0x16c020>=-0x2*-0x98d+0x5f*-0x12+-0xc6c)return _0x16c020<_0x586a8d[_0xa7229(-_0x1bda93._0x351980,-_0x1bda93._0xba17a4)](PIPELINE_PHASES[_0x86d670(0x4a,_0x1bda93._0x2fc01e)],0x4*0x5b1+-0x35*0x4+0x1*-0x15ef)?PIPELINE_PHASES[_0x16c020+(0x3d4*-0x2+0x1*-0x26cf+-0x2*-0x173c)]:_0x586a8d[_0x86d670(0xf,_0x1bda93._0x507acb)];if(_0x103e2d===_0x586a8d['WcmoF'])return _0x86d670(_0x1bda93._0xaba9cc,0x51)!==_0xa7229(-0x150,-_0x1bda93._0x3396e9)?PHASES[-0x1d35+-0x619*-0x3+0xaea]:(_0x5d094b[_0xa7229(-0x1d8,-_0x1bda93._0x2bfb77)](_0x586a8d['PAYyC']),_0x551ef6[_0xa7229(-0x153,-_0x1bda93._0x488eed)]('\x0a'));return _0x586a8d[_0x86d670(0x50,0x4d)];}export async function newProject(_0x5bb219,_0x37b036){const _0x187aae={_0x15dd01:0x18,_0x406273:0x4e7,_0x334b39:0x1d,_0x134440:0x471,_0x1fe4c6:0x27,_0x365304:0x5c,_0x59e98a:0x12,_0x35ca00:0xd,_0x549b3e:0x12,_0x447f96:0x10,_0x3f2078:0x431,_0x22136c:0x4a8,_0xa6ae82:0x500,_0x23b19e:0x16,_0x2287a5:0x4d,_0xa2b530:0x454,_0x4de524:0x68,_0x158cd2:0x15,_0x3dadf7:0x7e,_0x5a85fb:0x4,_0x4a53e5:0x36,_0x3a935a:0x9c,_0x5a23b6:0x468,_0x165dbe:0x4ba,_0x16438f:0x4e4,_0x3841a5:0x468,_0x4445ed:0x473,_0x3d9270:0x0,_0x1d24f7:0x38,_0x2a4176:0x4f8,_0x4f2534:0x58,_0x76bec4:0x1,_0x56363e:0x10},_0x3f6971={_0x1275e8:0x175};function _0x4a6f59(_0x1b91a9,_0x188295){return _0x313b3d(_0x1b91a9- -_0x3f6971._0x1275e8,_0x188295);}const _0x23b0a7={'jznic':function(_0xfcfb2b,_0x48e6d9){return _0xfcfb2b!==_0x48e6d9;},'ohGdG':'completed','muphs':function(_0x1a99d1,_0x355e50,_0x538434){return _0x1a99d1(_0x355e50,_0x538434);},'JMeoo':function(_0x28a034,_0x3bbc07){return _0x28a034(_0x3bbc07);},'xjwbE':function(_0x456a8f,_0x33cfab){return _0x456a8f===_0x33cfab;},'Dnumz':function(_0x557425,_0x24918,_0x433d6a){return _0x557425(_0x24918,_0x433d6a);},'lucLL':_0x4a6f59(_0x187aae._0x15dd01,-0x2c),'kZCOC':function(_0x26125c,_0x4582c6,_0x44d662){return _0x26125c(_0x4582c6,_0x44d662);}},_0x42b3de=_0x23b0a7[_0x4a6f59(0x13,-0x32)](resolve,_0x5bb219,'..');if(!_0x23b0a7['JMeoo'](existsSync,_0x42b3de)){if(_0x23b0a7[_0x30604d(0x531,_0x187aae._0x406273)](_0x4a6f59(0x9,-_0x187aae._0x334b39),_0x30604d(0x480,_0x187aae._0x134440))){const _0x23dc34={};_0x23dc34[_0x4a6f59(_0x187aae._0x1fe4c6,_0x187aae._0x365304)]=!![],_0x23b0a7[_0x4a6f59(-_0x187aae._0x59e98a,_0x187aae._0x35ca00)](mkdirSync,_0x42b3de,_0x23dc34);}else{for(const _0x1191f1 of _0x2f5401[_0x4a6f59(_0x187aae._0x549b3e,_0x187aae._0x447f96)](_0xa6f8a5)){if(_0x23b0a7[_0x30604d(_0x187aae._0x3f2078,0x474)](_0x547c5a[_0x1191f1][_0x30604d(_0x187aae._0x22136c,_0x187aae._0xa6ae82)],_0x4a6f59(_0x187aae._0x23b19e,0x2c)))return _0x2146ac[_0x1191f1]['phase'];}return _0x23b0a7[_0x4a6f59(0x61,_0x187aae._0x2287a5)];}}const _0x476810=generateAgentId(),_0x5cd204={};_0x5cd204['agentId']=_0x476810,_0x5cd204[_0x30604d(_0x187aae._0xa2b530,0x466)]=null,_0x5cd204[_0x4a6f59(_0x187aae._0x4de524,0xaf)]=[],_0x5cd204[_0x30604d(0x4f3,0x500)]=_0x23b0a7['lucLL'],_0x5cd204[_0x4a6f59(_0x187aae._0x158cd2,0xc)+_0x4a6f59(0x26,_0x187aae._0x3dadf7)]='',_0x5cd204[_0x4a6f59(_0x187aae._0x5a85fb,-0x36)+'ll']='';const _0x41387f=_0x5cd204,_0x1a39c7={};_0x1a39c7[_0x476810]=_0x41387f,await _0x23b0a7[_0x4a6f59(_0x187aae._0x4a53e5,0x4a)](writeStateFile,_0x5bb219,{'project':{'name':_0x37b036,'currentPhase':_0x23b0a7[_0x4a6f59(_0x187aae._0x3a935a,0xa7)]},'agents':_0x1a39c7,'machineSnapshot':null});function _0x30604d(_0x1b2228,_0x3c5c0e){return _0x313b3d(_0x3c5c0e-0x2f3,_0x1b2228);}const _0x5ce69e=[];return _0x5ce69e[_0x30604d(0x45a,_0x187aae._0x5a23b6)](_0x4a6f59(0x22,0x30)+_0x37b036),_0x5ce69e['push'](_0x30604d(_0x187aae._0x165dbe,_0x187aae._0x16438f)+_0x42b3de),_0x5ce69e[_0x30604d(0x434,_0x187aae._0x3841a5)](_0x30604d(0x436,0x45c)+_0x30604d(_0x187aae._0x4445ed,0x4a5)+_0x476810),_0x5ce69e[_0x4a6f59(_0x187aae._0x3d9270,_0x187aae._0x1d24f7)](_0x30604d(_0x187aae._0x2a4176,0x4d7)+PIPELINE_PHASES[_0x4a6f59(_0x187aae._0x4f2534,_0x187aae._0x76bec4)](_0x4867ad=>PHASE_NAMES[_0x4867ad]??_0x4867ad)['join'](_0x4a6f59(0x5a,_0x187aae._0x56363e))),_0x5ce69e['join']('\x0a');}function _0xdaa7(){const _0x3785c7=['BLnxy1q','qxvRzNm','Aw5JBhvKzxm','zLn5ru8','Dvflrg0','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','icaG6Ag555UUoIa','icaG5lU75yQHoIa','CMf0Aw9U','CMvJDxjZAxzL','icaGicaGicaGia','4PQG77Ipicbbz2vUDca','rLjwDKC','v0z1Euu','C2XPy2u','uefzEum','DgLVBG','BhLZAxm','CMvHza','mtiZmJK5mZDpwg1esvu','z0LOEK8','qwHtyKi','CxvPy2STDgfZAW','jsaO','A1Pdt0m','icaG5O+q56s6oIdLV6VPGj/KU7S','B1HrsMW','icaGqwDLBNq6ia','s2TvD0q','icaGicaGicb8ia','y29TCgv0AxrVCG','DdOG','4P2miefNzw50ia','y2XgEK8','zxHLy3v0zq','wM1Swfe','Dwfizwq','rgPswgu','BuLKuLq','qwviu1G','odi0mJC4zM9brMDc','tuXftMW','icaG5B2t5yMn6zI25Q61oIa','nJGYmZjgAKTSCfG','zMvHDhvYzv9HBG','thnoy1u','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','BMT2CgW','ios4JEwTMowCQos6JIbZDgf0','icaG5PU05PAW5PE26zE0oIa','D3rxwNu','mJCXoti1ne50tNzmuW','icaG','ihWG6zI25Q61icaGica','x2fUywX5C2LZ','zs5QC29U','icaGicaGFcdMK43KVzW','wuHuvgW','BwfW','v09LDhO','iokgKIa','rcaGicaGicaGia','zgLZy3vZCW','nwHZyurOtq','nZa3EuDzwMPd','DgvJAf9ZzwXLyW','v2nTB0y','B2HhzeC','BgjJz3y','cUkCHsbbz2vUDca','yKjwD2W','56UE5zob5yIg5P6q','ihWG','77Ym6k+35ywi6l+q6kgmig5LDY0','y2HPBgrjzhm','rezysKq','xsdMK43KVzZLT7lMM7tMLRa6ia','Bwf4','5yQF6io95yIg5P6q','ChjVAMvJDcdLKB3KU6q','zMLUza','icaG6zI25Q615BQp5yIxoIa','D3jPDgu','DcdORRdLVzu','vuDTC2y','zMLSDgvY','wenvENu','icaG8j+KLIbbz2vUDa','mtbdDK1OruO','BwfJAgLUzvnUyq','CxvPy2S','icaG5A6m5OIq5BQMoIa','BMfTzq','C1HJruW','icaG55UU5B2voIa','r1LWAgW','vLPwC3e','EgP3yKu','mJe2mJq0mhPiCM9bCa','ywDLBNrjza','uhLivwK','mJi4nJy4ogXmr3vNBq','BhncDwe','AM9PBG','5yAmoIa','DxrMltG','uencq28','otyWnJaZuhzeq1Pl','DMvYC2LVBG','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','s2vkww0','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','DKvrA04','4PYfioAjGoACIsbbz2vUDa','CgfKrw5K','BK9Mshy','CgfYC2u','DefdBgy','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','icaG54Mi5PYSoIa','BgLUzE+8JoEBToAoPEAjP+IHJa','CMfUzg9T','CgHHC2u','y3vYCMvUDfbOyq','CgXHBG','Dgfiy0i','BhvJteW','q0HWDeq','rg51BxO','tNPHsKu','icaGicaG','sg1YCfu','wKv6BhG','ChnOB3q','icaG5yID5AEliefNzw4','icaG5PQc5PEGiefNzw4','DxbKyxrLzef0','CMvWzwf0','A1nUALa','zw50CMLLCW','ug1mwKW','ywX5C2LZ','8j+tIIdPOBNNM67OV5VLUQy6ia','r1frt1O','CgfYzw50swq','CfjAu2G','ChvZAa','DMvYAwz5','yxfoz2W','uhzZuvu','y3vYCMvUDfnRAq','vxzbq1i','ywDLBNrZ','8j+tIIdPOBNNM67NIRBMGie6ia','ChjVAMvJDa','AgnmrgG','BgvUz3rO','s1LtAxC','ANPUAwm','z21hD3i','ioIVPUAdHtO','6zsaoIa','zeL4B2W','AvPAzuO','A2v5CW','BxvWAhm','sNHotuS','y3vYCMvUDe9Wzq','y29TCgXLDgvK','zgvTyw5Kx2fUyq','AwrSzq','icaG8j+tIcdPMlBMRRxLIiBLUim6','D3nZveK','4PYfiefNzw50iow3SUAZQa','DM9TDMu'];_0xdaa7=function(){return _0x3785c7;};return _0xdaa7();}export async function updateOperation(_0x2c19f7,_0x237cf0,_0x594d84,_0x3f8985){const _0xf07c38={_0x33bd15:0x4e9,_0x4d7e81:0x51f,_0x1750c6:0x50f,_0x5f1422:0x51f,_0x4788ef:0x4af,_0x5666f3:0x481,_0x481930:0x4c0,_0x172d29:0x4cd,_0x464bb5:0x13d,_0x1bad61:0x16a,_0x43b25b:0x4a1,_0x25b02b:0x4e5,_0x14e9ad:0x109,_0x2eaffd:0x1bb,_0x506763:0x1af,_0x292018:0x4b7,_0x5ac075:0x4bf,_0x2ce063:0x168,_0x36fbd1:0x13d,_0x5169d5:0x11b,_0x2f187a:0xd4,_0x273388:0x117,_0x103c7d:0x58a,_0x5cd714:0x53a,_0x415c91:0x173,_0x13269b:0x17d,_0x21492c:0x168,_0x1df317:0x1ce,_0xf21206:0x4cf,_0x33435a:0x497,_0x5ac4eb:0x10f,_0x35efa5:0x165,_0x4e00bd:0x16c,_0x450d10:0x13f,_0x242f9a:0x12c,_0x594395:0x4ae,_0x38b6af:0x49c,_0xa8630c:0x151,_0x2fe96a:0x11d,_0x4e15bd:0x114,_0x807b0d:0x10a,_0x576b70:0x503,_0x107d9a:0x521,_0x2074d3:0x1a8},_0x4d4f3c={'HFHoA':_0x589034(_0xf07c38._0x33bd15,_0xf07c38._0x4d7e81)+_0x47de75(0x151,0x125),'AhSbB':_0x589034(_0xf07c38._0x1750c6,0x4fc),'UvACR':function(_0x2407e8,_0x37e433){return _0x2407e8(_0x37e433);},'aqNgl':_0x589034(_0xf07c38._0x5f1422,0x4ed),'qkrpA':_0x589034(0x4fb,0x4ad),'AeHSX':function(_0x2f6d2b,_0x23813a,_0x2d34c4){return _0x2f6d2b(_0x23813a,_0x2d34c4);}},_0xb559ce=await _0x4d4f3c[_0x589034(0x45c,_0xf07c38._0x4788ef)](readStateFile,_0x2c19f7);if(!_0xb559ce){if(_0x4d4f3c[_0x589034(_0xf07c38._0x5666f3,0x4ac)]!==_0x4d4f3c['qkrpA'])return _0x589034(_0xf07c38._0x481930,_0xf07c38._0x172d29);else{_0x2e52c8[_0x589034(0x4d7,0x4aa)](_0x4d4f3c['HFHoA']),_0x143fb7['push']('\x20\x20\x20Agent\x20I'+_0x589034(0x524,0x505)+_0x47de75(_0xf07c38._0x464bb5,_0xf07c38._0x1bad61)+_0x589034(0x500,0x500)+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x589034(_0xf07c38._0x43b25b,_0xf07c38._0x25b02b)+'工具'),_0x3a398b['push'](_0x4d4f3c[_0x589034(0x4f5,0x4dd)]+'-'[_0x47de75(_0xf07c38._0x14e9ad,0x10e)](-0x1381*0x1+-0x2*-0x3c2+0x2f*0x43));for(const _0x5b36c2 of _0x370c72){const _0xa09926=_0x46f38f[_0x5b36c2],_0x3c6bfe=_0x231dd5[_0xa09926[_0x47de75(_0xf07c38._0x2eaffd,_0xf07c38._0x506763)]]??_0xa09926[_0x47de75(0x1dd,0x1af)],_0x288df8=_0xa09926[_0x589034(_0xf07c38._0x292018,_0xf07c38._0x5ac075)+_0x47de75(_0xf07c38._0x2ce063,_0xf07c38._0x36fbd1)]||'-',_0x65bfb1=_0xa09926[_0x47de75(0x117,_0xf07c38._0x5169d5)+'ll']||'-';_0x583ee1[_0x47de75(_0xf07c38._0x2f187a,_0xf07c38._0x273388)]('\x20\x20\x20'+_0x5b36c2[_0x589034(_0xf07c38._0x103c7d,_0xf07c38._0x5cd714)](0x58+-0x65b*-0x3+0x1357*-0x1)+_0x47de75(_0xf07c38._0x415c91,_0xf07c38._0x13269b)+_0x3c6bfe[_0x47de75(_0xf07c38._0x21492c,0x1a7)](0x1130+-0xc1*-0xf+0x329*-0x9)+'\x20|\x20'+_0x288df8[_0x47de75(_0xf07c38._0x1df317,0x1a7)](-0xd*-0x89+-0x26b1+0xf*0x21f)+_0x589034(_0xf07c38._0xf21206,0x510)+_0x65bfb1);}}}const _0x3fc45e=_0xb559ce['agents'][_0x237cf0];if(!_0x3fc45e)return _0x589034(_0xf07c38._0x33435a,0x4e8)+_0x237cf0+(_0x47de75(_0xf07c38._0x5ac4eb,_0xf07c38._0x35efa5)+_0x47de75(0x11c,_0xf07c38._0x4e00bd));const _0x2e5da4={..._0xb559ce['agents']},_0x1010e4=_0x2e5da4,_0x2621d2={..._0x3fc45e};function _0x47de75(_0x976aa5,_0xad3c){return _0x29b0ad(_0xad3c- -0xcd,_0x976aa5);}_0x2621d2[_0x47de75(_0xf07c38._0x450d10,_0xf07c38._0x242f9a)+_0x589034(0x525,0x4d0)]=_0x594d84,_0x2621d2[_0x589034(0x4b6,_0xf07c38._0x594395)+'ll']=_0x3f8985,_0x1010e4[_0x237cf0]=_0x2621d2;function _0x589034(_0x36f033,_0x5da0e9){return _0x313b3d(_0x5da0e9-0x335,_0x36f033);}const _0x35c5ea={};return _0x35c5ea[_0x589034(_0xf07c38._0x38b6af,0x4b2)]=_0xb559ce['project'],_0x35c5ea[_0x47de75(_0xf07c38._0xa8630c,_0xf07c38._0x2fe96a)]=_0x1010e4,_0x35c5ea[_0x47de75(0x1d2,0x18e)+_0x47de75(_0xf07c38._0x4e15bd,_0xf07c38._0x807b0d)]=_0xb559ce[_0x589034(_0xf07c38._0x576b70,_0xf07c38._0x107d9a)+_0x47de75(0x144,0x10a)],await _0x4d4f3c[_0x589034(0x4b8,0x4ef)](writeStateFile,_0x2c19f7,_0x35c5ea),'✅\x20['+_0x237cf0+_0x47de75(_0xf07c38._0x2074d3,0x181)+_0x594d84+'\x20('+_0x3f8985+')';}export async function registerAgent(_0x466fb8,_0x2959c6,_0x58fa80={}){const _0x9154a9={_0x43f17d:0x1d8,_0x120509:0x22a,_0x101818:0x44,_0x7092b1:0x72,_0x9cf32c:0x1da,_0x1a2fcc:0x20d,_0x6ef96f:0x6c,_0x381b0c:0xb0,_0x140f14:0x41,_0x55a2cd:0xe9,_0x4bb1ce:0x2d3,_0x8a49bd:0x288,_0x28b9eb:0xdb,_0x53af8e:0x71,_0x225ada:0xc4,_0x4673d1:0x20b,_0x3b2b80:0x213,_0x3231b4:0xe8,_0xef1f77:0xe6,_0x1b8fff:0x200,_0x96b5cb:0x106,_0x38dd59:0xd9,_0x2feee4:0x1ef,_0x32bd52:0x207,_0x2921ed:0x2bc,_0x6afd2:0x28c},_0x22df9a={_0xd9a0fb:0x92},_0x1b5209={'kxyab':function(_0x2618d0,_0x5d5b66){return _0x2618d0(_0x5d5b66);},'nOfHv':function(_0x2449d3,_0x53d51e,_0x24f9c5){return _0x2449d3(_0x53d51e,_0x24f9c5);}},_0x1dc07d=await _0x1b5209['kxyab'](readStateFile,_0x466fb8);if(!_0x1dc07d)return _0x19334f(_0x9154a9._0x43f17d,_0x9154a9._0x120509)+_0x389a9a(-_0x9154a9._0x101818,-_0x9154a9._0x7092b1)+_0x389a9a(-0x2f,-0x6c);if(_0x1dc07d[_0x19334f(_0x9154a9._0x9cf32c,_0x9154a9._0x1a2fcc)][_0x2959c6])return _0x389a9a(-_0x9154a9._0x6ef96f,-_0x9154a9._0x381b0c)+_0x2959c6+'\x20已存在,跳过注册';const _0x5b581=_0x58fa80[_0x389a9a(-0x84,-_0x9154a9._0x140f14)]??_0x389a9a(-_0x9154a9._0x55a2cd,-0xc1),_0x29c27b=_0x58fa80[_0x19334f(0x24f,0x205)]??null,_0x23c791={};_0x23c791[_0x19334f(_0x9154a9._0x4bb1ce,_0x9154a9._0x8a49bd)]=_0x2959c6,_0x23c791[_0x389a9a(-0x96,-_0x9154a9._0x28b9eb)]=_0x29c27b,_0x23c791[_0x389a9a(-0x35,-_0x9154a9._0x53af8e)]=[],_0x23c791[_0x19334f(0x279,0x29f)]=_0x5b581,_0x23c791[_0x389a9a(-0xe0,-_0x9154a9._0x225ada)+_0x19334f(0x1f5,0x22d)]='',_0x23c791[_0x19334f(0x212,_0x9154a9._0x4673d1)+'ll']='';const _0x18de16=_0x23c791;function _0x19334f(_0x112c8b,_0x3aa125){return _0x313b3d(_0x3aa125-_0x22df9a._0xd9a0fb,_0x112c8b);}const _0x387748={..._0x1dc07d['agents']};_0x387748[_0x2959c6]=_0x18de16;const _0x1b4916=_0x387748;if(_0x29c27b&&_0x1b4916[_0x29c27b]){const _0x45dfe6=_0x1b4916[_0x29c27b];if(!_0x45dfe6['childIds'][_0x19334f(0x1d2,0x226)](_0x2959c6)){const _0x275fac={..._0x45dfe6};_0x275fac[_0x389a9a(-0x20,-0x71)]=[..._0x45dfe6[_0x389a9a(-0x1e,-_0x9154a9._0x53af8e)],_0x2959c6],_0x1b4916[_0x29c27b]=_0x275fac;}}const _0x3cd192={};_0x3cd192['project']=_0x1dc07d['project'],_0x3cd192[_0x19334f(_0x9154a9._0x3b2b80,0x20d)]=_0x1b4916;function _0x389a9a(_0x1d4ae9,_0x34aef6){return _0x313b3d(_0x34aef6- -0x24e,_0x1d4ae9);}_0x3cd192['machineSna'+'pshot']=_0x1dc07d['machineSna'+_0x389a9a(-_0x9154a9._0x3231b4,-_0x9154a9._0xef1f77)],await _0x1b5209[_0x389a9a(-0x4d,-0x48)](writeStateFile,_0x466fb8,_0x3cd192);const _0x57e713=PHASE_NAMES[_0x5b581]??_0x5b581,_0x10e741=[];_0x10e741[_0x19334f(0x23f,0x207)](_0x19334f(_0x9154a9._0x1b8fff,0x222)+_0x389a9a(-0xa4,-0x53)+_0x2959c6),_0x10e741[_0x389a9a(-_0x9154a9._0x96b5cb,-_0x9154a9._0x38dd59)]('\x20\x20\x20阶段:\x20'+_0x57e713);if(_0x29c27b)_0x10e741[_0x19334f(_0x9154a9._0x2feee4,_0x9154a9._0x32bd52)]('\x20\x20\x20父\x20Agent'+':\x20'+_0x29c27b);return _0x10e741[_0x19334f(_0x9154a9._0x2921ed,_0x9154a9._0x6afd2)]('\x0a');}export async function deregisterAgent(_0x4d041b,_0x46bb08){const _0x5e93b4={_0x433183:0x4f6,_0x11d3b7:0x4d8,_0x2e50f3:0x497,_0x41be13:0x530,_0x1d6cb1:0x53d,_0x1b9ea6:0x7,_0x41a431:0x4c5,_0x1d505a:0x4b4,_0x576ff5:0x1a,_0x5e0a0f:0x41,_0x4e3b68:0x1a,_0x30d829:0x22,_0x5a8e5e:0x8,_0x5d94f0:0x4f5,_0x25e49c:0x56,_0x36732c:0x17,_0x3fa8ce:0x568,_0x157cc2:0xe,_0x30fe89:0x24,_0x348d16:0x4cd,_0x21fafe:0x4a7,_0x143913:0x54e,_0x3855dc:0x5,_0x1cf2b9:0x57,_0x5afaf5:0x2d,_0x573f3c:0x3d,_0x592d01:0x27,_0x49b398:0x11},_0x297074={'MJFxY':function(_0x3d8a74,_0x4a06d0,_0x2069c2){return _0x3d8a74(_0x4a06d0,_0x2069c2);},'dIxol':function(_0x19c974,_0xcf678c,_0x334027){return _0x19c974(_0xcf678c,_0x334027);},'tjDoO':function(_0x4d5876,_0x36cfa5){return _0x4d5876!==_0x36cfa5;},'sXcEL':_0x455eb2(_0x5e93b4._0x433183,0x51c),'VZVsq':_0x455eb2(_0x5e93b4._0x11d3b7,_0x5e93b4._0x2e50f3),'MLENl':function(_0x2e35b7,_0x5884a5,_0x43d3ce){return _0x2e35b7(_0x5884a5,_0x43d3ce);}},_0x3c68f4=await readStateFile(_0x4d041b);if(!_0x3c68f4){if(_0x297074['tjDoO'](_0x5501fc(-0x3,0x19),_0x297074[_0x455eb2(_0x5e93b4._0x41be13,0x4ee)]))return _0x297074[_0x455eb2(0x533,_0x5e93b4._0x1d6cb1)];else{const _0x31a7bc=_0x297074['MJFxY'](_0x1dc8c7,_0x21b4cf,'..');if(!_0x1b5361(_0x31a7bc)){const _0x34e12f={};_0x34e12f[_0x5501fc(_0x5e93b4._0x1b9ea6,-0x3b)]=!![],_0x297074[_0x455eb2(_0x5e93b4._0x41a431,_0x5e93b4._0x1d505a)](_0x24d72c,_0x31a7bc,_0x34e12f);}}}if(!_0x3c68f4[_0x5501fc(-_0x5e93b4._0x576ff5,-_0x5e93b4._0x5e0a0f)][_0x46bb08])return _0x455eb2(0x4de,0x488)+_0x46bb08+'\x20不存在';const _0x42082f=_0x3c68f4['agents'][_0x46bb08],_0x6cebe3={..._0x3c68f4[_0x5501fc(-_0x5e93b4._0x4e3b68,-0x59)]},_0x292abb=_0x6cebe3;function _0x5501fc(_0xb39f27,_0x4c12ae){return _0x313b3d(_0xb39f27- -0x195,_0x4c12ae);}delete _0x292abb[_0x46bb08];function _0x455eb2(_0x250c08,_0x318dfb){return _0x29b0ad(_0x250c08-0x2d1,_0x318dfb);}if(_0x42082f[_0x5501fc(-_0x5e93b4._0x30d829,-_0x5e93b4._0x5a8e5e)]&&_0x292abb[_0x42082f[_0x455eb2(0x4b3,_0x5e93b4._0x5d94f0)]]){const _0xfaf072=_0x292abb[_0x42082f[_0x5501fc(-0x22,-_0x5e93b4._0x25e49c)]];_0x292abb[_0x42082f[_0x5501fc(-0x22,_0x5e93b4._0x36732c)]]={..._0xfaf072,'childIds':_0xfaf072['childIds'][_0x455eb2(0x528,_0x5e93b4._0x3fa8ce)](_0xdfd2a2=>_0xdfd2a2!==_0x46bb08)};}const _0x59bc47=Object[_0x5501fc(-_0x5e93b4._0x157cc2,-_0x5e93b4._0x30fe89)](_0x292abb),_0x512e49=_0x59bc47['length']>0x195a+0x1*0x82+-0x19dc?computeOverallPhase(_0x292abb):_0x455eb2(_0x5e93b4._0x348d16,_0x5e93b4._0x21fafe),_0x4a9921={..._0x3c68f4['project']};_0x4a9921[_0x455eb2(_0x5e93b4._0x143913,0x595)+'se']=_0x512e49;const _0x44a3f9={};return _0x44a3f9['project']=_0x4a9921,_0x44a3f9[_0x5501fc(-0x1a,-_0x5e93b4._0x3855dc)]=_0x292abb,_0x44a3f9['machineSna'+_0x5501fc(-0x2d,-_0x5e93b4._0x3855dc)]=_0x3c68f4[_0x5501fc(_0x5e93b4._0x1cf2b9,0x4)+_0x5501fc(-_0x5e93b4._0x5afaf5,-_0x5e93b4._0x573f3c)],await _0x297074[_0x5501fc(_0x5e93b4._0x592d01,0x5f)](writeStateFile,_0x4d041b,_0x44a3f9),_0x455eb2(0x4d0,0x49b)+_0x5501fc(-_0x5e93b4._0x49b398,0x3b)+_0x46bb08;}function _0x20ca(_0x4bee31,_0x526dbd){_0x4bee31=_0x4bee31-(0x18f4+-0xc1d+0x1*-0xb8f);const _0x4fdbef=_0xdaa7();let _0x317483=_0x4fdbef[_0x4bee31];if(_0x20ca['TGybmG']===undefined){var _0x1a5817=function(_0x1400f3){const _0x53a385='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x16d02c='',_0x16594e='';for(let _0x38c3d7=-0x20ae+-0x23d2+0x4480,_0x1d9c95,_0x4be9c0,_0x1d8194=-0x3*-0x638+0x752+0x19*-0x10a;_0x4be9c0=_0x1400f3['charAt'](_0x1d8194++);~_0x4be9c0&&(_0x1d9c95=_0x38c3d7%(-0x9e2+0x12*-0xb9+0x2dd*0x8)?_0x1d9c95*(0x1e8b+-0x1d6a+-0x9*0x19)+_0x4be9c0:_0x4be9c0,_0x38c3d7++%(0x1e26+0x9fc+-0x281e))?_0x16d02c+=String['fromCharCode'](-0x2262+-0x1*-0x136e+0xff3&_0x1d9c95>>(-(0xea0+-0x1cf0+0xe52)*_0x38c3d7&0x1445*0x1+-0x3a+-0x1405)):0x10*-0x17c+0x121f+0x83*0xb){_0x4be9c0=_0x53a385['indexOf'](_0x4be9c0);}for(let _0x548c91=-0x675+0xdcd+-0x758,_0x48bd6d=_0x16d02c['length'];_0x548c91<_0x48bd6d;_0x548c91++){_0x16594e+='%'+('00'+_0x16d02c['charCodeAt'](_0x548c91)['toString'](0x2292+0x1*-0x8b3+-0x19cf))['slice'](-(-0xed6+0x7*0x1d3+0x213));}return decodeURIComponent(_0x16594e);};_0x20ca['EIIntP']=_0x1a5817,_0x20ca['nFbzPu']={},_0x20ca['TGybmG']=!![];}const _0x433723=_0x4fdbef[0xdeb*0x1+0x463*0x6+0x283d*-0x1],_0x41f0dc=_0x4bee31+_0x433723,_0x5a655d=_0x20ca['nFbzPu'][_0x41f0dc];return!_0x5a655d?(_0x317483=_0x20ca['EIIntP'](_0x317483),_0x20ca['nFbzPu'][_0x41f0dc]=_0x317483):_0x317483=_0x5a655d,_0x317483;}export async function showProgress(_0x1c7138){const _0x2a2eef={_0x3f426f:0x15f,_0x2dd038:0x1a3,_0x36162e:0x159,_0x211cec:0x1e5,_0x10b44e:0x24d,_0x2bda3d:0x184,_0x438b09:0x174,_0xd81ee1:0x149,_0x4e1e1a:0x18c,_0x5be91d:0x245,_0x132752:0x28d,_0x396d47:0x203,_0x41d844:0x215,_0x4be18d:0x1d7,_0x4ba7b5:0x23b,_0x120f47:0x17e,_0x2072bc:0x1ca,_0x29366f:0x1f9,_0x2af364:0x1be,_0xace7ea:0x18e,_0x5b0f46:0x170,_0x115156:0x216,_0x4c8c8f:0x1fc,_0x23a99c:0x13c,_0x4d2b26:0x12d,_0x13ec64:0x289,_0x158ce0:0x2aa,_0x3beaea:0x1c6,_0x49b951:0x23d,_0x1c54df:0xf8,_0x2d0b6f:0x14d,_0x41007a:0x185,_0x4b5ecb:0x2a4,_0x23ab8e:0x17b,_0x5d8352:0x1ce,_0x1ffe89:0x1e1,_0x1dc5d3:0x1eb,_0x51dc02:0x278,_0x5bec:0x25f,_0x2905b3:0x1e4,_0x1252c1:0x25f,_0xff1696:0x271,_0x4f58c5:0x212,_0x5ca6f9:0x21f,_0x15278f:0x1de,_0x1be6d3:0x183,_0x1b1a83:0x1cf,_0x48277f:0x12e,_0x10b056:0x1c6,_0x5191f5:0x1f1,_0x1bee5d:0x25e,_0x272ef9:0x12c,_0x24d2f3:0x284,_0x5817e6:0x114,_0x2cd7dc:0x298,_0x1d32af:0x25a},_0x3361da={};_0x3361da['uQKDm']='⚠️\x20\x20状态文件不存在'+_0x1704cb(-0x160,-_0x2a2eef._0x3f426f)+_0x1704cb(-_0x2a2eef._0x2dd038,-_0x2a2eef._0x36162e),_0x3361da[_0x5c9810(_0x2a2eef._0x211cec,0x21f)]=function(_0x2541cc,_0x6a81bd){return _0x2541cc*_0x6a81bd;},_0x3361da['lsBua']=function(_0x298277,_0x5d93ef){return _0x298277/_0x5d93ef;},_0x3361da[_0x5c9810(0x28d,_0x2a2eef._0x10b44e)]=_0x1704cb(-_0x2a2eef._0x2bda3d,-0x1ad),_0x3361da[_0x1704cb(-0x1f2,-0x1ce)]=function(_0x43ce7b,_0x8b907d){return _0x43ce7b+_0x8b907d;},_0x3361da[_0x1704cb(-_0x2a2eef._0x438b09,-_0x2a2eef._0xd81ee1)]=function(_0x1d1410,_0x32cd4d){return _0x1d1410>_0x32cd4d;},_0x3361da['vEQkN']=_0x1704cb(-_0x2a2eef._0x4e1e1a,-0x151)+_0x5c9810(_0x2a2eef._0x5be91d,0x202),_0x3361da['Acaxs']=function(_0x5d15e2,_0x2b0d24){return _0x5d15e2+_0x2b0d24;};function _0x5c9810(_0x169337,_0x42ce6a){return _0x313b3d(_0x42ce6a-0x7f,_0x169337);}_0x3361da[_0x5c9810(_0x2a2eef._0x132752,0x276)]='\x20\x20\x20';const _0x1564fa=_0x3361da,_0x25073b=await readStateFile(_0x1c7138);if(!_0x25073b)return _0x1564fa[_0x5c9810(_0x2a2eef._0x396d47,_0x2a2eef._0x41d844)];const _0x3fb0bb=_0x25073b[_0x1704cb(-0x1fc,-0x1c0)],_0x2a3e94=Object['keys'](_0x3fb0bb),_0xa127ad=_0x2a3e94[_0x5c9810(_0x2a2eef._0x4be18d,0x1fe)],_0xae201=_0x2a3e94['filter'](_0x3c46e6=>_0x3fb0bb[_0x3c46e6][_0x5c9810(0x277,0x28c)]===_0x5c9810(0x1d7,0x20a))['length'],_0x57805f=_0xa127ad>0x1ac7+-0x22b7+0x7f0?Math['round'](_0x1564fa['WFuyE'](_0x1564fa[_0x1704cb(-0x180,-0x142)](_0xae201,_0xa127ad),-0x182d+0x2f6*0xc+0x7*-0x191)):0x1e08+0x1cce+-0x3ad6,_0x23f3cf={};for(const _0x779662 of _0x2a3e94){const _0x1ed75e=_0x3fb0bb[_0x779662][_0x5c9810(0x23c,0x28c)];_0x23f3cf[_0x1ed75e]=(_0x23f3cf[_0x1ed75e]??0x1c42+0x21a+-0x1e5c)+(-0x1f75+0x11*-0x19f+0x3b05);}const _0x1b7ec1=[];_0x1b7ec1[_0x5c9810(_0x2a2eef._0x4ba7b5,0x1f4)](_0x1704cb(-_0x2a2eef._0x120f47,-_0x2a2eef._0x2072bc)+_0x25073b[_0x1704cb(-_0x2a2eef._0x29366f,-_0x2a2eef._0x2af364)]['name']),_0x1b7ec1['push'](_0x1704cb(-_0x2a2eef._0xace7ea,-0x17e)+(PHASE_NAMES[_0x25073b[_0x1704cb(-_0x2a2eef._0x5b0f46,-0x1be)][_0x5c9810(0x2cd,_0x2a2eef._0x132752)+'se']]??_0x25073b[_0x5c9810(_0x2a2eef._0x115156,_0x2a2eef._0x4c8c8f)][_0x1704cb(-_0x2a2eef._0x23a99c,-_0x2a2eef._0x4d2b26)+'se'])),_0x1b7ec1['push'](_0x5c9810(0x2b5,_0x2a2eef._0x13ec64)+_0x25073b[_0x5c9810(_0x2a2eef._0x158ce0,0x27e)]),_0x1b7ec1[_0x1704cb(-0x201,-_0x2a2eef._0x3beaea)](_0x5c9810(0x1fb,0x243)+_0x25073b[_0x5c9810(0x1f3,0x1ea)]),_0x1b7ec1[_0x5c9810(_0x2a2eef._0x49b951,0x1f4)](_0x1704cb(-_0x2a2eef._0x1c54df,-_0x2a2eef._0x2d0b6f)+_0x57805f+_0x1704cb(-0x164,-0x191)+_0xae201+'/'+_0xa127ad+'\x20Agent)'),_0x1b7ec1[_0x1704cb(-_0x2a2eef._0x41007a,-0x1c6)](''),_0x1b7ec1[_0x1704cb(-0x197,-0x1c6)](_0x1564fa[_0x5c9810(_0x2a2eef._0x4b5ecb,0x24d)]);for(const [_0x29aff5,_0xe368ed]of Object[_0x5c9810(0x210,0x1ed)](_0x23f3cf)){const _0x5b2544=PHASE_NAMES[_0x29aff5]??_0x29aff5,_0xc47242=_0x1564fa[_0x1704cb(-_0x2a2eef._0x23ab8e,-_0x2a2eef._0x5d8352)]('█'['repeat'](_0xe368ed),'░'[_0x5c9810(_0x2a2eef._0x1ffe89,_0x2a2eef._0x1dc5d3)](Math[_0x5c9810(_0x2a2eef._0x51dc02,_0x2a2eef._0x5bec)](0x1eb8+0x11e*0xb+0x89a*-0x5,_0xa127ad-_0xe368ed)));_0x1b7ec1['push'](_0x5c9810(0x1f6,_0x2a2eef._0x2905b3)+_0x5b2544['padEnd'](0x8*0x365+-0x5*-0x692+-0x9fe*0x6)+'\x20'+_0xc47242+'\x20'+_0xe368ed);}function _0x1704cb(_0x58b27a,_0xc1c272){return _0x313b3d(_0xc1c272- -0x33b,_0x58b27a);}_0x1b7ec1['push']('');if(_0x1564fa[_0x5c9810(_0x2a2eef._0x1252c1,_0x2a2eef._0xff1696)](_0x2a3e94['length'],-0x1e2+-0x4*0x99+0x446)){_0x1b7ec1['push'](_0x1564fa[_0x1704cb(-0x123,-0x138)]),_0x1b7ec1['push']('\x20\x20\x20Agent\x20I'+_0x5c9810(_0x2a2eef._0x4f58c5,0x24f)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x5c9810(_0x2a2eef._0x5ca6f9,0x24a)+_0x1704cb(-_0x2a2eef._0x15278f,-0x19e)+_0x1704cb(-_0x2a2eef._0x1be6d3,-0x18b)+'工具'),_0x1b7ec1['push'](_0x1564fa['Acaxs'](_0x1564fa['PyHUi'],'-'[_0x1704cb(-0x1b5,-_0x2a2eef._0x1b1a83)](-0x22b8+0xb75*0x1+-0x1793*-0x1)));for(const _0x18348e of _0x2a3e94){const _0x3ef3b5=_0x3fb0bb[_0x18348e],_0x3b0a65=PHASE_NAMES[_0x3ef3b5[_0x1704cb(-0x17e,-_0x2a2eef._0x48277f)]]??_0x3ef3b5['phase'],_0x143b42=_0x3ef3b5[_0x1704cb(-0x1b7,-0x1b1)+_0x5c9810(_0x2a2eef._0x10b056,0x21a)]||'-',_0xcae6ef=_0x3ef3b5[_0x5c9810(0x212,0x1f8)+'ll']||'-';_0x1b7ec1[_0x1704cb(-_0x2a2eef._0x5191f5,-0x1c6)](_0x5c9810(_0x2a2eef._0x1bee5d,0x246)+_0x18348e['padEnd'](0x1*0x1beb+0x126c+-0x67*0x73)+_0x1704cb(-_0x2a2eef._0x272ef9,-0x160)+_0x3b0a65[_0x5c9810(0x285,_0x2a2eef._0x24d2f3)](0x19a3*-0x1+0xe1*-0x29+0x3dba)+_0x5c9810(0x2a8,0x25a)+_0x143b42[_0x1704cb(-_0x2a2eef._0x5817e6,-0x136)](-0x2*-0x675+-0x18d9+0xc04)+_0x5c9810(_0x2a2eef._0x2cd7dc,_0x2a2eef._0x1d32af)+_0xcae6ef);}}return _0x1b7ec1[_0x5c9810(0x22d,0x279)]('\x0a');}export async function quickTask(_0x2887d8,_0x582b58){const _0x29f509={_0x5f2b92:0x35d,_0x16fbfe:0x180,_0x1e2f81:0x384,_0x235abf:0x30d,_0x2ec813:0x35c,_0x4552cd:0x37a,_0x28025a:0x145,_0x8e3d96:0xd0,_0x48328c:0x2f8,_0x28477b:0x312,_0x536700:0x325,_0x313e16:0x360,_0x4bcc87:0x117,_0x11c381:0x29b,_0xaf1c2d:0x303,_0x5d1e3d:0x97,_0xdb0288:0xd8,_0x19fe1c:0x2d5,_0x201c9e:0x2e6,_0x1afad9:0xfc,_0x18570f:0xe4,_0x4468b6:0x2e5,_0x279f62:0x30b,_0x321a64:0x350,_0x32c806:0x10f,_0x5a27e2:0x11c,_0x51c30f:0x16e,_0x2ac37f:0x15d,_0x38bf69:0x18c},_0x4110b7={_0x489b32:0x9d};function _0x521616(_0x1ee75d,_0x8ff682){return _0x313b3d(_0x8ff682-0x171,_0x1ee75d);}const _0x317500={'lbcgv':function(_0x4e5704,_0xb568e5){return _0x4e5704(_0xb568e5);},'zgviD':function(_0x4bfc9f,_0x403d03,_0x35759d){return _0x4bfc9f(_0x403d03,_0x35759d);},'YHTTl':function(_0x571b5f,_0x443872){return _0x571b5f===_0x443872;},'clFzO':_0x2cae22(0x150,0x10f)},_0x29ef31=await _0x317500[_0x521616(_0x29f509._0x5f2b92,0x348)](readStateFile,_0x2887d8);if(!_0x29ef31){const _0x5ed9d8=_0x317500['zgviD'](resolve,_0x2887d8,'..');if(!existsSync(_0x5ed9d8)){if(_0x317500[_0x2cae22(0x12f,_0x29f509._0x16fbfe)](_0x2cae22(0x173,0x199),_0x521616(_0x29f509._0x1e2f81,0x381))){const _0x5e325b={};_0x5e325b[_0x521616(0x2f9,_0x29f509._0x235abf)]=!![],_0x317500['zgviD'](mkdirSync,_0x5ed9d8,_0x5e325b);}else return _0x521616(_0x29f509._0x2ec813,0x30f)+_0x5dd90a+_0x521616(0x34d,_0x29f509._0x4552cd);}}const _0x37cdaa=_0x29ef31?.[_0x521616(0x2b5,0x2ee)][_0x2cae22(0x152,_0x29f509._0x28025a)]??_0x521616(0x2c9,0x31a),_0x5b1dce=_0x29ef31?Object[_0x521616(0x2bc,0x2f8)](_0x29ef31['agents'])[0x2375+-0x1bad+0x2*-0x3e4]??generateAgentId():generateAgentId(),_0x429b96={'agentId':_0x5b1dce,'parentId':null,'childIds':[],'phase':_0x2cae22(0x118,_0x29f509._0x8e3d96),'currentOperation':_0x582b58[_0x521616(_0x29f509._0x48328c,_0x29f509._0x28477b)](-0x2446*0x1+0x1f73*-0x1+0x43b9,0x1da3+-0x28e+0x1ab1*-0x1),'currentSkill':_0x317500[_0x521616(0x302,_0x29f509._0x536700)]},_0x5c771e={};_0x5c771e[_0x521616(0x35a,_0x29f509._0x313e16)]=_0x37cdaa,_0x5c771e[_0x521616(0x3d3,0x37f)+'se']=_0x317500[_0x2cae22(_0x29f509._0x4bcc87,0x10d)];function _0x2cae22(_0x299732,_0x10b97d){return _0x313b3d(_0x299732- -_0x4110b7._0x489b32,_0x10b97d);}const _0x5daaab={};_0x5daaab[_0x5b1dce]=_0x429b96;const _0x14d56a={};_0x14d56a[_0x521616(_0x29f509._0x11c381,0x2ee)]=_0x5c771e,_0x14d56a[_0x521616(_0x29f509._0xaf1c2d,0x2ec)]=_0x5daaab,_0x14d56a['machineSna'+_0x2cae22(0xcb,_0x29f509._0x5d1e3d)]=null,await writeStateFile(_0x2887d8,_0x14d56a);const _0x26c55f=[];return _0x26c55f[_0x2cae22(_0x29f509._0xdb0288,0x8b)]('⚡\x20快速任务模式'),_0x26c55f[_0x521616(_0x29f509._0x19fe1c,_0x29f509._0x201c9e)](_0x2cae22(_0x29f509._0x1afad9,0x119)+_0x37cdaa),_0x26c55f[_0x2cae22(0xd8,_0x29f509._0x18570f)](_0x521616(_0x29f509._0x4468b6,_0x29f509._0x279f62)+_0x582b58),_0x26c55f['push'](_0x521616(_0x29f509._0x321a64,0x31f)+_0x5b1dce),_0x26c55f[_0x521616(0x30e,_0x29f509._0x201c9e)](_0x2cae22(_0x29f509._0x32c806,0xeb)+_0x2cae22(0x163,_0x29f509._0x5a27e2)+_0x2cae22(_0x29f509._0x51c30f,0x1c1)),_0x26c55f[_0x2cae22(_0x29f509._0x2ac37f,_0x29f509._0x38bf69)]('\x0a');}
|
package/dist/plugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x404b43,_0x57e1e3){const _0x5a123a={_0x560e46:0xd3,_0x1e28b3:0x14d,_0x1578b4:0x143,_0x40f8f7:0xfe,_0x3e7e9a:0x122,_0x33c800:0x36d,_0x520ae6:0x3b9,_0x2b9e46:0x3c4,_0x390dcf:0x3bd},_0x340ab0={_0x112307:0x262};function _0x13bf5f(_0x4f15a5,_0x78e86b){return _0x2cf3(_0x4f15a5-_0x340ab0._0x112307,_0x78e86b);}function _0x528051(_0x7809e,_0x430bf6){return _0x2cf3(_0x7809e- -0x23a,_0x430bf6);}const _0x482590=_0x404b43();while(!![]){try{const _0xece890=-parseInt(_0x13bf5f(0x3a7,0x3da))/(0x1af0+0x20b7+0x9f1*-0x6)+parseInt(_0x528051(-0x110,-_0x5a123a._0x560e46))/(-0x22e3+-0x214e+0x4433)+-parseInt(_0x528051(-0x12c,-0x124))/(0x3b5+0x923+-0xcd5)*(-parseInt(_0x528051(-_0x5a123a._0x1e28b3,-_0x5a123a._0x1578b4))/(0x14fe+0x745*0x1+0x409*-0x7))+-parseInt(_0x528051(-0x114,-_0x5a123a._0x40f8f7))/(-0x936+0x17+0x924)+-parseInt(_0x13bf5f(0x3a4,0x370))/(-0x1*-0x1ca3+-0x1d41+-0x2*-0x52)+-parseInt(_0x528051(-0x136,-_0x5a123a._0x3e7e9a))/(0x4f*-0x49+-0x5b9*-0x1+0x10d5)*(-parseInt(_0x13bf5f(_0x5a123a._0x33c800,0x386))/(0x15f0+0x7*-0x61+-0x1341))+-parseInt(_0x13bf5f(0x3b8,_0x5a123a._0x520ae6))/(0x9fa*0x2+0x2c*0xc7+-0x361f*0x1)*(-parseInt(_0x13bf5f(_0x5a123a._0x2b9e46,_0x5a123a._0x390dcf))/(-0x1c02+0x219a+-0x2*0x2c7));if(_0xece890===_0x57e1e3)break;else _0x482590['push'](_0x482590['shift']());}catch(_0x1d19ac){_0x482590['push'](_0x482590['shift']());}}}(_0x93ba,-0x9ee6f+-0x26344*0x3+0x19eb25));import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x2f4809 from'./plugin-engine.js';function getStateFilePath(_0x24eddf){const _0x26ba64={_0x276fa6:0x3d4,_0xafa0ac:0x3b3},_0x57384d={_0x3e49fd:0x28e},_0x1e3da7={_0x5764ae:0x30a},_0x44f447={'RmZzr':function(_0x160239,_0x507ac0,_0x725298,_0x1f0a2e){return _0x160239(_0x507ac0,_0x725298,_0x1f0a2e);}};function _0x478532(_0x16a92d,_0x581725){return _0x2cf3(_0x16a92d-_0x1e3da7._0x5764ae,_0x581725);}function _0x9eb73d(_0x330075,_0x2b9e06){return _0x2cf3(_0x2b9e06-_0x57384d._0x3e49fd,_0x330075);}return _0x44f447[_0x9eb73d(0x3df,_0x26ba64._0x276fa6)](resolve,_0x24eddf,'.specops',_0x9eb73d(_0x26ba64._0xafa0ac,0x3be));}function createStatusTool(_0x24f803){const _0x429b96={_0x1d99ed:0x46,_0x3db4cd:0x10,_0xc02014:0x34,_0x2f89e0:0xc,_0x15fc3b:0x42},_0x40defb={_0x3705c3:0x16b,_0x4d04ce:0x18a,_0x31f804:0x1ba,_0x5b9434:0x4ff,_0x233d4e:0x522,_0x62b2bf:0x151,_0x46ab8f:0x527,_0x5d6028:0x15c,_0x436a07:0x50b,_0x5b9eb0:0x4fc,_0x4f7467:0x156,_0x315115:0x4e9},_0x11c480={_0xb82dae:0x17a},_0x12e074={_0x4d5498:0x204,_0x5a13d1:0x1ee},_0x2d9852={_0x4f3143:0x82,_0x58bdba:0x4b},_0x49fb56={'zQBQf':function(_0x68f88a,_0xa4c54c){return _0x68f88a(_0xa4c54c);},'rVDQb':function(_0x2ff0c2,_0x5051e8){return _0x2ff0c2===_0x5051e8;},'KMSlb':function(_0x5d0720,_0x5eb748){return _0x5d0720===_0x5eb748;},'bivUB':_0x292b26(_0x429b96._0x1d99ed,0x14)},_0x28fc05=getStateFilePath(_0x24f803);function _0x52659c(_0x2d54f4,_0x220990){return _0x2cf3(_0x220990- -0x33a,_0x2d54f4);}function _0x292b26(_0x4b150a,_0x4bbba1){return _0x2cf3(_0x4bbba1- -0x135,_0x4b150a);}return _0x49fb56[_0x292b26(-_0x429b96._0x3db4cd,_0x429b96._0xc02014)](tool,{'description':_0x292b26(0x2,-0x1d)+'\x20项目当前状态。\x0a显'+'示项目名称、当前阶段'+_0x292b26(-_0x429b96._0x2f89e0,0x0)+_0x292b26(-0x4a,-_0x429b96._0x15fc3b),'args':{},async 'execute'(){const _0x5a5c26={_0x36bf47:0x70a};function _0x2b2229(_0x18622a,_0x2a9ef4){return _0x52659c(_0x2a9ef4,_0x18622a-_0x5a5c26._0x36bf47);}const _0x4e176d={'SCjiq':function(_0x572f7c,_0x53e153){function _0x29a3e3(_0x12a4fb,_0x94a6f){return _0x2cf3(_0x12a4fb- -0xe7,_0x94a6f);}return _0x49fb56[_0x29a3e3(_0x2d9852._0x4f3143,_0x2d9852._0x58bdba)](_0x572f7c,_0x53e153);},'zosjs':function(_0x3dbd42,_0x43a093){function _0x12cbfa(_0x2ea5f1,_0x457e11){return _0x2cf3(_0x2ea5f1-0x9b,_0x457e11);}return _0x49fb56[_0x12cbfa(_0x12e074._0x4d5498,_0x12e074._0x5a13d1)](_0x3dbd42,_0x43a093);}};function _0x50cea5(_0x34c538,_0x404689){return _0x292b26(_0x34c538,_0x404689- -_0x11c480._0xb82dae);}try{if(_0x49fb56[_0x50cea5(-0x153,-_0x40defb._0x3705c3)]('MWgRX',_0x50cea5(-_0x40defb._0x4d04ce,-_0x40defb._0x31f804)))return await _0x2f4809[_0x2b2229(_0x40defb._0x5b9434,_0x40defb._0x233d4e)](_0x28fc05);else{const _0xc72bf=_0x173319[_0x50cea5(-_0x40defb._0x62b2bf,-0x144)];return{'name':_0x2b2229(0x525,0x53a),'tool':{'specops_status':_0x4e176d[_0x2b2229(0x51e,0x4f5)](_0x40e131,_0xc72bf),'specops_advance':_0x6c1290(_0xc72bf),'specops_new_project':_0x4e176d[_0x50cea5(-0x180,-0x15d)](_0x212c6e,_0xc72bf),'specops_update_operation':_0x207a2d(_0xc72bf),'specops_register_agent':_0x4e176d[_0x2b2229(0x51e,_0x40defb._0x46ab8f)](_0x113690,_0xc72bf),'specops_deregister_agent':_0x443e4b(_0xc72bf),'specops_progress':_0x25096d(_0xc72bf),'specops_quick':_0x3d6684(_0xc72bf)},'event':async _0xeef492=>{}};}}catch(_0x1f6c99){return _0x49fb56[_0x50cea5(-0x18d,-_0x40defb._0x5d6028)](_0x2b2229(0x519,0x50e),_0x49fb56[_0x2b2229(_0x40defb._0x436a07,_0x40defb._0x5b9eb0)])?_0x50cea5(-_0x40defb._0x4f7467,-0x173)+(_0x1f6c99 instanceof Error?_0x1f6c99[_0x2b2229(_0x40defb._0x315115,0x500)]:String(_0x1f6c99)):'❌\x20获取状态失败:\x20'+(_0x379bb5 instanceof _0x4e8063?_0x3c2c14[_0x2b2229(0x4e9,0x4e5)]:_0x5bd5f1(_0x231fa6));}}});}function createAdvanceTool(_0x265b2e){const _0x281b8d={_0x4df9d7:0x3b,_0x4bb31a:0xa2,_0x4846cb:0x77,_0x45ecce:0xa7,_0x1b9ae4:0x92,_0x327ab8:0x26,_0x1ed490:0x81,_0x5c2991:0x62,_0x347b87:0x51,_0x5d6200:0x21,_0x126e03:0x8e,_0x5066cf:0xc4,_0x52301a:0x104},_0x48540c={_0xd39e53:0x183,_0x563fef:0x27e,_0x5e9405:0x22e,_0x3bd44b:0x1ac,_0x5a042b:0x209,_0x322531:0x243,_0x4bcdb3:0x1f3,_0x58b27a:0x1fd,_0x4e1079:0x187,_0x50b92b:0x1cb,_0x16f57e:0x1c0},_0x314862={'ENuAS':function(_0x52b9d2,_0xcb22ee){return _0x52b9d2 instanceof _0xcb22ee;},'fEBYP':_0xf7efc(0xaf,0xa6),'cCWdH':_0x105681(-0xc8,-0x88),'jbqga':function(_0x194d65,_0x288343){return _0x194d65===_0x288343;},'JSJQr':'AXOsR','yCViG':function(_0x1fe19d,_0x2904b1){return _0x1fe19d(_0x2904b1);}};function _0xf7efc(_0x37de49,_0x4844d3){return _0x2cf3(_0x37de49- -0x9b,_0x4844d3);}const _0x3cb195=getStateFilePath(_0x265b2e);function _0x105681(_0x44155d,_0x494460){return _0x2cf3(_0x494460- -0x19f,_0x44155d);}return _0x314862['yCViG'](tool,{'description':_0x105681(-0x40,-_0x281b8d._0x4df9d7)+'\x20阶段。将指定\x20Ag'+_0xf7efc(0x6b,0xab)+_0xf7efc(_0x281b8d._0x4bb31a,_0x281b8d._0x4846cb)+_0xf7efc(0x6c,0x35)+_0x105681(-_0x281b8d._0x45ecce,-_0x281b8d._0x1b9ae4)+'规划\x20→\x20执行\x20→\x20'+_0x105681(-_0x281b8d._0x327ab8,-0x39)+_0x105681(-_0x281b8d._0x1ed490,-0x46),'args':{'agent_id':tool[_0x105681(-_0x281b8d._0x5c2991,-0xa5)]['string']()[_0x105681(-0xb7,-0xa7)]()[_0xf7efc(_0x281b8d._0x347b87,_0x281b8d._0x5d6200)](_0x105681(-0x5b,-_0x281b8d._0x126e03)+_0xf7efc(_0x281b8d._0x5066cf,_0x281b8d._0x52301a)+_0xf7efc(0xca,0xb7))},async 'execute'(_0xd79dad){function _0x533264(_0x50a722,_0x28a3b0){return _0xf7efc(_0x28a3b0- -0x25b,_0x50a722);}const _0x3a54e3={'qJWvf':function(_0x1d6f4b,_0x40a72f){return _0x1d6f4b(_0x40a72f);}};function _0x5220bb(_0x308979,_0x58da36){return _0xf7efc(_0x308979-0x1ab,_0x58da36);}if(_0x314862[_0x5220bb(0x20e,0x225)]===_0x314862['cCWdH'])return _0x533264(-0x177,-_0x48540c._0xd39e53)+(_0x314862[_0x5220bb(_0x48540c._0x563fef,0x2aa)](_0x4750c3,_0x366268)?_0x154a4e[_0x5220bb(0x229,_0x48540c._0x5e9405)]:_0x4f3b65(_0x171c09));else try{return _0x314862[_0x533264(-_0x48540c._0x3bd44b,-0x1e4)](_0x314862[_0x5220bb(_0x48540c._0x5a042b,_0x48540c._0x322531)],_0x314862[_0x533264(-_0x48540c._0x4bcdb3,-_0x48540c._0x58b27a)])?await _0x2f4809[_0x533264(-0x162,-_0x48540c._0x4e1079)+'se'](_0x3cb195,_0xd79dad['agent_id']):_0x533264(-_0x48540c._0x50b92b,-_0x48540c._0x16f57e)+(_0x53e058 instanceof _0x195386?_0x4fe784[_0x533264(-0x1b2,-0x1dd)]:_0x3a54e3[_0x5220bb(0x282,0x2b7)](_0x26767a,_0x5aa95f));}catch(_0x52678e){return _0x5220bb(0x26c,0x29d)+(_0x52678e instanceof Error?_0x52678e[_0x533264(-0x19b,-0x1dd)]:String(_0x52678e));}}});}function createNewProjectTool(_0x417ea6){const _0x14e761={_0x1931e9:0xe0,_0x35f042:0x168,_0x57703f:0x17f,_0x5ba4b0:0x1c0,_0x4c63ba:0x184,_0x29d927:0x131,_0x48fecb:0x63,_0x599b51:0x66,_0x35e464:0x144},_0x57863e={_0x5e826f:0x94,_0x3712f6:0xa1,_0x310d70:0x65,_0x2527c5:0x2d0,_0x72d6:0x2b,_0x4c65f2:0x6,_0x1a3108:0x2aa,_0x293354:0x29c,_0xd9f4b7:0x279,_0x425a98:0x4b,_0xf23ee4:0x70},_0x383550={_0x4b0856:0x42},_0x48dd82={_0x14ab21:0x41},_0x37ed6a={_0x110360:0x94};function _0x2f0ba0(_0x58895a,_0x1d52c0){return _0x2cf3(_0x1d52c0- -_0x37ed6a._0x110360,_0x58895a);}function _0x38a7c6(_0xe943ce,_0x1c0a3b){return _0x2cf3(_0x1c0a3b-_0x48dd82._0x14ab21,_0xe943ce);}const _0x3f1fae={'hnFYd':function(_0x41211e,_0x52d2e3){return _0x41211e instanceof _0x52d2e3;},'PgZYk':_0x2f0ba0(_0x14e761._0x1931e9,0xbc),'MCUmU':function(_0x1a26f4,_0x4653b6){return _0x1a26f4(_0x4653b6);},'oUnGh':function(_0x5993ea,_0x317768){return _0x5993ea(_0x317768);}},_0x1e456c=_0x3f1fae[_0x38a7c6(0x1c9,0x190)](getStateFilePath,_0x417ea6);return _0x3f1fae[_0x2f0ba0(0xab,0x68)](tool,{'description':_0x38a7c6(_0x14e761._0x35f042,_0x14e761._0x57703f)+_0x38a7c6(_0x14e761._0x5ba4b0,_0x14e761._0x4c63ba)+_0x38a7c6(0x149,0x138)+_0x38a7c6(0xeb,_0x14e761._0x29d927)+'创建初始\x20Agent'+'。','args':{'project_name':tool[_0x2f0ba0(_0x14e761._0x48fecb,_0x14e761._0x599b51)][_0x38a7c6(0x125,_0x14e761._0x35e464)]()['describe'](_0x38a7c6(0x1ed,0x1a9))},async 'execute'(_0x34f8cc){const _0xddaed6={_0x192641:0x160};function _0x41a928(_0x88f68c,_0x46cc00){return _0x38a7c6(_0x88f68c,_0x46cc00-_0xddaed6._0x192641);}function _0x6d3bfa(_0xc34db9,_0x2be2f0){return _0x2f0ba0(_0x2be2f0,_0xc34db9- -_0x383550._0x4b0856);}const _0x44d3f2={'KtEgl':function(_0x2797cc,_0x48ba48){function _0x406935(_0x33fec3,_0x526954){return _0x2cf3(_0x526954-0x3c0,_0x33fec3);}return _0x3f1fae[_0x406935(0x49a,0x4b1)](_0x2797cc,_0x48ba48);},'dlcOE':function(_0x4154c6,_0x394143){return _0x4154c6(_0x394143);}};try{return _0x3f1fae[_0x6d3bfa(_0x57863e._0x5e826f,_0x57863e._0x3712f6)]!==_0x3f1fae[_0x6d3bfa(0x94,_0x57863e._0x310d70)]?_0x41a928(0x2f4,0x2fd)+(_0x44d3f2[_0x41a928(_0x57863e._0x2527c5,0x2e1)](_0x4b974e,_0x11c7ac)?_0xcb4539[_0x6d3bfa(0x43,0x43)]:_0x44d3f2[_0x6d3bfa(_0x57863e._0x72d6,_0x57863e._0x4c65f2)](_0x5eab71,_0x347f66)):await _0x2f4809[_0x41a928(_0x57863e._0x1a3108,_0x57863e._0x293354)](_0x1e456c,_0x34f8cc[_0x41a928(_0x57863e._0xd9f4b7,0x2b7)+'me']);}catch(_0x1412f2){return _0x6d3bfa(_0x57863e._0x425a98,_0x57863e._0xf23ee4)+(_0x1412f2 instanceof Error?_0x1412f2['message']:_0x3f1fae['MCUmU'](String,_0x1412f2));}}});}function createUpdateOperationTool(_0xac1ae8){const _0x2b0e16={_0x10fdbe:0x4e1,_0xfe50e2:0x208,_0x56724f:0x242,_0x3ab4c3:0x53b,_0x46a976:0x529,_0x43d734:0x4d8,_0x9cf3bb:0x263,_0x2593ef:0x255,_0x396724:0x221,_0x47185d:0x4c1,_0x2a3c4c:0x508,_0x1c68e4:0x532},_0x20945b={_0x19d21b:0x9d,_0x172d65:0xb5,_0x3bc25a:0xa0,_0x595b2b:0x4c1,_0x34abf2:0x4b8,_0x494884:0xe6,_0x1337f8:0xef,_0x2d5594:0x512,_0x40c35d:0x4d5,_0x249da6:0xd6,_0x56f915:0x50c},_0xfcb5ea={_0x169f5f:0x3d5};function _0x1ab3ad(_0x1734ce,_0x2d5f90){return _0x2cf3(_0x2d5f90- -0x34f,_0x1734ce);}const _0x4234cb={'ADAjU':function(_0x28a8cd,_0x20a15c){return _0x28a8cd(_0x20a15c);},'vnNgl':function(_0x3d6b90,_0x496e8d){return _0x3d6b90!==_0x496e8d;},'VmrWx':_0x3edd3b(0x51d,_0x2b0e16._0x10fdbe),'CyDkT':function(_0x50389d,_0xed5ae){return _0x50389d instanceof _0xed5ae;},'GmAjw':function(_0x4e83fa,_0x5cdc0e){return _0x4e83fa(_0x5cdc0e);}};function _0x3edd3b(_0x8debd6,_0x15aeb7){return _0x2cf3(_0x15aeb7-_0xfcb5ea._0x169f5f,_0x8debd6);}const _0x408c33=_0x4234cb[_0x1ab3ad(-0x236,-0x208)](getStateFilePath,_0xac1ae8);return _0x4234cb[_0x1ab3ad(-0x1ce,-_0x2b0e16._0xfe50e2)](tool,{'description':'更新指定\x20Agent'+_0x1ab3ad(-0x236,-0x22d)+_0x1ab3ad(-_0x2b0e16._0x56724f,-0x204)+_0x3edd3b(_0x2b0e16._0x3ab4c3,_0x2b0e16._0x46a976)+_0x3edd3b(0x49e,0x4d5),'args':{'agent_id':tool[_0x1ab3ad(-0x21b,-0x255)][_0x3edd3b(0x503,_0x2b0e16._0x43d734)]()[_0x1ab3ad(-0x28b,-_0x2b0e16._0x9cf3bb)]('Agent\x20ID'),'operation':tool[_0x1ab3ad(-0x286,-_0x2b0e16._0x2593ef)][_0x1ab3ad(-_0x2b0e16._0x396724,-0x24c)]()[_0x3edd3b(0x4eb,_0x2b0e16._0x47185d)]('当前操作描述(如\x22分'+'析需求文档\x22)'),'skill':tool['schema'][_0x3edd3b(0x4d3,0x4d8)]()[_0x1ab3ad(-0x253,-0x263)]('当前使用的工具/技能'+'名称(如\x22explo'+_0x3edd3b(_0x2b0e16._0x2a3c4c,_0x2b0e16._0x1c68e4))},async 'execute'(_0x586c59){const _0x219d33={_0x2114f4:0x5b6},_0x1b75cd={_0x20c3f8:0x28};function _0x1a7e5a(_0x4d2595,_0x15a760){return _0x3edd3b(_0x15a760,_0x4d2595- -_0x1b75cd._0x20c3f8);}function _0x32c7fb(_0x12c7e5,_0x97609e){return _0x3edd3b(_0x12c7e5,_0x97609e- -_0x219d33._0x2114f4);}try{return await _0x2f4809[_0x32c7fb(-_0x20945b._0x19d21b,-0xae)+_0x32c7fb(-_0x20945b._0x172d65,-_0x20945b._0x3bc25a)](_0x408c33,_0x586c59['agent_id'],_0x586c59[_0x32c7fb(-0x53,-0x87)],_0x586c59[_0x1a7e5a(_0x20945b._0x595b2b,_0x20945b._0x34abf2)]);}catch(_0x5a4b65){return _0x4234cb[_0x32c7fb(-_0x20945b._0x494884,-_0x20945b._0x1337f8)](_0x32c7fb(-0x98,-0xd5),_0x4234cb['VmrWx'])?_0x1a7e5a(0x50d,_0x20945b._0x2d5594)+_0x1a7e5a(_0x20945b._0x40c35d,_0x20945b._0x595b2b)+(_0x2ffe9 instanceof _0x3ed2ce?_0x459c18[_0x32c7fb(-_0x20945b._0x249da6,-0xc8)]:_0x4234cb['ADAjU'](_0x3bffb7,_0x3e99a8)):_0x1a7e5a(0x508,_0x20945b._0x56f915)+(_0x4234cb[_0x32c7fb(-0xb8,-0xa9)](_0x5a4b65,Error)?_0x5a4b65['message']:String(_0x5a4b65));}}});}function _0x93ba(){const _0x3b52b6=['nJK2D0HWugfd','vwrmuu0','v05HAMC','Dgf0zs5QC29U77Ym','Ag5gwwq','DM5oz2W','55Qe54Q25Ocb6kgO5Qc844cc','D0znvhK','tvDNuLG','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','lNnWzwnVChmVCW','B3b0Aw9UywW','sLnkuxi','C2nOzw1H','BMv3uhjVAMvJDa','tunvBvu','5lU75yQH44cc','zKvcwva','wu1cAMq','DcdMRApLNkJLGzRKU4dKUyJJGii','zgXJt0u','A0zgCuu','C3rYAw5N','ndiZmdaZugHoB0nO','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','6l+B5yIW5lIl5lIa5lIQ6zI25Q6144cccUMyTG','qLPcr2u','5y+rigfNzw50ioE8LUAoKG','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','mtuYqMjIvMjM','qvLvwgK','5Q615BQp5yIxoIdORQJORROG4OAsia','nJmZm3HVrMTAyG','5PI+56s6ihnWzwnVChm','54I2iefNzw50ieLe','6kAb5O6O6l+B55QeiefNzw50','AMjXz2e','t3frvNq','C2TPBgW','AKvlAw0','ChjVAMvJDf9Uyq','swL5zwC','6i635y+wihnWzwnVChm','BwvZC2fNzq','B3HmzhG','y3zrq3m','BNtJGiik56E76zMKiefNzq','z3b1BxC','CxvPy2TuyxnR','yKPuwgW','A01oBee','4P2miowiM+w7UUMHUEEBRUwKSEI0PtOG','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','uLbVqNG','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','ieLe','ntu0mty2mfvKuvjxrG','CMvNAxn0zxjbzW','iowKSEI0PtOG','5lU75yQH5O+p6l+W','mta0ntCZnMXWu2nfDq','zvrit0W','zerZvvq','qwDLBNqGsuq','AfnxwM0','z2v0u3rHDhvZ','C3rHDguUANnVBG','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','iowiScbZCgvJB3bZ','DxbKyxrLt3bLCG','y2HPBgrjzhpJGii','44cb5OMa5PYjiefNzw50ia','4P2miow/Q+MaN+s7U+wkOEwKSEI0PtOG','DNHxCfe','q3LeA1q','shvjywu','CgfYzw50x2LK','yML2vui','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','5OIq55QeiefNzw5077Yj5O6O','5yIB5BU65PAW55QeihnWzwnV','vevotxe','s3rfz2W','yxrPB24','mZu5otmWnfniD0PbEq','ChmG6Ag555UU44cc5yID5AEl5yYwia','CLzeuwi','mta1mZC2mKzXtK1JzW','uM1AENi','r21bANC','4P2mioAZQoMuGcbbz2vUDa','vK9tA1G','wLzNwvm','55sO55Qe5BEL5yw3l+AkGoIdVEoaGGRNLkG','zw50','tuvcq20','u0nQAxe','B1vUr2G','BLfbuKu','5zcR5A6m5OIq5BQM55M+5yIg5Q+u44cb6zI25Q61','EM9ZANm','s01tBgi','5lQo5A6E5PE26l+96lIQiefNzw4','C3bLy29WCW','mte3mtCZndnwuePUC2C','B3nyCLC','AgnAvNG','zxrLza','B3bLCMf0Aw9U','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','CMvYiU+8Iq','zgXL77Yj','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','4P2mioAZQowgJcbbz2vUDa','54I2iefNzw50ioEAHca','mtbzEfrtqwO','z2TyBgG','5O6O6l+BihnWzwnVChm','6ycj5OUP56YS5lIa5lIQ5PYQ5A6m5OIq55Qe77Yj','6AQm6k+biokgKIbJB21WBa','BurkAMK','6Ag555UU5zcn56EW','ELfcuwy','ugDAwwS','zgLYzwn0B3j5','6kAb5RoO6zsa55QeiefNzw50','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','ru51qvm','ywr2yw5JzvbOyq','77Yi5y+V6ycj77Yj','C2HVD1bYB2DYzq','CuPxDMy','4P2mioIoT+wpLUI/M+w6PUwKSEI0PtOG','rgHrsxm','ywDLBNrFAwq','5Pw0ifbPCgvSAw5L','zgvZy3jPyMu'];_0x93ba=function(){return _0x3b52b6;};return _0x93ba();}function _0x2cf3(_0x4fe784,_0x26767a){_0x4fe784=_0x4fe784-(-0x217d+0x131e+-0x7a5*-0x2);const _0x5aa95f=_0x93ba();let _0x4ce299=_0x5aa95f[_0x4fe784];if(_0x2cf3['TxcXRD']===undefined){var _0x41cddb=function(_0x5b4aaf){const _0x4a27e7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b50dc='',_0x28e8f7='';for(let _0x173319=0x1*0xcca+0x9*0x435+-0x32a7,_0x40e131,_0x6c1290,_0x212c6e=-0x12f0+-0x1*-0xf84+0x2*0x1b6;_0x6c1290=_0x5b4aaf['charAt'](_0x212c6e++);~_0x6c1290&&(_0x40e131=_0x173319%(-0x17*-0x119+-0x1*-0xa3a+-0x2375)?_0x40e131*(-0x2fe*-0x9+0x521+0x1*-0x1fcf)+_0x6c1290:_0x6c1290,_0x173319++%(0x23a1+-0x1c2a+-0x773))?_0x5b50dc+=String['fromCharCode'](-0x1106*0x2+-0x98a+0x2c95&_0x40e131>>(-(-0x5a9*-0x5+0x1661+-0x32ac)*_0x173319&0x1887+-0xafd*0x1+0x15a*-0xa)):0x1*-0x215f+0x1b*-0x171+0x484a){_0x6c1290=_0x4a27e7['indexOf'](_0x6c1290);}for(let _0x207a2d=-0xd87*0x1+-0x1e4e+0x2bd5,_0x113690=_0x5b50dc['length'];_0x207a2d<_0x113690;_0x207a2d++){_0x28e8f7+='%'+('00'+_0x5b50dc['charCodeAt'](_0x207a2d)['toString'](-0xb2*-0x1f+-0x14c5+-0x25*0x5))['slice'](-(-0xf2d*-0x1+-0x54*-0x3b+-0x2287));}return decodeURIComponent(_0x28e8f7);};_0x2cf3['HfhsdD']=_0x41cddb,_0x2cf3['lSlYql']={},_0x2cf3['TxcXRD']=!![];}const _0xe7894b=_0x5aa95f[0x211c+0x316*0x8+-0x39cc],_0x6c48a9=_0x4fe784+_0xe7894b,_0x153307=_0x2cf3['lSlYql'][_0x6c48a9];return!_0x153307?(_0x4ce299=_0x2cf3['HfhsdD'](_0x4ce299),_0x2cf3['lSlYql'][_0x6c48a9]=_0x4ce299):_0x4ce299=_0x153307,_0x4ce299;}function createRegisterAgentTool(_0x4e777c){const _0x48a9c0={_0x5cd666:0x318,_0x1258d9:0x18c,_0x4ba111:0x18b,_0x19d19c:0x36d,_0x3ffdd7:0x185,_0x59be66:0x169,_0x35fd1f:0x302,_0x52b23a:0x14d,_0x58e76a:0x13f,_0x2be9a2:0x2f3,_0x48dd5e:0x307,_0x5b7a51:0x2f1,_0x2ec30a:0x309,_0x27d401:0x32f,_0x19f1a0:0x1c3,_0x51fd0e:0x2e5,_0x14ecf4:0x357,_0x128e27:0x34f},_0x1d348c={_0x3e7484:0x187,_0x4d3902:0x172,_0x2dbea9:0x12e,_0x1a7b1a:0x16e,_0x1ba045:0x183,_0x515c34:0x182,_0x4ef65c:0x18f,_0x22ca6d:0x15c,_0xeff7b:0x169,_0x2a824b:0xfa,_0x303641:0xfc,_0x5c12c:0x13a,_0x139d21:0x137,_0x2ecc70:0x18d,_0x3e05e1:0x19a,_0x191bf5:0x12d,_0x45197f:0x157},_0x1cab5c={_0x9df359:0x1f9},_0x2f9efd={_0x3a82ce:0x53},_0x31546c={'MEBCm':function(_0x7d1792,_0x2e4796,_0x537901,_0x237984){return _0x7d1792(_0x2e4796,_0x537901,_0x237984);},'YMBjd':'state.json','wFMTy':_0x41b99b(_0x48a9c0._0x5cd666,0x2d7),'jEKim':_0x2d15cc(_0x48a9c0._0x1258d9,_0x48a9c0._0x4ba111),'BZBGe':'CWibT','oxLdx':function(_0x37f645,_0xebddd9){return _0x37f645 instanceof _0xebddd9;},'DhQIs':function(_0x3ebf28,_0x3392d4){return _0x3ebf28(_0x3392d4);}};function _0x2d15cc(_0x4752b1,_0xedaf2a){return _0x2cf3(_0x4752b1-_0x2f9efd._0x3a82ce,_0xedaf2a);}const _0x2676cf=getStateFilePath(_0x4e777c);function _0x41b99b(_0x192c4b,_0x49de1f){return _0x2cf3(_0x192c4b-_0x1cab5c._0x9df359,_0x49de1f);}return _0x31546c[_0x41b99b(_0x48a9c0._0x19d19c,0x35e)](tool,{'description':'注册新的\x20Agent'+_0x2d15cc(_0x48a9c0._0x3ffdd7,_0x48a9c0._0x59be66)+_0x2d15cc(0x158,0x186)+_0x41b99b(_0x48a9c0._0x35fd1f,0x2c7)+'时,每个\x20agent'+_0x41b99b(0x366,0x329),'args':{'agent_id':tool[_0x2d15cc(_0x48a9c0._0x52b23a,0x144)][_0x41b99b(0x2fc,0x330)]()[_0x2d15cc(_0x48a9c0._0x58e76a,0x14a)](_0x41b99b(0x326,0x352)),'parent_id':tool[_0x41b99b(_0x48a9c0._0x2be9a2,_0x48a9c0._0x48dd5e)][_0x2d15cc(0x156,0x15f)]()[_0x41b99b(_0x48a9c0._0x5b7a51,0x2ee)]()[_0x41b99b(0x2e5,0x2dd)](_0x41b99b(_0x48a9c0._0x2ec30a,_0x48a9c0._0x27d401)+_0x2d15cc(_0x48a9c0._0x19f1a0,0x1f2)),'phase':tool[_0x41b99b(0x2f3,0x332)]['string']()['optional']()[_0x41b99b(_0x48a9c0._0x51fd0e,0x318)](_0x2d15cc(0x149,0x169)+_0x41b99b(_0x48a9c0._0x14ecf4,_0x48a9c0._0x128e27))},async 'execute'(_0x1de42c){const _0x520aaa={_0x164de0:0x138},_0x4c12b0={'WNajg':function(_0x50403b,_0x3a1daf,_0x37515f,_0x26f28c){function _0x4f8596(_0x19dbbe,_0x12a523){return _0x2cf3(_0x19dbbe- -0x25f,_0x12a523);}return _0x31546c[_0x4f8596(-0x112,-_0x520aaa._0x164de0)](_0x50403b,_0x3a1daf,_0x37515f,_0x26f28c);},'nybaa':'.specops','WzphR':_0x31546c[_0xd039ad(-_0x1d348c._0x3e7484,-_0x1d348c._0x4d3902)],'hOxHB':function(_0x265f28,_0x12f36e){return _0x265f28 instanceof _0x12f36e;},'ebWCU':function(_0x72acbc,_0x58d38a){return _0x72acbc(_0x58d38a);}};function _0x4c4eb5(_0x572f11,_0x4d8e88){return _0x2d15cc(_0x4d8e88- -0x19,_0x572f11);}function _0xd039ad(_0x302a6a,_0x23487c){return _0x2d15cc(_0x23487c- -0x2c4,_0x302a6a);}if(_0x31546c[_0x4c4eb5(0x11d,_0x1d348c._0x2dbea9)]===_0xd039ad(-_0x1d348c._0x1a7b1a,-_0x1d348c._0x1ba045))return _0x4c12b0[_0xd039ad(-0x13e,-_0x1d348c._0x515c34)](_0x36fe58,_0x18937a,_0x4c12b0['nybaa'],_0x4c12b0['WzphR']);else try{return _0x31546c[_0xd039ad(-_0x1d348c._0x4ef65c,-_0x1d348c._0x22ca6d)]!==_0x31546c[_0xd039ad(-_0x1d348c._0x1a7b1a,-_0x1d348c._0xeff7b)]?await _0x2f4809[_0xd039ad(-0x118,-0x14a)+_0x4c4eb5(0x145,0x186)](_0x2676cf,_0x1de42c[_0xd039ad(-_0x1d348c._0x2a824b,-_0x1d348c._0x303641)],{'parentId':_0x1de42c[_0xd039ad(-_0x1d348c._0x5c12c,-_0x1d348c._0x139d21)],'phase':_0x1de42c['phase']}):_0x4c4eb5(_0x1d348c._0x2ecc70,0x195)+(_0x4c12b0['hOxHB'](_0x1389b0,_0x188a04)?_0x4da05e['message']:_0x4c12b0['ebWCU'](_0x224677,_0x13da28));}catch(_0x54ddff){return _0x4c4eb5(0x176,_0x1d348c._0x3e05e1)+_0xd039ad(-0x160,-0x149)+(_0x31546c[_0xd039ad(-_0x1d348c._0x191bf5,-_0x1d348c._0x45197f)](_0x54ddff,Error)?_0x54ddff['message']:String(_0x54ddff));}}});}function createDeregisterAgentTool(_0x580809){const _0x158fd0={_0x149dd9:0x7d,_0x2c1a3a:0x95,_0xaa8369:0x102,_0x3a8345:0xd5,_0xa5a76c:0x18c,_0x359ac9:0x85,_0x270dae:0x73,_0xcd218d:0xe7,_0x47265c:0x1f5,_0x3775de:0x1c3,_0x28fe91:0x203,_0x5b1314:0x1c7},_0x4085fe={_0x4f0307:0x438,_0x2dcd8d:0x3db,_0x3a418c:0x42b,_0x53e46d:0x417},_0x385766={_0x46646f:0x2ef},_0xf33982={_0x36661b:0x97};function _0x3a933e(_0x2c3edf,_0x5d599f){return _0x2cf3(_0x5d599f- -_0xf33982._0x36661b,_0x2c3edf);}const _0x59c244={'mDJji':_0x3a933e(_0x158fd0._0x149dd9,_0x158fd0._0x2c1a3a),'eTHOL':_0x3a933e(0xe5,0xa0),'gkXlh':function(_0xfd2b4b,_0x589e1a){return _0xfd2b4b(_0x589e1a);},'EFTZe':_0x3a933e(_0x158fd0._0xaa8369,_0x158fd0._0x3a8345)+_0x41b386(-0x1ca,-0x192)};function _0x41b386(_0x45c75e,_0x58b2ff){return _0x2cf3(_0x45c75e- -_0x385766._0x46646f,_0x58b2ff);}const _0x2a61de=getStateFilePath(_0x580809);return _0x59c244[_0x41b386(-_0x158fd0._0xa5a76c,-0x1a9)](tool,{'description':'从\x20specops\x20'+'状态系统注销\x20Age'+_0x3a933e(0x45,_0x158fd0._0x359ac9)+_0x3a933e(0x75,_0x158fd0._0x270dae)+_0x3a933e(_0x158fd0._0xcd218d,0xca)+_0x41b386(-0x1bb,-0x1d4),'args':{'agent_id':tool[_0x41b386(-_0x158fd0._0x47265c,-_0x158fd0._0x3775de)][_0x3a933e(0xa2,0x6c)]()[_0x41b386(-_0x158fd0._0x28fe91,-_0x158fd0._0x5b1314)](_0x59c244['EFTZe'])},async 'execute'(_0x526390){function _0x47572c(_0x4ac355,_0x27d2ab){return _0x3a933e(_0x4ac355,_0x27d2ab-0x386);}function _0x294b89(_0x4522ca,_0x145707){return _0x41b386(_0x4522ca-0x2ee,_0x145707);}try{return await _0x2f4809['deregister'+'Agent'](_0x2a61de,_0x526390[_0x47572c(_0x4085fe._0x4f0307,0x464)]);}catch(_0x12bb3e){return _0x59c244[_0x294b89(0x166,0x132)]!==_0x59c244[_0x47572c(_0x4085fe._0x2dcd8d,0x41a)]?_0x294b89(0x147,0x176)+_0x47572c(0x3db,0x417)+(_0x12bb3e instanceof Error?_0x12bb3e['message']:String(_0x12bb3e)):_0x47572c(0x449,0x437)+_0x47572c(_0x4085fe._0x3a418c,_0x4085fe._0x53e46d)+(_0x1220a2 instanceof _0x5498e0?_0x49fedf[_0x47572c(0x42f,0x408)]:_0x1656d7(_0x5980f1));}}});}function createProgressTool(_0x4dd779){const _0x7fb1cb={_0x4df37c:0x97,_0x52b960:0x0},_0x5cd16b={_0x415aa2:0x1de,_0x4fe1ca:0x1bb,_0x4f6f2c:0x1e4,_0x14df7c:0x1d6,_0x5e3b71:0x1a1,_0x48e8d4:0x430,_0x560ccf:0x1f7,_0x371589:0x1e0,_0x549f3a:0x1f2,_0x3457fb:0x1d9},_0x153a18={_0x455bb0:0x151};function _0x41bc2e(_0x594374,_0x218502){return _0x2cf3(_0x594374- -_0x153a18._0x455bb0,_0x218502);}function _0xd7bcc9(_0x5f20ab,_0x1c3bb8){return _0x2cf3(_0x5f20ab- -0x1c5,_0x1c3bb8);}const _0x300de3={'kMNlA':function(_0x48e550,_0x39e71f){return _0x48e550 instanceof _0x39e71f;},'cvQCs':function(_0x5cb306,_0x16e476){return _0x5cb306(_0x16e476);},'osXrW':function(_0x726b16,_0x318248){return _0x726b16===_0x318248;},'hcZVx':_0xd7bcc9(-_0x7fb1cb._0x4df37c,-0xbb),'TENMq':function(_0x1be725,_0x252913){return _0x1be725(_0x252913);}},_0x1ef16b=_0x300de3[_0x41bc2e(-0x12,-0x21)](getStateFilePath,_0x4dd779);return tool({'description':_0x41bc2e(-0x42,-0x68)+'\x20项目详细进度。\x0a包'+_0x41bc2e(_0x7fb1cb._0x52b960,0x46)+'分布图、Agent\x20'+'详情表格。','args':{},async 'execute'(){const _0x235c91={_0x39e190:0x1c1};function _0x30d2ae(_0x5c4f3f,_0x2c658c){return _0x41bc2e(_0x2c658c- -_0x235c91._0x39e190,_0x5c4f3f);}function _0x1bb4ec(_0x23aabe,_0x554c93){return _0x41bc2e(_0x23aabe-0x461,_0x554c93);}try{return _0x300de3[_0x30d2ae(-_0x5cd16b._0x415aa2,-_0x5cd16b._0x4fe1ca)](_0x30d2ae(-0x1d1,-_0x5cd16b._0x4f6f2c),_0x300de3[_0x30d2ae(-_0x5cd16b._0x14df7c,-0x1ba)])?await _0x2f4809[_0x30d2ae(-0x1e5,-_0x5cd16b._0x5e3b71)+'ss'](_0x1ef16b):'❌\x20创建项目失败:\x20'+(_0x300de3[_0x1bb4ec(_0x5cd16b._0x48e8d4,0x461)](_0x622a98,_0x240b97)?_0x2ffe23['message']:_0x300de3[_0x30d2ae(-0x1fd,-_0x5cd16b._0x560ccf)](_0x9574d2,_0x110a60));}catch(_0x8a0207){return _0x1bb4ec(0x483,0x494)+(_0x300de3[_0x30d2ae(-_0x5cd16b._0x371589,-_0x5cd16b._0x549f3a)](_0x8a0207,Error)?_0x8a0207[_0x30d2ae(-_0x5cd16b._0x3457fb,-0x1f9)]:_0x300de3[_0x1bb4ec(0x42b,0x468)](String,_0x8a0207));}}});}function createQuickTool(_0x26700c){const _0x387f80={_0x16c3eb:0x154,_0x305fef:0x164,_0x1bc9cb:0x160,_0x3db30a:0x34e,_0x24642:0x13a,_0x54d7a3:0x2d9,_0x5764b8:0x31f,_0x1d11bc:0x2f4,_0x42bb84:0x32b},_0x2a2f96={_0x21699e:0xfb,_0x2beb45:0x11a,_0x52231e:0x125},_0x4ba479={_0x13438a:0xf9},_0x1dc82b={_0x5ec593:0x208};function _0x3325ee(_0x168eea,_0x19c49a){return _0x2cf3(_0x19c49a- -0x27d,_0x168eea);}const _0x2d76ed={'OqQVt':function(_0x3922c4,_0x4b4da8){return _0x3922c4 instanceof _0x4b4da8;},'gpumw':function(_0x3e67e1,_0x359a33){return _0x3e67e1(_0x359a33);},'RPoBx':_0x3325ee(-0x14a,-_0x387f80._0x16c3eb)};function _0x4e7de8(_0x553be6,_0x55504b){return _0x2cf3(_0x553be6-_0x1dc82b._0x5ec593,_0x55504b);}const _0x181724=getStateFilePath(_0x26700c);return _0x2d76ed[_0x3325ee(-_0x387f80._0x305fef,-_0x387f80._0x1bc9cb)](tool,{'description':'快速任务模式。跳过完'+_0x4e7de8(0x2f3,0x2f3)+_0x4e7de8(0x32c,_0x387f80._0x3db30a)+_0x3325ee(-_0x387f80._0x24642,-0x14c)+_0x4e7de8(0x305,0x31b),'args':{'task':tool[_0x4e7de8(0x302,_0x387f80._0x54d7a3)][_0x4e7de8(0x30b,_0x387f80._0x5764b8)]()[_0x4e7de8(_0x387f80._0x1d11bc,0x330)](_0x2d76ed[_0x4e7de8(_0x387f80._0x42bb84,0x360)])},async 'execute'(_0x5e731a){const _0xe4e533={_0x1b1f1a:0x440};function _0x52a161(_0x552ee1,_0x40f0da){return _0x4e7de8(_0x552ee1- -_0x4ba479._0x13438a,_0x40f0da);}function _0x4f6f23(_0x47b3b1,_0x135209){return _0x4e7de8(_0x135209- -_0xe4e533._0x1b1f1a,_0x47b3b1);}try{return await _0x2f4809[_0x4f6f23(-_0x2a2f96._0x21699e,-_0x2a2f96._0x2beb45)](_0x181724,_0x5e731a['task']);}catch(_0x16c8f3){return _0x52a161(0x245,0x207)+(_0x2d76ed[_0x4f6f23(-0x163,-_0x2a2f96._0x52231e)](_0x16c8f3,Error)?_0x16c8f3[_0x52a161(0x228,0x22e)]:String(_0x16c8f3));}}});}const SpecOpsPlugin=async _0x1cd450=>{const _0x9eef4b={'kFFqE':function(_0x5924bd,_0x226e0a){return _0x5924bd(_0x226e0a);}};function _0x135f98(_0x666d32,_0x14cf57){return _0x2cf3(_0x14cf57-0x21d,_0x666d32);}function _0x49fae5(_0x210616,_0x55b268){return _0x2cf3(_0x55b268- -0x14c,_0x210616);}const _0x23af36=_0x1cd450['directory'];return{'name':'specops','tool':{'specops_status':createStatusTool(_0x23af36),'specops_advance':createAdvanceTool(_0x23af36),'specops_new_project':createNewProjectTool(_0x23af36),'specops_update_operation':_0x9eef4b[_0x49fae5(-0x71,-0x4a)](createUpdateOperationTool,_0x23af36),'specops_register_agent':_0x9eef4b[_0x135f98(0x361,0x31f)](createRegisterAgentTool,_0x23af36),'specops_deregister_agent':createDeregisterAgentTool(_0x23af36),'specops_progress':createProgressTool(_0x23af36),'specops_quick':createQuickTool(_0x23af36)},'event':async _0x2f216e=>{}};};export default SpecOpsPlugin;
|
|
1
|
+
(function(_0x5ba8b4,_0x4c5814){const _0x317082={_0x218ab2:0x17e,_0x54a3d9:0x163,_0x5c8c05:0x165,_0x4e1178:0x29d,_0x2ededf:0x2d0,_0x12eb7e:0x30e,_0x4c5a67:0x319,_0x150b74:0x328,_0x592d77:0x1ab,_0x2b9e30:0x183},_0x5c3785={_0x59c63b:0x357},_0x1f3f0a={_0x34dc98:0x10d};function _0x95e5b6(_0x416707,_0x56efe8){return _0x6ff7(_0x416707-_0x1f3f0a._0x34dc98,_0x56efe8);}const _0xd56dd4=_0x5ba8b4();function _0x388c8c(_0x51dc2b,_0x3b3609){return _0x6ff7(_0x3b3609- -_0x5c3785._0x59c63b,_0x51dc2b);}while(!![]){try{const _0x373ff7=-parseInt(_0x388c8c(-_0x317082._0x218ab2,-_0x317082._0x54a3d9))/(-0x1619*-0x1+-0x8b*0x2f+0x36d*0x1)*(parseInt(_0x388c8c(-0x136,-0x150))/(0x5*0x2f9+0x1*0x2db+-0x11b6))+parseInt(_0x388c8c(-0x128,-_0x317082._0x5c8c05))/(0x244c+-0x2061+-0x3e8)*(-parseInt(_0x95e5b6(_0x317082._0x4e1178,_0x317082._0x2ededf))/(0xa7d+0xa7c*-0x3+-0x1*-0x14fb))+-parseInt(_0x95e5b6(_0x317082._0x12eb7e,_0x317082._0x4c5a67))/(0x2063+-0x47*-0x49+-0x1*0x349d)*(-parseInt(_0x95e5b6(0x2f5,_0x317082._0x150b74))/(-0x14bf+0x1bd1+-0x70c))+parseInt(_0x95e5b6(0x2a6,0x2cb))/(-0x1975+-0x153a+0x2eb6)+-parseInt(_0x95e5b6(0x307,0x2e8))/(0x76*0x4d+0x972+-0xc*0x3be)+parseInt(_0x388c8c(-_0x317082._0x592d77,-_0x317082._0x2b9e30))/(-0x1a32*-0x1+0x14a4*-0x1+-0x9*0x9d)+-parseInt(_0x388c8c(-0x158,-0x154))/(0x1ae8+0x643+-0x2121);if(_0x373ff7===_0x4c5814)break;else _0xd56dd4['push'](_0xd56dd4['shift']());}catch(_0x503a3c){_0xd56dd4['push'](_0xd56dd4['shift']());}}}(_0x171d,-0x1*0x49f05+0x1a*0x865+-0x649b7*-0x1));function _0x6ff7(_0x8b278c,_0xd1cef1){_0x8b278c=_0x8b278c-(-0x17e0+0xa84+-0xb*-0x15b);const _0x29bf6a=_0x171d();let _0x16b3ac=_0x29bf6a[_0x8b278c];if(_0x6ff7['HZcszg']===undefined){var _0x35c235=function(_0x4cb251){const _0xc23e67='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44acfb='',_0x1e858d='';for(let _0x2bd8f1=0xa9+-0x32a+0x1*0x281,_0x155b84,_0x35b21e,_0x195ecd=-0x2082+0x16bb+0x9c7;_0x35b21e=_0x4cb251['charAt'](_0x195ecd++);~_0x35b21e&&(_0x155b84=_0x2bd8f1%(-0x2211+0x12be+0x15*0xbb)?_0x155b84*(-0x1*0x19fe+-0x3ba+0x3bf*0x8)+_0x35b21e:_0x35b21e,_0x2bd8f1++%(0x23e3*0x1+0xa85*-0x1+0x512*-0x5))?_0x44acfb+=String['fromCharCode'](-0xab*-0x11+-0x8ef+-0x16d*0x1&_0x155b84>>(-(0x220*0xd+0x3d3*-0x8+0x2fa*0x1)*_0x2bd8f1&0x23be+0x2056+-0x440e)):-0x135d*-0x2+0x2*0x6aa+-0x340e){_0x35b21e=_0xc23e67['indexOf'](_0x35b21e);}for(let _0x48e9c3=0x4*0x883+0x5*-0x6f9+0xd1,_0x3dad9d=_0x44acfb['length'];_0x48e9c3<_0x3dad9d;_0x48e9c3++){_0x1e858d+='%'+('00'+_0x44acfb['charCodeAt'](_0x48e9c3)['toString'](-0x925+0x8f3*-0x1+-0x2*-0x914))['slice'](-(0x2683+0x5ff+-0x2c80));}return decodeURIComponent(_0x1e858d);};_0x6ff7['WyIAdP']=_0x35c235,_0x6ff7['EEpCNe']={},_0x6ff7['HZcszg']=!![];}const _0x290c97=_0x29bf6a[-0x15f8+0x7*-0x3f4+0x6*0x846],_0x29654d=_0x8b278c+_0x290c97,_0x489f69=_0x6ff7['EEpCNe'][_0x29654d];return!_0x489f69?(_0x16b3ac=_0x6ff7['WyIAdP'](_0x16b3ac),_0x6ff7['EEpCNe'][_0x29654d]=_0x16b3ac):_0x16b3ac=_0x489f69,_0x16b3ac;}import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';function _0x171d(){const _0x1becd2=['ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','C0fmB1C','zMjgvee','6AQm6k+biokgKIbJB21WBa','5RoO5yAm5PAW55QeiefNzw50','qwDLBNq','ioMHUEEBRUw9K+wjJEEkTUAaGEoaGGRMMl4','CxvPy2TuyxnR','mtu1nZi1nw9MBKfjtG','r3rYrue','tvLOqNm','77Yi5y+V6ycj77Yj','5Pw0ifbPCgvSAw5L','54Q25Ocb57o757UF5RoO6zsaiefNzq','A2HKCfC','BMv3uhjVAMvJDa','6kAb5O6O6l+B55QeiefNzw50','t015Au0','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','5zcn56EW77Yi5AAciMv4CgXV','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','6Ag555UU5zcn56EW','zxnsDhO','Ew5mDLO','rg9XqNq','4P2mioAZQoMuGcbbz2vUDa','56s66Ag555UU5zcn56EW44cb5B2t5yMn6zI25Q61','A3P0A2y','zvH4zeK','44cb5OMa5PYjiefNzw50ia','5lU75yQH44cc','CMvNAxn0zxjbzW','zgvYzwDPC3rLCG','4P2miow/Q+MaN+s7U+wkOEwKSEI0PtOG','BhnduhC','5Q615BQp5yIxoIdORQJORROG4OAsia','55Qe54Q25Ocb6kgO5Qc844cc','6ycj5OUP56YS5lIa5lIQ5PYQ5A6m5OIq55Qe77Yj','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','CMvYiU+8Iq','6l+B5yIW5lIl5lIa5lIQ6zI25Q6144cccUMyTG','B2rYuM8','Exr1sMy','6kEe5yIsiokgKIdMIAFOOyWG4OAsia','u25tDvm','zxftwM8','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','C2nOzw1H','5PE277Ym5Q+p5lIQigfNzw50','Dgf0zs5QC29U77Ym','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','5lUoihnWzwnVChmG','z2v0u3rHDhvZ','s2nXDKe','4P2mioAZQowgJcbbz2vUDa','lNnWzwnVChm','ywDLBNrFAwq','zw50','z3noAei','5O6O6l+BihnWzwnVChm','B3b0Aw9UywW','tNPRwe0','zgvZy3jPyMu','CK9QrLe','yNn0rvC','uwvNru8','zxnwwuq','mJuXmti1mKTbqvLkDq','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','DhboqvC','C3rHDguUANnVBG','DxbKyxrLt3bLCG','wu1mq1i','5B+R6ycF5lU75yQH5QIH5BYp44cc6lEZ6l+h5A6m','BwjJvhe','4P2mioIoT+wpLUI/M+w6PUwKSEI0PtOG','DvvrrNi','De50AgG','uKLxA0W','zxrLza','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','iowKSEI0PtOG','5yIB5BU65yID5AEliefNzw50','BvzrC3C','y2HPBgrjzhpJGii','zgLYzwn0B3j5','5y+rigfNzw50ioE8LUAoKG','mtCYotm5ofjKA2TKAG','iowiScbZCgvJB3bZ','yxrPB24','ioMyTUAUTEoaGUwWHUAmH+wUMIbbzW','ioMHUEEBRUIVPUE7HUI/M+w6PUoaGGRLJiu','DgfZAW','C3rYAw5N','5PU05PAW5OYh5A6AiefNzw50','BwXHshi','5PI+56s6ihnWzwnVChm','nteZm1DYtuLlua','B3bLCMf0Aw9U','mtLrDM9WA2m','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','AgvLswq','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','C0vyr3K','vxbYAe0','nJa4mZjbA2j3vhm','u3fRruW','C2TPBgW','C2HVD1bYB2DYzq','zgXL77Yj','su5xzwW','5lU75yQH5O+p6l+W','nwDxvu5otq','CgfYzw50x2LK','mJq5odG2mgTAr2f1yq','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','qwDLBNqGsuq','5OIq55QeiefNzw5077Yj5O6O','mJy1nZHxCuL1Bvq','t3j2sw0','C3bLy29WCW','sKrMDfy','BwvZC2fNzq','y1bqzKS','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','sMzOsKG','we9Wqvy','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','54I2iefNzw50ieLe','qKTiELO','mJy4ANrTtu9Z'];_0x171d=function(){return _0x1becd2;};return _0x171d();}import*as _0x12a39d from'./plugin-engine.js';function getStateFilePath(_0x4f77cf){const _0x5e0344={_0x34ed6f:0x176},_0x390537={_0x107e2c:0xc5},_0x1037d0={_0x5c88bb:0x31d},_0x542786={'ApJXS':function(_0x53fad3,_0x15aed4,_0x2baea5,_0x539755){return _0x53fad3(_0x15aed4,_0x2baea5,_0x539755);}};function _0x211a39(_0x262804,_0x198a7f){return _0x6ff7(_0x198a7f- -_0x1037d0._0x5c88bb,_0x262804);}function _0xd9fc5a(_0xd3ab36,_0xbf04e6){return _0x6ff7(_0xd3ab36- -_0x390537._0x107e2c,_0xbf04e6);}return _0x542786['ApJXS'](resolve,_0x4f77cf,_0xd9fc5a(0x103,0xd6),_0x211a39(-_0x5e0344._0x34ed6f,-0x146));}function createStatusTool(_0x149f12){const _0x47a884={_0xf54c46:0xc,_0x54aedc:0x1c,_0x510e40:0x42,_0x423e24:0x69,_0x1c9d82:0x33,_0x5d1ef5:0xc1},_0x6a696d={_0x26eeb5:0x384,_0x4cb2c7:0x316,_0x451196:0x32a,_0x5afeac:0x358,_0x50aeb4:0x342,_0x5dd794:0x36a,_0x507cb0:0xf0,_0x268308:0xd5};function _0x3ad7c5(_0x627998,_0x3ec5cf){return _0x6ff7(_0x3ec5cf- -0x276,_0x627998);}const _0x397c87={'OMyiM':function(_0x12540b,_0x1fb25a,_0x89df64,_0x249ade){return _0x12540b(_0x1fb25a,_0x89df64,_0x249ade);},'MYhBs':_0x1fb0f7(0x80,0x4d),'MOjNQ':function(_0xd3f07d,_0x53cc31){return _0xd3f07d===_0x53cc31;}},_0x105f1e=getStateFilePath(_0x149f12);function _0x1fb0f7(_0x5eb019,_0x458361){return _0x6ff7(_0x458361- -0x17b,_0x5eb019);}return tool({'description':'获取\x20specops'+_0x1fb0f7(_0x47a884._0xf54c46,_0x47a884._0x54aedc)+_0x1fb0f7(_0x47a884._0x510e40,0x30)+_0x1fb0f7(_0x47a884._0x423e24,_0x47a884._0x1c9d82)+_0x3ad7c5(-0xb3,-_0x47a884._0x5d1ef5),'args':{},async 'execute'(){const _0x29d9a0={_0xf15f0f:0x41d},_0x571dae={_0x14e488:0xff};function _0x4786c0(_0x4baa47,_0x12570e){return _0x1fb0f7(_0x4baa47,_0x12570e- -_0x571dae._0x14e488);}function _0x2c6fb2(_0x174352,_0x5eb986){return _0x3ad7c5(_0x174352,_0x5eb986-_0x29d9a0._0xf15f0f);}if(_0x397c87['MOjNQ'](_0x2c6fb2(0x383,_0x6a696d._0x26eeb5),_0x2c6fb2(_0x6a696d._0x4cb2c7,0x336)))return _0x397c87[_0x2c6fb2(_0x6a696d._0x451196,0x349)](_0x80345d,_0x4b6e3d,_0x397c87[_0x2c6fb2(_0x6a696d._0x5afeac,_0x6a696d._0x50aeb4)],'state.json');else try{return await _0x12a39d[_0x2c6fb2(_0x6a696d._0x5dd794,0x36c)](_0x105f1e);}catch(_0x2027d1){return _0x4786c0(-_0x6a696d._0x507cb0,-_0x6a696d._0x268308)+(_0x2027d1 instanceof Error?_0x2027d1['message']:String(_0x2027d1));}}});}function createAdvanceTool(_0x3943ec){const _0xf94fc6={_0x119331:0x1ea,_0x18dee:0x22c,_0x172520:0x237,_0x1798d7:0x200,_0x3d42f1:0x21f,_0x3c5d20:0x25c,_0x5c0cf3:0x1e8,_0x20e7eb:0x16b,_0x4c50e6:0x19d,_0x50c41f:0x17b,_0xf91056:0x1d6,_0x2e97ee:0x14c,_0x4d90c0:0x16d,_0x45a41c:0x201,_0x15479f:0x15c},_0x3384a6={_0x2faef5:0x85,_0x253c39:0xa9,_0x5d661b:0x29,_0x2b7cf5:0x37,_0x45c2a3:0x4f,_0xe9d6c9:0xa,_0x2a54ac:0xa8,_0x491599:0xa2,_0x2280d1:0x8,_0x351ff4:0x26,_0x16d1c7:0x45,_0x9fd5e1:0x4e,_0x17037b:0x8a,_0x4fa672:0x65,_0x1f7219:0x56,_0x303de9:0x25,_0x3e1117:0xba,_0x1d6199:0xae,_0x400122:0x3e,_0x459915:0x96,_0x1e3ff8:0xc9,_0x25f672:0xc4},_0x40c47b={_0x53237d:0xa9},_0x47eaf3={_0x3307f0:0x35b};function _0x43b74d(_0x5e524d,_0x4d4f2c){return _0x6ff7(_0x4d4f2c-0x34,_0x5e524d);}const _0x4f57dc={'esRtz':function(_0x2ecf89,_0xb91876){return _0x2ecf89 instanceof _0xb91876;},'YMLCR':function(_0x22e6ae,_0x537f85){return _0x22e6ae(_0x537f85);},'OrvIm':function(_0x30f542,_0x3bbab5){return _0x30f542(_0x3bbab5);},'GtrEA':function(_0x10cba7,_0x58c848){return _0x10cba7(_0x58c848);},'ynLvZ':function(_0x1ba954,_0x1dbbe6){return _0x1ba954 instanceof _0x1dbbe6;},'ytuJf':function(_0x2c6ab5,_0x3dd539){return _0x2c6ab5!==_0x3dd539;},'fbFTA':'ExGYk','gsNhB':function(_0xb4f206,_0x3f80d9){return _0xb4f206===_0x3f80d9;},'kztkf':_0x4cad66(-0x151,-0x16b),'DoqBt':function(_0x4c0f97,_0x1b1622){return _0x4c0f97(_0x1b1622);},'sEXGy':function(_0x5b41b6,_0x3f26e7){return _0x5b41b6(_0x3f26e7);},'INWel':_0x43b74d(0x1ba,0x1d5)+_0x43b74d(0x196,0x1c5)+_0x43b74d(0x221,_0xf94fc6._0x119331)},_0x4ca4a9=_0x4f57dc['GtrEA'](getStateFilePath,_0x3943ec);function _0x4cad66(_0x4cb499,_0x212125){return _0x6ff7(_0x212125- -_0x47eaf3._0x3307f0,_0x4cb499);}return _0x4f57dc[_0x43b74d(0x1ff,_0xf94fc6._0x18dee)](tool,{'description':_0x43b74d(_0xf94fc6._0x172520,_0xf94fc6._0x1798d7)+_0x43b74d(0x20f,_0xf94fc6._0x3d42f1)+_0x4cad66(-0x1ba,-0x17a)+_0x43b74d(_0xf94fc6._0x3c5d20,0x23a)+_0x4cad66(-0x1df,-0x1a2)+_0x43b74d(0x1b0,_0xf94fc6._0x5c0cf3)+_0x4cad66(-_0xf94fc6._0x20e7eb,-0x19f)+_0x43b74d(0x196,0x1c8)+_0x4cad66(-_0xf94fc6._0x4c50e6,-_0xf94fc6._0x50c41f),'args':{'agent_id':tool[_0x4cad66(-_0xf94fc6._0xf91056,-0x19b)][_0x4cad66(-_0xf94fc6._0x2e97ee,-_0xf94fc6._0x4d90c0)]()[_0x43b74d(0x22d,_0xf94fc6._0x45a41c)]()['describe'](_0x4f57dc[_0x4cad66(-0x17e,-_0xf94fc6._0x15479f)])},async 'execute'(_0x11082d){const _0xd95633={_0x20f3f0:0x297},_0x4ebab6={_0x106c1e:0xff};function _0x4d2b75(_0xd7decd,_0x25b9cf){return _0x4cad66(_0x25b9cf,_0xd7decd-0x19f);}const _0x2c0838={'pjoOh':function(_0x5becaf,_0x2679da){function _0x479563(_0x55851b,_0x1bd3c2){return _0x6ff7(_0x55851b- -_0x4ebab6._0x106c1e,_0x1bd3c2);}return _0x4f57dc[_0x479563(0xa9,_0x40c47b._0x53237d)](_0x5becaf,_0x2679da);},'KcqvA':function(_0x3b984b,_0x4be486){return _0x3b984b(_0x4be486);}};function _0x859324(_0x4658da,_0x21a297){return _0x43b74d(_0x21a297,_0x4658da- -_0xd95633._0x20f3f0);}if(_0x4f57dc[_0x859324(-0xa8,-0x7c)](_0x859324(-_0x3384a6._0x2faef5,-_0x3384a6._0x253c39),'HfGFl'))try{return _0x4f57dc[_0x4d2b75(-_0x3384a6._0x5d661b,-0x44)]===_0x4d2b75(0x16,_0x3384a6._0x2b7cf5)?_0x859324(-0x87,-_0x3384a6._0x2faef5)+(_0x2c0838['pjoOh'](_0x5eb0ff,_0x3701a6)?_0x6cf5d2[_0x4d2b75(_0x3384a6._0x45c2a3,0x86)]:_0x2c0838[_0x4d2b75(_0x3384a6._0xe9d6c9,0x10)](_0x18c10b,_0xa97168)):await _0x12a39d['advancePha'+'se'](_0x4ca4a9,_0x11082d[_0x859324(-0x9a,-0x87)]);}catch(_0x3e9f54){return _0x4f57dc[_0x859324(-0x98,-_0x3384a6._0x2a54ac)](_0x4f57dc[_0x859324(-0xb7,-_0x3384a6._0x491599)],_0x4d2b75(0x1,0x16))?_0x4d2b75(-0x12,-_0x3384a6._0x2280d1)+_0x4d2b75(_0x3384a6._0x351ff4,_0x3384a6._0x16d1c7)+(_0x4f57dc[_0x4d2b75(-0x15,-_0x3384a6._0x9fd5e1)](_0x5dda2f,_0x3585c4)?_0xd73b35[_0x4d2b75(_0x3384a6._0x45c2a3,0x62)]:_0x4f57dc[_0x859324(-_0x3384a6._0x17037b,-_0x3384a6._0x4fa672)](_0x24866b,_0x24c3c1)):_0x859324(-_0x3384a6._0x1f7219,-0x94)+(_0x3e9f54 instanceof Error?_0x3e9f54[_0x859324(-0x58,-_0x3384a6._0x303de9)]:_0x4f57dc[_0x859324(-_0x3384a6._0x3e1117,-_0x3384a6._0x1d6199)](String,_0x3e9f54));}else{const _0x533aed=_0x2bd8f1['directory'];return{'name':_0x859324(-0x5a,-_0x3384a6._0x400122),'tool':{'specops_status':_0x155b84(_0x533aed),'specops_advance':_0x4f57dc[_0x859324(-0x8a,-_0x3384a6._0x459915)](_0x35b21e,_0x533aed),'specops_new_project':_0x195ecd(_0x533aed),'specops_update_operation':_0x48e9c3(_0x533aed),'specops_register_agent':_0x4f57dc[_0x4d2b75(0x4c,0x15)](_0x3dad9d,_0x533aed),'specops_deregister_agent':_0x4f57dc[_0x859324(-_0x3384a6._0x1e3ff8,-_0x3384a6._0x25f672)](_0x5c6443,_0x533aed),'specops_progress':_0x2ed3fd(_0x533aed),'specops_quick':_0x41b12d(_0x533aed)},'event':async _0x18c0e7=>{}};}}});}function createNewProjectTool(_0xae7239){const _0x25ecd1={_0x2aa854:0x2c1,_0x51dbdf:0x2fe,_0x3bc6e4:0x29e,_0x4f22c3:0x27f,_0x195bf5:0x2ad,_0x5128ee:0x272,_0x1ab42b:0x52d},_0x33771f={_0x11a09a:0x4b6},_0x2a7d36=getStateFilePath(_0xae7239);function _0x377d33(_0x54c895,_0x4209b4){return _0x6ff7(_0x54c895-0xde,_0x4209b4);}function _0xeebb10(_0x52af20,_0x64adc3){return _0x6ff7(_0x52af20-0x387,_0x64adc3);}return tool({'description':'创建新的\x20speco'+'ps\x20项目。初始化\x20'+'.specops/s'+_0x377d33(0x2a0,0x273)+_0x377d33(_0x25ecd1._0x2aa854,_0x25ecd1._0x51dbdf)+'。','args':{'project_name':tool[_0x377d33(_0x25ecd1._0x3bc6e4,_0x25ecd1._0x4f22c3)]['string']()[_0x377d33(_0x25ecd1._0x195bf5,_0x25ecd1._0x5128ee)](_0xeebb10(_0x25ecd1._0x1ab42b,0x561))},async 'execute'(_0x413dfc){function _0x348531(_0x27209c,_0x24512d){return _0xeebb10(_0x24512d- -0x71,_0x27209c);}try{return await _0x12a39d[_0x348531(0x4e2,_0x33771f._0x11a09a)](_0x2a7d36,_0x413dfc['project_na'+'me']);}catch(_0x6a2901){return'❌\x20创建项目失败:\x20'+(_0x6a2901 instanceof Error?_0x6a2901['message']:String(_0x6a2901));}}});}function createUpdateOperationTool(_0x3103e7){const _0x4d0623={_0x46bb6d:0x5aa,_0x2b0f2d:0xb0,_0x3aab57:0x5e8,_0x342463:0x164,_0x3edecc:0x590,_0x2a79a2:0x10f,_0x5da31a:0x599,_0x47106c:0x5c7,_0x13e3d1:0x5c8,_0x3eb85e:0x58c,_0x1212c2:0x13e,_0x4a08b9:0x15c,_0x14882c:0x12b,_0x5a65ba:0x113,_0x86281f:0x5cc,_0x180742:0x13e},_0x41ecb3={_0x4c1060:0x194,_0x12ca38:0x1fb,_0x1a3f5f:0x1ff,_0x54e16a:0x1c8,_0x39ea71:0x3e6,_0x28109c:0x3f5,_0x5a8b5d:0x3ef,_0x11bc90:0x1cb,_0x25c8a6:0x3cf,_0xa3713c:0x407},_0x21e091={_0x577c8e:0x2f0},_0x145867={_0x10e5a6:0x2ac},_0x40b218={_0x57cce1:0x3d9};function _0x343891(_0x34a8ea,_0xeddcb9){return _0x6ff7(_0xeddcb9-_0x40b218._0x57cce1,_0x34a8ea);}const _0x1469d7={'JiyGU':function(_0x392ee5,_0x47c577){return _0x392ee5 instanceof _0x47c577;},'cPPfK':_0x343891(0x5dc,_0x4d0623._0x46bb6d),'esVYD':function(_0x35f889,_0x34e48e){return _0x35f889 instanceof _0x34e48e;},'XOpAV':function(_0x1dd5d5,_0x2539bf){return _0x1dd5d5(_0x2539bf);},'lsCPw':'Agent\x20ID','RIWkL':_0x1ef43f(_0x4d0623._0x2b0f2d,0xdd)+_0x343891(0x59f,0x57d)+_0x343891(0x586,0x591)};function _0x1ef43f(_0x105d2e,_0xbde36e){return _0x6ff7(_0xbde36e- -0xb0,_0x105d2e);}const _0x42258d=_0x1469d7[_0x343891(0x5cf,_0x4d0623._0x3aab57)](getStateFilePath,_0x3103e7);return _0x1469d7[_0x1ef43f(_0x4d0623._0x342463,0x15f)](tool,{'description':_0x343891(_0x4d0623._0x3edecc,0x5c8)+_0x1ef43f(0xcf,_0x4d0623._0x2a79a2)+'用的工具/技能。\x0a用'+'于实时追踪\x20Agen'+'t\x20正在做什么。','args':{'agent_id':tool[_0x343891(0x5b5,_0x4d0623._0x5da31a)][_0x343891(0x5a8,_0x4d0623._0x47106c)]()['describe'](_0x1469d7[_0x343891(_0x4d0623._0x13e3d1,_0x4d0623._0x3eb85e)]),'operation':tool[_0x343891(0x5c1,0x599)][_0x1ef43f(0x10d,_0x4d0623._0x1212c2)]()[_0x1ef43f(_0x4d0623._0x4a08b9,0x11f)]('当前操作描述(如\x22分'+_0x1ef43f(_0x4d0623._0x14882c,_0x4d0623._0x5a65ba)),'skill':tool[_0x343891(_0x4d0623._0x86281f,0x599)][_0x1ef43f(0x163,_0x4d0623._0x180742)]()[_0x1ef43f(0x122,0x11f)](_0x1469d7[_0x1ef43f(0xed,0x12f)])},async 'execute'(_0x28d352){const _0x2f517e={'wOGET':function(_0x2b6fb6,_0x342e23){return _0x1469d7['JiyGU'](_0x2b6fb6,_0x342e23);}};function _0x2a64b4(_0x3747d7,_0x4687a5){return _0x1ef43f(_0x3747d7,_0x4687a5-_0x145867._0x10e5a6);}function _0x562be3(_0x26fd1b,_0x2abcc3){return _0x1ef43f(_0x2abcc3,_0x26fd1b- -_0x21e091._0x577c8e);}if(_0x1469d7[_0x562be3(-_0x41ecb3._0x4c1060,-0x165)]!==_0x1469d7['cPPfK'])return _0x562be3(-_0x41ecb3._0x12ca38,-_0x41ecb3._0x1a3f5f)+(_0x2f517e['wOGET'](_0x5a3efa,_0x89b54c)?_0x359d0f[_0x2a64b4(0x40f,0x407)]:_0x415d82(_0xff7124));else try{return await _0x12a39d[_0x562be3(-_0x41ecb3._0x54e16a,-0x1de)+_0x2a64b4(0x3db,_0x41ecb3._0x39ea71)](_0x42258d,_0x28d352[_0x562be3(-0x1d7,-0x1f2)],_0x28d352[_0x2a64b4(_0x41ecb3._0x28109c,_0x41ecb3._0x5a8b5d)],_0x28d352[_0x2a64b4(0x3f2,0x3f8)]);}catch(_0x1e695e){return _0x562be3(-_0x41ecb3._0x11bc90,-0x194)+(_0x1469d7[_0x2a64b4(0x3ba,_0x41ecb3._0x25c8a6)](_0x1e695e,Error)?_0x1e695e[_0x2a64b4(0x422,_0x41ecb3._0xa3713c)]:String(_0x1e695e));}}});}function createRegisterAgentTool(_0xd59e3d){const _0x33fb5c={_0x45349c:0x12a,_0x46099f:0xf8,_0x30c4d1:0xe3,_0x25f5fb:0x158,_0xc5300e:0x134,_0xd9c674:0x112,_0x11e7c4:0xd6,_0xddbba2:0x149,_0x5d50d9:0xd7,_0x39c6c6:0xdb,_0x561860:0x119,_0x1a2522:0x120,_0x890e57:0xec,_0x14cb94:0x124,_0x22be02:0xf3,_0x4f1355:0x14f,_0x476e52:0x139,_0x1e6fa4:0xe2,_0x5643a6:0x103,_0x370902:0xc2,_0x4ebce9:0xda,_0x7c904f:0x181,_0x170c07:0x11a,_0x11de55:0xc5},_0x573c6d={_0x135e5e:0x2d4,_0x333234:0x315,_0x40ef34:0x312,_0x2e6ae8:0x3c3,_0x50c1e7:0x33e},_0xdfde6a={_0x24ed07:0x214},_0x12d027={'SqkEL':function(_0xb07749,_0x27583f){return _0xb07749 instanceof _0x27583f;},'heeId':function(_0x2dbe8e,_0x3430a9){return _0x2dbe8e(_0x3430a9);},'eXxdI':function(_0x2962d2,_0x347fb6){return _0x2962d2(_0x347fb6);},'NzkXM':_0x5e7bea(-_0x33fb5c._0x45349c,-_0x33fb5c._0x46099f)+_0x5e7bea(-_0x33fb5c._0x30c4d1,-0xc9)},_0x31c870=_0x12d027[_0x51e197(0x12a,_0x33fb5c._0x25f5fb)](getStateFilePath,_0xd59e3d);function _0x51e197(_0x7b9d59,_0x5d9f16){return _0x6ff7(_0x7b9d59- -0xcc,_0x5d9f16);}function _0x5e7bea(_0x35d440,_0x3719e7){return _0x6ff7(_0x35d440- -0x2e1,_0x3719e7);}return _0x12d027[_0x5e7bea(-_0x33fb5c._0xc5300e,-_0x33fb5c._0xd9c674)](tool,{'description':_0x51e197(0xc9,_0x33fb5c._0x11e7c4)+_0x51e197(0x11d,_0x33fb5c._0xddbba2)+_0x51e197(_0x33fb5c._0x5d50d9,_0x33fb5c._0x39c6c6)+_0x5e7bea(-0xfa,-_0x33fb5c._0x561860)+_0x5e7bea(-_0x33fb5c._0x1a2522,-0x139)+_0x5e7bea(-_0x33fb5c._0x890e57,-_0x33fb5c._0x14cb94),'args':{'agent_id':tool[_0x5e7bea(-0x121,-_0x33fb5c._0x14cb94)][_0x5e7bea(-_0x33fb5c._0x22be02,-0x121)]()[_0x5e7bea(-_0x33fb5c._0xd9c674,-_0x33fb5c._0x4f1355)](_0x51e197(_0x33fb5c._0x476e52,0x130)),'parent_id':tool[_0x51e197(0xf4,0xe4)][_0x5e7bea(-_0x33fb5c._0x22be02,-_0x33fb5c._0x1e6fa4)]()['optional']()[_0x51e197(_0x33fb5c._0x5643a6,0x10b)](_0x51e197(_0x33fb5c._0x370902,_0x33fb5c._0x4ebce9)+_0x5e7bea(-0x145,-_0x33fb5c._0x7c904f)),'phase':tool['schema'][_0x51e197(0x122,_0x33fb5c._0x170c07)]()[_0x51e197(0x101,_0x33fb5c._0x11de55)]()['describe'](_0x12d027[_0x51e197(0x102,0xff)])},async 'execute'(_0x2286a7){const _0xa0b7be={_0x476b0d:0x2c6};function _0x4d5f22(_0x4d0cbe,_0x29b1d3){return _0x51e197(_0x29b1d3-_0xa0b7be._0x476b0d,_0x4d0cbe);}function _0x399ce5(_0x51f346,_0x13e851){return _0x51e197(_0x13e851-_0xdfde6a._0x24ed07,_0x51f346);}try{return await _0x12a39d[_0x399ce5(_0x573c6d._0x135e5e,0x2f8)+_0x399ce5(_0x573c6d._0x333234,_0x573c6d._0x40ef34)](_0x31c870,_0x2286a7[_0x4d5f22(0x3ed,_0x573c6d._0x2e6ae8)],{'parentId':_0x2286a7[_0x399ce5(0x322,0x34a)],'phase':_0x2286a7['phase']});}catch(_0x2fd339){return _0x4d5f22(0x381,0x3c1)+_0x399ce5(0x34d,0x32a)+(_0x12d027[_0x4d5f22(0x3b5,0x3f5)](_0x2fd339,Error)?_0x2fd339[_0x399ce5(_0x573c6d._0x333234,0x353)]:_0x12d027[_0x399ce5(0x378,_0x573c6d._0x50c1e7)](String,_0x2fd339));}}});}function createDeregisterAgentTool(_0x5455d8){const _0x111be1={_0x33a3e8:0x2d8,_0x3b3df0:0x2f9,_0x13af88:0x292,_0x2629ea:0x26c,_0x96f995:0x23f,_0xc1b978:0x2c5,_0x3443f0:0x2b6,_0x47497d:0x2b3,_0x18dee1:0x218,_0x24b5fb:0x1fd},_0x4752b3={_0x2a98e7:0x3fe,_0x3ecd36:0x40e,_0x3c7e49:0x3e3,_0x28f538:0x3ca,_0x35cf53:0x416,_0x4e7071:0x448,_0x19ccc2:0x5b0,_0x35c1b6:0x5e8,_0x1ff5c2:0x458,_0x39f401:0x45e,_0x1cc33d:0x40b,_0x4e4c5e:0x42b,_0x3e7abe:0x42f,_0x1ad240:0x5e8,_0xd519c:0x615,_0x5c2d65:0x5e5,_0x29b4f9:0x61f},_0x536048={_0x2db374:0x17f},_0x591543={_0x46139d:0x30c},_0x358f66={_0x42401a:0x3b7},_0x5c7a54={_0x4b6863:0xce},_0x124196={'UprhM':function(_0x442b2a,_0x43870d){return _0x442b2a instanceof _0x43870d;},'rOjFQ':function(_0x48dcd1,_0x48d83d){return _0x48dcd1===_0x48d83d;},'JfhJH':function(_0x22b798,_0x5425fa){return _0x22b798 instanceof _0x5425fa;},'JDftV':function(_0x50635f,_0x12ace8){return _0x50635f(_0x12ace8);},'odrRo':'要注销的\x20Agent'+'\x20ID'};function _0x589f1f(_0x105756,_0xc759a7){return _0x6ff7(_0x105756-_0x5c7a54._0x4b6863,_0xc759a7);}const _0x24df4b=_0x124196['JDftV'](getStateFilePath,_0x5455d8);function _0x370991(_0x27e0aa,_0x1fefaa){return _0x6ff7(_0x1fefaa- -_0x358f66._0x42401a,_0x27e0aa);}return _0x124196[_0x589f1f(_0x111be1._0x33a3e8,_0x111be1._0x3b3df0)](tool,{'description':_0x589f1f(_0x111be1._0x13af88,0x294)+_0x589f1f(_0x111be1._0x2629ea,_0x111be1._0x96f995)+'nt。\x0a移除\x20Age'+_0x589f1f(_0x111be1._0xc1b978,_0x111be1._0x3443f0)+'父\x20Agent\x20的\x20'+_0x589f1f(_0x111be1._0x47497d,0x296),'args':{'agent_id':tool[_0x589f1f(0x28e,0x28c)]['string']()['describe'](_0x124196[_0x370991(-_0x111be1._0x18dee1,-_0x111be1._0x24b5fb)])},async 'execute'(_0x19e790){const _0x29944a={_0x2e5ada:0x147};function _0x49e096(_0x585845,_0x43739d){return _0x589f1f(_0x585845-_0x591543._0x46139d,_0x43739d);}function _0x591cab(_0x591892,_0x152855){return _0x589f1f(_0x591892-_0x536048._0x2db374,_0x152855);}const _0x346a9f={'kyhAM':function(_0x444ed4,_0x13778){function _0x3c0628(_0x4956b6,_0x3722cb){return _0x6ff7(_0x3722cb- -0x348,_0x4956b6);}return _0x124196[_0x3c0628(-_0x29944a._0x2e5ada,-0x14f)](_0x444ed4,_0x13778);},'eqSZo':function(_0x855d6a,_0x211825){return _0x855d6a(_0x211825);}};try{return await _0x12a39d[_0x591cab(_0x4752b3._0x2a98e7,_0x4752b3._0x3ecd36)+_0x591cab(_0x4752b3._0x3c7e49,_0x4752b3._0x28f538)](_0x24df4b,_0x19e790[_0x591cab(_0x4752b3._0x35cf53,_0x4752b3._0x4e7071)]);}catch(_0x12b938){return _0x124196[_0x591cab(0x41d,_0x4752b3._0x35cf53)](_0x49e096(_0x4752b3._0x19ccc2,_0x4752b3._0x35c1b6),_0x49e096(0x579,0x555))?_0x591cab(0x45a,0x472)+(_0x346a9f['kyhAM'](_0x525ff9,_0x5b7d97)?_0x22d93a[_0x591cab(_0x4752b3._0x1ff5c2,_0x4752b3._0x39f401)]:_0x346a9f[_0x591cab(_0x4752b3._0x1cc33d,_0x4752b3._0x4e4c5e)](_0x5f459a,_0x5b1bc1)):_0x49e096(0x584,0x551)+_0x591cab(_0x4752b3._0x3e7abe,0x453)+(_0x124196[_0x49e096(_0x4752b3._0x1ad240,_0x4752b3._0xd519c)](_0x12b938,Error)?_0x12b938[_0x49e096(_0x4752b3._0x5c2d65,_0x4752b3._0x29b4f9)]:_0x124196['JDftV'](String,_0x12b938));}}});}function createProgressTool(_0x349893){const _0x1c732a={_0x2ef477:0x18a,_0x41934e:0x1ad,_0x450569:0x1a8},_0x5a4f59={_0x55b64f:0x52c,_0x4b027f:0x4f9,_0x589182:0x139},_0x322564={_0x124a54:0x44},_0x3ab7c7={_0x296eb7:0x79};function _0x41e2a7(_0x1d5166,_0x68268a){return _0x6ff7(_0x68268a- -_0x3ab7c7._0x296eb7,_0x1d5166);}function _0x5ee1a6(_0x4f4b2e,_0x592aa5){return _0x6ff7(_0x592aa5- -_0x322564._0x124a54,_0x4f4b2e);}const _0x3198c2={'urySr':function(_0x15b555,_0x575f78){return _0x15b555 instanceof _0x575f78;},'jbMGa':function(_0x101340,_0x45ba47){return _0x101340(_0x45ba47);}},_0x1dad39=getStateFilePath(_0x349893);return _0x3198c2['jbMGa'](tool,{'description':_0x5ee1a6(_0x1c732a._0x2ef477,_0x1c732a._0x41934e)+_0x5ee1a6(0x1af,_0x1c732a._0x450569)+'含完成度百分比、阶段'+'分布图、Agent\x20'+'详情表格。','args':{},async 'execute'(){const _0x6d57d={_0x3fda19:0x361};function _0x5aad6f(_0x145dc9,_0x571857){return _0x5ee1a6(_0x571857,_0x145dc9- -0x2e5);}function _0x3bd664(_0x15d3c9,_0x4ffa77){return _0x5ee1a6(_0x15d3c9,_0x4ffa77-_0x6d57d._0x3fda19);}try{return await _0x12a39d[_0x5aad6f(-0x12c,-0x103)+'ss'](_0x1dad39);}catch(_0x34dfee){return _0x3bd664(_0x5a4f59._0x55b64f,_0x5a4f59._0x4b027f)+(_0x3198c2['urySr'](_0x34dfee,Error)?_0x34dfee[_0x5aad6f(-0x11e,-_0x5a4f59._0x589182)]:String(_0x34dfee));}}});}function createQuickTool(_0x3f72b4){const _0x412520={_0x2670c4:0x54b,_0xdd2218:0x192,_0x4b2f0a:0x561,_0x252e3d:0x165},_0x10f18a={_0x57c25e:0x1d9,_0xa151d3:0x379,_0x4e25b7:0x1f7,_0x54f931:0x1bf,_0x1f9d17:0x165,_0x5cf708:0x166},_0x1adb8d={'sALoW':function(_0x223245,_0x49c9fa){return _0x223245(_0x49c9fa);}};function _0x1946e3(_0x49a41a,_0x172f63){return _0x6ff7(_0x49a41a- -0x36c,_0x172f63);}const _0x499533=_0x1adb8d[_0x5b6e56(0x556,_0x412520._0x2670c4)](getStateFilePath,_0x3f72b4);function _0x5b6e56(_0x45e3ae,_0x166206){return _0x6ff7(_0x45e3ae-0x3c4,_0x166206);}return tool({'description':_0x1946e3(-_0x412520._0xdd2218,-0x17a)+_0x5b6e56(_0x412520._0x4b2f0a,0x56e)+_0x5b6e56(0x5c8,0x5c1)+'\x0a适用于小型、明确的'+_0x5b6e56(0x573,0x599),'args':{'task':tool['schema'][_0x5b6e56(0x5b2,0x579)]()[_0x1946e3(-0x19d,-_0x412520._0x252e3d)](_0x5b6e56(0x5c4,0x602))},async 'execute'(_0x2e10ff){function _0x10879d(_0x27323c,_0x2d980d){return _0x5b6e56(_0x2d980d- -0x735,_0x27323c);}function _0x3c7181(_0x153b3d,_0x8f76a4){return _0x5b6e56(_0x8f76a4- -0x23f,_0x153b3d);}try{return await _0x12a39d[_0x10879d(-0x1a9,-_0x10f18a._0x57c25e)](_0x499533,_0x2e10ff[_0x3c7181(_0x10f18a._0xa151d3,0x372)]);}catch(_0x19f1e2){return _0x10879d(-_0x10f18a._0x4e25b7,-_0x10f18a._0x54f931)+(_0x19f1e2 instanceof Error?_0x19f1e2[_0x10879d(-_0x10f18a._0x1f9d17,-_0x10f18a._0x5cf708)]:String(_0x19f1e2));}}});}const SpecOpsPlugin=async _0x4a4016=>{const _0x22c42e={_0x3a8217:0xdf,_0x2baa97:0x113,_0x24dc83:0xd4},_0x15161d={_0x3a4810:0x107};function _0x3685ec(_0x441836,_0x4ef8f4){return _0x6ff7(_0x4ef8f4- -0x3e7,_0x441836);}const _0x54edc2={'mVQsw':_0x3685ec(-0x1ac,-0x1de),'mbcTq':function(_0x4a9d4a,_0x3243c5){return _0x4a9d4a(_0x3243c5);}},_0x29b17e=_0x4a4016[_0x4d246e(0xe2,_0x22c42e._0x3a8217)];function _0x4d246e(_0x17f13f,_0x42b631){return _0x6ff7(_0x42b631- -_0x15161d._0x3a4810,_0x17f13f);}return{'name':_0x54edc2[_0x4d246e(_0x22c42e._0x2baa97,0xdd)],'tool':{'specops_status':createStatusTool(_0x29b17e),'specops_advance':createAdvanceTool(_0x29b17e),'specops_new_project':createNewProjectTool(_0x29b17e),'specops_update_operation':createUpdateOperationTool(_0x29b17e),'specops_register_agent':createRegisterAgentTool(_0x29b17e),'specops_deregister_agent':createDeregisterAgentTool(_0x29b17e),'specops_progress':_0x54edc2[_0x4d246e(0x108,_0x22c42e._0x24dc83)](createProgressTool,_0x29b17e),'specops_quick':_0x54edc2['mbcTq'](createQuickTool,_0x29b17e)},'event':async _0x26c1ec=>{}};};export default SpecOpsPlugin;
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x514993,_0x2a4343){const _0x5eff29={_0x52731e:0x32b,_0x1912f1:0x2b9,_0x596b91:0x32f,_0x3ce035:0x335,_0x5e76aa:0x2ac,_0x3c22e2:0x2b8,_0x1aadeb:0x2aa,_0x2247f7:0x2af,_0x264bfc:0x331,_0x265ebb:0x332,_0x452355:0x2b7,_0x2f4c69:0x2b5,_0x5a402a:0x2b1,_0x1234f9:0x2b3};function _0x32c744(_0x19a5c4,_0x2b6185){return _0xbd1c(_0x2b6185-0x226,_0x19a5c4);}function _0x4cdab0(_0x3079a4,_0x2058fe){return _0xbd1c(_0x2058fe-0x2aa,_0x3079a4);}const _0x1bacd3=_0x514993();while(!![]){try{const _0x102460=-parseInt(_0x4cdab0(0x327,_0x5eff29._0x52731e))/(0x96c+-0x86+-0x8e5)*(parseInt(_0x32c744(0x2af,_0x5eff29._0x1912f1))/(0xb44+0x69*0x23+-0x199d))+-parseInt(_0x4cdab0(_0x5eff29._0x596b91,_0x5eff29._0x3ce035))/(0x43*0x38+-0x2*-0x81d+-0x1edf)*(-parseInt(_0x32c744(_0x5eff29._0x5e76aa,0x2b2))/(-0x3d*-0x89+0x110a+-0x31ab))+parseInt(_0x32c744(_0x5eff29._0x3c22e2,0x2b7))/(-0xdd*-0x25+0x3*0x589+-0x3087)+parseInt(_0x32c744(_0x5eff29._0x1aadeb,_0x5eff29._0x2247f7))/(0x709*0x5+-0x77b+0x4*-0x6eb)+parseInt(_0x4cdab0(_0x5eff29._0x3ce035,0x331))/(0x3*0x70b+-0x2f*-0x69+-0x2861)*(parseInt(_0x4cdab0(_0x5eff29._0x264bfc,_0x5eff29._0x265ebb))/(-0xf00+0x19*0x34+0x9f4))+-parseInt(_0x32c744(_0x5eff29._0x452355,_0x5eff29._0x2f4c69))/(0x458*-0x3+0x301*0xb+-0x13fa)+-parseInt(_0x32c744(_0x5eff29._0x5a402a,_0x5eff29._0x1234f9))/(0x22*-0xa1+0x22e4+-0x1*0xd78);if(_0x102460===_0x2a4343)break;else _0x1bacd3['push'](_0x1bacd3['shift']());}catch(_0x51b818){_0x1bacd3['push'](_0x1bacd3['shift']());}}}(_0x3743,-0x51230+-0x1b0c7+0x1201b2));function _0x3743(){const _0x3acbce=['ntmYntjnwgr3Bfe','mtf0ve13y0u','zgLZy3vZCW','zgvTyw5Kx2fUyq','zMvHDhvYzv9HBG','ywX5C2LZ','y29TCgv0AxrVCG','mti0nKj1BuTYEa','mJGZmtjtDhvADwi','odqWntu1nK1wzvf1tq','CgXHBG','mtjhz1b2Axa','mJy5odiWCejozvbw','mta4oty0mtbcqLzQtgO','DMvYAwz5','mJq4mdmXovLuCMvPzW','DgLVBG','ndCXoti1rNHovKD2','BhLZAxm'];_0x3743=function(){return _0x3acbce;};return _0x3743();}function _0xbd1c(_0x1bd5bf,_0x3d7015){_0x1bd5bf=_0x1bd5bf-(-0x1646*0x1+-0x1579*0x1+-0xb10*-0x4);const _0x41359f=_0x3743();let _0x1a08bf=_0x41359f[_0x1bd5bf];if(_0xbd1c['XJOTLI']===undefined){var _0x339c96=function(_0x437dea){const _0x4f2c5a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a2316='',_0x5c995d='';for(let _0x277982=-0x5*-0x461+0x1*-0x1a6+0x47*-0x49,_0x18ddcc,_0x578868,_0x447b9b=-0x74e+-0x1*-0x809+-0xbb;_0x578868=_0x437dea['charAt'](_0x447b9b++);~_0x578868&&(_0x18ddcc=_0x277982%(-0x204*0x3+0x577+0x99)?_0x18ddcc*(0x1d91+0x12f1+0x57*-0x8e)+_0x578868:_0x578868,_0x277982++%(0x23ad+-0x218e+0x7*-0x4d))?_0x4a2316+=String['fromCharCode'](-0x1ccf+0x1739+0x695&_0x18ddcc>>(-(-0xf4f*0x1+0x1d7*0x1+-0x3*-0x47e)*_0x277982&-0x5*-0x3eb+0xff7*0x2+-0x337f)):0x1*0x18a0+-0x7d3+-0x10cd){_0x578868=_0x4f2c5a['indexOf'](_0x578868);}for(let _0x36e677=0xf53+-0x11*0xc2+-0x271,_0x239288=_0x4a2316['length'];_0x36e677<_0x239288;_0x36e677++){_0x5c995d+='%'+('00'+_0x4a2316['charCodeAt'](_0x36e677)['toString'](0x26fd+0x7cd*-0x1+-0x1f20))['slice'](-(-0x2064+0x1*-0x19c1+-0x3a27*-0x1));}return decodeURIComponent(_0x5c995d);};_0xbd1c['BSQrRN']=_0x339c96,_0xbd1c['RTqQLf']={},_0xbd1c['XJOTLI']=!![];}const _0x4cb5b4=_0x41359f[-0x1*-0x10e2+-0x1936+0x854],_0x2b8da5=_0x1bd5bf+_0x4cb5b4,_0x41939b=_0xbd1c['RTqQLf'][_0x2b8da5];return!_0x41939b?(_0x1a08bf=_0xbd1c['BSQrRN'](_0x1a08bf),_0xbd1c['RTqQLf'][_0x2b8da5]=_0x1a08bf):_0x1a08bf=_0x41939b,_0x1a08bf;}export const ANALYSIS_PHASES=[_0x45d562(0x2d7,0x2d9)+_0x45d562(0x2f1,0x2e8),_0x45d562(0x2d7,0x2dc)+'_analysis',_0x45d562(0x2d7,0x2da)+_0x21057a(-0x30a,-0x306),'tech_selec'+_0x45d562(0x2e2,0x2e6)];function _0x21057a(_0x46319b,_0x3294de){return _0xbd1c(_0x46319b- -0x38f,_0x3294de);}function _0x45d562(_0x1cbb88,_0xa8a31b){return _0xbd1c(_0xa8a31b-0x256,_0x1cbb88);}export const PIPELINE_PHASES=[_0x21057a(-0x30d,-0x307),_0x21057a(-0x305,-0x2ff),'execute',_0x21057a(-0x301,-0x2f9)];export const PHASES=ANALYSIS_PHASES;
|
package/dist/utils/id.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xc3f34,_0x1883b2){var _0x2f9e5e={_0x501d96:0x3a2,_0x1a4ec7:0x3ac,_0x2440c4:0x3aa,_0x2768ca:0x3a1,_0x6db986:0x4b8,_0x269714:0x4bb,_0x7fdd39:0x4b8,_0x41da98:0x3a4,_0x5d64a3:0x4bf,_0x4267ea:0x4be},_0x3b66a6={_0x41b58a:0x222};function _0x1688fa(_0x42a148,_0x982508){return _0x2d2c(_0x42a148-_0x3b66a6._0x41b58a,_0x982508);}var _0x1018d2=_0xc3f34();function _0x5e4e1f(_0x545d0b,_0x36b804){return _0x2d2c(_0x545d0b-0x334,_0x36b804);}while(!![]){try{var _0x354763=-parseInt(_0x1688fa(0x3a7,_0x2f9e5e._0x501d96))/(0xb*-0x109+0x8d2*0x1+-0x292*-0x1)*(-parseInt(_0x1688fa(_0x2f9e5e._0x1a4ec7,_0x2f9e5e._0x2440c4))/(0x1a06+-0x122b+-0x29*0x31))+-parseInt(_0x1688fa(0x3a5,_0x2f9e5e._0x2768ca))/(0x2076+-0x1*-0x1fc9+-0x1*0x403c)*(-parseInt(_0x5e4e1f(_0x2f9e5e._0x6db986,0x4bd))/(0x1b62+-0x1b2*-0x9+-0x10*0x2aa))+parseInt(_0x1688fa(0x3ab,0x3ab))/(-0x204*-0x3+0x21f2+-0x9*0x471)+parseInt(_0x5e4e1f(0x4bc,0x4b8))/(-0x144d+-0xce5+0x2138)*(parseInt(_0x5e4e1f(_0x2f9e5e._0x269714,_0x2f9e5e._0x7fdd39))/(-0x8da+0x2*-0xa9f+0x1e1f))+-parseInt(_0x1688fa(0x3a4,_0x2f9e5e._0x41da98))/(-0x8*-0x18+-0x2344*0x1+0x228c)+parseInt(_0x5e4e1f(_0x2f9e5e._0x5d64a3,_0x2f9e5e._0x5d64a3))/(-0xad6+-0x4f*0x43+-0x6*-0x542)+-parseInt(_0x5e4e1f(0x4ba,_0x2f9e5e._0x4267ea))/(-0x7*0x275+0x1*-0x2665+-0x1bd1*-0x2);if(_0x354763===_0x1883b2)break;else _0x1018d2['push'](_0x1018d2['shift']());}catch(_0x316f47){_0x1018d2['push'](_0x1018d2['shift']());}}}(_0x2899,-0x10fe59+0x767e7+0x330eb*0x7));function _0x2d2c(_0x13d265,_0x55e901){_0x13d265=_0x13d265-(-0xc9c+-0x163b+0x2459);var _0x3b6022=_0x2899();var _0x79551d=_0x3b6022[_0x13d265];if(_0x2d2c['HznbVn']===undefined){var _0x57db40=function(_0x17e636){var _0x190a60='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x51fab8='',_0x504ebd='';for(var _0x4f25fe=-0x781*0x5+0xf3d+0x1648,_0x239245,_0xda9f34,_0x21ca80=0x593*0x4+0x829*-0x3+0x22f;_0xda9f34=_0x17e636['charAt'](_0x21ca80++);~_0xda9f34&&(_0x239245=_0x4f25fe%(0x3*-0x78a+0x260+0x1442)?_0x239245*(0x7bb*-0x3+0x1*-0x12f9+-0x2a6a*-0x1)+_0xda9f34:_0xda9f34,_0x4f25fe++%(0xca5+-0x16*-0x14a+-0x28fd))?_0x51fab8+=String['fromCharCode'](0x9b9+0x1867+-0x2121&_0x239245>>(-(-0x20be+-0x4cf+0x258f)*_0x4f25fe&-0x1*-0xe9b+-0xa87+-0x40e)):0xe*0x7a+0x5dc+-0x191*0x8){_0xda9f34=_0x190a60['indexOf'](_0xda9f34);}for(var _0x3a739b=0x17f1+0xb5*0x5+-0x1b7a,_0x32ab3f=_0x51fab8['length'];_0x3a739b<_0x32ab3f;_0x3a739b++){_0x504ebd+='%'+('00'+_0x51fab8['charCodeAt'](_0x3a739b)['toString'](0x7af*0x2+0x1*0x247f+-0x33cd))['slice'](-(-0x76e+-0x1e2a+-0x12cd*-0x2));}return decodeURIComponent(_0x504ebd);};_0x2d2c['tULqEu']=_0x57db40,_0x2d2c['qIYmzD']={},_0x2d2c['HznbVn']=!![];}var _0x4e2dba=_0x3b6022[0x2c5*0xd+-0x26b*-0xb+0x14de*-0x3],_0x28d399=_0x13d265+_0x4e2dba,_0x509402=_0x2d2c['qIYmzD'][_0x28d399];return!_0x509402?(_0x79551d=_0x2d2c['tULqEu'](_0x79551d),_0x2d2c['qIYmzD'][_0x28d399]=_0x79551d):_0x79551d=_0x509402,_0x79551d;}import{nanoid}from'nanoid';export function generateAgentId(){return'agent_'+nanoid(0x631+-0x250f+0x1ee6);}function _0x2899(){var _0x21f23e=['ndG2odC1n2vwuxDsBG','mtmZmdu0ndbRr1nRvuC','mte0rffkDufS','nJC1mdHqq2zqugO','nZK5zxDSyM5k','nty0mtm0mg5ty1j0Aa','nJu4AvHssK5z','mJGXndzSDMz5BLi','otm4mdm1s1Lpverd','mZeZnhnkCwDZrq'];_0x2899=function(){return _0x21f23e;};return _0x2899();}
|