specops 0.3.0 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/agent/specops-codebase-mapper.md +1 -2
- package/.opencode/agent/specops-debugger.md +1 -2
- package/.opencode/agent/specops-executor.md +9 -3
- package/.opencode/agent/specops-integration-checker.md +1 -2
- package/.opencode/agent/specops-phase-researcher.md +1 -2
- package/.opencode/agent/specops-plan-checker.md +1 -2
- package/.opencode/agent/specops-planner.md +9 -3
- package/.opencode/agent/specops-project-researcher.md +1 -2
- package/.opencode/agent/specops-research-synthesizer.md +6 -3
- package/.opencode/agent/specops-roadmapper.md +1 -2
- package/.opencode/agent/specops-work-verifier.md +1 -2
- package/dist/__integration__/fixtures/generator.d.ts +4 -0
- package/dist/__integration__/fixtures/generator.js +1 -0
- package/dist/__integration__/mocks/server.d.ts +7 -0
- package/dist/__integration__/mocks/server.js +1 -0
- package/dist/__integration__/setup.d.ts +6 -0
- package/dist/__integration__/setup.js +1 -0
- package/dist/acceptance/lazyDetector.js +1 -1
- package/dist/acceptance/reporter.js +1 -1
- package/dist/acceptance/runner.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/techContextLoader.js +1 -1
- package/dist/engine.d.ts +1 -0
- 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/supervisorMachine.js +1 -1
- package/dist/persistence/schema.js +1 -1
- package/dist/persistence/stateFile.js +1 -1
- package/dist/plugin-engine.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/requirement-analysis/analyzers/repository-parser.d.ts +121 -0
- package/dist/requirement-analysis/analyzers/repository-parser.js +1 -0
- package/dist/requirement-analysis/generators/prd-generator.d.ts +90 -0
- package/dist/requirement-analysis/generators/prd-generator.js +1 -0
- package/dist/requirement-analysis/integrations/v1-integration.d.ts +73 -0
- package/dist/requirement-analysis/integrations/v1-integration.js +1 -0
- package/dist/requirement-analysis/tools/analyze-requirements.js +1 -0
- package/dist/requirement-analysis/types/analysis-result.d.ts +326 -0
- package/dist/requirement-analysis/types/analysis-result.js +1 -0
- package/dist/requirement-analysis/types/feature-mapping.d.ts +294 -0
- package/dist/requirement-analysis/types/feature-mapping.js +1 -0
- package/dist/requirement-analysis/types/index.d.ts +171 -0
- package/dist/requirement-analysis/types/index.js +1 -0
- package/dist/requirement-analysis/types/tech-stack.d.ts +213 -0
- package/dist/requirement-analysis/types/tech-stack.js +1 -0
- package/dist/requirement-analysis/utils/error-handler.d.ts +112 -0
- package/dist/requirement-analysis/utils/error-handler.js +1 -0
- package/dist/types/index.d.ts +4 -2
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +3 -2
- package/skills/competitor-search/SKILL.md +169 -0
- package/skills/demand-analysis/SKILL.md +307 -0
- package/skills/feature-search/SKILL.md +182 -0
- package/skills/requirement-analysis/README.md +464 -0
- package/skills/requirement-analysis/SKILL.md +224 -0
- package/skills/requirement-analysis/templates/feature-mapping-template.json +210 -0
- package/skills/requirement-analysis/templates/prd-template.md +104 -0
- package/skills/tech-selection/SKILL.md +198 -0
- package/dist/__e2e__/01-state-engine.e2e.test.d.ts +0 -10
- package/dist/__e2e__/01-state-engine.e2e.test.js +0 -1
- package/dist/acceptance/lazyDetector.test.d.ts +0 -1
- package/dist/acceptance/lazyDetector.test.js +0 -1
- package/dist/acceptance/reporter.test.d.ts +0 -1
- package/dist/acceptance/reporter.test.js +0 -1
- package/dist/acceptance/runner.test.d.ts +0 -1
- package/dist/acceptance/runner.test.js +0 -1
- package/dist/context/promptTemplate.test.d.ts +0 -1
- package/dist/context/promptTemplate.test.js +0 -1
- package/dist/context/techContextLoader.test.d.ts +0 -1
- package/dist/context/techContextLoader.test.js +0 -1
- package/dist/machines/agentMachine.test.d.ts +0 -1
- package/dist/machines/agentMachine.test.js +0 -1
- package/dist/machines/supervisorMachine.test.d.ts +0 -1
- package/dist/machines/supervisorMachine.test.js +0 -1
- package/dist/persistence/stateFile.test.d.ts +0 -1
- package/dist/persistence/stateFile.test.js +0 -1
package/dist/plugin-engine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x296930,_0x1cee3e){const _0xd56a47={_0x29f36c:0x11f,_0x2b1609:0x13c,_0x13f29c:0x92,_0x3f91c2:0x53a,_0x4179fb:0x72,_0x59ab9b:0x83,_0xb219d1:0x11c,_0x67affd:0x132,_0x51af3b:0x8c,_0x27c276:0x8b,_0x44e3be:0x161,_0x36f5d7:0x81,_0x2ee491:0xed,_0x3cf533:0x113},_0x9ed7f8={_0x2fd95f:0x20f};function _0x49a768(_0x193c93,_0x44408b){return _0x1af9(_0x193c93- -_0x9ed7f8._0x2fd95f,_0x44408b);}function _0xc9a292(_0x500b65,_0x2329bf){return _0x1af9(_0x2329bf-0x3a1,_0x500b65);}const _0x1108b4=_0x296930();while(!![]){try{const _0x5a3733=parseInt(_0x49a768(-_0xd56a47._0x29f36c,-_0xd56a47._0x2b1609))/(-0x957*0x1+-0x1f6e+0x11*0x266)+-parseInt(_0x49a768(-_0xd56a47._0x13f29c,-0x63))/(-0x2*-0x581+0x14b9+-0x1fb9)*(parseInt(_0xc9a292(_0xd56a47._0x3f91c2,0x4e9))/(0x14fc+-0x2678+0x3*0x5d5))+-parseInt(_0x49a768(-0xa7,-0x94))/(0x26f+-0x16*0x140+-0x1915*-0x1)*(parseInt(_0xc9a292(0x50d,0x522))/(0x1*-0x1393+-0x1*0x69d+-0x1*-0x1a35))+parseInt(_0x49a768(-_0xd56a47._0x4179fb,-_0xd56a47._0x59ab9b))/(0x142d+-0x875+0x2*-0x5d9)*(parseInt(_0x49a768(-_0xd56a47._0xb219d1,-_0xd56a47._0x67affd))/(-0x2008+-0x40f*0x3+0x13*0x254))+-parseInt(_0x49a768(-0x79,-_0xd56a47._0x51af3b))/(-0x4*0x38f+0x1139+-0x2f5*0x1)*(parseInt(_0x49a768(-_0xd56a47._0x59ab9b,-_0xd56a47._0x27c276))/(-0x1*-0xfb6+0x1166*-0x2+0x131f))+-parseInt(_0x49a768(-0x120,-_0xd56a47._0x44e3be))/(-0xbf*0x1d+0x1*0x1505+-0x15*-0x8)*(-parseInt(_0x49a768(-_0xd56a47._0x36f5d7,-0x8b))/(-0x2*0x5bf+0xfb0*0x2+-0x13d7))+parseInt(_0x49a768(-_0xd56a47._0x2ee491,-_0xd56a47._0x3cf533))/(-0x1ad+0x59*-0x1c+0xb75);if(_0x5a3733===_0x1cee3e)break;else _0x1108b4['push'](_0x1108b4['shift']());}catch(_0x2283f9){_0x1108b4['push'](_0x1108b4['shift']());}}}(_0x2389,-0x5d2f7+-0x599c8+0x134ad4));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 _0x6aef43={};_0x6aef43['demand_ana'+'lysis']=_0x165e9e(0x1cb,0x1ea),_0x6aef43['competitor'+_0x5ee92b(0x42,0x8c)]=_0x5ee92b(0x0,-0x36),_0x6aef43[_0x165e9e(0x258,0x1fe)+'alysis']=_0x5ee92b(-0x2,-0x4),_0x6aef43['tech_selec'+'tion']='技术选型';function _0x165e9e(_0xae28fb,_0x32271b){return _0x1af9(_0x32271b-0x98,_0xae28fb);}_0x6aef43[_0x165e9e(0x1e9,0x199)]='讨论',_0x6aef43[_0x5ee92b(0x52,0x80)]='规划',_0x6aef43['execute']='执行',_0x6aef43[_0x165e9e(0x1d1,0x22a)]='验证';const PHASE_NAMES=_0x6aef43,MAX_RETRIES=0x1*0xc9+-0x1a17*-0x1+-0x271*0xb;function _0x5ee92b(_0x487d89,_0x1a2b86){const _0x4029a8={_0x17896d:0x14d};return _0x1af9(_0x487d89- -_0x4029a8._0x17896d,_0x1a2b86);}async function readStateFile(_0x57e67c){const _0x453b63={_0x132671:0x4d,_0x4fd5e4:0x57};if(!existsSync(_0x57e67c))return null;function _0x5df89a(_0x4be28d,_0xf44fcb){return _0x5ee92b(_0x4be28d-0x54,_0xf44fcb);}const _0x65bc17=new StateFileManager(_0x57e67c);return _0x65bc17[_0x5df89a(_0x453b63._0x132671,_0x453b63._0x4fd5e4)]();}async function writeStateFile(_0x2184f0,_0x2c5e26){const _0x15532a={_0x5e08cd:0x331,_0x2d4218:0x32f,_0xfd5b6b:0x102,_0x525283:0x121,_0x495ce8:0x169,_0x38193d:0x187,_0x13661e:0xe0,_0x4a482e:0xf6,_0x1ef781:0x14d,_0x5c9156:0x36d,_0x4bbba4:0x360,_0x20f066:0x102,_0x5430f0:0x2c4,_0x357d58:0x313,_0x2c73b4:0x367,_0x20a639:0xfd,_0x4d5375:0x34f,_0x1a298d:0x353,_0x53701a:0x2fb,_0xb6d99b:0xf7,_0x55213c:0xf1,_0x4d6aca:0x116,_0x5b2465:0x371,_0x47b500:0x136},_0x5f115d={};_0x5f115d[_0x457203(_0x15532a._0x5e08cd,_0x15532a._0x2d4218)]=function(_0x4af671,_0x34a408){return _0x4af671<_0x34a408;},_0x5f115d[_0x420fe1(_0x15532a._0xfd5b6b,_0x15532a._0x525283)]='BlLkt',_0x5f115d[_0x420fe1(_0x15532a._0x495ce8,_0x15532a._0x38193d)]=function(_0x117c5c,_0x24a74f){return _0x117c5c===_0x24a74f;},_0x5f115d[_0x420fe1(_0x15532a._0x13661e,0x99)]=_0x420fe1(_0x15532a._0x4a482e,_0x15532a._0x1ef781),_0x5f115d[_0x457203(_0x15532a._0x5c9156,0x381)]='乐观锁冲突';function _0x420fe1(_0x540f10,_0x26d651){return _0x5ee92b(_0x540f10-0x134,_0x26d651);}_0x5f115d[_0x420fe1(0x136,0xec)]=function(_0x4f02c6,_0x17831e){return _0x4f02c6-_0x17831e;};function _0x457203(_0x43a1d9,_0x3cfd8b){return _0x165e9e(_0x3cfd8b,_0x43a1d9-0x135);}const _0xf9001a=_0x5f115d;for(let _0x5902c2=-0x5*-0x86+0x2045+0xe5*-0x27;_0xf9001a[_0x457203(_0x15532a._0x5e08cd,_0x15532a._0x4bbba4)](_0x5902c2,MAX_RETRIES);_0x5902c2++){try{if(_0xf9001a[_0x420fe1(_0x15532a._0x20f066,0x154)]!==_0x457203(0x302,0x2e5))return _0x19195c[_0x1d953e][_0x457203(_0x15532a._0x5430f0,0x2bb)];else{const _0x1e8402=new StateFileManager(_0x2184f0);await _0x1e8402[_0x457203(_0x15532a._0x357d58,_0x15532a._0x2c73b4)](),await _0x1e8402[_0x420fe1(_0x15532a._0x20a639,0x102)](_0x2c5e26);return;}}catch(_0x4d2a9e){if(_0xf9001a[_0x457203(_0x15532a._0x4d5375,0x31e)](_0x457203(_0x15532a._0x1a298d,0x397),_0xf9001a[_0x457203(0x2c6,_0x15532a._0x53701a)]))return'❌\x20Agent\x20'+_0x2b28c1+(_0x420fe1(0xdc,0x10f)+_0x420fe1(_0x15532a._0xb6d99b,0xba));else{if(_0x4d2a9e instanceof Error&&_0x4d2a9e['message'][_0x420fe1(_0x15532a._0x55213c,_0x15532a._0x4d6aca)](_0xf9001a['yHmMS'])&&_0xf9001a[_0x457203(0x331,_0x15532a._0x5b2465)](_0x5902c2,_0xf9001a[_0x420fe1(_0x15532a._0x47b500,0x18d)](MAX_RETRIES,0xe24+0x24ee+0x11*-0x301))){await new Promise(_0x275092=>setTimeout(_0x275092,-0x2454+0xcf7+0x178f+Math[_0x457203(0x33c,0x33d)]()*(-0xbf3+-0x2650+0x1*0x32a7)));continue;}throw _0x4d2a9e;}}}}function _0x1af9(_0x2e6bea,_0x21efab){_0x2e6bea=_0x2e6bea-(-0x1c67+-0x321+0x2076);const _0x1dd4b7=_0x2389();let _0x3a3ea8=_0x1dd4b7[_0x2e6bea];if(_0x1af9['ObuYpR']===undefined){var _0x20285e=function(_0x57156e){const _0x2b28c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17e37d='',_0x11c909='';for(let _0x2bc039=-0x20c1+0x1cb2+0x40f*0x1,_0x5c90af,_0x3d315c,_0x45cc32=-0x1*-0x1835+0xfa7+-0x2*0x13ee;_0x3d315c=_0x57156e['charAt'](_0x45cc32++);~_0x3d315c&&(_0x5c90af=_0x2bc039%(-0x1*-0x26e3+-0x2052+0x27*-0x2b)?_0x5c90af*(-0x10b*0x14+0xf13+-0x67*-0xf)+_0x3d315c:_0x3d315c,_0x2bc039++%(0x1*0x23cc+-0x24fd+0x135))?_0x17e37d+=String['fromCharCode'](-0x1cee+-0x243+0x2030&_0x5c90af>>(-(-0x19*-0x2d+-0x10ed+0xc8a)*_0x2bc039&-0x1b*-0x7a+0x1*0x178f+-0x2467*0x1)):0x20e8+-0x5d7+-0x1b11){_0x3d315c=_0x2b28c1['indexOf'](_0x3d315c);}for(let _0x30aeb9=-0x153a+-0x14d+0x1687,_0x434029=_0x17e37d['length'];_0x30aeb9<_0x434029;_0x30aeb9++){_0x11c909+='%'+('00'+_0x17e37d['charCodeAt'](_0x30aeb9)['toString'](-0x1*0x348+-0x8ad+0x11*0xb5))['slice'](-(0x36+0x184f+-0x1883));}return decodeURIComponent(_0x11c909);};_0x1af9['ohZQIx']=_0x20285e,_0x1af9['euKlDK']={},_0x1af9['ObuYpR']=!![];}const _0x417f95=_0x1dd4b7[-0x2*-0x1f7+-0x4*0x4be+0x16*0xaf],_0x794210=_0x2e6bea+_0x417f95,_0x1e4c50=_0x1af9['euKlDK'][_0x794210];return!_0x1e4c50?(_0x3a3ea8=_0x1af9['ohZQIx'](_0x3a3ea8),_0x1af9['euKlDK'][_0x794210]=_0x3a3ea8):_0x3a3ea8=_0x1e4c50,_0x3a3ea8;}function computeOverallPhase(_0x3534a2){const _0x270fdd={_0x137f2a:0x186,_0x47f6c6:0x150,_0x5552f7:0x37c,_0x1512a1:0x146},_0x4c5129={};_0x4c5129[_0x38cc6b(0x382,0x3b2)]=function(_0x2cc4a1,_0x5d6015){return _0x2cc4a1!==_0x5d6015;},_0x4c5129['XnDVZ']=_0x50b938(-0x160,-0x146);function _0x50b938(_0x1df578,_0x141d13){return _0x5ee92b(_0x141d13- -0xf7,_0x1df578);}const _0x391649=_0x4c5129;for(const _0x48d05a of Object[_0x50b938(-_0x270fdd._0x137f2a,-_0x270fdd._0x47f6c6)](_0x3534a2)){if(_0x391649[_0x38cc6b(0x407,0x3b2)](_0x3534a2[_0x48d05a][_0x38cc6b(0x3a3,_0x270fdd._0x5552f7)],_0x391649[_0x50b938(-0xc7,-0x11f)]))return _0x3534a2[_0x48d05a]['phase'];}function _0x38cc6b(_0xcc64b8,_0xc38c5){return _0x165e9e(_0xcc64b8,_0xc38c5-0x1ed);}return _0x50b938(-0x153,-_0x270fdd._0x1512a1);}export async function getStatus(_0x36c205){const _0x4a7ec2={_0x124eb0:0x18f,_0x162e6a:0x9,_0x520cbd:0x2a,_0x4fd57a:0x81,_0x5d6965:0x70,_0x424be5:0x3f,_0xb42b7d:0x212,_0xcaff7e:0x1bf,_0x11ee7d:0x1a,_0x49d3da:0x12,_0x413d73:0x185,_0x41cdcb:0x198,_0x459e58:0x84,_0x2cfeac:0x86,_0x3ddc97:0x7d,_0x140004:0x27,_0x5b3729:0x119,_0x372bf1:0x28,_0x2cbb68:0xf,_0x5101ed:0x175,_0x3d02ed:0x16d,_0x20467d:0xc9,_0x5046dc:0x6f,_0x447195:0x1c0,_0x515441:0x17,_0x4873e2:0x13,_0x4bcfc4:0x1e9,_0x547f08:0x1e5,_0x329735:0x154,_0x275977:0x1a3,_0x2cacca:0x46,_0x182644:0x102,_0x1e4c8e:0x29,_0x45797f:0x28,_0x1bcfdd:0xe,_0x4eab25:0x25,_0x342beb:0x17f,_0x2b8edb:0x191,_0x239f89:0x40,_0xc6102a:0x4e,_0x5e82d2:0x1e,_0x27245f:0x1e6,_0x309924:0x164,_0x595c04:0x1ed,_0x6eec50:0x2a,_0x1a7046:0x179,_0x1ce12e:0x3a,_0x2464e0:0x19b,_0x41f17d:0x20b,_0x412cd5:0x1ee,_0x5ba03d:0x18b,_0x4bdb9a:0xa1,_0x30b137:0x1f5,_0x11acd3:0x221,_0x5205d6:0x198,_0x1a46d5:0x1c3,_0xb0485e:0x1a4,_0x6804b5:0x53,_0x542d55:0x23,_0x1e9d8f:0x1dd,_0x5ac5c8:0x1e1},_0x3dc586={_0x12d52f:0x384},_0x4e3aa9={};_0x4e3aa9[_0x54e526(-0x142,-_0x4a7ec2._0x124eb0)]=function(_0x195fd1,_0x453c06){return _0x195fd1-_0x453c06;},_0x4e3aa9['MIRGI']=function(_0x46d917,_0x48c978){return _0x46d917+_0x48c978;},_0x4e3aa9[_0x368d31(_0x4a7ec2._0x162e6a,_0x4a7ec2._0x520cbd)]=_0x54e526(-0x216,-0x1ee),_0x4e3aa9[_0x368d31(0x6c,_0x4a7ec2._0x4fd57a)]=function(_0x17f8d6,_0x19526c){return _0x17f8d6>=_0x19526c;},_0x4e3aa9[_0x368d31(_0x4a7ec2._0x5d6965,_0x4a7ec2._0x424be5)]=function(_0x2ea1ef,_0x51c424){return _0x2ea1ef-_0x51c424;},_0x4e3aa9['VVlTX']=function(_0x296074,_0x3af92f){return _0x296074+_0x3af92f;},_0x4e3aa9[_0x54e526(-_0x4a7ec2._0xb42b7d,-0x1e8)]=_0x54e526(-_0x4a7ec2._0xcaff7e,-0x19c),_0x4e3aa9[_0x368d31(_0x4a7ec2._0x11ee7d,_0x4a7ec2._0x49d3da)]=_0x54e526(-_0x4a7ec2._0x413d73,-0x1bb),_0x4e3aa9[_0x54e526(-_0x4a7ec2._0x41cdcb,-0x195)]=_0x368d31(_0x4a7ec2._0x459e58,_0x4a7ec2._0x2cfeac)+_0x368d31(-0xc,0x8),_0x4e3aa9[_0x368d31(_0x4a7ec2._0x3ddc97,0x8b)]=_0x368d31(0x7d,_0x4a7ec2._0x140004)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x54e526(-_0x4a7ec2._0x5b3729,-0x169)+'\x20\x20\x20\x20\x20\x20|\x20操作'+_0x368d31(-_0x4a7ec2._0x372bf1,_0x4a7ec2._0x2cbb68)+_0x54e526(-0x17c,-0x15f)+'工具';const _0x4674b9=_0x4e3aa9;function _0x54e526(_0x40d5a9,_0x4e7bf2){return _0x165e9e(_0x40d5a9,_0x4e7bf2- -_0x3dc586._0x12d52f);}if(!existsSync(_0x36c205))return'⚠️\x20\x20状态文件不存在'+_0x54e526(-0x13a,-_0x4a7ec2._0x5101ed)+_0x54e526(-_0x4a7ec2._0x5b3729,-0x153);const _0x26645b=readFileSync(_0x36c205,_0x54e526(-0x176,-_0x4a7ec2._0x3d02ed)),_0x23f475=JSON[_0x368d31(_0x4a7ec2._0x20467d,_0x4a7ec2._0x5046dc)](_0x26645b),_0x11fd45=[];_0x11fd45[_0x368d31(-0x18,0x17)](_0x54e526(-0x1b4,-_0x4a7ec2._0x447195)+_0x23f475['project']['name']),_0x11fd45['push']('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0x23f475[_0x368d31(_0x4a7ec2._0x515441,_0x4a7ec2._0x4873e2)][_0x368d31(0x4,0x2d)+'se']]??_0x23f475[_0x54e526(-0x1b4,-_0x4a7ec2._0x4bcfc4)]['currentPha'+'se'])),_0x11fd45[_0x54e526(-0x1d7,-_0x4a7ec2._0x547f08)](_0x368d31(0x2d,0x2e)+_0x23f475[_0x54e526(-_0x4a7ec2._0x329735,-_0x4a7ec2._0x275977)]),_0x11fd45[_0x368d31(_0x4a7ec2._0x2cacca,0x17)](_0x368d31(_0x4a7ec2._0x182644,0xa8)+_0x23f475[_0x368d31(_0x4a7ec2._0x1e4c8e,_0x4a7ec2._0x45797f)]);const _0x5e9cb9=_0x23f475[_0x368d31(-_0x4a7ec2._0x162e6a,0x4d)],_0x2d633f=Object[_0x368d31(-0x1,0x4)](_0x5e9cb9);if(_0x2d633f[_0x54e526(-0x18d,-0x1c1)]===-0xd4d+-0x60f+-0x2*-0x9ae){if(_0x4674b9['ywXpX']===_0x368d31(_0x4a7ec2._0x1bcfdd,_0x4a7ec2._0x4eab25)){const _0x1854c9=_0x520716[_0x54e526(-_0x4a7ec2._0x342beb,-_0x4a7ec2._0x2b8edb)](_0x3331b5);if(_0x1854c9>=0x99f+-0x1*0x12b3+0x914)return _0x1854c9<_0x4674b9[_0x54e526(-_0x4a7ec2._0x3d02ed,-0x18f)](_0x22c57e[_0x368d31(_0x4a7ec2._0x239f89,0x3b)],-0x78b*-0x2+-0xbd2+0x5*-0xa7)?_0x1537e8[_0x4674b9[_0x368d31(_0x4a7ec2._0xc6102a,_0x4a7ec2._0x5e82d2)](_0x1854c9,-0x2548*-0x1+0x1b62+0x40a9*-0x1)]:_0x4674b9['deNBP'];const _0x3379db=_0x4ec5f4[_0x54e526(-_0x4a7ec2._0x27245f,-_0x4a7ec2._0x2b8edb)](_0x5b4ff3);if(_0x4674b9[_0x54e526(-_0x4a7ec2._0x309924,-0x17b)](_0x3379db,-0x15d9+0xa5e+0xb7b*0x1))return _0x3379db<_0x4674b9[_0x54e526(-_0x4a7ec2._0x595c04,-0x1bd)](_0x3176ff[_0x368d31(_0x4a7ec2._0x6eec50,0x3b)],0x399*0x1+-0x1*-0x427+-0x7bf)?_0x104690[_0x4674b9[_0x54e526(-0x19a,-_0x4a7ec2._0x1a7046)](_0x3379db,-0x2708+0x9b4*0x4+0x39)]:_0x368d31(-_0x4a7ec2._0x1ce12e,0xe);if(_0xbf87f5===_0x4674b9[_0x54e526(-_0x4a7ec2._0x2464e0,-0x1e8)])return _0x11b9b4[0x4*-0x882+0x308+0x1f00];return _0x54e526(-_0x4a7ec2._0x41f17d,-_0x4a7ec2._0x412cd5);}else return _0x11fd45['push'](_0x4674b9[_0x54e526(-0x198,-0x195)]),_0x11fd45[_0x368d31(0x86,0x80)]('\x0a');}_0x11fd45[_0x368d31(0x24,_0x4a7ec2._0x515441)](''),_0x11fd45[_0x368d31(-0x1d,0x17)](_0x4674b9[_0x54e526(-_0x4a7ec2._0x5ba03d,-0x171)]);function _0x368d31(_0x47af9d,_0x1008d0){return _0x165e9e(_0x47af9d,_0x1008d0- -0x188);}_0x11fd45['push'](_0x54e526(-0x187,-0x14b)+'-'[_0x368d31(0xde,_0x4a7ec2._0x4bdb9a)](-0x1e75+-0x1e36+0x3cfb));for(const _0x505ba2 of _0x2d633f){const _0x550199=_0x5e9cb9[_0x505ba2],_0x2b0c7d=PHASE_NAMES[_0x550199[_0x54e526(-0x1ab,-_0x4a7ec2._0x30b137)]]??_0x550199[_0x54e526(-_0x4a7ec2._0x11acd3,-0x1f5)],_0x22b04e=_0x550199['currentOpe'+'ration']||'-',_0x1eea60=_0x550199[_0x54e526(-_0x4a7ec2._0x5205d6,-_0x4a7ec2._0x1a46d5)+'ll']||'-';_0x11fd45[_0x54e526(-_0x4a7ec2._0xb0485e,-_0x4a7ec2._0x547f08)]('\x20\x20\x20'+_0x505ba2['padEnd'](0x14ef+0x161b+0x7d*-0x58)+_0x368d31(_0x4a7ec2._0x6804b5,0x1b)+_0x2b0c7d[_0x368d31(-_0x4a7ec2._0x1bcfdd,_0x4a7ec2._0x542d55)](-0x171a+0x2b*-0x10+0x19d8)+_0x54e526(-_0x4a7ec2._0x1e9d8f,-_0x4a7ec2._0x5ac5c8)+_0x22b04e[_0x368d31(0x23,_0x4a7ec2._0x542d55)](0x13e8+-0x1b14+0x1*0x741)+'\x20|\x20'+_0x1eea60);}return _0x11fd45[_0x368d31(0x3d,0x80)]('\x0a');}export async function advancePhase(_0x2bc413,_0x4ceff1){const _0x52c274={_0x29c52d:0x386,_0x4f563a:0x3a8,_0xcf57b4:0x9b,_0x2bee08:0xd0,_0x284bcc:0x119,_0x5e7db3:0xad,_0x1e72ab:0x5b,_0x45b6cb:0x78,_0xecfe8f:0xa5,_0x3ac362:0xcd,_0x3e60c4:0x7d,_0x5173a1:0x90,_0x404512:0xab,_0x5f2133:0x6a,_0x240976:0x373,_0x5225cb:0x56,_0x2e937c:0x3c5,_0x17bdad:0x62,_0x1a49ec:0x2f,_0x419e56:0xd,_0x57dc1f:0x5a,_0x19c307:0x318,_0x3fe607:0x332,_0x115d6d:0x361,_0x4247b0:0x41,_0x2eef54:0x32b,_0x2cb905:0x334,_0x5d78ed:0x92,_0x15c0a1:0x359,_0x2904da:0x35f,_0x21c15a:0x35f,_0x3b08e7:0x27,_0x358800:0x2fb,_0x4583fa:0x31b,_0xb2b01c:0x2dc,_0x45fa9b:0x31b,_0x2f262d:0x6c,_0x572636:0x45,_0x3e60f6:0x78,_0x10db5a:0x312,_0x38d89e:0x327,_0x19260b:0xaf,_0x5a8b63:0xec,_0x56b3bf:0x333,_0x3f1c83:0x363,_0x14cc07:0x3a3,_0x2fd629:0x3d3,_0x74c790:0x399,_0x54b5c3:0x82,_0x4249e7:0x48,_0x4ef0ff:0xbf,_0x735d33:0xaa},_0x3c9193={'aDoNH':function(_0x359936,_0xc82a94){return _0x359936(_0xc82a94);},'cWHAS':function(_0x4fc6dd,_0x3aef84){return _0x4fc6dd!==_0x3aef84;},'gqCqm':'nxINx','lyjUg':_0x403a90(_0x52c274._0x29c52d,_0x52c274._0x4f563a),'Pucdx':function(_0x1ac69f,_0x1529dd){return _0x1ac69f===_0x1529dd;},'tOOiD':function(_0x1e14d5,_0x2e34c9){return _0x1e14d5(_0x2e34c9);},'VsrBr':function(_0x327663,_0x344d68,_0x431348){return _0x327663(_0x344d68,_0x431348);},'vEDaY':_0x403a90(0x347,0x322)},_0x36dc4b=await _0x3c9193[_0x3f47fa(_0x52c274._0xcf57b4,0x4e)](readStateFile,_0x2bc413);if(!_0x36dc4b)return _0x3f47fa(0xc3,_0x52c274._0x2bee08)+',请先运行\x20new-'+_0x3f47fa(0xe8,_0x52c274._0x284bcc);const _0x241b46=_0x4ceff1??Object['keys'](_0x36dc4b['agents'])[_0x3f47fa(0xe6,_0x52c274._0x5e7db3)](_0x5cad11=>_0x36dc4b['agents'][_0x5cad11][_0x3f47fa(0x46,0x5)]!=='completed');if(!_0x241b46){if(_0x3c9193[_0x3f47fa(_0x52c274._0x1e72ab,_0x52c274._0x45b6cb)](_0x3c9193[_0x3f47fa(0xba,_0x52c274._0xecfe8f)],_0x3c9193[_0x3f47fa(_0x52c274._0x3ac362,0x98)]))return _0x3f47fa(_0x52c274._0x3e60c4,_0x52c274._0x5173a1)+_0x403a90(0x3d2,0x3b7);else{const _0x121d8a=_0x1ff22b[_0x30b6b1],_0x1e5024=_0x25e292[_0x121d8a[_0x3f47fa(0x46,0x41)]]??_0x121d8a[_0x403a90(0x2cf,0x31b)],_0x454b6d=_0x121d8a[_0x3f47fa(_0x52c274._0x404512,_0x52c274._0x5f2133)+_0x403a90(_0x52c274._0x240976,0x31a)]||'-',_0x461d3d=_0x121d8a['currentSki'+'ll']||'-';_0x5066db[_0x3f47fa(_0x52c274._0x5225cb,0x92)](_0x403a90(0x400,_0x52c274._0x2e937c)+_0x53c886[_0x3f47fa(_0x52c274._0x17bdad,_0x52c274._0x1a49ec)](-0x1fd3+-0xf3d+-0x7db*-0x6)+_0x3f47fa(0x5a,_0x52c274._0x419e56)+_0x1e5024['padEnd'](0x1da9+-0x5*-0x652+-0x3d35)+_0x3f47fa(_0x52c274._0x57dc1f,0x2e)+_0x454b6d[_0x403a90(_0x52c274._0x19c307,0x337)](-0x1395+-0x170f*0x1+-0x2ab9*-0x1)+_0x403a90(0x34d,0x32f)+_0x461d3d);}}const _0x390b64=_0x36dc4b[_0x403a90(_0x52c274._0x3fe607,_0x52c274._0x115d6d)][_0x241b46];function _0x403a90(_0x29ef7e,_0x39b073){return _0x5ee92b(_0x39b073-0x371,_0x29ef7e);}if(!_0x390b64)return _0x3f47fa(0x4c,0x3e)+_0x241b46+(_0x3f47fa(0x44,_0x52c274._0x4247b0)+_0x403a90(_0x52c274._0x2eef54,_0x52c274._0x2cb905));if(_0x390b64[_0x403a90(0x2e9,0x31b)]===_0x3f47fa(0x4d,0x46))return _0x3c9193[_0x3f47fa(_0x52c274._0x5d78ed,0xd0)](_0x403a90(_0x52c274._0x15c0a1,_0x52c274._0x2904da),_0x403a90(0x3a5,_0x52c274._0x21c15a))?'['+_0x241b46+_0x3f47fa(0x72,_0x52c274._0x3b08e7):_0x403a90(0x3a8,0x3b8)+_0x5107df+_0x403a90(_0x52c274._0x358800,0x32c);const _0x2b6d88=computeNextPhase(_0x390b64['phase']),_0x55e481=PHASE_NAMES[_0x390b64[_0x3f47fa(0x46,0x2e)]]??_0x390b64[_0x403a90(0x359,_0x52c274._0x4583fa)],_0x53345a=PHASE_NAMES[_0x2b6d88]??_0x2b6d88,_0x387155={..._0x36dc4b['agents']},_0x367cd3=_0x387155,_0x52f3c4={..._0x390b64};_0x52f3c4[_0x403a90(_0x52c274._0xb2b01c,_0x52c274._0x45fa9b)]=_0x2b6d88,_0x52f3c4[_0x3f47fa(_0x52c274._0x404512,_0x52c274._0x2f262d)+_0x3f47fa(_0x52c274._0x572636,0x85)]='',_0x52f3c4[_0x3f47fa(_0x52c274._0x3e60f6,0x61)+'ll']='',_0x367cd3[_0x241b46]=_0x52f3c4;const _0x1df5e0=_0x3c9193[_0x403a90(0x2d9,_0x52c274._0x10db5a)](computeOverallPhase,_0x367cd3),_0x180e39={..._0x36dc4b[_0x403a90(0x352,_0x52c274._0x38d89e)]};_0x180e39[_0x3f47fa(0x6c,_0x52c274._0x19260b)+'se']=_0x1df5e0;function _0x3f47fa(_0x348deb,_0xdb7e42){return _0x165e9e(_0xdb7e42,_0x348deb- -0x149);}const _0x557a8e={};_0x557a8e[_0x403a90(0x2de,0x327)]=_0x180e39,_0x557a8e[_0x403a90(0x33a,_0x52c274._0x115d6d)]=_0x367cd3,_0x557a8e['machineSna'+_0x3f47fa(0xea,_0x52c274._0x5a8b63)]=_0x36dc4b[_0x403a90(_0x52c274._0x56b3bf,_0x52c274._0x3f1c83)+_0x403a90(_0x52c274._0x14cc07,0x3bf)],await _0x3c9193[_0x403a90(0x390,0x372)](writeStateFile,_0x2bc413,_0x557a8e);const _0x39754e=[];return _0x39754e['push']('['+_0x241b46+']\x20'+_0x55e481+_0x403a90(_0x52c274._0x2fd629,_0x52c274._0x74c790)+_0x53345a),_0x2b6d88===_0x3c9193[_0x3f47fa(0xd8,0x9b)]&&_0x39754e['push'](_0x3f47fa(_0x52c274._0x54b5c3,_0x52c274._0x4249e7)+_0x241b46+_0x403a90(0x40a,0x3b7)),_0x39754e[_0x3f47fa(_0x52c274._0x4ef0ff,_0x52c274._0x735d33)]('\x0a');}function computeNextPhase(_0x34c98d){const _0x35e458={_0x256298:0x1d4,_0x27e95e:0x1f8,_0x35f896:0x218,_0x1cb93f:0xca,_0x49060b:0x8a,_0x42fa96:0x229,_0x40bc3c:0x39,_0x23f352:0x4c,_0x163b4d:0x1e2,_0x361478:0x91,_0x5105c3:0x28,_0x42ac3d:0x76,_0x5de080:0x99,_0x3aa548:0x32,_0x2fbb79:0x289,_0x500e4c:0x225,_0x590c4b:0x236,_0x368a9f:0xd5,_0x519ad8:0x282,_0x28b14f:0x244,_0x4225ee:0x291,_0x545fc3:0x2bf},_0xfcf5b={};function _0x357b3a(_0x5d19a1,_0x99479a){return _0x5ee92b(_0x99479a- -0x6d,_0x5d19a1);}_0xfcf5b[_0x36eeff(-0x21d,-_0x35e458._0x256298)]=function(_0x844f15,_0x45cd62){return _0x844f15!==_0x45cd62;},_0xfcf5b[_0x36eeff(-_0x35e458._0x27e95e,-0x1f5)]=_0x357b3a(-0x9e,-0xbc),_0xfcf5b[_0x36eeff(-0x23c,-_0x35e458._0x35f896)]=_0x357b3a(-_0x35e458._0x1cb93f,-_0x35e458._0x49060b),_0xfcf5b[_0x36eeff(-0x264,-_0x35e458._0x42fa96)]=function(_0x2e9d58,_0x1b54a2){return _0x2e9d58<_0x1b54a2;},_0xfcf5b['ReOPw']=function(_0x314276,_0xc837bc){return _0x314276+_0xc837bc;},_0xfcf5b[_0x357b3a(-_0x35e458._0x40bc3c,-_0x35e458._0x23f352)]=function(_0x87bd79,_0x29e4f5){return _0x87bd79===_0x29e4f5;},_0xfcf5b['ADWzj']=function(_0x56942f,_0x3d51d0){return _0x56942f<_0x3d51d0;};function _0x36eeff(_0x59f31f,_0x2bc11a){return _0x165e9e(_0x2bc11a,_0x59f31f- -0x418);}_0xfcf5b[_0x36eeff(-_0x35e458._0x163b4d,-0x1d2)]='idle';const _0x24a453=_0xfcf5b,_0x10aa43=PHASES[_0x357b3a(-_0x35e458._0x361478,-0x5f)](_0x34c98d);if(_0x10aa43>=-0x2*0x5ce+-0x25b3+0x314f){if(_0x357b3a(-_0x35e458._0x1cb93f,-0x80)!==_0x24a453[_0x357b3a(-_0x35e458._0x5105c3,-_0x35e458._0x42ac3d)])return _0x24a453['SJMSF'](_0x10aa43,PHASES[_0x357b3a(-0xe5,-0x8f)]-(-0x2703+0x17*-0x53+0x1*0x2e79))?PHASES[_0x24a453['ReOPw'](_0x10aa43,0x3*0x78d+-0x5*-0x2fb+-0x258d)]:_0x357b3a(-_0x35e458._0x5de080,-0xbc);else{if(_0x24a453['oJBRN'](_0x2ced27[_0x1c818d]['phase'],_0x24a453[_0x357b3a(-0x31,-_0x35e458._0x3aa548)]))return _0x350d3f[_0x1b07fb][_0x36eeff(-_0x35e458._0x2fbb79,-0x266)];}}const _0x8f2b31=PIPELINE_PHASES[_0x36eeff(-_0x35e458._0x500e4c,-0x249)](_0x34c98d);if(_0x8f2b31>=0x94d+-0xe6*0xd+0x261){if(_0x24a453['jtrHb'](_0x36eeff(-_0x35e458._0x590c4b,-0x23c),_0x357b3a(-0x69,-0x70)))return _0x24a453[_0x357b3a(-_0x35e458._0x368a9f,-0xb4)](_0x8f2b31,PIPELINE_PHASES['length']-(0x7f*0x43+0x2301+0x287*-0x1b))?PIPELINE_PHASES[_0x8f2b31+(-0x1b07+-0x551+0xd*0x27d)]:_0x36eeff(-_0x35e458._0x519ad8,-0x27a);else{const _0x2c5089=_0x82923d[_0x173cec[_0x36eeff(-0x244,-0x204)]];_0x4bc17a[_0x209dcf[_0x36eeff(-_0x35e458._0x28b14f,-_0x35e458._0x4225ee)]]={..._0x2c5089,'childIds':_0x2c5089[_0x357b3a(-0x6e,-0xc8)][_0x357b3a(-0x85,-0xba)](_0x744a77=>_0x744a77!==_0x5e33d5)};}}if(_0x34c98d===_0x24a453['JqKvy'])return PHASES[0x1659+0x1366+-0x1*0x29bf];return _0x36eeff(-0x282,-_0x35e458._0x545fc3);}export async function newProject(_0x53bca2,_0x1e1213){const _0x1031ec={_0x5112ea:0x1a8,_0x14b583:0x1c8,_0x38ab1c:0x1a3,_0x372609:0x20e,_0x20345d:0x1f8,_0x46db97:0x235,_0xe4afaa:0x1d6,_0x2f85fe:0x1ba,_0x260baf:0x1d3,_0x456c38:0x13d,_0x5d655d:0x193,_0x53d220:0x21d,_0x3815ed:0x1c2,_0x448bad:0x241,_0xaa156d:0x18e,_0x129420:0x1dc,_0x48ecc1:0x1e2,_0x45e602:0x22f},_0x4a232c={_0x791456:0x1cb},_0xe41b07={'chPIe':function(_0x5ca509,_0x5d3f2f){return _0x5ca509(_0x5d3f2f);},'XMdAq':function(_0x114bfd){return _0x114bfd();},'FZHOl':_0x9a560d(-_0x1031ec._0x5112ea,-_0x1031ec._0x14b583),'pszzR':_0x9a560d(-0x1b3,-_0x1031ec._0x38ab1c)},_0x670ada=resolve(_0x53bca2,'..');if(!_0xe41b07[_0x5202c3(_0x1031ec._0x372609,0x1db)](existsSync,_0x670ada)){const _0x40291c={};_0x40291c[_0x9a560d(-0x1e2,-0x1d6)]=!![],mkdirSync(_0x670ada,_0x40291c);}const _0x28c147=_0xe41b07[_0x9a560d(-0x1e2,-_0x1031ec._0x20345d)](generateAgentId),_0xf53a15={};_0xf53a15['agentId']=_0x28c147,_0xf53a15[_0x5202c3(_0x1031ec._0x372609,0x1f1)]=null,_0xf53a15[_0x9a560d(-0x215,-0x226)]=[],_0xf53a15['phase']=_0xe41b07[_0x5202c3(_0x1031ec._0x46db97,0x208)];function _0x5202c3(_0xea3d80,_0x25a204){return _0x5ee92b(_0x25a204-0x202,_0xea3d80);}_0xf53a15[_0x5202c3(0x1f4,0x211)+_0x9a560d(-_0x1031ec._0xe4afaa,-0x222)]='',_0xf53a15[_0x9a560d(-_0x1031ec._0x2f85fe,-0x1ef)+'ll']='';const _0x46690e=_0xf53a15,_0x277d0b={};_0x277d0b['name']=_0x1e1213;function _0x9a560d(_0x390125,_0x158aca){return _0x5ee92b(_0x158aca- -_0x4a232c._0x791456,_0x390125);}_0x277d0b[_0x5202c3(0x20d,0x1d2)+'se']=_0x9a560d(-_0x1031ec._0x260baf,-_0x1031ec._0x14b583);const _0x3b7598={};_0x3b7598[_0x28c147]=_0x46690e;const _0x235480={};_0x235480[_0x9a560d(-0x26c,-0x215)]=_0x277d0b,_0x235480[_0x5202c3(0x1f3,0x1f2)]=_0x3b7598,_0x235480[_0x9a560d(-0x1d3,-0x1d9)+'pshot']=null,await writeStateFile(_0x53bca2,_0x235480);const _0x2bd27d=[];return _0x2bd27d['push'](_0x9a560d(-_0x1031ec._0x456c38,-_0x1031ec._0x5d655d)+_0x1e1213),_0x2bd27d['push']('\x20\x20\x20目录:\x20'+_0x670ada),_0x2bd27d['push'](_0x9a560d(-0x1d4,-_0x1031ec._0x53d220)+_0x5202c3(0x1be,_0x1031ec._0x3815ed)+_0x28c147),_0x2bd27d[_0x9a560d(-_0x1031ec._0x448bad,-0x211)](_0x9a560d(-0x16b,-_0x1031ec._0xaa156d)+PIPELINE_PHASES[_0x5202c3(0x1e1,_0x1031ec._0x129420)](_0x374459=>PHASE_NAMES[_0x374459]??_0x374459)[_0x9a560d(-0x178,-0x1a8)](_0xe41b07[_0x5202c3(_0x1031ec._0x48ecc1,_0x1031ec._0x45e602)])),_0x2bd27d[_0x9a560d(-0x1e2,-0x1a8)]('\x0a');}export async function updateOperation(_0x24e20e,_0x1026e0,_0xc2ecfe,_0x2667f4){const _0x3867d0={_0x2eb48a:0x1e0,_0xff9069:0x1c2,_0x2c2caf:0x29d,_0x5a4892:0x217,_0x1caf14:0x25f,_0x5c7898:0x22e,_0x13006f:0x25a,_0x5417b0:0x217,_0x48e1d3:0x26a,_0x3d8582:0x2a6,_0x34c21e:0x286,_0xdc4d25:0x240,_0x16653c:0x23d,_0x10258b:0x273,_0x4acc9d:0x251,_0x13e980:0x2cc,_0x42a534:0x287,_0x42cf1e:0x215,_0x1bee14:0x23c,_0x530bc4:0x2e5,_0x1e2580:0x244,_0x2fb154:0x1b9,_0x3c51f2:0x178},_0x526c5c={_0x3f629c:0x297},_0x666f9f={};_0x666f9f[_0x527152(0x27c,0x2a2)]=_0x4ec757(-_0x3867d0._0x2eb48a,-_0x3867d0._0xff9069);function _0x4ec757(_0x279d87,_0x1ca28e){return _0x165e9e(_0x1ca28e,_0x279d87- -0x3ec);}const _0x557b5f=_0x666f9f,_0x4c7a91=await readStateFile(_0x24e20e);if(!_0x4c7a91)return _0x557b5f[_0x527152(_0x3867d0._0x2c2caf,0x2a2)];const _0x2091e5=_0x4c7a91[_0x4ec757(-_0x3867d0._0x5a4892,-0x20d)][_0x1026e0];if(!_0x2091e5)return'❌\x20Agent\x20'+_0x1026e0+(_0x4ec757(-_0x3867d0._0x1caf14,-_0x3867d0._0x5c7898)+_0x527152(0x249,_0x3867d0._0x13006f));const _0x2f14fe={..._0x4c7a91[_0x4ec757(-_0x3867d0._0x5417b0,-0x1e6)]},_0x28af1f=_0x2f14fe,_0x5b7fb8={..._0x2091e5};_0x5b7fb8[_0x527152(_0x3867d0._0x48e1d3,_0x3867d0._0x3d8582)+_0x527152(_0x3867d0._0x34c21e,_0x3867d0._0xdc4d25)]=_0xc2ecfe,_0x5b7fb8[_0x527152(_0x3867d0._0x16653c,_0x3867d0._0x10258b)+'ll']=_0x2667f4,_0x28af1f[_0x1026e0]=_0x5b7fb8;const _0x4d7b6e={};_0x4d7b6e[_0x4ec757(-_0x3867d0._0x4acc9d,-0x22a)]=_0x4c7a91['project'],_0x4d7b6e[_0x527152(_0x3867d0._0x13e980,_0x3867d0._0x42a534)]=_0x28af1f;function _0x527152(_0x2f2ebe,_0xadf1f5){return _0x5ee92b(_0xadf1f5-_0x526c5c._0x3f629c,_0x2f2ebe);}return _0x4d7b6e[_0x4ec757(-_0x3867d0._0x42cf1e,-_0x3867d0._0x1bee14)+_0x527152(0x2fc,_0x3867d0._0x530bc4)]=_0x4c7a91[_0x527152(_0x3867d0._0x1e2580,0x289)+_0x4ec757(-_0x3867d0._0x2fb154,-_0x3867d0._0x3c51f2)],await writeStateFile(_0x24e20e,_0x4d7b6e),_0x4ec757(-0x1bf,-0x1fd)+_0x1026e0+_0x4ec757(-0x20d,-0x1c5)+_0xc2ecfe+'\x20('+_0x2667f4+')';}export async function registerAgent(_0x479fd7,_0x246c5a,_0x52527e={}){const _0x1e9904={_0x181672:0x11a,_0x1ff75a:0x334,_0x2441da:0x321,_0x552c2a:0x328,_0x20f47f:0x2e0,_0x57b17b:0x110,_0x2cab55:0x101,_0x4de8c7:0xf7,_0x36a485:0x4f,_0x22a52b:0xc6,_0x5f43b8:0xc8,_0x278492:0x126,_0x13a126:0x2de,_0x3faf85:0x289,_0x32b62d:0x91,_0x3fcfef:0x302,_0x261548:0xb5,_0x517069:0xd5,_0x118880:0x355,_0x1fcf18:0xaa,_0x25ba69:0x9d,_0x294652:0x82,_0x22c809:0x281,_0x447fc4:0xd0,_0x548672:0x9d,_0x447818:0x2bf,_0x1fb5d8:0x27f,_0x3089b8:0x348,_0x4ef7cd:0x378,_0x30d622:0xdf,_0x4c9e1e:0xd2,_0xbad5af:0x2f0,_0xb561a1:0x297,_0x5ae1c7:0x8d,_0x227f82:0x2a6,_0x71d765:0xca,_0x3ccd2e:0x81,_0x16d928:0x10b,_0x5c2629:0xe6,_0x295188:0x80,_0x1ae86b:0x2dd,_0x193c22:0x2ec,_0x2065a2:0x2ea,_0x2929b9:0x2d5,_0x140642:0xc0,_0x357eaf:0x52,_0x445107:0x94,_0x860f24:0xb2,_0x2c3a63:0xa9,_0x4f0cbe:0xa3,_0x24839b:0x32b,_0x3268bf:0x24f,_0x354272:0x28f,_0x401ece:0x2f3,_0x9c5016:0xbf,_0x1341e8:0xc9,_0x14537f:0x34f,_0x2e5861:0x397,_0x435f36:0xbb,_0x47a6da:0xe9,_0x3aa167:0x91,_0x403e94:0x2bb,_0x34cc33:0x308,_0x2d3483:0x2d6},_0x2a0b8b={_0x595ae0:0xd7},_0x3c4268={'eKGow':function(_0x126c1e,_0x27824b){return _0x126c1e!==_0x27824b;},'cYLtu':_0x2dfed7(0x162,_0x1e9904._0x181672),'WPTBv':_0x3588f7(_0x1e9904._0x1ff75a,_0x1e9904._0x2441da),'jZzvL':_0x3588f7(_0x1e9904._0x552c2a,_0x1e9904._0x20f47f)+_0x2dfed7(_0x1e9904._0x57b17b,_0x1e9904._0x2cab55)+_0x2dfed7(0xd9,0x123),'ERKYD':_0x2dfed7(_0x1e9904._0x4de8c7,0xdf),'RQIZl':'idle','WKfoJ':function(_0x3d04c5,_0x216cf5){return _0x3d04c5!==_0x216cf5;},'NIzOr':_0x3588f7(0x2a5,0x255),'hbgzI':function(_0x5c51a2,_0xc1589e,_0x2b159d){return _0x5c51a2(_0xc1589e,_0x2b159d);}};function _0x3588f7(_0x350b2f,_0x19fb45){return _0x5ee92b(_0x350b2f-0x301,_0x19fb45);}const _0x1f5e37=await readStateFile(_0x479fd7);if(!_0x1f5e37){if(_0x3c4268[_0x2dfed7(_0x1e9904._0x36a485,0x8f)](_0x3c4268[_0x2dfed7(_0x1e9904._0x22a52b,_0x1e9904._0x5f43b8)],_0x3c4268[_0x2dfed7(0xf4,_0x1e9904._0x278492)]))return _0x3c4268[_0x3588f7(_0x1e9904._0x13a126,_0x1e9904._0x3faf85)];else _0x3d315c[_0x2dfed7(0x7d,_0x1e9904._0x32b62d)]('\x0a✅\x20Agent\x20'+_0x45cc32+_0x2dfed7(0x10c,0x11d));}if(_0x1f5e37[_0x2dfed7(0x93,0xc7)][_0x246c5a]){if(_0x3c4268['ERKYD']!==_0x3c4268['ERKYD']){const _0x5db97d=_0x3e3245[_0x2e6bea],_0x16d540=_0x21efab[_0x5db97d[_0x3588f7(0x2ab,0x251)]]??_0x5db97d[_0x3588f7(0x2ab,_0x1e9904._0x3fcfef)],_0x591702=_0x5db97d['currentOpe'+_0x2dfed7(_0x1e9904._0x261548,0x80)]||'-',_0x337fb8=_0x5db97d[_0x2dfed7(_0x1e9904._0x517069,0xb3)+'ll']||'-';_0x1dd4b7[_0x3588f7(0x2bb,0x2fe)](_0x3588f7(_0x1e9904._0x118880,0x347)+_0x3a3ea8[_0x2dfed7(_0x1e9904._0x1fcf18,_0x1e9904._0x25ba69)](-0x6d5+0x1*0x1d71+-0x168a)+_0x2dfed7(_0x1e9904._0x294652,0x95)+_0x16d540[_0x3588f7(0x2c7,_0x1e9904._0x22c809)](0x1b61+0x23ea+-0x1*0x3f3d)+'\x20|\x20'+_0x591702[_0x2dfed7(_0x1e9904._0x447fc4,_0x1e9904._0x548672)](0x2dd*0x8+0x191*-0xb+-0x4*0x166)+_0x3588f7(_0x1e9904._0x447818,_0x1e9904._0x1fb5d8)+_0x337fb8);}else return _0x3588f7(_0x1e9904._0x3089b8,_0x1e9904._0x4ef7cd)+_0x246c5a+_0x2dfed7(_0x1e9904._0x30d622,0x92);}const _0x18e8ec=_0x52527e[_0x2dfed7(_0x1e9904._0x4c9e1e,0x81)]??_0x3c4268['RQIZl'];function _0x2dfed7(_0xde7de1,_0x1c42f3){return _0x5ee92b(_0x1c42f3-_0x2a0b8b._0x595ae0,_0xde7de1);}const _0x1238b1=_0x52527e[_0x3588f7(_0x1e9904._0xbad5af,_0x1e9904._0xb561a1)]??null,_0x15d21a={};_0x15d21a['agentId']=_0x246c5a,_0x15d21a[_0x2dfed7(_0x1e9904._0x5ae1c7,0xc6)]=_0x1238b1,_0x15d21a[_0x3588f7(_0x1e9904._0x227f82,0x280)]=[],_0x15d21a[_0x2dfed7(_0x1e9904._0x71d765,_0x1e9904._0x3ccd2e)]=_0x18e8ec,_0x15d21a[_0x2dfed7(_0x1e9904._0x16d928,_0x1e9904._0x5c2629)+_0x2dfed7(0xc1,_0x1e9904._0x295188)]='',_0x15d21a[_0x3588f7(_0x1e9904._0x1ae86b,_0x1e9904._0x193c22)+'ll']='';const _0x259d92=_0x15d21a,_0x567c63={..._0x1f5e37['agents']};_0x567c63[_0x246c5a]=_0x259d92;const _0x364c1c=_0x567c63;if(_0x1238b1&&_0x364c1c[_0x1238b1]){if(_0x3588f7(_0x1e9904._0x2065a2,_0x1e9904._0x2929b9)===_0x2dfed7(0xa6,_0x1e9904._0x140642)){const _0x494633=_0x364c1c[_0x1238b1];if(!_0x494633['childIds'][_0x2dfed7(_0x1e9904._0x357eaf,_0x1e9904._0x445107)](_0x246c5a)){if(_0x3c4268[_0x2dfed7(_0x1e9904._0x860f24,_0x1e9904._0x2c3a63)]('YLiPm',_0x3c4268[_0x2dfed7(0xa9,_0x1e9904._0x4f0cbe)]))return'⚠️\x20\x20状态文件不存在'+_0x3588f7(_0x1e9904._0x24839b,0x2d5)+'project\x20命令';else{const _0x39ab59={..._0x494633};_0x39ab59[_0x3588f7(_0x1e9904._0x227f82,_0x1e9904._0x3268bf)]=[..._0x494633[_0x3588f7(0x2a6,_0x1e9904._0x354272)],_0x246c5a],_0x364c1c[_0x1238b1]=_0x39ab59;}}}else return _0x2d3785[-0xe9*0x17+-0x1017*0x1+0x7*0x54a];}const _0x145066={};_0x145066['project']=_0x1f5e37[_0x2dfed7(0x34,0x8d)],_0x145066['agents']=_0x364c1c,_0x145066[_0x3588f7(_0x1e9904._0x401ece,0x2fe)+_0x2dfed7(0xee,0x125)]=_0x1f5e37[_0x2dfed7(_0x1e9904._0x9c5016,_0x1e9904._0x1341e8)+_0x3588f7(_0x1e9904._0x14537f,_0x1e9904._0x2e5861)],await _0x3c4268['hbgzI'](writeStateFile,_0x479fd7,_0x145066);const _0x4cd1f5=PHASE_NAMES[_0x18e8ec]??_0x18e8ec,_0x3f72d2=[];_0x3f72d2[_0x2dfed7(_0x1e9904._0x435f36,0x91)](_0x2dfed7(_0x1e9904._0x47a6da,0xc1)+_0x3588f7(0x326,0x2d1)+_0x246c5a),_0x3f72d2[_0x2dfed7(0x92,_0x1e9904._0x3aa167)]('\x20\x20\x20阶段:\x20'+_0x4cd1f5);if(_0x1238b1)_0x3f72d2[_0x3588f7(_0x1e9904._0x403e94,0x30d)](_0x3588f7(_0x1e9904._0x34cc33,0x362)+':\x20'+_0x1238b1);return _0x3f72d2[_0x3588f7(0x324,_0x1e9904._0x2d3483)]('\x0a');}export async function deregisterAgent(_0x5af031,_0x30757b){const _0x3ecdc0={_0x3949f5:0xea,_0x351b13:0x90,_0x2fd5f9:0x10a,_0x196ff6:0x7f,_0x4e97ba:0x89,_0x48779b:0xc,_0x188ba2:0x2c,_0x50b40f:0xcb,_0x281607:0x42,_0x119ef8:0xb0,_0x47615b:0xb5,_0xe18d06:0x111,_0x2d1e3a:0xcc,_0x4f8dc9:0x111,_0x5a165e:0x4b,_0x2ff5de:0x26,_0x50561f:0xc1},_0x50d63b={_0x16fc23:0xc3},_0x14c68a={'qRVYC':_0x37d21b(_0x3ecdc0._0x3949f5,_0x3ecdc0._0x351b13),'mEGxa':function(_0x2b66cb,_0x36fef8){return _0x2b66cb(_0x36fef8);},'LbxbX':'idle','kdGUj':function(_0x12b3ef,_0xb68636,_0x3eb719){return _0x12b3ef(_0xb68636,_0x3eb719);}},_0x21ad36=await readStateFile(_0x5af031);if(!_0x21ad36)return _0x14c68a['qRVYC'];if(!_0x21ad36['agents'][_0x30757b])return _0x37d21b(_0x3ecdc0._0x2fd5f9,0x100)+_0x30757b+_0x37d21b(_0x3ecdc0._0x196ff6,0x6b);const _0x276d61=_0x21ad36['agents'][_0x30757b],_0x129a2f={..._0x21ad36['agents']},_0x1dae5c=_0x129a2f;delete _0x1dae5c[_0x30757b];if(_0x276d61[_0x37d21b(0xb2,0xd5)]&&_0x1dae5c[_0x276d61['parentId']]){const _0x121d19=_0x1dae5c[_0x276d61['parentId']];_0x1dae5c[_0x276d61[_0x37d21b(0xb2,_0x3ecdc0._0x4e97ba)]]={..._0x121d19,'childIds':_0x121d19[_0x37d21b(0x68,0xa4)][_0x1ae19b(-0x45,-0x6f)](_0x89720f=>_0x89720f!==_0x30757b)};}function _0x1ae19b(_0x5c8718,_0x5d3dff){return _0x165e9e(_0x5d3dff,_0x5c8718- -0x1dd);}const _0x1bcd2b=Object['keys'](_0x1dae5c);function _0x37d21b(_0xb9e0b1,_0x3b669d){return _0x5ee92b(_0xb9e0b1-_0x50d63b._0x16fc23,_0x3b669d);}const _0x1f5fc3=_0x1bcd2b['length']>0x7b9+0x1*-0x62d+-0x18c?_0x14c68a[_0x1ae19b(-_0x3ecdc0._0x48779b,-_0x3ecdc0._0x188ba2)](computeOverallPhase,_0x1dae5c):_0x14c68a[_0x37d21b(0x97,_0x3ecdc0._0x50b40f)],_0x4409f4={..._0x21ad36[_0x1ae19b(-_0x3ecdc0._0x281607,0x18)]};_0x4409f4[_0x37d21b(0x93,0x82)+'se']=_0x1f5fc3;const _0x148c87={};return _0x148c87[_0x37d21b(0x79,_0x3ecdc0._0x119ef8)]=_0x4409f4,_0x148c87[_0x1ae19b(-0x8,0x52)]=_0x1dae5c,_0x148c87[_0x37d21b(_0x3ecdc0._0x47615b,0xfd)+_0x37d21b(_0x3ecdc0._0xe18d06,0x166)]=_0x21ad36[_0x37d21b(0xb5,_0x3ecdc0._0x2d1e3a)+_0x37d21b(_0x3ecdc0._0x4f8dc9,0x12c)],await _0x14c68a[_0x1ae19b(-_0x3ecdc0._0x5a165e,0xd)](writeStateFile,_0x5af031,_0x148c87),_0x1ae19b(-0xe,_0x3ecdc0._0x2ff5de)+_0x37d21b(0xe0,_0x3ecdc0._0x50561f)+_0x30757b;}export async function showProgress(_0x132d95){const _0x3ce39a={_0x511f47:0x3e4,_0x156622:0x402,_0x2e6483:0x242,_0x41f036:0x302,_0x29fc11:0x41b,_0x4b74bf:0x31c,_0x23b2be:0x43c,_0x23e528:0x418,_0x28c1ab:0x276,_0x2aa754:0x3c8,_0x5a8e04:0x3c7,_0x4e11e1:0x250,_0x3827e4:0x20a,_0x3ab9c2:0x2c9,_0x42863d:0x2e4,_0x1dc0f0:0x2f7,_0x33fc8e:0x2d5,_0x13246f:0x2d4,_0xd3b0ab:0x25f,_0x5799c2:0x247,_0x5379d8:0x2be,_0x58a1b5:0x316,_0x514241:0x292,_0x26e137:0x286,_0x18f894:0x3f1,_0x1373ca:0x3a4,_0x19e957:0x2b3,_0x58354e:0x2cc,_0x32e4d9:0x262,_0x3dd582:0x2b1,_0x344d18:0x36c,_0x802f46:0x392,_0x2142f1:0x369,_0x1d20a3:0x296,_0x51bf39:0x2c8,_0x367475:0x319,_0x58eacd:0x305,_0x50faaf:0x3f8,_0x4a3ee7:0x392,_0x117742:0x26f,_0x3805cd:0x2bc,_0x428675:0x28a,_0x275ebd:0x33f,_0x96d376:0x3dd,_0x2c0852:0x3fa,_0x5bc7f9:0x3f4,_0x59f02e:0x382,_0x59aa1e:0x3c0,_0xfa32bb:0x3e7,_0x127e25:0x381,_0x6740ce:0x361,_0x1bd6e1:0x3de,_0x5151b8:0x396,_0x1cf009:0x39e,_0x2b6451:0x3c6,_0x5512db:0x3cd,_0x3adce2:0x398},_0x4537a8={_0x2289d0:0x1f3},_0x1380d3={'Ozhka':function(_0x1131c4,_0x93a9dc,_0xc899cb){return _0x1131c4(_0x93a9dc,_0xc899cb);},'BuGBN':function(_0x1263fe,_0x57a4d9){return _0x1263fe(_0x57a4d9);},'IRkQb':_0x4616b6(-0x267,-0x29e)+_0x5bfc32(_0x3ce39a._0x511f47,_0x3ce39a._0x156622)+_0x4616b6(-_0x3ce39a._0x2e6483,-0x200),'cKDfB':function(_0xc1e4fb,_0x5c3890){return _0xc1e4fb*_0x5c3890;},'Bhryo':function(_0x1dcffd,_0x3ef5d1){return _0x1dcffd/_0x3ef5d1;},'QGGzn':_0x4616b6(-0x2c4,-_0x3ce39a._0x41f036)+_0x5bfc32(_0x3ce39a._0x29fc11,0x3e4)+_0x4616b6(-0x258,-0x281)+_0x5bfc32(0x406,0x425)+_0x4616b6(-0x2dc,-_0x3ce39a._0x4b74bf)+_0x5bfc32(_0x3ce39a._0x23b2be,_0x3ce39a._0x23e528)+'工具','YyNeE':'\x20\x20\x20'},_0x10ca69=await _0x1380d3['BuGBN'](readStateFile,_0x132d95);if(!_0x10ca69)return _0x1380d3[_0x4616b6(-_0x3ce39a._0x28c1ab,-0x23c)];const _0x33b32a=_0x10ca69[_0x5bfc32(0x3c7,_0x3ce39a._0x2aa754)],_0x308b04=Object[_0x4616b6(-0x2e7,-0x30b)](_0x33b32a),_0x5a29a0=_0x308b04[_0x5bfc32(_0x3ce39a._0x5a8e04,0x3b6)],_0x53b5d0=_0x308b04['filter'](_0x479d2a=>_0x33b32a[_0x479d2a][_0x5bfc32(0x328,0x382)]===_0x5bfc32(0x3b0,0x389))[_0x4616b6(-0x2b0,-0x25f)],_0x3dfeb3=_0x5a29a0>-0xc6f+0x2e*-0x14+-0xb*-0x175?Math[_0x4616b6(-_0x3ce39a._0x4e11e1,-_0x3ce39a._0x3827e4)](_0x1380d3[_0x5bfc32(0x392,0x3cc)](_0x1380d3[_0x4616b6(-_0x3ce39a._0x3ab9c2,-0x2ea)](_0x53b5d0,_0x5a29a0),-0x1be9+-0x2036+0x3c83)):0x597*-0x2+0x14*-0x15a+0x49*0x86,_0x3e4831={};for(const _0x13cdc2 of _0x308b04){const _0x12ac51=_0x33b32a[_0x13cdc2][_0x4616b6(-_0x3ce39a._0x42863d,-0x2ad)];_0x3e4831[_0x12ac51]=(_0x3e4831[_0x12ac51]??0x1790+0x5*-0xd7+-0x1*0x135d)+(-0x19ac+-0x1*0x2632+0x3fdf);}const _0x125e72=[];_0x125e72[_0x4616b6(-0x2d4,-_0x3ce39a._0x1dc0f0)](_0x4616b6(-0x2c7,-_0x3ce39a._0x33fc8e)+_0x10ca69['project']['name']),_0x125e72[_0x4616b6(-_0x3ce39a._0x13246f,-0x28c)](_0x4616b6(-_0x3ce39a._0xd3b0ab,-_0x3ce39a._0x5799c2)+(PHASE_NAMES[_0x10ca69[_0x5bfc32(0x39c,0x38e)][_0x4616b6(-_0x3ce39a._0x5379d8,-0x2cd)+'se']]??_0x10ca69['project'][_0x4616b6(-0x2be,-0x27f)+'se'])),_0x125e72[_0x4616b6(-0x2d4,-_0x3ce39a._0x58a1b5)]('\x20\x20\x20版本:\x20'+_0x10ca69[_0x4616b6(-_0x3ce39a._0x514241,-_0x3ce39a._0x26e137)]);function _0x4616b6(_0x3ed914,_0x10a18c){return _0x5ee92b(_0x3ed914- -0x28e,_0x10a18c);}_0x125e72[_0x5bfc32(0x35b,0x392)]('\x20\x20\x20更新时间:\x20'+_0x10ca69[_0x5bfc32(_0x3ce39a._0x18f894,0x3a3)]),_0x125e72[_0x5bfc32(_0x3ce39a._0x1373ca,0x392)](_0x4616b6(-0x279,-0x2ab)+_0x3dfeb3+_0x4616b6(-_0x3ce39a._0x19e957,-_0x3ce39a._0x58354e)+_0x53b5d0+'/'+_0x5a29a0+_0x4616b6(-_0x3ce39a._0x32e4d9,-_0x3ce39a._0x3dd582)),_0x125e72[_0x4616b6(-0x2d4,-_0x3ce39a._0x1dc0f0)]('');function _0x5bfc32(_0x1facf3,_0x6a30cb){return _0x165e9e(_0x1facf3,_0x6a30cb-_0x4537a8._0x2289d0);}_0x125e72[_0x5bfc32(_0x3ce39a._0x344d18,_0x3ce39a._0x802f46)](_0x5bfc32(_0x3ce39a._0x2142f1,0x387));for(const [_0x495514,_0x53cf73]of Object[_0x5bfc32(0x413,0x3eb)](_0x3e4831)){const _0x2103d0=PHASE_NAMES[_0x495514]??_0x495514,_0x57de75='█'[_0x4616b6(-0x24a,-0x29e)](_0x53cf73)+'░'[_0x4616b6(-0x24a,-_0x3ce39a._0x1d20a3)](Math[_0x5bfc32(0x426,0x3e5)](0x24d+0x1f85+-0x10e9*0x2,_0x5a29a0-_0x53cf73));_0x125e72['push'](_0x5bfc32(0x3cd,0x3e1)+_0x2103d0[_0x4616b6(-_0x3ce39a._0x51bf39,-_0x3ce39a._0x367475)](0x241a*-0x1+-0x2263+0x468b)+'\x20'+_0x57de75+'\x20'+_0x53cf73);}_0x125e72['push']('');if(_0x308b04[_0x4616b6(-0x2b0,-_0x3ce39a._0x58eacd)]>-0xa56+-0x21cf+0x2c25){if(_0x5bfc32(0x3bc,_0x3ce39a._0x50faaf)===_0x5bfc32(0x404,_0x3ce39a._0x50faaf)){_0x125e72[_0x5bfc32(0x354,_0x3ce39a._0x4a3ee7)](_0x4616b6(-_0x3ce39a._0x117742,-_0x3ce39a._0x3805cd)+_0x4616b6(-0x296,-_0x3ce39a._0x428675)),_0x125e72[_0x5bfc32(_0x3ce39a._0x275ebd,_0x3ce39a._0x802f46)](_0x1380d3[_0x5bfc32(_0x3ce39a._0x96d376,0x3f2)]),_0x125e72[_0x4616b6(-0x2d4,-0x2a4)](_0x1380d3[_0x5bfc32(_0x3ce39a._0x2c0852,_0x3ce39a._0x5bc7f9)]+'-'[_0x4616b6(-0x24a,-0x251)](-0x11*0x23b+-0x3b7*0x3+0x3160));for(const _0xdb3814 of _0x308b04){const _0x400d42=_0x33b32a[_0xdb3814],_0x3fded7=PHASE_NAMES[_0x400d42[_0x5bfc32(0x32d,_0x3ce39a._0x59f02e)]]??_0x400d42[_0x5bfc32(0x3bb,_0x3ce39a._0x59f02e)],_0x3a9a79=_0x400d42[_0x5bfc32(_0x3ce39a._0x59aa1e,_0x3ce39a._0xfa32bb)+_0x5bfc32(0x38a,_0x3ce39a._0x127e25)]||'-',_0x49f46=_0x400d42['currentSki'+'ll']||'-';_0x125e72[_0x5bfc32(0x386,0x392)]('\x20\x20\x20'+_0xdb3814['padEnd'](0x26b4+0x2351+-0x49f3)+_0x5bfc32(0x381,0x396)+_0x3fded7[_0x5bfc32(_0x3ce39a._0x6740ce,0x39e)](-0xe5a+-0xa20+0x1888)+_0x5bfc32(_0x3ce39a._0x1bd6e1,_0x3ce39a._0x5151b8)+_0x3a9a79[_0x5bfc32(0x39e,_0x3ce39a._0x1cf009)](-0x14*0x18e+-0x1d03*-0x1+0x22a*0x1)+_0x5bfc32(_0x3ce39a._0x2b6451,0x396)+_0x49f46);}}else{const _0x4376fd={};_0x4376fd[_0x5bfc32(_0x3ce39a._0x18f894,_0x3ce39a._0x5512db)]=!![],_0x1380d3[_0x5bfc32(_0x3ce39a._0x3adce2,0x3bf)](_0x39624b,_0x1601ca,_0x4376fd);}}return _0x125e72['join']('\x0a');}function _0x2389(){const _0x33347d=['CM91BMq','mtHjD1btrM4','icaGicaGicb8ia','mteWshHRwMnL','x2fUywX5C2LZ','tufXwNq','CMvWzwf0','DMvYAwz5','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','4PQG77Ipicbbz2vUDca','4PYfifS','ota0oti4q05mwNnk','zMLUza','icaG5PU05PAW5PE26zE0oIa','ChjVAMvJDcdLKB3KU6q','icaGicaGFcdMK43KVzW','ChnOB3q','v1buqNy','mZbxAKr4vhe','sNflDNK','CgXHBG','EuHTtvm','icaG','De9pAuq','nZGWodiWrePhvxnn','mJq4mZeXAK9mr2zZ','wuXPug0','y2HPBgrjzhm','ntK4odu3t1PWvMX4','A2v5CW','ios4JEwTMowCQos6JIbZDgf0','CMf0Aw9U','CgHHC2u','DcdORRdLVzu','BMPVAM0','A2rhvwO','icaG5yID5AEliefNzw4','icaG8j+tIcdPMlBMRRxLIiBLUim6','4P2miefNzw50ia','y29TCgXLDgvK','icaGicaGicaGia','zMLSDgvY','zgLZy3vZCW','ExDyCfG','ChjVAMvJDa','uLvot0C','zuThB3C','qurxEMO','ChvZAa','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','ios4JEwTMowCQa','Aw5JBhvKzxm','ihWG','y1Diqvm','DdOG','tuLsr0K','zfDkwum','zs5QC29U','r2DlDw0','qMHYEw8','CgfKrw5K','8j+tIIdPOBNNM67OV5VLUQy6ia','Dg16teC','D3jPDgu','icaGqwDLBNqGsq','DxbKyxrLzef0','tKL6t3i','zgvoqLa','B1vPqui','u0Pnu0y','y3vYCMvUDfbOyq','icaG54Mi5PYSoIa','v0TMB0O','we1Kqxe','tgj4yLG','mtK5mJa0ogjRuKfSuG','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','icaG5lU75yQHoIa','wg5evLO','y2Hqswu','BwfW','jsaO','y3vYCMvUDfnRAq','ALP6DKW','BgvUz3rO','8j+tIIdPOBNNM67NIRBMGie6ia','AejfrKW','4PYfioAjGoACIsbbz2vUDa','u1PtDNO','q2TTu04','ENv4ruG','4PQHiow/Q+MaN+s7U+wkOEAOOEw8JW','cUkCHsbbz2vUDca','t3POA2e','qMXmA3q','Chj6z2i','4PYfiefNzw50iow3SUAZQa','icaGqwDLBNq6ia','BuvhEge','r1rivfi','verpwxq','CgfYzw50swq','ywDLBNrZ','y1LmDhu','BwfJAgLUzvnUyq','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','y0TezKi','CMvJDxjZAxzL','uhvJzhG','zLnyChy','ioIVPUAdHtO','CMvHza','xsdMK43KVzZLT7lMM7tMLRa6ia','m25xq0zmEa','DMvYC2LVBG','zgnRB0S','5yQF6io95yIg5P6q','yurVtKG','56UE5zob5yIg5P6q','vNnYqNi','sKvcB1C','AwrSzq','CxvPy2S','6zYa5Rgc5yIg5P6q','rLPit2W','icaG54I2iefNzw50','CwXPue0','icaGicaG','BKnlA0i','r1nTAfK','rcaGicaGicaGia','Bwf4','Aw5KzxHpzG','y3vYCMvUDe9Wzq','r2HuEfu','vxrZtNq','CgfYC2u','zw50CMLLCW','BgLUzE+8JoEBToAoPEAjP+IHJa','icaG5A6m5OIq5BQMoIa','B0PcuK4','yuTht0K','svjRuwi','zMvHDhvYzv9HBG','uuDhEM4','mJaYndKZnMrLBe1muW','wxLozuu','6zsaoIa','z3fdCw0','icaG8j+KLIbbz2vUDa','Au5XzMq','ANrYsgi','CMfUzg9T','AM9PBG','A2zmDNm','5yAmoIa','vLzSvfG','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','iokgKIa','icaG5PQc5PEGiefNzw4','77Ym6k+35ywi6l+q6kgmig5LDY0','C2XPy2u','iefNzw50kq','Chn6ELi','zM9cuum','icaG5B2t5yMn6zI25Q61oIa','nZq5nJm4BMfZEMzM','BhLQvwC','DxrMltG','tLDese8','nw5fru9PDG','s3bAzeW','ihWG6zI25Q61icaGica','BwDnEhe','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','EwfZyw4','icaG5O+q56s6oIdLV6VPGj/KU7S','AwrhuMu','DKveyvK','icaG6zI25Q615BQp5yIxoIa'];_0x2389=function(){return _0x33347d;};return _0x2389();}export async function quickTask(_0x1f33c1,_0x5520db){const _0x584e40={_0x2f1a14:0x32e,_0x3a03f4:0x36a,_0x3b74ae:0x454,_0x489203:0x405,_0x3cd313:0x44e,_0x59e5fe:0x31a,_0x4167e1:0x37e,_0x11c355:0x355,_0xe64345:0x42e,_0x48c8cd:0x454,_0x19a73e:0x2e0,_0x5cea69:0x2f2,_0xb5e262:0x450,_0x58a037:0x422,_0x38a14e:0x2e4,_0x2c2c84:0x30f,_0x5ab538:0x2a3,_0x5f1bef:0x435,_0x45354d:0x2e4,_0x379863:0x498,_0x1429d3:0x451,_0x12b719:0x48b},_0x1babdb={_0x2c0046:0x32a},_0x5b5b13={'aOwLl':function(_0x20ef95,_0x5ae60c){return _0x20ef95(_0x5ae60c);},'hpQNS':function(_0x33f3c9){return _0x33f3c9();},'UtsNt':'execute','vXkSk':_0xcae53e(_0x584e40._0x2f1a14,0x338),'GgKum':function(_0x1151e0,_0x24d3f7,_0x55e9cd){return _0x1151e0(_0x24d3f7,_0x55e9cd);}},_0x894182=await _0x5b5b13['aOwLl'](readStateFile,_0x1f33c1);if(!_0x894182){const _0x3c93c2=resolve(_0x1f33c1,'..');if(!existsSync(_0x3c93c2)){const _0x15b606={};_0x15b606[_0xcae53e(0x31f,_0x584e40._0x3a03f4)]=!![],mkdirSync(_0x3c93c2,_0x15b606);}}const _0x5b9c9b=_0x894182?.[_0x3c99bc(0x414,_0x584e40._0x3b74ae)]['name']??'quick-task',_0x48bea9=_0x894182?Object[_0x3c99bc(_0x584e40._0x489203,_0x584e40._0x3cd313)](_0x894182[_0xcae53e(_0x584e40._0x59e5fe,0x340)])[-0x1*0x1045+-0xe7e+0x1ec3]??_0x5b5b13['hpQNS'](generateAgentId):generateAgentId(),_0x126a58={'agentId':_0x48bea9,'parentId':null,'childIds':[],'phase':_0x5b5b13[_0xcae53e(0x33b,_0x584e40._0x4167e1)],'currentOperation':_0x5520db[_0xcae53e(_0x584e40._0x11c355,0x300)](-0x1994+-0x1*-0x36d+0x1627,-0x969+0x60*-0xe+0x1*0xf0d),'currentSkill':_0x5b5b13['vXkSk']},_0x4b2ac5={};_0x4b2ac5['name']=_0x5b9c9b,_0x4b2ac5[_0x3c99bc(_0x584e40._0xe64345,_0x584e40._0x48c8cd)+'se']=_0xcae53e(0x32e,0x2e1);function _0xcae53e(_0x2b92b3,_0x46fe1a){return _0x5ee92b(_0x2b92b3-_0x1babdb._0x2c0046,_0x46fe1a);}const _0x212ff6={};_0x212ff6[_0x48bea9]=_0x126a58;const _0x5aa6d0={};_0x5aa6d0[_0xcae53e(_0x584e40._0x19a73e,_0x584e40._0x5cea69)]=_0x4b2ac5,_0x5aa6d0['agents']=_0x212ff6,_0x5aa6d0[_0x3c99bc(_0x584e40._0xb5e262,0x475)+'pshot']=null,await _0x5b5b13[_0x3c99bc(_0x584e40._0x58a037,0x460)](writeStateFile,_0x1f33c1,_0x5aa6d0);function _0x3c99bc(_0xf558ce,_0x3c0ee4){return _0x165e9e(_0x3c0ee4,_0xf558ce-0x279);}const _0x4ff709=[];return _0x4ff709[_0xcae53e(_0x584e40._0x38a14e,0x30d)](_0xcae53e(_0x584e40._0x2c2c84,0x33c)),_0x4ff709[_0xcae53e(0x2e4,_0x584e40._0x5ab538)]('\x20\x20\x20项目:\x20'+_0x5b9c9b),_0x4ff709[_0xcae53e(_0x584e40._0x38a14e,0x297)](_0x3c99bc(_0x584e40._0x5f1bef,0x3df)+_0x5520db),_0x4ff709['push'](_0x3c99bc(0x449,0x476)+_0x48bea9),_0x4ff709[_0xcae53e(_0x584e40._0x45354d,0x2e7)](_0x3c99bc(_0x584e40._0x379863,0x468)+_0x3c99bc(_0x584e40._0x1429d3,_0x584e40._0x12b719)+_0x3c99bc(0x472,0x496)),_0x4ff709['join']('\x0a');}
|
|
1
|
+
(function(_0x36a638,_0x4b46c3){const _0x165ebf={_0x5d0bcd:0x506,_0x235529:0x532,_0x5f44e4:0x236,_0x5acc55:0x27d,_0x10ed25:0x4d3,_0x446b95:0x4a4,_0x597a33:0x497,_0x14b004:0x2e3,_0x1c59ce:0x47a,_0x5e4232:0x498,_0x4c6b7f:0x4ec,_0x1d66c6:0x4a2,_0x6c2f95:0x2b1},_0x35c604={_0x37c7c3:0xf5};function _0x4419c5(_0x536ad1,_0x23b228){return _0x36b0(_0x23b228-_0x35c604._0x37c7c3,_0x536ad1);}const _0x470d80=_0x36a638();function _0x52b9ff(_0x4d92a9,_0x5a5337){return _0x36b0(_0x4d92a9-0x2fd,_0x5a5337);}while(!![]){try{const _0x3dd02d=parseInt(_0x52b9ff(_0x165ebf._0x5d0bcd,_0x165ebf._0x235529))/(0x9b3+-0x1*0x165c+0xcaa)+-parseInt(_0x4419c5(_0x165ebf._0x5f44e4,_0x165ebf._0x5acc55))/(0x1ca2+-0xe4*-0x11+-0x2bc4)*(parseInt(_0x52b9ff(0x4c7,_0x165ebf._0x10ed25))/(0xbe7*-0x3+-0x1bb*-0xa+0x935*0x2))+-parseInt(_0x52b9ff(_0x165ebf._0x446b95,_0x165ebf._0x597a33))/(0x1f58+-0x1c1*0xa+-0xdca)*(parseInt(_0x52b9ff(0x4bf,0x480))/(0x1c2b+-0xb97+-0x9d*0x1b))+parseInt(_0x4419c5(0x30f,_0x165ebf._0x14b004))/(0x1*-0xe6b+-0x7cd*0x1+0x163e)+-parseInt(_0x52b9ff(0x4ac,_0x165ebf._0x1c59ce))/(0x9*0x100+0xf20+-0x1819)*(parseInt(_0x52b9ff(0x4e4,_0x165ebf._0x5e4232))/(0xd2e+0x25c*0x2+0x8ef*-0x2))+-parseInt(_0x52b9ff(0x4fb,0x524))/(-0x16e4+0xdaf+0x5b*0x1a)+-parseInt(_0x52b9ff(_0x165ebf._0x4c6b7f,_0x165ebf._0x1d66c6))/(-0x1*0x527+0x667*-0x1+-0x1a8*-0x7)*(-parseInt(_0x4419c5(_0x165ebf._0x6c2f95,0x273))/(-0x1fe0+-0x462+-0x1*-0x244d));if(_0x3dd02d===_0x4b46c3)break;else _0x470d80['push'](_0x470d80['shift']());}catch(_0x15b720){_0x470d80['push'](_0x470d80['shift']());}}}(_0xbe48,-0x2dd75+0x260c5+-0x13*-0x2351));import{existsSync,readFileSync,mkdirSync}from'node:fs';function _0xbe48(){const _0x5b72ff=['DxrMltG','zeDbCLi','rcaGicaGicaGia','5OQa5PYV6ycj5z6l','yvHKreW','ntzcDMHxuLq','tfnUAxe','zffRtui','AKrjBe4','icaG5PQc5PEGiefNzw4','z25WyNG','zKT6C1e','mJe3nJa4AujbEuXl','mZyWnZb1Bw1WrNi','wvHOBM4','4PQHiow/Q+MaN+s7U+wkOEAOOEw8JW','D3jPDgu','B2TWBNa','AKPbAva','AwrSzq','CMvHza','CMvXDwLYzw1LBG','icaG5yID5AEliefNzw4','ChvZAa','q0vqwNK','zMLSDgvY','uNHNtfu','rLDYEwG','mtm2mZK1zerbueDH','yu9ywfG','ihWG6zI25Q61icaGica','CxvPy2S','56UE5zob5yIg5P6q','DgHez08','4PYfioAjGoACIsbbz2vUDa','icaG6zI25Q61oIa','Cvj5uMu','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','5yQF6io95yIg5P6q','mtKYnJqWwenfCwHN','BMfTzq','y29TCgXLDgvK','Aw5KzxHpzG','BwfW','zgvTyw5Kx2fUyq','AKX6wMi','BuLZALy','AgvuEMe','xsdMK43KVzZLT7lMM7tMLRa6ia','Bg10rfu','zeLUALu','4P2miefNzw50ia','77Ym6k+35ywi6l+q6kgmig5LDY0','icaGicaG','ody5zKT5uwTr','ios4JEwTMowCQos6JIbZDgf0','zMvHDhvYzv9HBG','Aw5JBhvKzxm','BgvUz3rO','y3vYCMvUDe9Wzq','5yAmoIa','qNb6B3y','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','iokgKIa','mMzpqKTYza','v25vrhK','CgfYzw50swq','icaG5PU05PAW5PE26zE0oIa','zwnwwfy','4PYfiefNzw50iow3SUAZQa','qKTQB00','CMf0Aw9U','icaG6zI25Q615BQp5yIxoIa','Eev0CKO','t3LhCKG','ChjVAMvJDa','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','icaGicaGicaGia','tuL5rve','rNjPy2K','y2HPBgrjzhm','ChDzz1y','ioIVPUAdHtO','6zYa5Rgc5yIg5P6q','EwTxBuC','zgLZy3vZCW','AwPzqwG','CMvJDxjZAxzL','icaG54Mi5PYSoIa','icaG5lU75yQHoIa','CxvPy2STDgfZAW','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','DxvNs2y','B2Llquu','icaGicaGFcdMK43KVzW','mte3mZu2twDYqwvx','jsaO','icaG8j+tIcdPMlBMRRxLIiBLUim6','4PYfifS','CMvWzwf0','icaGicaGicb8ia','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','s3LZzKW','mJC1otmZzvrxBhjT','y3vYCMvUDfnRAq','uvP2CLa','zw50CMLLCW','DMvYAwz5','BwfJAgLUzvnUyq','ze90Dvq','iefNzw50kq','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','ChjVAMvJDcdLKB3KU6q','DcdORRdLVzu','ywDLBNrZ','DNvOvKG','Df9HBMfSExnPCW','icaG8j+KLIbbz2vUDa','5lMq6kEc6zsb5yAY56Qb','icaGqwDLBNqGsq','icaG5B2t5yMn6zI25Q61oIa','A2v5CW','mtbSrgTdwKi','icaG54I2iefNzw50','ChnOB3q','icaG','DgvJAf9ZzwXLyW','4PQG77Ipicbbz2vUDca','BhLZAxm','DMvYC2LVBG','nZi3mdH2v2z5yu8','zeDNCvi','ihWG','DxbKyxrLzef0','DgLVBG','zxHLy3v0zq','ios4JEwTMowCQa','8j+tIIdPOBNNM67OV5VLUQy6ia','sfDpwMq','AM9PBG','cUkCHsbbz2vUDca','CM91BMq','y29TCgv0AxrVCG','y3vYCMvUDfbOyq','CgfKrw5K','x2fUywX5C2LZ','vfPOvLq','icaGqwDLBNq6ia','CgXHBG','CMfUzg9T','Bwf4','zs5QC29U','CgHHC2u','ywDLBNrjza'];_0xbe48=function(){return _0x5b72ff;};return _0xbe48();}import{resolve}from'node:path';function _0x995840(_0x51eede,_0x3eb8f3){return _0x36b0(_0x51eede-0x384,_0x3eb8f3);}import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0x1edb20={};_0x1edb20[_0x562d75(0x48f,0x484)+_0x562d75(0x403,0x449)]=_0x995840(0x51f,0x4e2),_0x1edb20[_0x562d75(0x49a,0x49b)+_0x995840(0x54c,0x552)]=_0x562d75(0x3f9,0x428),_0x1edb20[_0x562d75(0x420,0x463)+_0x995840(0x55d,0x5aa)]=_0x995840(0x586,0x56c),_0x1edb20[_0x562d75(0x434,0x40d)+'alysis']=_0x562d75(0x4db,0x495),_0x1edb20[_0x995840(0x54a,0x591)+_0x562d75(0x420,0x45b)]=_0x562d75(0x4aa,0x472),_0x1edb20[_0x562d75(0x412,0x42a)]='讨论',_0x1edb20[_0x562d75(0x48b,0x469)]='规划',_0x1edb20[_0x562d75(0x475,0x45c)]='执行',_0x1edb20[_0x562d75(0x3f6,0x440)]='验证';const PHASE_NAMES=_0x1edb20,MAX_RETRIES=0x1490+-0x9*0x2c6+0x1*0x46b;async function readStateFile(_0x18f40a){const _0x1dedc3={'jLzZb':function(_0x5bad26,_0x198152){return _0x5bad26(_0x198152);}};if(!_0x1dedc3[_0x26d1da(-0x74,-0x6b)](existsSync,_0x18f40a))return null;function _0x26d1da(_0xe64181,_0x3d003f){return _0x995840(_0xe64181- -0x607,_0x3d003f);}function _0xf136ec(_0x246283,_0x1a6fd9){return _0x995840(_0x246283- -0x67a,_0x1a6fd9);}const _0x557334=new StateFileManager(_0x18f40a);return _0x557334[_0xf136ec(-0x100,-0x14d)]();}async function writeStateFile(_0x58aa4f,_0x1ca6a7){const _0x42d100={_0x57575a:0xb8,_0x5d1ee2:0x90,_0x5aa0d5:0xea,_0x5f5b80:0x6a,_0x65a0:0x82,_0x22e2c6:0x2f,_0x56ab03:0x75,_0x1593c4:0x88},_0x5758e7={_0x47f76f:0x490},_0x3fe110={};function _0x7fc6d9(_0x12cf78,_0x527ad7){return _0x995840(_0x12cf78- -0x5ca,_0x527ad7);}function _0x41cd71(_0x198649,_0x444bde){return _0x995840(_0x444bde- -_0x5758e7._0x47f76f,_0x198649);}_0x3fe110[_0x7fc6d9(-_0x42d100._0x57575a,-_0x42d100._0x5d1ee2)]=function(_0x311d9c,_0x97a963){return _0x311d9c instanceof _0x97a963;};const _0x317abd=_0x3fe110;for(let _0x100fc8=-0x1*0x1265+0xb*-0x2b9+0x2*0x182c;_0x100fc8<MAX_RETRIES;_0x100fc8++){try{const _0x489917=new StateFileManager(_0x58aa4f);await _0x489917[_0x41cd71(0xcc,_0x42d100._0x5aa0d5)](),await _0x489917[_0x7fc6d9(-0x54,-0x1e)](_0x1ca6a7);return;}catch(_0x5b2a90){if(_0x317abd[_0x41cd71(_0x42d100._0x5f5b80,_0x42d100._0x65a0)](_0x5b2a90,Error)&&_0x5b2a90['message'][_0x41cd71(_0x42d100._0x22e2c6,_0x42d100._0x56ab03)](_0x7fc6d9(-_0x42d100._0x1593c4,-0xc0))&&_0x100fc8<MAX_RETRIES-(0x4*0x188+-0x2291*0x1+0x1c72)){await new Promise(_0x5a15fa=>setTimeout(_0x5a15fa,-0x53*-0x10+0x11a7*-0x1+0xca9+Math[_0x7fc6d9(-0x69,-0x2e)]()*(-0x1987+-0x4cf*-0x4+-0x1d*-0x3b)));continue;}throw _0x5b2a90;}}}function computeOverallPhase(_0x341c90){const _0x4eed15={_0x14b48b:0x509,_0x4c5561:0x50e,_0x102b17:0x4da,_0x2c41c9:0x4dc,_0x12d277:0xd8,_0x34c7a5:0x103,_0x2f4707:0x4f9,_0x395749:0xe8,_0x179c2d:0x120},_0x4ae071={_0x1aee5b:0x8c},_0x273046={};function _0x40e5e6(_0x419417,_0x11f657){return _0x562d75(_0x11f657,_0x419417- -0x395);}_0x273046[_0x1c6a60(_0x4eed15._0x14b48b,_0x4eed15._0x4c5561)]='completed';const _0xad6cfd=_0x273046;for(const _0xe486e3 of Object[_0x1c6a60(_0x4eed15._0x102b17,_0x4eed15._0x2c41c9)](_0x341c90)){if(_0x341c90[_0xe486e3][_0x40e5e6(_0x4eed15._0x12d277,0x11c)]!==_0x40e5e6(_0x4eed15._0x34c7a5,0xd0))return _0x341c90[_0xe486e3][_0x1c6a60(_0x4eed15._0x2f4707,0x4b8)];}function _0x1c6a60(_0x56d10b,_0x5793d6){return _0x562d75(_0x5793d6,_0x56d10b-_0x4ae071._0x1aee5b);}return _0xad6cfd[_0x40e5e6(_0x4eed15._0x395749,_0x4eed15._0x179c2d)];}export async function getStatus(_0x28c003){const _0x249b20={_0x4b5213:0x366,_0x17b711:0x34e,_0x3c1a98:0x346,_0x47da41:0x301,_0x430a85:0x2fe,_0x28d00f:0x33b,_0x10db17:0x347,_0x2a3e14:0x2f0,_0x6353ce:0xe3,_0x5809e6:0xda,_0x2317bf:0x7b,_0x47ae7b:0x376,_0x203333:0x305,_0x4592f4:0x30b,_0x47caf2:0xe6,_0x1e2365:0xba,_0x345ad3:0xea,_0x59f7b2:0x89,_0x539811:0xa7,_0x118ed5:0xa7,_0x20e781:0xc6,_0x569d30:0x66,_0x2097e1:0x32e,_0x3b9d84:0x55,_0x178216:0x3f,_0x4560e6:0x88,_0x3a42b1:0x100,_0xfb5b74:0xcc,_0x21e6b6:0x70,_0x4e3913:0x88,_0x4973df:0x352,_0x4f1c3e:0xa5,_0x567201:0x8e,_0x57584b:0x8d,_0x2d57f8:0xa8,_0x303ba7:0x90,_0x3167ae:0x83,_0x25640f:0x2e7,_0x2af834:0x2ea,_0x15e761:0xa4,_0x277e09:0x9a,_0x5da921:0x310,_0x6c0412:0x2f4,_0x3e8356:0x66,_0x155679:0x32a,_0x5537a2:0x93,_0x5926e6:0x92,_0x3c220d:0x93,_0x2b27b1:0x33d,_0x336ca5:0x344,_0x377950:0x331,_0x1c37d3:0x55,_0x253efd:0x8c},_0x56542a={_0xf5d153:0x21f},_0x4c720d={};_0x4c720d[_0x15c037(_0x249b20._0x4b5213,_0x249b20._0x17b711)]=_0x15c037(_0x249b20._0x3c1a98,0x350)+_0x15c037(_0x249b20._0x47da41,0x31e),_0x4c720d[_0x15c037(0x2ca,_0x249b20._0x430a85)]=_0x15c037(_0x249b20._0x28d00f,_0x249b20._0x10db17),_0x4c720d[_0x15c037(_0x249b20._0x2a3e14,0x337)]=function(_0x596832,_0x360523){return _0x596832===_0x360523;},_0x4c720d[_0xf7c52e(-_0x249b20._0x6353ce,-_0x249b20._0x5809e6)]='\x20\x20\x20Agent\x20I'+_0xf7c52e(-0x33,-_0x249b20._0x2317bf)+_0x15c037(_0x249b20._0x47ae7b,0x365)+_0x15c037(_0x249b20._0x203333,_0x249b20._0x4592f4)+_0xf7c52e(-_0x249b20._0x47caf2,-0xca)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具';const _0x119d48=_0x4c720d;if(!existsSync(_0x28c003))return _0xf7c52e(-0xac,-_0x249b20._0x1e2365)===_0xf7c52e(-_0x249b20._0x345ad3,-0xe6)?(_0x46647f['push'](_0x119d48[_0xf7c52e(-_0x249b20._0x59f7b2,-0x76)]),_0x282b3f['join']('\x0a')):'⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0xf7c52e(-_0x249b20._0x1e2365,-_0x249b20._0x539811);const _0xfeed59=readFileSync(_0x28c003,_0x119d48[_0xf7c52e(-_0x249b20._0x118ed5,-_0x249b20._0x20e781)]),_0xba2b8c=JSON['parse'](_0xfeed59),_0x1bc5cd=[];_0x1bc5cd[_0xf7c52e(-0x5c,-_0x249b20._0x569d30)]('📊\x20项目状态:\x20'+_0xba2b8c[_0x15c037(_0x249b20._0x2097e1,0x2f8)][_0xf7c52e(-0x41,-_0x249b20._0x3b9d84)]),_0x1bc5cd['push']('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0xba2b8c['project'][_0xf7c52e(-_0x249b20._0x178216,-_0x249b20._0x4560e6)+'se']]??_0xba2b8c[_0xf7c52e(-_0x249b20._0x3a42b1,-_0x249b20._0xfb5b74)][_0xf7c52e(-_0x249b20._0x21e6b6,-_0x249b20._0x4e3913)+'se'])),_0x1bc5cd[_0xf7c52e(-0x81,-0x66)]('\x20\x20\x20版本:\x20'+_0xba2b8c[_0x15c037(_0x249b20._0x4973df,0x32e)]),_0x1bc5cd['push'](_0x15c037(0x2db,0x2f0)+_0xba2b8c[_0xf7c52e(-0xcd,-0x92)]);const _0x115dcb=_0xba2b8c[_0xf7c52e(-0xde,-_0x249b20._0x4f1c3e)];function _0x15c037(_0x2a2f13,_0x20e4cd){return _0x995840(_0x20e4cd- -_0x56542a._0xf5d153,_0x2a2f13);}const _0x139aa9=Object[_0x15c037(0x366,0x326)](_0x115dcb);if(_0x119d48[_0xf7c52e(-_0x249b20._0x567201,-_0x249b20._0x57584b)](_0x139aa9['length'],0x190b+-0x20d*0x9+0x2*-0x34b))return _0x1bc5cd[_0xf7c52e(-_0x249b20._0x2d57f8,-0x66)](_0x119d48[_0xf7c52e(-0x83,-0x76)]),_0x1bc5cd[_0xf7c52e(-_0x249b20._0x303ba7,-0x8c)]('\x0a');_0x1bc5cd[_0xf7c52e(-_0x249b20._0x3167ae,-0x66)]('');function _0xf7c52e(_0x358a23,_0x1f0378){return _0x995840(_0x1f0378- -0x5e3,_0x358a23);}_0x1bc5cd['push'](_0x119d48[_0x15c037(_0x249b20._0x25640f,_0x249b20._0x2af834)]),_0x1bc5cd[_0xf7c52e(-_0x249b20._0x15e761,-_0x249b20._0x569d30)](_0xf7c52e(-0xc5,-_0x249b20._0x277e09)+'-'[_0x15c037(0x32f,_0x249b20._0x5da921)](0x3*0x12d+0x1bf8+-0x1f2f));for(const _0x29b73f of _0x139aa9){const _0x28ac9d=_0x115dcb[_0x29b73f],_0x274673=PHASE_NAMES[_0x28ac9d['phase']]??_0x28ac9d[_0xf7c52e(-0x9a,-0x7f)],_0x2a85f3=_0x28ac9d['currentOpe'+_0x15c037(0x2a9,_0x249b20._0x6c0412)]||'-',_0x427633=_0x28ac9d['currentSki'+'ll']||'-';_0x1bc5cd[_0xf7c52e(-0x22,-_0x249b20._0x3e8356)](_0x15c037(0x353,_0x249b20._0x155679)+_0x29b73f['padEnd'](0xe65+-0x13e5+0x1f*0x2e)+_0xf7c52e(-0x68,-_0x249b20._0x5537a2)+_0x274673[_0x15c037(0x31f,0x33d)](-0xa*0xae+0x16eb+-0x1011)+_0xf7c52e(-_0x249b20._0x5926e6,-_0x249b20._0x3c220d)+_0x2a85f3[_0x15c037(0x317,_0x249b20._0x2b27b1)](-0xb*-0x246+-0x57d*-0x3+-0x2964)+_0x15c037(_0x249b20._0x336ca5,_0x249b20._0x377950)+_0x427633);}return _0x1bc5cd[_0xf7c52e(-_0x249b20._0x1c37d3,-_0x249b20._0x253efd)]('\x0a');}export async function advancePhase(_0x326265,_0x513c67){const _0x3d32bb={_0x3be0bb:0x356,_0x3e2bd6:0x340,_0x1e394d:0x36d,_0x2d0081:0x3be,_0x42a74c:0x382,_0x4cf30e:0x32d,_0x1f0c05:0x349,_0x4df262:0x391,_0x4c84b8:0x324,_0x214f24:0x3a0,_0x518d47:0x397,_0x318fa5:0x35e,_0xd62bf4:0x393,_0x449aec:0x331,_0x3fb4e7:0x33f,_0x3a49b6:0x397,_0x1c0d92:0x368,_0x2134bd:0x389,_0x113dda:0x32c,_0x588e93:0x341,_0x454827:0x317,_0x4de1a6:0x359,_0x5890bd:0x387,_0x9af0f2:0x342,_0x3ef6f7:0x34c,_0x2aabe0:0x31d,_0x249462:0x36f,_0x5cd5c7:0x381,_0x3fcb2c:0x2ff,_0x505715:0x3c8,_0x2aa838:0x371},_0x11e01b={_0x2ae8c0:0x1db},_0x301af4={'CEPZy':function(_0x4e55ed,_0x4dc0ea){return _0x4e55ed(_0x4dc0ea);},'dOtuT':_0x5b0ce1(_0x3d32bb._0x3be0bb,0x34e)+_0x559f41(0x2ca,0x304)+_0x559f41(0x304,_0x3d32bb._0x3e2bd6),'jDIlN':_0x559f41(_0x3d32bb._0x1e394d,0x38c)+_0x559f41(0x2f4,0x30e),'dInjU':function(_0x3a751c,_0x889d3b){return _0x3a751c===_0x889d3b;},'heTza':_0x559f41(_0x3d32bb._0x2d0081,0x393)};function _0x559f41(_0x1d97db,_0x3a0c6f){return _0x995840(_0x3a0c6f- -0x1fc,_0x1d97db);}const _0x248f6a=await _0x301af4[_0x559f41(0x398,_0x3d32bb._0x42a74c)](readStateFile,_0x326265);if(!_0x248f6a)return _0x301af4[_0x559f41(_0x3d32bb._0x4cf30e,0x33d)];const _0x34a8a0=_0x513c67??Object[_0x559f41(0x381,_0x3d32bb._0x1f0c05)](_0x248f6a['agents'])['find'](_0x441354=>_0x248f6a[_0x559f41(0x37c,0x342)][_0x441354][_0x5b0ce1(0x389,0x386)]!=='completed');if(!_0x34a8a0)return _0x301af4[_0x559f41(_0x3d32bb._0x4df262,0x372)];function _0x5b0ce1(_0x45a731,_0xba9c9c){return _0x995840(_0x45a731- -_0x11e01b._0x2ae8c0,_0xba9c9c);}const _0xa426d5=_0x248f6a[_0x5b0ce1(0x363,_0x3d32bb._0x4c84b8)][_0x34a8a0];if(!_0xa426d5)return'❌\x20Agent\x20'+_0x34a8a0+('\x20不存在于\x20stat'+_0x5b0ce1(0x388,_0x3d32bb._0x214f24));if(_0xa426d5[_0x559f41(_0x3d32bb._0x518d47,0x368)]===_0x559f41(_0x3d32bb._0x318fa5,_0x3d32bb._0xd62bf4))return'['+_0x34a8a0+_0x559f41(_0x3d32bb._0x449aec,_0x3d32bb._0x3fb4e7);const _0x1171f3=computeNextPhase(_0xa426d5[_0x559f41(_0x3d32bb._0x3a49b6,_0x3d32bb._0x1c0d92)]),_0x331c7f=PHASE_NAMES[_0xa426d5[_0x5b0ce1(_0x3d32bb._0x2134bd,0x3b3)]]??_0xa426d5[_0x559f41(0x361,0x368)],_0x6d9b4b=PHASE_NAMES[_0x1171f3]??_0x1171f3,_0x3caa2c={..._0x248f6a['agents']},_0x35ba70=_0x3caa2c,_0x42af0e={..._0xa426d5};_0x42af0e[_0x5b0ce1(_0x3d32bb._0x2134bd,0x358)]=_0x1171f3,_0x42af0e[_0x5b0ce1(_0x3d32bb._0x113dda,0x347)+_0x559f41(_0x3d32bb._0x588e93,_0x3d32bb._0x454827)]='',_0x42af0e[_0x5b0ce1(_0x3d32bb._0x4de1a6,_0x3d32bb._0x454827)+'ll']='',_0x35ba70[_0x34a8a0]=_0x42af0e;const _0x7c832f=computeOverallPhase(_0x35ba70),_0xa65c05={..._0x248f6a[_0x559f41(0x33a,0x31b)]};_0xa65c05[_0x5b0ce1(0x380,_0x3d32bb._0x5890bd)+'se']=_0x7c832f;const _0x48361d={};_0x48361d['project']=_0xa65c05,_0x48361d[_0x559f41(0x370,_0x3d32bb._0x9af0f2)]=_0x35ba70,_0x48361d[_0x559f41(0x327,0x33c)+_0x559f41(0x394,_0x3d32bb._0x3ef6f7)]=_0x248f6a['machineSna'+_0x559f41(_0x3d32bb._0x2aabe0,_0x3d32bb._0x3ef6f7)],await writeStateFile(_0x326265,_0x48361d);const _0x39be68=[];return _0x39be68[_0x559f41(_0x3d32bb._0x249462,_0x3d32bb._0x5cd5c7)]('['+_0x34a8a0+']\x20'+_0x331c7f+'\x20→\x20'+_0x6d9b4b),_0x301af4[_0x5b0ce1(0x323,0x34f)](_0x1171f3,_0x301af4[_0x559f41(0x302,_0x3d32bb._0x3fcb2c)])&&_0x39be68[_0x559f41(0x384,0x381)](_0x5b0ce1(0x37d,_0x3d32bb._0x505715)+_0x34a8a0+_0x5b0ce1(0x32f,_0x3d32bb._0x2aa838)),_0x39be68['join']('\x0a');}function computeNextPhase(_0x24b92c){const _0x1e921a={_0x61233c:0x13,_0x29415d:0x49,_0x286e2d:0x88,_0x299e7b:0x64,_0x29562f:0x49c,_0x2a660f:0x2c,_0x1dd10c:0xf,_0x2f15fa:0x455,_0xfe45a3:0x422,_0x1ec7d4:0x3fd,_0x159471:0x427,_0x28facd:0x412},_0xc6fe82={};_0xc6fe82[_0x1b788a(_0x1e921a._0x61233c,0x25)]=function(_0x30ed69,_0x342d68){return _0x30ed69<_0x342d68;},_0xc6fe82[_0x1b788a(0x1,-0x9)]=_0x331881(0x453,0x49b),_0xc6fe82[_0x331881(0x458,0x427)]=function(_0x4feb47,_0x95802f){return _0x4feb47<_0x95802f;},_0xc6fe82[_0x1b788a(_0x1e921a._0x29415d,_0x1e921a._0x286e2d)]=function(_0x31c5d2,_0x8aebed){return _0x31c5d2-_0x8aebed;},_0xc6fe82['cYaWu']=_0x1b788a(_0x1e921a._0x299e7b,0xa8);const _0x143cfd=_0xc6fe82,_0x3b1456=PHASES[_0x331881(0x4a9,_0x1e921a._0x29562f)](_0x24b92c);if(_0x3b1456>=-0x24a2+0x1252+0x1250)return _0x3b1456<PHASES[_0x331881(0x458,0x412)]-(0x223*-0x1+0x3*0x463+-0xb05)?PHASES[_0x3b1456+(0x18ba+-0x1*-0x2329+0x16d*-0x2a)]:'completed';const _0x2c79b9=PIPELINE_PHASES['indexOf'](_0x24b92c);function _0x331881(_0x429b1a,_0x2e18e6){return _0x995840(_0x2e18e6- -0xf4,_0x429b1a);}function _0x1b788a(_0x5cdf45,_0x1db9f6){return _0x562d75(_0x1db9f6,_0x5cdf45- -0x41e);}if(_0x2c79b9>=0x2*0xdb7+-0xf1*-0x1+-0x1b*0x10d)return'ochtB'!=='ochtB'?_0x143cfd[_0x1b788a(0x13,_0x1e921a._0x2a660f)](_0x53c2ac,_0x1cc2dc[_0x1b788a(-_0x1e921a._0x1dd10c,-0x1f)]-(0x1*-0x9d6+0x165a+0x1*-0xc83))?_0x553a8b[_0x44e94d+(0x897*-0x3+-0x1d0f+0x36d5)]:_0x143cfd[_0x331881(_0x1e921a._0x2f15fa,_0x1e921a._0xfe45a3)]:_0x143cfd[_0x331881(_0x1e921a._0x1ec7d4,_0x1e921a._0x159471)](_0x2c79b9,_0x143cfd[_0x331881(0x480,0x46a)](PIPELINE_PHASES[_0x331881(0x45a,_0x1e921a._0x28facd)],-0x669+-0x1*0xb1e+0x1188))?PIPELINE_PHASES[_0x2c79b9+(0x4e7*-0x1+-0x13fb+0x18e3)]:_0x143cfd[_0x331881(0x414,0x422)];if(_0x24b92c===_0x143cfd['cYaWu'])return PHASES[0x31*-0xb+-0x9aa*0x1+0xbc5];return _0x143cfd['OyGrH'];}export async function newProject(_0x1ee724,_0x389c52){const _0x1385b3={_0x3e7084:0x303,_0x1e428a:0x2dd,_0xd9894a:0x424,_0x2adf37:0x36d,_0x336eae:0x332,_0x297b4c:0x40f,_0x1a8469:0x465,_0x22a7f2:0x355,_0x53e998:0x3d1,_0x507da1:0x408,_0x38f682:0x3aa,_0x4c96e5:0x360,_0x445f6c:0x31b,_0x4f7c56:0x4a4,_0x514af0:0x439,_0x1d20e4:0x30d,_0x6c77c1:0x467,_0x2a552d:0x452,_0x29faad:0x331,_0x5dc5e1:0x41b},_0x257c3c={_0x1474f4:0xff},_0x380d57={_0x2df044:0x137},_0x2cda81={'aSTUS':function(_0x53ce9a,_0x28b7e2,_0x5494ef){return _0x53ce9a(_0x28b7e2,_0x5494ef);},'ijYAh':function(_0xa4ebea,_0xe1f881,_0x196b40){return _0xa4ebea(_0xe1f881,_0x196b40);},'FWryh':function(_0x281752){return _0x281752();},'aOXXX':_0x10bf10(0x353,0x34b),'MIyEQ':_0x10bf10(_0x1385b3._0x3e7084,_0x1385b3._0x1e428a)},_0x3f7885=_0x2cda81['aSTUS'](resolve,_0x1ee724,'..');if(!existsSync(_0x3f7885)){const _0x2cde7a={};_0x2cde7a[_0x333ee9(0x3de,_0x1385b3._0xd9894a)]=!![],_0x2cda81[_0x333ee9(0x434,0x423)](mkdirSync,_0x3f7885,_0x2cde7a);}const _0x2ecdd2=_0x2cda81[_0x10bf10(_0x1385b3._0x2adf37,0x353)](generateAgentId),_0x2f9b86={};_0x2f9b86[_0x10bf10(_0x1385b3._0x336eae,0x337)]=_0x2ecdd2,_0x2f9b86[_0x333ee9(0x412,_0x1385b3._0x297b4c)]=null,_0x2f9b86[_0x10bf10(0x2fc,0x2ee)]=[],_0x2f9b86[_0x333ee9(0x41c,_0x1385b3._0x1a8469)]=_0x2cda81[_0x10bf10(0x36a,_0x1385b3._0x22a7f2)],_0x2f9b86[_0x333ee9(_0x1385b3._0x53e998,_0x1385b3._0x507da1)+_0x333ee9(0x3e0,0x414)]='',_0x2f9b86[_0x333ee9(0x423,0x435)+'ll']='';function _0x10bf10(_0x28553c,_0x1ae588){return _0x562d75(_0x28553c,_0x1ae588- -_0x380d57._0x2df044);}const _0x584553=_0x2f9b86,_0xc5f29d={};_0xc5f29d[_0x10bf10(_0x1385b3._0x38f682,_0x1385b3._0x4c96e5)]=_0x389c52,_0xc5f29d[_0x10bf10(_0x1385b3._0x445f6c,0x32d)+'se']=_0x2cda81[_0x333ee9(_0x1385b3._0x4f7c56,0x484)];const _0x137ba6={};_0x137ba6[_0x2ecdd2]=_0x584553;function _0x333ee9(_0x22a34d,_0x511710){return _0x995840(_0x511710- -_0x257c3c._0x1474f4,_0x22a34d);}const _0x5c0f05={};_0x5c0f05[_0x10bf10(0x2ac,0x2e9)]=_0xc5f29d,_0x5c0f05[_0x333ee9(0x42c,0x43f)]=_0x137ba6,_0x5c0f05[_0x333ee9(0x43c,_0x1385b3._0x514af0)+_0x10bf10(_0x1385b3._0x1d20e4,0x31a)]=null,await writeStateFile(_0x1ee724,_0x5c0f05);const _0x26be67=[];return _0x26be67['push'](_0x333ee9(0x462,0x428)+_0x389c52),_0x26be67['push']('\x20\x20\x20目录:\x20'+_0x3f7885),_0x26be67['push'](_0x333ee9(_0x1385b3._0x6c77c1,0x47d)+'t:\x20'+_0x2ecdd2),_0x26be67['push'](_0x10bf10(0x309,0x2e6)+PIPELINE_PHASES[_0x333ee9(_0x1385b3._0x2a552d,0x492)](_0x140c4f=>PHASE_NAMES[_0x140c4f]??_0x140c4f)[_0x10bf10(_0x1385b3._0x29faad,0x329)](_0x2cda81[_0x333ee9(0x444,_0x1385b3._0x5dc5e1)])),_0x26be67[_0x10bf10(0x334,0x329)]('\x0a');}function _0x562d75(_0xb48ee,_0xcc3bab){return _0x36b0(_0xcc3bab-0x28d,_0xb48ee);}export async function updateOperation(_0x461231,_0x15b7f1,_0x894c4c,_0x2f1a32){const _0x25010e={_0x501a82:0x52c,_0x38b532:0x54e,_0x5535de:0x530,_0x4b6b4e:0x588,_0x14e63f:0x3a9,_0x4e5e30:0x565,_0x4ef646:0x525,_0x4b6e36:0x565,_0x447865:0x595,_0x380c37:0x575,_0x1a6e39:0x55b,_0x5c0382:0x584},_0x2167e0={_0x4e610d:0x182},_0xe7a80c={'dSSMq':function(_0x297a59,_0x55dfa8){return _0x297a59(_0x55dfa8);}},_0x2f3ec8=await _0xe7a80c['dSSMq'](readStateFile,_0x461231);if(!_0x2f3ec8)return'⚠️\x20\x20状态文件不存在';const _0x25391d=_0x2f3ec8[_0x463659(0x3bc,0x3c0)][_0x15b7f1];if(!_0x25391d)return _0x59fa94(_0x25010e._0x501a82,_0x25010e._0x38b532)+_0x15b7f1+(_0x59fa94(_0x25010e._0x5535de,0x55f)+'e.json');const _0xdbcf38={..._0x2f3ec8[_0x59fa94(0x56b,_0x25010e._0x4b6b4e)]},_0x32ca37=_0xdbcf38,_0x5cca3d={..._0x25391d};_0x5cca3d['currentOpe'+'ration']=_0x894c4c;function _0x59fa94(_0x544075,_0x1e5090){return _0x562d75(_0x1e5090,_0x544075-0x124);}_0x5cca3d[_0x59fa94(0x561,0x5ad)+'ll']=_0x2f1a32,_0x32ca37[_0x15b7f1]=_0x5cca3d;const _0x32b96e={};function _0x463659(_0x45a5c1,_0x97f5ae){return _0x995840(_0x45a5c1- -_0x2167e0._0x4e610d,_0x97f5ae);}return _0x32b96e[_0x463659(0x395,_0x25010e._0x14e63f)]=_0x2f3ec8['project'],_0x32b96e['agents']=_0x32ca37,_0x32b96e[_0x59fa94(_0x25010e._0x4e5e30,_0x25010e._0x4ef646)+_0x59fa94(0x575,0x533)]=_0x2f3ec8[_0x59fa94(_0x25010e._0x4b6e36,_0x25010e._0x447865)+_0x59fa94(_0x25010e._0x380c37,0x529)],await writeStateFile(_0x461231,_0x32b96e),_0x59fa94(_0x25010e._0x1a6e39,_0x25010e._0x5c0382)+_0x15b7f1+_0x59fa94(0x529,0x4e2)+_0x894c4c+'\x20('+_0x2f1a32+')';}function _0x36b0(_0x5407b9,_0x1a9828){_0x5407b9=_0x5407b9-(-0x20c6+0x5ba*-0x4+0x3924);const _0x43a8a9=_0xbe48();let _0x17fabf=_0x43a8a9[_0x5407b9];if(_0x36b0['jCCZKA']===undefined){var _0x581cc3=function(_0x56d75d){const _0xc1d8fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x32ae91='',_0x972ddb='';for(let _0x220138=0x68d+-0x1db*-0xf+0x1*-0x2262,_0x491114,_0xc3c50e,_0x1416ee=-0xc8c+-0x2*0x293+0x11b2;_0xc3c50e=_0x56d75d['charAt'](_0x1416ee++);~_0xc3c50e&&(_0x491114=_0x220138%(0x167c+0x9*-0x3d3+0xbf3*0x1)?_0x491114*(0x571*-0x5+-0x2221+-0x1*-0x3d96)+_0xc3c50e:_0xc3c50e,_0x220138++%(0x182+-0x1*-0x103f+-0x11bd*0x1))?_0x32ae91+=String['fromCharCode'](0x4*-0x68f+0xd*0x13f+-0x2*-0x584&_0x491114>>(-(0x10b8*0x2+0x8f6+-0x2a64)*_0x220138&-0x26a0+0x976+0x2*0xe98)):-0x266+0x1a62+-0x17fc){_0xc3c50e=_0xc1d8fa['indexOf'](_0xc3c50e);}for(let _0x58303f=0x17e*-0x4+0x3*0x1b1+0x1*0xe5,_0x3ea944=_0x32ae91['length'];_0x58303f<_0x3ea944;_0x58303f++){_0x972ddb+='%'+('00'+_0x32ae91['charCodeAt'](_0x58303f)['toString'](-0x1ee7+-0x4*0x40+0x1ff7))['slice'](-(0x129a+-0x629+-0xc6f));}return decodeURIComponent(_0x972ddb);};_0x36b0['knrzPi']=_0x581cc3,_0x36b0['SqVQCR']={},_0x36b0['jCCZKA']=!![];}const _0x4e8019=_0x43a8a9[-0x2601+-0xf1d+0x351e*0x1],_0x46cede=_0x5407b9+_0x4e8019,_0x4ded70=_0x36b0['SqVQCR'][_0x46cede];return!_0x4ded70?(_0x17fabf=_0x36b0['knrzPi'](_0x17fabf),_0x36b0['SqVQCR'][_0x46cede]=_0x17fabf):_0x17fabf=_0x4ded70,_0x17fabf;}export async function registerAgent(_0x67749e,_0x16198d,_0x97603e={}){const _0x5f5ae1={_0x4590fc:0x2fb,_0x56df50:0x2c7,_0xd364e1:0x2ca,_0x531934:0x316,_0x4fd044:0x37a,_0xe3a2ad:0x315,_0x51fc28:0x329,_0x36e4e2:0x359,_0x4be464:0x317,_0x501c99:0x2d8,_0x3d495c:0x320,_0x57aae7:0x368,_0x1846a7:0x310,_0x1e951f:0x2cf,_0x1a532e:0x2b8,_0x3400e4:0x35a,_0x3e9a0f:0x347,_0x4a7c76:0x322,_0x34c00f:0x303,_0x47b213:0x2d4,_0x48fec5:0x2e6,_0x17b08f:0x308,_0x44cdae:0x2cd,_0x4dd9f6:0x386,_0xfff9b8:0x347,_0x99073:0x37e,_0x53717e:0x392,_0x7a6b4b:0x378,_0x472d6a:0x311,_0x1c34f0:0x358},_0x3ce743={'gnpbx':function(_0x5a8ab5,_0x23f1cc){return _0x5a8ab5(_0x23f1cc);},'eFLdW':_0x3d257f(_0x5f5ae1._0x4590fc,_0x5f5ae1._0x56df50)+_0x3d257f(_0x5f5ae1._0xd364e1,0x311)+_0x3d257f(0x306,0x313),'jJAiP':_0x372029(0x303,_0x5f5ae1._0x531934)},_0x367ffd=await _0x3ce743[_0x3d257f(0x33a,0x334)](readStateFile,_0x67749e);if(!_0x367ffd)return _0x3ce743['eFLdW'];if(_0x367ffd[_0x372029(_0x5f5ae1._0x4fd044,0x347)][_0x16198d])return _0x3d257f(_0x5f5ae1._0xe3a2ad,_0x5f5ae1._0x51fc28)+_0x16198d+'\x20已存在,跳过注册';const _0x338105=_0x97603e['phase']??_0x3d257f(0x343,0x380),_0x302e42=_0x97603e[_0x372029(_0x5f5ae1._0x36e4e2,_0x5f5ae1._0x4be464)]??null,_0x14a0a7={};_0x14a0a7['agentId']=_0x16198d,_0x14a0a7[_0x3d257f(_0x5f5ae1._0x501c99,_0x5f5ae1._0x3d495c)]=_0x302e42;function _0x372029(_0x40e448,_0xae0aea){return _0x995840(_0xae0aea- -0x1f7,_0x40e448);}_0x14a0a7[_0x372029(0x2de,0x325)]=[],_0x14a0a7[_0x372029(_0x5f5ae1._0x57aae7,0x36d)]=_0x338105,_0x14a0a7[_0x372029(0x2e9,_0x5f5ae1._0x1846a7)+'ration']='',_0x14a0a7[_0x3d257f(0x2fe,0x2ca)+'ll']='';const _0x2a43eb=_0x14a0a7,_0x1c4580={..._0x367ffd[_0x372029(0x32b,0x347)]};_0x1c4580[_0x16198d]=_0x2a43eb;const _0x395bd1=_0x1c4580;if(_0x302e42&&_0x395bd1[_0x302e42]){const _0x32ef9c=_0x395bd1[_0x302e42];if(!_0x32ef9c[_0x3d257f(0x2e6,0x2c6)][_0x3d257f(_0x5f5ae1._0x1e951f,_0x5f5ae1._0x1a532e)](_0x16198d)){if(_0x3ce743[_0x372029(_0x5f5ae1._0x3400e4,0x381)]!==_0x3ce743['jJAiP'])_0x972ddb[_0x3d257f(_0x5f5ae1._0x3e9a0f,_0x5f5ae1._0xe3a2ad)](_0x3d257f(_0x5f5ae1._0x4a7c76,_0x5f5ae1._0x34c00f)+_0x220138+_0x3d257f(_0x5f5ae1._0x47b213,0x2c4));else{const _0x2482db={..._0x32ef9c};_0x2482db[_0x372029(0x32e,0x325)]=[..._0x32ef9c[_0x3d257f(_0x5f5ae1._0x48fec5,0x310)],_0x16198d],_0x395bd1[_0x302e42]=_0x2482db;}}}const _0x175493={};_0x175493['project']=_0x367ffd['project'];function _0x3d257f(_0x3ddeee,_0x33d462){return _0x562d75(_0x33d462,_0x3ddeee- -0x13f);}_0x175493[_0x3d257f(_0x5f5ae1._0x17b08f,_0x5f5ae1._0x44cdae)]=_0x395bd1,_0x175493['machineSna'+'pshot']=_0x367ffd[_0x3d257f(0x302,0x2d9)+'pshot'],await writeStateFile(_0x67749e,_0x175493);const _0x294fe9=PHASE_NAMES[_0x338105]??_0x338105,_0x463760=[];_0x463760[_0x372029(0x3cd,_0x5f5ae1._0x4dd9f6)]('✅\x20Agent\x20已注'+_0x3d257f(0x2d2,0x319)+_0x16198d),_0x463760[_0x3d257f(_0x5f5ae1._0xfff9b8,0x30d)](_0x372029(_0x5f5ae1._0x99073,_0x5f5ae1._0x53717e)+_0x294fe9);if(_0x302e42)_0x463760[_0x372029(_0x5f5ae1._0x7a6b4b,0x386)](_0x3d257f(_0x5f5ae1._0x472d6a,_0x5f5ae1._0x1c34f0)+':\x20'+_0x302e42);return _0x463760['join']('\x0a');}export async function deregisterAgent(_0x284495,_0x3feaac){const _0x29f067={_0x4bdd3f:0x3f0,_0x3d7fd7:0x3bf,_0x1a3d35:0xd5,_0x112b25:0xc5,_0x4c8b10:0x90,_0x4cc85e:0xea,_0x29d80e:0x81,_0x2aa930:0x37a,_0x4c2cce:0x343,_0x595bac:0x9c,_0x2e6a6f:0xb7,_0x4eff32:0x3ca,_0x159654:0x6c,_0x41a2a0:0x371,_0x31e2b2:0x38b,_0x32fc3e:0x3a2,_0x53a092:0x393,_0x1b3812:0xa9,_0x2bdb46:0xe6,_0xa26d4e:0x76,_0x3b961a:0x89,_0x4a8492:0x3bc,_0x510ca9:0x9b,_0x34083d:0x6e,_0x291d75:0x40,_0x118aa8:0xad,_0x577774:0x73,_0x1f4925:0x79,_0x4730af:0xb9,_0x1139c5:0x9d,_0x12b1a0:0x353,_0x50b5f8:0x3a0,_0xacab7f:0x3bf,_0x14df92:0x40c,_0x15286b:0x6b},_0x3a62df={'okpnp':'⚠️\x20\x20状态文件不存在','dGArR':function(_0x4e6514,_0xe92bfc){return _0x4e6514===_0xe92bfc;},'yHeBh':_0x4d6f38(0x90,0x66),'vuhVH':function(_0x370500,_0x1564c4){return _0x370500>_0x1564c4;},'ecVXV':function(_0x3d3859,_0x46aab0){return _0x3d3859(_0x46aab0);},'dGgqR':_0x4e0933(_0x29f067._0x4bdd3f,_0x29f067._0x3d7fd7)},_0x5617a6=await readStateFile(_0x284495);if(!_0x5617a6)return _0x3a62df[_0x4d6f38(_0x29f067._0x1a3d35,0x117)];if(!_0x5617a6[_0x4e0933(0x3b5,0x3dd)][_0x3feaac])return _0x3a62df[_0x4d6f38(_0x29f067._0x112b25,0x99)](_0x3a62df['yHeBh'],_0x4d6f38(_0x29f067._0x4c8b10,0x8e))?'⚠️\x20\x20Agent\x20'+_0x3feaac+_0x4d6f38(0xb2,_0x29f067._0x4cc85e):_0x4d6f38(0x5d,_0x29f067._0x29d80e)+_0x46cede+(_0x4e0933(_0x29f067._0x2aa930,_0x29f067._0x4c2cce)+'e.json');const _0x450eb3=_0x5617a6[_0x4d6f38(_0x29f067._0x595bac,_0x29f067._0x2e6a6f)][_0x3feaac],_0x13aab6={..._0x5617a6['agents']};function _0x4d6f38(_0x51db29,_0x453fc8){return _0x995840(_0x51db29- -0x4a2,_0x453fc8);}const _0x5ab645=_0x13aab6;delete _0x5ab645[_0x3feaac];if(_0x450eb3[_0x4e0933(0x385,_0x29f067._0x4eff32)]&&_0x5ab645[_0x450eb3[_0x4d6f38(_0x29f067._0x159654,0x1f)]]){if(_0x4e0933(_0x29f067._0x41a2a0,_0x29f067._0x31e2b2)===_0x4e0933(0x371,_0x29f067._0x32fc3e)){const _0x41d547=_0x5ab645[_0x450eb3[_0x4e0933(0x385,0x3c0)]];_0x5ab645[_0x450eb3['parentId']]={..._0x41d547,'childIds':_0x41d547[_0x4e0933(_0x29f067._0x53a092,0x348)][_0x4d6f38(0xdd,0xb0)](_0x17bc15=>_0x17bc15!==_0x3feaac)};}else return _0x4d6f38(_0x29f067._0x1b3812,_0x29f067._0x2bdb46)+_0x2e4a8a+_0x4d6f38(_0x29f067._0xa26d4e,_0x29f067._0x3b961a);}const _0x2793b1=Object[_0x4e0933(_0x29f067._0x4a8492,0x3c1)](_0x5ab645),_0x22b401=_0x3a62df[_0x4e0933(0x3b6,0x3ba)](_0x2793b1[_0x4d6f38(0x64,_0x29f067._0x510ca9)],0x66b+-0x944*-0x2+-0x3*0x851)?_0x3a62df[_0x4d6f38(_0x29f067._0x34083d,_0x29f067._0x291d75)](computeOverallPhase,_0x5ab645):_0x3a62df[_0x4d6f38(_0x29f067._0x118aa8,_0x29f067._0x577774)],_0x212285={..._0x5617a6[_0x4d6f38(0x75,_0x29f067._0x1f4925)]};_0x212285[_0x4d6f38(_0x29f067._0x4730af,_0x29f067._0x1139c5)+'se']=_0x22b401;const _0x31cd15={};function _0x4e0933(_0x2b3981,_0x63dd9c){return _0x562d75(_0x63dd9c,_0x2b3981- -0x92);}return _0x31cd15[_0x4e0933(0x38e,_0x29f067._0x12b1a0)]=_0x212285,_0x31cd15['agents']=_0x5ab645,_0x31cd15[_0x4e0933(0x3af,_0x29f067._0x50b5f8)+_0x4e0933(_0x29f067._0xacab7f,_0x29f067._0x14df92)]=_0x5617a6['machineSna'+'pshot'],await writeStateFile(_0x284495,_0x31cd15),_0x4d6f38(0x6f,_0x29f067._0x15286b)+'销:\x20'+_0x3feaac;}export async function showProgress(_0x639117){const _0x129066={_0x324a19:0x2f7,_0x2b9e86:0x2c6,_0xe736e4:0x2d5,_0x4db624:0x302,_0x529354:0x2fc,_0x20183e:0x3eb,_0x316aaf:0x42f,_0x33303d:0x385,_0x27c756:0x34d,_0x49f74:0x362,_0x29b82f:0x2cc,_0x5e333c:0x3f3,_0x3020bf:0x31b,_0x133765:0x3c1,_0x4bc2df:0x37c,_0x38f2fd:0x343,_0xfac625:0x30d,_0x609ced:0x2ea,_0x586cc7:0x313,_0x954079:0x337,_0x1a8ed4:0x416,_0x375e70:0x3b9,_0x49f5bc:0x3c5,_0x2421ed:0x300,_0x408067:0x427,_0x1be153:0x43b,_0x83b25:0x2db,_0x1dbb78:0x2eb,_0x12cbef:0x3e0,_0xc01b3a:0x2f2,_0x3a04df:0x3d9,_0x18d6fa:0x422,_0x278405:0x446,_0x57386f:0x2c7,_0x3cd3de:0x44b,_0x10f1f2:0x3e0,_0x73b831:0x450,_0x211f70:0x339,_0x2a9ac4:0x343,_0x2278f8:0x3ed,_0xdedfba:0x456,_0x3d600e:0x34a,_0x5b30bd:0x2f0,_0x399733:0x31e,_0x3908f3:0x3c3,_0xd18cf9:0x3da,_0x2cdf85:0x3ca,_0x315c9e:0x419,_0x55cdac:0x40e,_0x1914ae:0x3ea,_0x125120:0x36d,_0x2c7398:0x3de,_0x5d2ab6:0x3dc,_0x3d8f28:0x2f3,_0x431b37:0x316},_0x58358b={'thDgO':function(_0x2ff251,_0x2d7200){return _0x2ff251(_0x2d7200);},'aXdDL':_0x3b8615(_0x129066._0x324a19,0x2f5)+_0x3b8615(_0x129066._0x2b9e86,_0x129066._0xe736e4)+_0x3b8615(_0x129066._0x4db624,_0x129066._0x529354),'FdVtD':function(_0x5ad636,_0x31cdfe){return _0x5ad636+_0x31cdfe;},'xEtrJ':_0x3b8615(0x2f3,0x314),'LSniq':function(_0xf199ae,_0x38de95){return _0xf199ae+_0x38de95;},'kvYrH':function(_0x5cc8c7,_0x202575){return _0x5cc8c7>_0x202575;},'QZvrP':_0x203746(_0x129066._0x20183e,_0x129066._0x316aaf)+_0x203746(0x3c8,_0x129066._0x33303d),'ykWmG':'\x20\x20\x20'},_0x43b0e1=await _0x58358b[_0x3b8615(_0x129066._0x27c756,0x395)](readStateFile,_0x639117);function _0x203746(_0x2ee165,_0x596688){return _0x995840(_0x2ee165- -0x156,_0x596688);}if(!_0x43b0e1)return _0x58358b[_0x3b8615(0x330,_0x129066._0x49f74)];const _0xa0f51e=_0x43b0e1[_0x3b8615(0x304,0x321)],_0x5096d8=Object['keys'](_0xa0f51e),_0x1b50b1=_0x5096d8[_0x3b8615(_0x129066._0x29b82f,0x2e4)],_0x4033de=_0x5096d8['filter'](_0x5481c5=>_0xa0f51e[_0x5481c5][_0x203746(0x40e,0x3d1)]===_0x203746(0x439,0x43e))[_0x203746(0x3b0,0x3f7)];function _0x3b8615(_0x570307,_0x1c058b){return _0x995840(_0x570307- -0x23a,_0x1c058b);}const _0x4e14cc=_0x1b50b1>-0x2*-0x1145+0x2a*-0x5d+-0x1348?Math[_0x203746(0x403,_0x129066._0x5e333c)](_0x4033de/_0x1b50b1*(0x18c2*0x1+0x1395+0x2bf3*-0x1)):-0x1065+-0x29*-0x5d+0x180,_0x5052f5={};for(const _0xcf1840 of _0x5096d8){const _0x5ab9d8=_0xa0f51e[_0xcf1840][_0x203746(0x40e,0x3fd)];_0x5052f5[_0x5ab9d8]=_0x58358b['FdVtD'](_0x5052f5[_0x5ab9d8]??-0xa46+0xa3c+0xa,0x1296+-0x2*-0xa3+-0x13db);}const _0x302e5a=[];_0x302e5a['push'](_0x3b8615(_0x129066._0x3020bf,0x328)+_0x43b0e1[_0x3b8615(0x2dd,0x299)][_0x3b8615(0x354,0x34b)]),_0x302e5a[_0x3b8615(0x343,0x324)](_0x3b8615(0x30a,0x323)+(PHASE_NAMES[_0x43b0e1['project'][_0x3b8615(0x321,0x36a)+'se']]??_0x43b0e1[_0x203746(_0x129066._0x133765,_0x129066._0x4bc2df)][_0x203746(0x405,0x3d1)+'se'])),_0x302e5a[_0x3b8615(_0x129066._0x38f2fd,_0x129066._0xfac625)](_0x3b8615(_0x129066._0x609ced,0x2a2)+_0x43b0e1[_0x3b8615(_0x129066._0x586cc7,_0x129066._0x954079)]),_0x302e5a[_0x203746(0x427,_0x129066._0x1a8ed4)](_0x203746(_0x129066._0x375e70,_0x129066._0x49f5bc)+_0x43b0e1['updatedAt']),_0x302e5a['push']('\x20\x20\x20完成度:\x20'+_0x4e14cc+_0x3b8615(0x2f2,0x308)+_0x4033de+'/'+_0x1b50b1+_0x3b8615(_0x129066._0x2421ed,0x2dd)),_0x302e5a[_0x203746(_0x129066._0x408067,_0x129066._0x1be153)](''),_0x302e5a[_0x203746(0x427,0x41f)](_0x58358b[_0x3b8615(_0x129066._0x83b25,_0x129066._0x1dbb78)]);for(const [_0x2a54b7,_0x41319b]of Object[_0x203746(_0x129066._0x12cbef,0x3b3)](_0x5052f5)){const _0xb0addc=PHASE_NAMES[_0x2a54b7]??_0x2a54b7,_0x3bef95=_0x58358b[_0x3b8615(0x332,_0x129066._0xc01b3a)]('█'['repeat'](_0x41319b),'░'[_0x203746(_0x129066._0x3a04df,_0x129066._0x18d6fa)](Math[_0x203746(0x40c,0x458)](-0x1f2b+-0x51*0x17+0x2672,_0x1b50b1-_0x41319b)));_0x302e5a[_0x203746(0x427,_0x129066._0x278405)](_0x3b8615(_0x129066._0x57386f,0x2fc)+_0xb0addc[_0x203746(0x406,_0x129066._0x3cd3de)](-0x418+0x11*0x8e+0x152*-0x4)+'\x20'+_0x3bef95+'\x20'+_0x41319b);}_0x302e5a['push']('');if(_0x58358b['kvYrH'](_0x5096d8[_0x203746(0x3b0,_0x129066._0x10f1f2)],0x161f+0x2*0xf28+-0x1f*0x1b1)){_0x302e5a[_0x203746(0x427,_0x129066._0x73b831)](_0x58358b[_0x3b8615(0x2fb,_0x129066._0x211f70)]),_0x302e5a[_0x3b8615(_0x129066._0x2a9ac4,0x322)](_0x203746(_0x129066._0x2278f8,0x3b2)+_0x203746(0x412,_0x129066._0xdedfba)+_0x3b8615(_0x129066._0x3d600e,0x393)+_0x3b8615(_0x129066._0x5b30bd,_0x129066._0x399733)+_0x203746(_0x129066._0x3908f3,0x38f)+_0x203746(_0x129066._0xd18cf9,0x40c)+'工具'),_0x302e5a[_0x3b8615(0x343,0x364)](_0x58358b[_0x3b8615(0x332,0x315)](_0x58358b[_0x203746(_0x129066._0x2cdf85,0x408)],'-'['repeat'](0x1*0xbf6+0x1*-0x19e4+0x2*0x71f)));for(const _0x3bc351 of _0x5096d8){const _0x344739=_0xa0f51e[_0x3bc351],_0x413935=PHASE_NAMES[_0x344739[_0x203746(0x40e,_0x129066._0x315c9e)]]??_0x344739[_0x203746(_0x129066._0x55cdac,_0x129066._0x1914ae)],_0x5810ac=_0x344739[_0x203746(0x3b1,_0x129066._0x125120)+_0x3b8615(0x2d9,0x2f7)]||'-',_0x3ea22a=_0x344739[_0x203746(_0x129066._0x2c7398,0x3fd)+'ll']||'-';_0x302e5a[_0x203746(0x427,0x457)](_0x3b8615(0x30f,_0x129066._0x5b30bd)+_0x3bc351[_0x3b8615(0x322,_0x129066._0x5b30bd)](0x1472+-0x1023+-0x43d*0x1)+_0x203746(0x3fa,0x3b5)+_0x413935[_0x3b8615(0x322,0x313)](0x1c80+0x8d1+-0x2543)+_0x203746(0x3fa,_0x129066._0x5d2ab6)+_0x5810ac[_0x3b8615(0x322,_0x129066._0x3d8f28)](0x23db+0x1*-0x4d6+-0x1ef0)+'\x20|\x20'+_0x3ea22a);}}return _0x302e5a[_0x3b8615(0x31d,_0x129066._0x431b37)]('\x0a');}export async function quickTask(_0x8d4452,_0x171f1a){const _0xb8b09e={_0xd49369:0x126,_0xbf72f8:0x20,_0x43e8d8:0x4d,_0x109086:0x42,_0xe9adff:0x85,_0x502c0a:0x100,_0x43d447:0x13b,_0x3ebcdc:0x5,_0x372c62:0x160,_0x5ca28f:0x183,_0x3eef53:0x180,_0x19175b:0xe8,_0x1aa356:0x128,_0x39cadc:0x77,_0xcd856c:0x5f,_0x257c81:0x59,_0x168e8a:0x51};function _0x1d4c2f(_0x7721a1,_0x39676f){return _0x562d75(_0x7721a1,_0x39676f- -0x306);}const _0x10ba7b={'RxgLU':function(_0x5663d1,_0x1effef,_0x273438){return _0x5663d1(_0x1effef,_0x273438);},'qRyRe':function(_0x413e73){return _0x413e73();},'fKzsQ':'execute'},_0x420103=await readStateFile(_0x8d4452);if(!_0x420103){const _0x5e5d44=_0x10ba7b[_0xe6a1cb(0x7a,0xc0)](resolve,_0x8d4452,'..');if(!existsSync(_0x5e5d44)){const _0x39a4ee={};_0x39a4ee[_0x1d4c2f(0xeb,_0xb8b09e._0xd49369)]=!![],mkdirSync(_0x5e5d44,_0x39a4ee);}}function _0xe6a1cb(_0x2640c0,_0x331b8e){return _0x562d75(_0x331b8e,_0x2640c0- -0x40f);}const _0x3168b6=_0x420103?.[_0xe6a1cb(0x11,-0x4)]['name']??_0xe6a1cb(_0xb8b09e._0xbf72f8,-0x21),_0x5f3505=_0x420103?Object[_0xe6a1cb(0x3f,0x66)](_0x420103['agents'])[0x558+-0xe*-0x203+0x2182*-0x1]??_0x10ba7b[_0xe6a1cb(0x84,_0xb8b09e._0x43e8d8)](generateAgentId):_0x10ba7b['qRyRe'](generateAgentId),_0x3bfb3b={'agentId':_0x5f3505,'parentId':null,'childIds':[],'phase':_0x10ba7b[_0xe6a1cb(0x6b,0x3d)],'currentOperation':_0x171f1a['slice'](-0x42*0x19+0x1*0xdbd+0x74b*-0x1,-0x42d*0x1+0x15be+-0x112d),'currentSkill':'quick'},_0x148772={};_0x148772[_0xe6a1cb(0x88,_0xb8b09e._0x109086)]=_0x3168b6,_0x148772[_0xe6a1cb(0x55,_0xb8b09e._0xe9adff)+'se']=_0x1d4c2f(0x169,0x188);const _0x44d995={};_0x44d995[_0x5f3505]=_0x3bfb3b;const _0x192267={};_0x192267['project']=_0x148772,_0x192267['agents']=_0x44d995,_0x192267[_0x1d4c2f(_0xb8b09e._0x502c0a,_0xb8b09e._0x43d447)+_0xe6a1cb(_0xb8b09e._0x109086,_0xb8b09e._0x3ebcdc)]=null,await _0x10ba7b[_0x1d4c2f(_0xb8b09e._0x372c62,_0xb8b09e._0x5ca28f)](writeStateFile,_0x8d4452,_0x192267);const _0x5f0990=[];return _0x5f0990[_0x1d4c2f(0x133,_0xb8b09e._0x3eef53)](_0xe6a1cb(0x6f,0xa1)),_0x5f0990[_0xe6a1cb(0x77,0x64)]('\x20\x20\x20项目:\x20'+_0x3168b6),_0x5f0990[_0xe6a1cb(0x77,0x5b)](_0x1d4c2f(_0xb8b09e._0x19175b,_0xb8b09e._0x1aa356)+_0x171f1a),_0x5f0990[_0xe6a1cb(_0xb8b09e._0x39cadc,_0xb8b09e._0xcd856c)](_0xe6a1cb(_0xb8b09e._0x257c81,0x8d)+_0x5f3505),_0x5f0990[_0x1d4c2f(0x182,0x180)]('\x20\x20\x20提示:\x20快速任'+_0x1d4c2f(0x1d0,0x18e)+'line,直接执行'),_0x5f0990[_0xe6a1cb(_0xb8b09e._0x168e8a,0x7)]('\x0a');}
|
package/dist/plugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x258242,_0x43caec){const _0x410542={_0x2bdeaf:0x150,_0x54dc67:0x138,_0x47856e:0x14e,_0x3b2684:0x134,_0x162302:0x159,_0x7de7e9:0xea,_0x3d8f60:0x14c},_0x18aead={_0x22dcda:0x4f};function _0xeee433(_0x31ce2e,_0x1c90d5){return _0x21b7(_0x31ce2e-_0x18aead._0x22dcda,_0x1c90d5);}const _0x30cc5e=_0x258242();function _0x284833(_0x177425,_0x44b354){return _0x21b7(_0x44b354- -0x251,_0x177425);}while(!![]){try{const _0x10189d=-parseInt(_0xeee433(0x11e,0xeb))/(-0xc4a+0x1*0x4b5+0x796)+-parseInt(_0x284833(-0x133,-_0x410542._0x2bdeaf))/(-0x15ec+0x9d*-0x27+0x42b*0xb)*(parseInt(_0x284833(-0x110,-0x14c))/(-0x603+0xb3*-0x1+0x6b9))+-parseInt(_0x284833(-0x118,-_0x410542._0x54dc67))/(-0x8*0x32d+0x205d+0x6f1*-0x1)*(parseInt(_0x284833(-0xed,-0x101))/(-0x7b*-0x22+-0x1cbc*-0x1+0x2d0d*-0x1))+-parseInt(_0xeee433(_0x410542._0x47856e,_0x410542._0x3b2684))/(-0x8a6+0x365+-0x1*-0x547)*(parseInt(_0xeee433(0x16d,0x19e))/(-0x46f*0x7+-0x1*0x647+0x2557))+parseInt(_0x284833(-_0x410542._0x162302,-0x17c))/(-0x1633*-0x1+-0x202a*-0x1+-0x1*0x3655)+-parseInt(_0x284833(-_0x410542._0x7de7e9,-0x103))/(0x1f3f+-0x1efd+0x13*-0x3)*(-parseInt(_0xeee433(_0x410542._0x3d8f60,0x125))/(-0x21fe*0x1+0x2b*0xd7+0x215*-0x1))+parseInt(_0xeee433(0x198,0x163))/(-0x1767+0x21f*0x1+-0x35*-0x67);if(_0x10189d===_0x43caec)break;else _0x30cc5e['push'](_0x30cc5e['shift']());}catch(_0x4ff0fc){_0x30cc5e['push'](_0x30cc5e['shift']());}}}(_0x2614,0x59cdd+0x5*-0x36e4+-0xf*-0x3a35));import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x53af75 from'./plugin-engine.js';function getStateFilePath(_0x23b492){const _0x32a399={_0x2ec559:0x13a,_0x144fdc:0x10b},_0x1cd9df={_0x3d3195:0x1b7};function _0x185eea(_0x7ad844,_0x3f93ab){return _0x21b7(_0x7ad844- -0x222,_0x3f93ab);}function _0xa7915d(_0x3085fc,_0x4e2b31){return _0x21b7(_0x4e2b31-_0x1cd9df._0x3d3195,_0x3085fc);}const _0x289674={'WNDQI':function(_0x11d15f,_0xc31518,_0xbaaead,_0x12938f){return _0x11d15f(_0xc31518,_0xbaaead,_0x12938f);}};return _0x289674[_0x185eea(-0xef,-0xd3)](resolve,_0x23b492,'.specops',_0x185eea(-_0x32a399._0x2ec559,-_0x32a399._0x144fdc));}function createStatusTool(_0x14b699){const _0x1b2bca={_0x4f2a86:0x227,_0x55a855:0x1f8,_0x30137b:0x189,_0x400efe:0x1e5,_0x1eaa59:0x221},_0x33aee8={_0x1f253d:0x339,_0xaeabdd:0x348,_0x49efe7:0x376,_0x245b30:0x31f},_0x2da28c={_0x652ef8:0x101},_0x2df43e={_0x300454:0x2cf};function _0x4c6196(_0x1c88ce,_0x4ee06a){return _0x21b7(_0x1c88ce- -_0x2df43e._0x300454,_0x4ee06a);}const _0x4352e1={'GDVdG':function(_0x24818d,_0x2033ec){return _0x24818d(_0x2033ec);},'URMsa':function(_0xef39d1,_0xe5891e){return _0xef39d1(_0xe5891e);}};function _0x15310d(_0x4a4ba4,_0x58840e){return _0x21b7(_0x4a4ba4-_0x2da28c._0x652ef8,_0x58840e);}const _0x423799=_0x4352e1[_0x15310d(_0x1b2bca._0x4f2a86,_0x1b2bca._0x55a855)](getStateFilePath,_0x14b699);return tool({'description':_0x4c6196(-_0x1b2bca._0x30137b,-0x19f)+_0x15310d(0x241,0x212)+_0x15310d(_0x1b2bca._0x400efe,0x20b)+'、所有\x20Agent\x20'+_0x4c6196(-0x1f0,-_0x1b2bca._0x1eaa59),'args':{},async 'execute'(){function _0x77d3ee(_0x34f652,_0x322df9){return _0x4c6196(_0x322df9-0x510,_0x34f652);}function _0x3d4ad3(_0x546238,_0x400770){return _0x4c6196(_0x546238-0x69,_0x400770);}try{return await _0x53af75[_0x77d3ee(0x364,_0x33aee8._0x1f253d)](_0x423799);}catch(_0x2c21f3){return _0x77d3ee(_0x33aee8._0xaeabdd,0x33a)+(_0x2c21f3 instanceof Error?_0x2c21f3[_0x77d3ee(0x383,_0x33aee8._0x49efe7)]:_0x4352e1[_0x77d3ee(0x32a,_0x33aee8._0x245b30)](String,_0x2c21f3));}}});}function createAdvanceTool(_0x33987d){const _0x517f29={_0x41c276:0x4a7,_0x3e320e:0x19b,_0xd74677:0x4f2,_0x23849d:0x4b6,_0x4f2189:0x16d,_0x27909e:0x15f,_0x377e0d:0x175,_0x1d00b8:0x1da,_0x5b4f48:0x1ac,_0x3b4b38:0x1a7,_0x39a2b4:0x15d},_0x1604a5={_0x1749ef:0x248,_0x456b4d:0x1e2,_0x210d89:0x1eb,_0x15bc57:0x1eb,_0x8794dd:0x1f2,_0x5752f6:0x1e6,_0x1b5706:0x3c1,_0x4f1efa:0x3fd,_0x4e08bd:0x1ab,_0x147d8c:0x18d,_0x599dc6:0x416},_0x4e8aea={_0x547760:0x297},_0x2079f8={_0x21a014:0x3d7};function _0x187005(_0x2f7e13,_0x177697){return _0x21b7(_0x2f7e13-_0x2079f8._0x21a014,_0x177697);}function _0x2708ca(_0x2a365c,_0x238454){return _0x21b7(_0x2a365c- -_0x4e8aea._0x547760,_0x238454);}const _0x228970={'YweWa':function(_0x158668,_0xc105fb){return _0x158668 instanceof _0xc105fb;},'SwsDR':function(_0x26929e,_0x1d8f63){return _0x26929e(_0x1d8f63);},'rxRxU':_0x187005(_0x517f29._0x41c276,0x475)+_0x187005(0x51e,0x514)+_0x2708ca(-_0x517f29._0x3e320e,-0x19b)},_0x3d9512=getStateFilePath(_0x33987d);return _0x228970[_0x187005(0x4af,0x4a3)](tool,{'description':_0x187005(0x503,0x536)+_0x187005(_0x517f29._0xd74677,_0x517f29._0x23849d)+_0x2708ca(-_0x517f29._0x4f2189,-0x19f)+_0x2708ca(-_0x517f29._0x27909e,-_0x517f29._0x377e0d)+_0x187005(0x4fc,0x53c)+_0x2708ca(-0x1c0,-_0x517f29._0x1d00b8)+_0x2708ca(-_0x517f29._0x5b4f48,-_0x517f29._0x3b4b38)+_0x2708ca(-0x1ab,-0x17a)+'eted','args':{'agent_id':tool['schema'][_0x187005(0x4f1,0x52a)]()[_0x2708ca(-0x19c,-0x16f)]()[_0x2708ca(-0x165,-_0x517f29._0x39a2b4)](_0x228970['rxRxU'])},async 'execute'(_0xe3a817){const _0x3bc75a={_0x5d8a14:0x6cc};function _0x3ed135(_0x27e9b5,_0x2dc4c3){return _0x2708ca(_0x2dc4c3-0x55f,_0x27e9b5);}function _0x1e3956(_0x143e92,_0x1dad20){return _0x187005(_0x143e92- -_0x3bc75a._0x5d8a14,_0x1dad20);}try{return'vCpIu'!==_0x1e3956(-0x21a,-_0x1604a5._0x1749ef)?await _0x53af75[_0x1e3956(-_0x1604a5._0x456b4d,-_0x1604a5._0x210d89)+'se'](_0x3d9512,_0xe3a817['agent_id']):_0x1e3956(-0x1fe,-_0x1604a5._0x15bc57)+_0x1e3956(-_0x1604a5._0x8794dd,-_0x1604a5._0x5752f6)+(_0x404e58 instanceof _0x558960?_0x57222f[_0x3ed135(_0x1604a5._0x1b5706,_0x1604a5._0x4f1efa)]:_0x51f915(_0x39ab09));}catch(_0xab04c8){return _0x1e3956(-_0x1604a5._0x4e08bd,-_0x1604a5._0x147d8c)+(_0x228970[_0x1e3956(-0x1e9,-0x1c3)](_0xab04c8,Error)?_0xab04c8[_0x3ed135(_0x1604a5._0x599dc6,0x3fd)]:String(_0xab04c8));}}});}function createNewProjectTool(_0x24778d){const _0x453a27={_0x163e9b:0x343,_0x35b501:0x39b,_0x4247c0:0x37a,_0x4ba91e:0x350,_0x49bd6c:0x37f,_0x47c171:0x3b5},_0x195c98={_0x2edadc:0x31,_0x270d04:0x26c,_0x2d99a0:0x1a},_0x4e4893={_0x1ec754:0xea};function _0x24a905(_0x17b1ca,_0x22ed17){return _0x21b7(_0x22ed17-0x160,_0x17b1ca);}function _0x3ed7d8(_0x17f4b8,_0x43827c){return _0x21b7(_0x17f4b8-0x265,_0x43827c);}const _0xb5f39={'xrmhh':function(_0x2b6f31,_0x2fad29){return _0x2b6f31(_0x2fad29);},'uSSCF':function(_0x223a76,_0x4a0c9d){return _0x223a76(_0x4a0c9d);}},_0x46dc0d=_0xb5f39['uSSCF'](getStateFilePath,_0x24778d);return tool({'description':_0x3ed7d8(0x355,_0x453a27._0x163e9b)+'ps\x20项目。初始化\x20'+_0x24a905(0x27b,0x272)+_0x3ed7d8(_0x453a27._0x35b501,_0x453a27._0x4247c0)+_0x3ed7d8(0x381,_0x453a27._0x4ba91e)+'。','args':{'project_name':tool['schema'][_0x3ed7d8(_0x453a27._0x49bd6c,0x35b)]()[_0x3ed7d8(0x397,0x3af)](_0x3ed7d8(0x3a0,_0x453a27._0x47c171))},async 'execute'(_0x34edc1){function _0x46d89d(_0x19cb4d,_0x4984a4){return _0x3ed7d8(_0x19cb4d- -_0x4e4893._0x1ec754,_0x4984a4);}function _0x2862e1(_0x2a87cb,_0x452fe6){return _0x3ed7d8(_0x452fe6- -0x34d,_0x2a87cb);}try{return await _0x53af75[_0x2862e1(-_0x195c98._0x2edadc,0xa)](_0x46dc0d,_0x34edc1[_0x46d89d(_0x195c98._0x270d04,0x26c)+'me']);}catch(_0x3ccb31){return'❌\x20创建项目失败:\x20'+(_0x3ccb31 instanceof Error?_0x3ccb31['message']:_0xb5f39[_0x2862e1(0x2,_0x195c98._0x2d99a0)](String,_0x3ccb31));}}});}function createUpdateOperationTool(_0x24d648){const _0xdd4982={_0x15949d:0xf,_0xc02846:0x5,_0x3461d0:0x3c,_0x1bb754:0x2aa,_0x1b654d:0xb,_0x4b906c:0x18,_0xf448bf:0x18,_0x12d428:0x4b,_0xaad854:0x16,_0x180056:0x28d,_0x200f8a:0x2b7,_0x5bdfd1:0x2c1,_0x5e1ce1:0x5,_0x35bacf:0x296,_0x3976a5:0x2c2,_0x554c6d:0x229,_0x471289:0x4f},_0x5bfd79={_0x3517b5:0x2b,_0x2cad05:0x47,_0x33ac61:0x7,_0x31708d:0x29,_0x4858b3:0x5e,_0x183fcd:0xd,_0x5a3761:0x34,_0x1b5f9c:0x1b,_0x2ae652:0xe,_0x5cb6be:0x82,_0x815bc3:0x45,_0xce68e5:0x38,_0x5d9c6:0x3e,_0x42843a:0x1,_0x233641:0xb,_0x499f22:0x8,_0x356a93:0x1e,_0x269bbb:0x23},_0x5c5fd={_0x2a9f4b:0xe},_0x114a68={_0x513622:0x185};function _0x1525a5(_0x4c64f7,_0x3c0946){return _0x21b7(_0x4c64f7-_0x114a68._0x513622,_0x3c0946);}const _0xea26a9={'jDMnv':function(_0x55e802,_0x215da3){return _0x55e802(_0x215da3);},'BmxqZ':function(_0x1d674e,_0x35d491){return _0x1d674e(_0x35d491);},'ozsBZ':function(_0x4b0894,_0x582252){return _0x4b0894(_0x582252);},'XLOBs':function(_0x3d9520,_0x1a6804){return _0x3d9520(_0x1a6804);},'xyAUM':function(_0x5649e3,_0x367736){return _0x5649e3(_0x367736);},'CsAgW':function(_0x513475,_0xe91fc6){return _0x513475(_0xe91fc6);},'kHoha':function(_0x21f967,_0x167ee2){return _0x21f967 instanceof _0x167ee2;},'qbsMK':_0x472f0b(_0xdd4982._0x15949d,-_0xdd4982._0xc02846),'TVcKd':function(_0x5e5223,_0x6a4c18){return _0x5e5223===_0x6a4c18;},'UJvAC':_0x472f0b(-0xd,-_0xdd4982._0x3461d0),'COSAA':function(_0x5eb5cf,_0x4fc21c){return _0x5eb5cf(_0x4fc21c);},'AKXPt':function(_0xc5a75c,_0x15a2fe){return _0xc5a75c(_0x15a2fe);},'IXekx':_0x1525a5(0x2c6,0x2e4)};function _0x472f0b(_0x294c89,_0x1a4d26){return _0x21b7(_0x294c89- -0x11c,_0x1a4d26);}const _0x393ecd=getStateFilePath(_0x24d648);return _0xea26a9[_0x1525a5(0x26e,_0xdd4982._0x1bb754)](tool,{'description':_0x472f0b(_0xdd4982._0x1b654d,-0x12)+_0x472f0b(_0xdd4982._0x4b906c,0x22)+'用的工具/技能。\x0a用'+_0x472f0b(-0x42,-0x36)+_0x472f0b(-_0xdd4982._0xf448bf,-_0xdd4982._0x12d428),'args':{'agent_id':tool['schema']['string']()[_0x472f0b(_0xdd4982._0xaad854,0x41)](_0xea26a9[_0x1525a5(0x2c3,_0xdd4982._0x180056)]),'operation':tool[_0x1525a5(0x296,0x25e)]['string']()[_0x1525a5(_0xdd4982._0x200f8a,_0xdd4982._0x5bdfd1)](_0x472f0b(-0x14,-0x2c)+_0x472f0b(-_0xdd4982._0x5e1ce1,-0x26)),'skill':tool[_0x1525a5(_0xdd4982._0x35bacf,_0xdd4982._0x3976a5)][_0x1525a5(0x29f,0x29f)]()['describe'](_0x1525a5(0x253,_0xdd4982._0x554c6d)+'名称(如\x22explo'+_0x472f0b(-_0xdd4982._0x471289,-0x92))},async 'execute'(_0x27ce0d){function _0x5463c6(_0x33fb19,_0x5f4a9d){return _0x472f0b(_0x33fb19-0x5,_0x5f4a9d);}function _0x3c83f9(_0x83af94,_0xe062d7){return _0x472f0b(_0x83af94-_0x5c5fd._0x2a9f4b,_0xe062d7);}if('ZNGSg'!==_0xea26a9[_0x5463c6(_0x5bfd79._0x3517b5,_0x5bfd79._0x2cad05)])try{return await _0x53af75[_0x5463c6(-0x10,-0x47)+_0x3c83f9(_0x5bfd79._0x33ac61,0x6)](_0x393ecd,_0x27ce0d['agent_id'],_0x27ce0d[_0x5463c6(-0x11,-_0x5bfd79._0x31708d)],_0x27ce0d[_0x5463c6(-0x31,-_0x5bfd79._0x4858b3)]);}catch(_0x2522fe){if(_0xea26a9[_0x3c83f9(-0x29,-0x16)](_0xea26a9[_0x5463c6(_0x5bfd79._0x183fcd,_0x5bfd79._0x5a3761)],'pmcnx'))return _0x3c83f9(-_0x5bfd79._0x1b5f9c,-_0x5bfd79._0x2ae652)+(_0x2522fe instanceof Error?_0x2522fe['message']:_0xea26a9['COSAA'](String,_0x2522fe));else{const _0x19204a=_0x4e8804[_0x5463c6(0x18,-_0x5bfd79._0x1b5f9c)];return{'name':'specops','tool':{'specops_status':_0xea26a9['jDMnv'](_0x42cc36,_0x19204a),'specops_advance':_0x562b7a(_0x19204a),'specops_new_project':_0xea26a9[_0x5463c6(-0x45,-_0x5bfd79._0x5cb6be)](_0x4d4e95,_0x19204a),'specops_update_operation':_0xea26a9[_0x5463c6(-_0x5bfd79._0x815bc3,-_0x5bfd79._0xce68e5)](_0x1c3fd0,_0x19204a),'specops_register_agent':_0xea26a9['ozsBZ'](_0x245116,_0x19204a),'specops_deregister_agent':_0xea26a9[_0x5463c6(-_0x5bfd79._0x5d9c6,-0x4a)](_0x5718cc,_0x19204a),'specops_progress':_0xea26a9[_0x5463c6(0x2d,-_0x5bfd79._0x42843a)](_0x5dcb58,_0x19204a),'specops_quick':_0xea26a9['CsAgW'](_0x1cf651,_0x19204a)},'event':async _0xbc28f0=>{}};}}else return _0x3c83f9(0x0,0x20)+_0x3c83f9(-_0x5bfd79._0x233641,-0xb)+(_0xea26a9[_0x3c83f9(_0x5bfd79._0x499f22,-0x28)](_0x363053,_0x3955bb)?_0x2a11c2[_0x5463c6(_0x5bfd79._0x356a93,0x14)]:_0xea26a9[_0x3c83f9(_0x5bfd79._0x269bbb,0x2f)](_0x27c461,_0x4e25da));}});}function createRegisterAgentTool(_0x1312e5){const _0x1d7d38={_0x2127df:0x26b,_0x4a7cea:0x288,_0x5b2bdb:0x2ad,_0x357011:0x280,_0x634b34:0x28e,_0x1a2739:0x2b9,_0x57790b:0x25a,_0x394c02:0x28d,_0x2aebec:0x2b1,_0x2e66a4:0x270,_0x6a105a:0x258,_0x2f3ff1:0x29e,_0x1d26a1:0x25c,_0x4660d4:0x292,_0x415943:0x28a,_0x327c99:0x27a,_0x3f9a43:0x298,_0x1eaccd:0x2c3},_0x2c73cc={_0x4ec269:0x9e,_0x9cdcac:0x42,_0x1d7b06:0x81,_0x48d087:0x6f,_0x20ee72:0x6,_0x542a9f:0x30,_0x2ca6a5:0x5e,_0x4391cd:0x44,_0x2d6646:0x83,_0x370a99:0x82},_0x54e311={_0x2cc5fb:0x2d7},_0x5e7f7b={_0x2863af:0x3ac},_0x1dbb89={_0x28508c:0x38a};function _0x15f2d8(_0x1f0463,_0x94abd7){return _0x21b7(_0x94abd7- -_0x1dbb89._0x28508c,_0x1f0463);}function _0x41e120(_0x30c001,_0x36eada){return _0x21b7(_0x30c001- -_0x5e7f7b._0x2863af,_0x36eada);}const _0x286671={'sgruw':function(_0xd5b13c,_0x358c8f){return _0xd5b13c(_0x358c8f);},'WmRtT':_0x41e120(-0x284,-0x29a),'uuUyX':function(_0x5c7192,_0x559194){return _0x5c7192(_0x559194);},'hgrBB':_0x41e120(-_0x1d7d38._0x2127df,-_0x1d7d38._0x4a7cea),'UbyIh':_0x15f2d8(-_0x1d7d38._0x5b2bdb,-_0x1d7d38._0x357011)+'(可选)'},_0x21914e=_0x286671[_0x15f2d8(-_0x1d7d38._0x634b34,-0x28c)](getStateFilePath,_0x1312e5);return tool({'description':_0x15f2d8(-0x290,-_0x1d7d38._0x1a2739)+_0x41e120(-0x2b2,-0x28c)+_0x41e120(-_0x1d7d38._0x57790b,-0x27e)+_0x41e120(-0x2bf,-0x2e7)+_0x41e120(-0x26d,-_0x1d7d38._0x394c02)+'\x20注册自己的状态。','args':{'agent_id':tool['schema'][_0x15f2d8(-_0x1d7d38._0x2aebec,-_0x1d7d38._0x2e66a4)]()[_0x15f2d8(-0x28a,-_0x1d7d38._0x6a105a)](_0x286671['hgrBB']),'parent_id':tool[_0x41e120(-0x29b,-0x26e)][_0x15f2d8(-0x239,-0x270)]()[_0x15f2d8(-_0x1d7d38._0x2f3ff1,-0x28f)]()['describe'](_0x286671[_0x15f2d8(-0x229,-_0x1d7d38._0x1d26a1)]),'phase':tool['schema'][_0x41e120(-_0x1d7d38._0x4660d4,-0x2b7)]()[_0x41e120(-0x2b1,-_0x1d7d38._0x415943)]()[_0x41e120(-_0x1d7d38._0x327c99,-0x2ac)](_0x41e120(-_0x1d7d38._0x3f9a43,-_0x1d7d38._0x1eaccd)+'dle)')},async 'execute'(_0x56d66a){const _0x3f96e7={'WpPqA':function(_0x13b5aa,_0x424e23){return _0x13b5aa instanceof _0x424e23;},'CVJOK':function(_0x297aba,_0xc1f482){return _0x286671['sgruw'](_0x297aba,_0xc1f482);}};function _0x326fc3(_0x28f018,_0x5b0aa0){return _0x15f2d8(_0x5b0aa0,_0x28f018-_0x54e311._0x2cc5fb);}function _0x5c819f(_0x1a7226,_0x3af7c0){return _0x41e120(_0x1a7226-0x241,_0x3af7c0);}try{return await _0x53af75[_0x326fc3(_0x2c73cc._0x4ec269,0xd7)+'ent'](_0x21914e,_0x56d66a[_0x326fc3(_0x2c73cc._0x9cdcac,0x5a)],{'parentId':_0x56d66a[_0x5c819f(-_0x2c73cc._0x1d7b06,-0x7b)],'phase':_0x56d66a[_0x326fc3(0x84,_0x2c73cc._0x48d087)]});}catch(_0x360a94){return'lzKuj'===_0x286671[_0x5c819f(-0x26,-_0x2c73cc._0x20ee72)]?'❌\x20快速任务失败:\x20'+(_0x3f96e7['WpPqA'](_0x57a3f0,_0x66330b)?_0x422d33[_0x326fc3(0x82,0xa9)]:_0x3f96e7[_0x326fc3(_0x2c73cc._0x542a9f,_0x2c73cc._0x2ca6a5)](_0x6fe8a1,_0x304537)):_0x326fc3(_0x2c73cc._0x4391cd,0x18)+_0x326fc3(0x50,_0x2c73cc._0x2d6646)+(_0x360a94 instanceof Error?_0x360a94[_0x326fc3(_0x2c73cc._0x370a99,0x4a)]:String(_0x360a94));}}});}function createDeregisterAgentTool(_0x6e5dc9){const _0x2c16f9={_0x37588c:0x2e2,_0x112889:0x2d1,_0x175c44:0xfd,_0x1d7714:0x121,_0x315fe7:0x99,_0x37ecd8:0x84,_0x5a73cd:0x2b5,_0x262a67:0x2a0,_0x1888e7:0x29c,_0x627864:0x2af,_0x3827a8:0x290,_0x1d05cc:0x2e4},_0x457622={_0x10ecd0:0x2f7,_0x340a85:0x2f5,_0x86ed09:0x2f8,_0x14def4:0x33a},_0x3a75e5={_0x1d0b82:0x97},_0x40c0e7={_0x208c78:0x225},_0x182585={_0x305a47:0x3d},_0x288528={_0x4280c2:0x195},_0xf0f130={'WyaeD':function(_0x51f5e2,_0x44a870){return _0x51f5e2(_0x44a870);}};function _0x5c4ade(_0x365579,_0x247cbe){return _0x21b7(_0x365579-_0x288528._0x4280c2,_0x247cbe);}const _0x258c2a=getStateFilePath(_0x6e5dc9);function _0x27a56d(_0x45e9d6,_0x2d53d2){return _0x21b7(_0x45e9d6- -_0x182585._0x305a47,_0x2d53d2);}return _0xf0f130[_0x5c4ade(_0x2c16f9._0x37588c,_0x2c16f9._0x112889)](tool,{'description':_0x27a56d(0xa5,0xa3)+_0x27a56d(_0x2c16f9._0x175c44,_0x2c16f9._0x1d7714)+_0x27a56d(_0x2c16f9._0x315fe7,_0x2c16f9._0x37ecd8)+_0x5c4ade(0x2b7,_0x2c16f9._0x5a73cd)+_0x5c4ade(_0x2c16f9._0x262a67,0x282)+'childIds。','args':{'agent_id':tool[_0x5c4ade(0x2a6,_0x2c16f9._0x1888e7)][_0x5c4ade(_0x2c16f9._0x627864,_0x2c16f9._0x3827a8)]()[_0x5c4ade(0x2c7,0x2f5)](_0x5c4ade(_0x2c16f9._0x1d05cc,0x31d)+'\x20ID')},async 'execute'(_0x5121ed){function _0x46c55c(_0x511dce,_0x32c407){return _0x27a56d(_0x32c407-_0x40c0e7._0x208c78,_0x511dce);}function _0x1b88b1(_0x5e0e2d,_0x5315f6){return _0x5c4ade(_0x5e0e2d-_0x3a75e5._0x1d0b82,_0x5315f6);}try{return await _0x53af75[_0x46c55c(_0x457622._0x10ecd0,_0x457622._0x340a85)+_0x46c55c(0x301,_0x457622._0x86ed09)](_0x258c2a,_0x5121ed[_0x1b88b1(0x321,0x2f8)]);}catch(_0x34b188){return _0x1b88b1(_0x457622._0x14def4,0x341)+'\x20失败:\x20'+(_0x34b188 instanceof Error?_0x34b188[_0x1b88b1(0x361,0x33c)]:String(_0x34b188));}}});}function _0x21b7(_0x304537,_0x17d5c7){_0x304537=_0x304537-(-0xd3d+-0xb6d+0x1977);const _0x29a2c9=_0x2614();let _0x25301d=_0x29a2c9[_0x304537];if(_0x21b7['iAFoyt']===undefined){var _0x5dafc2=function(_0x1bd0ee){const _0x45f09b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4e8804='',_0x42cc36='';for(let _0x562b7a=-0x77b*-0x3+0x4a7+-0x242*0xc,_0x4d4e95,_0x1c3fd0,_0x245116=-0x1*-0x1be9+-0x76e*-0x5+-0x410f;_0x1c3fd0=_0x1bd0ee['charAt'](_0x245116++);~_0x1c3fd0&&(_0x4d4e95=_0x562b7a%(-0x2*0xecf+0x1d*0x13a+-0x5f0)?_0x4d4e95*(-0x1*-0x2075+0x39b*0xa+-0x4443)+_0x1c3fd0:_0x1c3fd0,_0x562b7a++%(-0x14dc+0x416*-0x4+0x2538))?_0x4e8804+=String['fromCharCode'](0x34e+0xb3*0x2c+0x2113*-0x1&_0x4d4e95>>(-(-0x23b0+0x23de+-0x2*0x16)*_0x562b7a&0x19cf+0x134f*-0x1+-0x1*0x67a)):0xcd*0x11+-0x1d3*-0x11+0x60*-0x77){_0x1c3fd0=_0x45f09b['indexOf'](_0x1c3fd0);}for(let _0x5718cc=0x1*0x2559+-0x243e+-0x11b,_0x5dcb58=_0x4e8804['length'];_0x5718cc<_0x5dcb58;_0x5718cc++){_0x42cc36+='%'+('00'+_0x4e8804['charCodeAt'](_0x5718cc)['toString'](-0x1*-0x18f5+-0x1ff2+0x13*0x5f))['slice'](-(0x6d8+0x4*0x718+-0x2336));}return decodeURIComponent(_0x42cc36);};_0x21b7['kBDHDo']=_0x5dafc2,_0x21b7['hTRgqI']={},_0x21b7['iAFoyt']=!![];}const _0x4203eb=_0x29a2c9[0x1b33+-0x341*-0x3+-0xc52*0x3],_0xc9ee85=_0x304537+_0x4203eb,_0x2f2462=_0x21b7['hTRgqI'][_0xc9ee85];return!_0x2f2462?(_0x25301d=_0x21b7['kBDHDo'](_0x25301d),_0x21b7['hTRgqI'][_0xc9ee85]=_0x25301d):_0x25301d=_0x2f2462,_0x25301d;}function createProgressTool(_0x31081d){const _0x2f9fdb={_0x46a881:0x4a9,_0x4184e0:0x2e6,_0x1187e8:0x53d,_0x3792a1:0x4b6},_0x34573b={_0x185baa:0x169,_0x25a132:0x1bd,_0x22f2ac:0x1c2,_0x5294f0:0x1ca,_0x49d2af:0x1de,_0x357134:0x216,_0x2a0ec7:0x24d,_0x12cf37:0x1d0,_0x1e23ab:0x279},_0x34e6cc={_0xc5c175:0x27d},_0x52881e={_0x42ff18:0x1ae};function _0x40902f(_0x533f2e,_0x2a3554){return _0x21b7(_0x533f2e-_0x52881e._0x42ff18,_0x2a3554);}const _0x489148={'yiCXR':function(_0x362fae,_0x196bf9){return _0x362fae instanceof _0x196bf9;},'mckOW':function(_0x354248,_0x2488df){return _0x354248(_0x2488df);},'lfSDj':function(_0x538e74,_0x4ac5e3){return _0x538e74===_0x4ac5e3;},'DuyvT':function(_0x27ad17,_0x50716d){return _0x27ad17 instanceof _0x50716d;},'kBVkc':function(_0x301991,_0xf97429){return _0x301991(_0xf97429);},'plqUS':function(_0x58f789,_0x37bc3e){return _0x58f789(_0x37bc3e);}};function _0x31cd86(_0x1906c9,_0x29656d){return _0x21b7(_0x1906c9-0x3d6,_0x29656d);}const _0x79ab82=_0x489148[_0x31cd86(_0x2f9fdb._0x46a881,0x4d7)](getStateFilePath,_0x31081d);return _0x489148['plqUS'](tool,{'description':_0x40902f(0x2d7,_0x2f9fdb._0x4184e0)+'\x20项目详细进度。\x0a包'+_0x31cd86(0x51e,_0x2f9fdb._0x1187e8)+_0x40902f(0x2d1,0x2a5)+_0x31cd86(_0x2f9fdb._0x3792a1,0x49d),'args':{},async 'execute'(){const _0x59d743={_0x5d1e6c:0x121},_0x45e408={_0x59fb06:0x120};function _0x14ffc1(_0x43c06d,_0x51a2dc){return _0x31cd86(_0x51a2dc- -_0x34e6cc._0xc5c175,_0x43c06d);}const _0xb688b4={'oupae':function(_0x52f744,_0x4621dd){function _0x2faf82(_0x405011,_0x47a7ea){return _0x21b7(_0x47a7ea-0x1a,_0x405011);}return _0x489148[_0x2faf82(_0x45e408._0x59fb06,0x13b)](_0x52f744,_0x4621dd);},'sFala':function(_0x202225,_0x77dbab){function _0x4b5a13(_0x416ee2,_0x1368d9){return _0x21b7(_0x416ee2- -0x39,_0x1368d9);}return _0x489148[_0x4b5a13(0xbd,0xa0)](_0x202225,_0x77dbab);}};function _0x400fca(_0x176fc8,_0x28a2ab){return _0x40902f(_0x176fc8- -_0x59d743._0x5d1e6c,_0x28a2ab);}try{return await _0x53af75[_0x400fca(_0x34573b._0x185baa,0x15a)+'ss'](_0x79ab82);}catch(_0x272dec){return _0x489148[_0x400fca(_0x34573b._0x25a132,_0x34573b._0x22f2ac)](_0x400fca(_0x34573b._0x5294f0,0x1a2),_0x400fca(0x1d9,_0x34573b._0x49d2af))?'❌\x20获取进度失败:\x20'+(_0xb688b4[_0x14ffc1(_0x34573b._0x357134,_0x34573b._0x2a0ec7)](_0x467e01,_0x380aa8)?_0x525221['message']:_0xb688b4[_0x400fca(_0x34573b._0x12cf37,0x1e0)](_0x12c596,_0x43fd78)):'❌\x20获取进度失败:\x20'+(_0x489148[_0x14ffc1(0x2b5,_0x34573b._0x1e23ab)](_0x272dec,Error)?_0x272dec[_0x14ffc1(0x298,0x28e)]:String(_0x272dec));}}});}function _0x2614(){const _0x59069a=['6AQm6k+biokgKIbJB21WBa','5y+rigfNzw50ioE8LUAoKG','uwTJD1O','DgfZAW','5yIB5BU65PAW55QeihnWzwnV','ChjVAMvJDf9Uyq','BMv3uhjVAMvJDa','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','B3vWywu','ywDLBNrFAwq','BwnRt1C','4P2mioAZQowgJcbbz2vUDa','z2v0u3rHDhvZ','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','iowiScbZCgvJB3bZ','B3b0Aw9UywW','6ycj5OUP56YS5lIa5lIQ5PYQ5A6m5OIq55Qe77Yj','nZCWvKjvr0TK','DxvvEvG','mtH4zNjrrgq','C3bLy29WCW','otiYzhPNvgz0','EhjTAgG','iowKSEI0PtOG','DcdMRApLNkJLGzRKU4dKUyJJGii','ndy1ow5hCgfSyG','B3bLCMf0Aw9U','DxbKyxrLt3bLCG','5B2t5yMn5Pon5l2C5O+p6l+W77Yi5AAciUwiHG','CgTTthK','54I2iefNzw50ieLe','54I2iefNzw50ioEAHca','wxDLv2e','zgvYzwDPC3rLCG','4P2mioAZQoMuGcbbz2vUDa','Cg1JBNG','qwDLBNq','C2nOzw1H','lNnWzwnVChmVCW','ywr2yw5JzvbOyq','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','yxrPB24','A0HVAge','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','mtaXmdrZD0XxC2C','C3rYAw5N','ioMyTUAUTEoaGUwWHUAmH+wUMIbbzW','5yIB5BU65yID5AEliefNzw50','5B+R6ycF5lU75yQH5QIH5BYp44cc6lEZ6l+h5A6m','mtC2ndDnwgvJBvy','5lU75yQH5O+p6l+W','rhv5DLq','EwLdwfi','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','5yIg5BId5zU+44cbqwDLBNqG','vuP2qum','6l+B5yIW5lIl5lIa5lIQ6zI25Q6144cccUMyTG','vvjnC2e','5PU05PAW5OYh5A6AiefNzw50','uw50rw4','5PI+56s6ihnWzwnVChm','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','z0TSrNu','5O6O6l+BihnWzwnVChm','y3LWwei','vwj5swG','zgLYzwn0B3j5','BgztrgO','AKrnBNy','zgvZy3jPyMu','v05euuK','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','BwvZC2fNzq','Dgf0zs5QC29U77Ym','CgHHC2u','5OIq55QeiefNzw5077Yj5O6O','A3D1Bg4','54Q25Ocb57o757UF5RoO6zsaiefNzq','6Ag555UU5zcn56EW','u0P2wgq','rwDTCvG','svHLA3G','5PE277Ym5Q+p5lIQigfNzw50','ioMHUEEBRUw9K+wjJEEkTUAaGEoaGGRMMl4','qwDLBNqGsuq','CwjZtuS','C0zHBge','EhLbvu0','v21sDfq','6i635y+wihnWzwnVChm','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','5zcR5A6m5OIq5BQM55M+5yIg5Q+u44cb6zI25Q61','mtq4nJaXndjhEhfZBuG','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','4P2miow/Q+MaN+s7U+wkOEwKSEI0PtOG','zeLlzKq','v3LHzuq','mtq5ndbuy3bovKW','6kAb5RoO6zsa55QeiefNzw50','mtG1qvPlDLrh','CMvNAxn0zxjbzW','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','CMvYiU+8Iq','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','oduYnZaZtwrcBLjJ','6kAb5O6O6l+B55QeiefNzw50','5RoO5yAm5PAW55QeiefNzw50','qM14CvO','A0jwA2m','tMPluwq','nty5nJa4ogTVwuHPqW','BNtJGiik56E76zMKiefNzq','5Q615BQp5yIxoIdORQJORROG4OAsia','u3DZrfi','weXpqNm','5lQo5A6E5PE26l+96lIQiefNzw4','EfrZBem','C2HVD1bYB2DYzq','EgH6AMq','r0rwzeC','55Qe54Q25Ocb6kgO5Qc844cc','6k+M5Oof6kgO5Qc844cc','zMj6s20','5lUoihnWzwnVChmG','q1zkt0S','56s66Ag555UU5zcn56EW44cb5B2t5yMn6zI25Q61','vfzJs2q','C2TPBgW','CxLguei','C3rHDguUANnVBG','quTyuhq','CgfYzw50x2LK','6kEe5yIsiokgKIdMIAFOOyWG4OAsia'];_0x2614=function(){return _0x59069a;};return _0x2614();}function createQuickTool(_0x2d2fa9){const _0x17d2ad={_0x40fde3:0x3ac,_0x2d7c59:0x394,_0x669097:0x3ae,_0x3d0e85:0x389,_0x482b86:0x343},_0x18695e={_0x595814:0x41,_0x470ce4:0x58,_0x44c4ed:0x4c,_0x25f286:0x74,_0x1de6da:0x21,_0x60145c:0x53,_0x5bacb0:0x47,_0x347286:0x9,_0xefae68:0x35,_0x94a538:0x52,_0x452f8e:0x27,_0x288995:0x50,_0x3c2d35:0x11,_0x46434d:0x5c,_0x901263:0x44},_0x2d2dc1={_0x2621a6:0x411},_0x20b9f6={_0x4adf28:0x224},_0x114e79={'pkmLy':function(_0x171502,_0x13594c){return _0x171502 instanceof _0x13594c;},'xhzjd':function(_0x1a3a92,_0x10508d){return _0x1a3a92(_0x10508d);},'SJvXd':function(_0x5b8cf5,_0x369fe3){return _0x5b8cf5===_0x369fe3;},'NjKQd':_0x4014a4(0x30b,0x340),'cypXB':function(_0x867a4,_0x6c21a){return _0x867a4 instanceof _0x6c21a;},'kwuln':function(_0xf1ac3c,_0x3e2aec){return _0xf1ac3c(_0x3e2aec);}};function _0x34fb34(_0x22aa2d,_0x588742){return _0x21b7(_0x588742-0x294,_0x22aa2d);}const _0x48d3a6=getStateFilePath(_0x2d2fa9);function _0x4014a4(_0x54bfd9,_0x323ead){return _0x21b7(_0x54bfd9-_0x20b9f6._0x4adf28,_0x323ead);}return tool({'description':_0x34fb34(0x380,0x3b1)+'整\x20Pipeline'+',直接进入执行阶段。'+_0x34fb34(0x3be,_0x17d2ad._0x40fde3)+'任务。','args':{'task':tool['schema'][_0x34fb34(_0x17d2ad._0x2d7c59,_0x17d2ad._0x669097)]()[_0x4014a4(0x356,_0x17d2ad._0x3d0e85)](_0x4014a4(_0x17d2ad._0x482b86,0x32c))},async 'execute'(_0x1bfd88){function _0x515248(_0x11ee81,_0x282557){return _0x4014a4(_0x282557- -0x348,_0x11ee81);}function _0x1e4d02(_0x3449f3,_0xe550f2){return _0x34fb34(_0x3449f3,_0xe550f2- -_0x2d2dc1._0x2621a6);}try{return _0x114e79[_0x1e4d02(-0xf,-_0x18695e._0x595814)](_0x114e79[_0x515248(-_0x18695e._0x470ce4,-0x50)],'ZXysP')?_0x1e4d02(-_0x18695e._0x44c4ed,-0x84)+(_0x114e79[_0x1e4d02(-0x4e,-_0x18695e._0x25f286)](_0xb8aaec,_0x5b1ac8)?_0x46059f[_0x515248(_0x18695e._0x1de6da,0x11)]:_0x114e79[_0x515248(-_0x18695e._0x60145c,-_0x18695e._0x5bacb0)](_0x2929ec,_0x3e845f)):await _0x53af75['quickTask'](_0x48d3a6,_0x1bfd88[_0x515248(_0x18695e._0x347286,-_0x18695e._0xefae68)]);}catch(_0x3f4478){return _0x515248(_0x18695e._0x94a538,_0x18695e._0x452f8e)+(_0x114e79[_0x1e4d02(-0x68,-_0x18695e._0x288995)](_0x3f4478,Error)?_0x3f4478[_0x515248(-0x15,_0x18695e._0x3c2d35)]:_0x114e79[_0x1e4d02(-_0x18695e._0x46434d,-_0x18695e._0x901263)](String,_0x3f4478));}}});}const SpecOpsPlugin=async _0x3322cf=>{const _0x1e57be={_0x468082:0x213,_0x2e7225:0x232,_0x3eb776:0x255,_0x24c999:0x225},_0x4aa78d={'fbzKm':function(_0x224f39,_0x31aaf6){return _0x224f39(_0x31aaf6);},'QkcwZ':function(_0x36d5d1,_0x413c63){return _0x36d5d1(_0x413c63);}};function _0x301f46(_0x4ef6ce,_0x3c8826){return _0x21b7(_0x4ef6ce- -0x313,_0x3c8826);}const _0x195292=_0x3322cf['directory'];function _0x522456(_0x1d98dd,_0x24eae3){return _0x21b7(_0x1d98dd-0x17f,_0x24eae3);}return{'name':_0x301f46(-_0x1e57be._0x468082,-0x1f1),'tool':{'specops_status':_0x4aa78d[_0x301f46(-_0x1e57be._0x2e7225,-_0x1e57be._0x3eb776)](createStatusTool,_0x195292),'specops_advance':createAdvanceTool(_0x195292),'specops_new_project':_0x4aa78d['fbzKm'](createNewProjectTool,_0x195292),'specops_update_operation':_0x4aa78d['fbzKm'](createUpdateOperationTool,_0x195292),'specops_register_agent':_0x4aa78d[_0x301f46(-_0x1e57be._0x24c999,-0x1ff)](createRegisterAgentTool,_0x195292),'specops_deregister_agent':createDeregisterAgentTool(_0x195292),'specops_progress':createProgressTool(_0x195292),'specops_quick':createQuickTool(_0x195292)},'event':async _0x577013=>{}};};export default SpecOpsPlugin;
|
|
1
|
+
(function(_0x223415,_0x7f90e4){const _0x1f5ac5={_0x4afb3a:0x164,_0x47a519:0x177,_0x447bf4:0x55b,_0x46b202:0x116,_0xa49817:0x15b,_0xa86c8:0x1cf,_0x1fd81b:0x1a1,_0x4a7e99:0x125,_0x1a2503:0x191,_0x3dc9b5:0x1c9,_0x456fdf:0x197,_0x25462f:0x1ac,_0x5310ec:0x1da,_0x4b0728:0x1bf,_0x527f9e:0x1b9,_0x53490e:0x1b5,_0x8a8ce:0x5b1},_0x53e784={_0x2a481f:0x33f},_0xc72262={_0x50762c:0x3a7};function _0x46c6d0(_0x4110ca,_0x180021){return _0x5c96(_0x180021- -_0xc72262._0x50762c,_0x4110ca);}const _0x547583=_0x223415();function _0x3b1a76(_0x27b7dd,_0x19bbef){return _0x5c96(_0x27b7dd-_0x53e784._0x2a481f,_0x19bbef);}while(!![]){try{const _0x22f58c=parseInt(_0x46c6d0(-_0x1f5ac5._0x4afb3a,-_0x1f5ac5._0x47a519))/(-0x1096+-0x38e+0x1425)+-parseInt(_0x3b1a76(_0x1f5ac5._0x447bf4,0x52b))/(-0x2430+-0x2*0xb8d+0xf*0x3f4)*(parseInt(_0x46c6d0(-_0x1f5ac5._0x46b202,-_0x1f5ac5._0xa49817))/(0xa4f+-0x982*0x4+0x163*0x14))+-parseInt(_0x46c6d0(-_0x1f5ac5._0xa86c8,-_0x1f5ac5._0x1fd81b))/(-0xabf+0x5*-0x281+0x1748)+-parseInt(_0x46c6d0(-_0x1f5ac5._0x4a7e99,-0x161))/(0x1656+0x110+-0x1761)*(-parseInt(_0x46c6d0(-0x18a,-_0x1f5ac5._0x1a2503))/(0x217d+0x1*-0x767+0x4*-0x684))+parseInt(_0x46c6d0(-_0x1f5ac5._0x3dc9b5,-_0x1f5ac5._0x456fdf))/(0xef9+-0x176d+0x87b)*(parseInt(_0x46c6d0(-_0x1f5ac5._0x25462f,-_0x1f5ac5._0x5310ec))/(0x1a88+0x425*0x4+-0x2b14))+-parseInt(_0x46c6d0(-0x198,-_0x1f5ac5._0x4b0728))/(-0x1073*0x2+-0x1384+0x3473)*(parseInt(_0x46c6d0(-0x1c7,-_0x1f5ac5._0x527f9e))/(0x1bd7*-0x1+-0xd01*-0x3+-0x1*0xb22))+parseInt(_0x46c6d0(-_0x1f5ac5._0x53490e,-0x1b1))/(-0x1ef2+0x496*0x7+-0x13*0xf)*(parseInt(_0x3b1a76(0x58e,_0x1f5ac5._0x8a8ce))/(0x2*-0xf08+-0x3*-0x7ed+0x1*0x655));if(_0x22f58c===_0x7f90e4)break;else _0x547583['push'](_0x547583['shift']());}catch(_0x46b2a2){_0x547583['push'](_0x547583['shift']());}}}(_0x5988,0xa3*0x112+-0x5282d+0x24*0x36e3));function _0x5988(){const _0x5790db=['C3rYAw5N','54I2iefNzw50ieLe','ndq4mtbiCfDfqNm','s0nOzMW','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','CgHHC2u','qwDLBNqGsuq','BwvZC2fNzq','zNfhzfK','iowKSEI0PtOG','mJjjAMP2sKy','DcdMRApLNkJLGzRKU4dKUyJJGii','qvHtyuy','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','zgvYzwDPC3rLCG','55Qe54Q25Ocb6kgO5Qc844cc','77Yi5y+V6ycj77Yj','ywDLBNrFAwq','rNrQBMO','DK9nz2K','wwHrseW','5zcn56EW77Yi5AAciMv4CgXV','vhbcuKC','yuLnt24','5zcR5A6m5OIq5BQM55M+5yIg5Q+u44cb6zI25Q61','AgnuBuC','nda4mdq0wev2AxbM','DxbKyxrLt3bLCG','4P2mioAZQoMuGcbbz2vUDa','CMvNAxn0zxjbzW','BNtJGiik56E76zMKiefNzq','ChmG6Ag555UU44cc5yID5AEl5yYwia','5OIq55QeiefNzw5077Yj5O6O','5yIg5BId5zU+44cbqwDLBNqG','zgvZy3jPyMu','BMDPzuq','mZvgqLj0ANO','AhHmCvu','wen4zu0','uKvTtNu','lNnWzwnVChmVCW','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','nJzUC3jrvvO','44cb5OMa5PYjiefNzw50ia','wvzhsKO','zgLYzwn0B3j5','C2TPBgW','DKr0A1e','mtqZmZy4Auf2uhHh','u1jhzhi','4P2mioAZQowgJcbbz2vUDa','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','y2HPBgrjzhpJGii','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','BMv3uhjVAMvJDa','z2v0u3rHDhvZ','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','qwDLBNq','z3HorNy','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','CvjyzxK','5PE277Ym5Q+p5lIQigfNzw50','uvf5rfa','sgXSr00','CKrJseO','B3b0Aw9UywW','5yIB5BU65yID5AEliefNzw50','s0HxqKK','mtCYntu0zNHkthHv','B05erKC','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','6kAb5O6O6l+B55QeiefNzw50','6l+B5yIW5lIl5lIa5lIQ6zI25Q6144cccUMyTG','yxrPB24','lNnWzwnVChm','Dgf0zs5QC29U77Ym','DgfZAW','ugPSD2i','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','ieLe','ioMyTUAUTEoaGUwWHUAmH+wUMIbbzW','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','ywr2yw5JzvbOyq','y3zJrMO','tNv6Avu','CgfYzw50x2LK','Bu1ysvu','tuHeC1a','u0LrzNe','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','otC0nZboAe9Rz3O','C2HVD1bYB2DYzq','v01WrNK','5lU75yQH44cc','54Q25Ocb57o757UF5RoO6zsaiefNzq','5lU75yQH5O+p6l+W','mtjfyvrOD1m','swPzsue','5lUoihnWzwnVChmG','mZaZntyXnLnmuuf0sG','CK5ovwW','5B+R6ycF5lU75yQH5QIH5BYp44cc6lEZ6l+h5A6m','z3LqB1C','CxvPy2TuyxnR','5PU05PAW5OYh5A6AiefNzw50','CKTLD2O','zw50','mJa3mZeYz09yuLP3','6i635y+wihnWzwnVChm','6kAb5RoO6zsa55QeiefNzw50','D3HtufG','5Pw0ifbPCgvSAw5L','54I2iefNzw50ioEAHca','C2nOzw1H','B052y0y','zxrLza','5y+rigfNzw50ioE8LUAoKG','rhfmwLq','5RoO5yAm5PAW55QeiefNzw50','sgLlAuq','6Ag555UU5zcn56EW','BKjAC00','zunhqw4','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','C3rHDguUANnVBG','zgXL77Yj','surMCxq','5yIB5BU65PAW55QeihnWzwnV','DKvRs2S','5B2t5yMn5Pon5l2C5O+p6l+W77Yi5AAciUwiHG','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','swnnDLy','B3bLCMf0Aw9U','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','odq2sernrezt','C3bLy29WCW','5PI+56s6ihnWzwnVChm','6AQm6k+biokgKIbJB21WBa'];_0x5988=function(){return _0x5790db;};return _0x5988();}import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x30e2ab from'./plugin-engine.js';import{createAnalyzeRequirementsTool}from'./requirement-analysis/tools/analyze-requirements.js';function getStateFilePath(_0x2c6ff3){const _0x487c1e={_0x5a08ca:0x19e,_0x51c87f:0x1af,_0xb0433d:0x534},_0x15f48f={_0x210a7a:0x2e2};function _0x39359d(_0x1d58e1,_0x3527e0){return _0x5c96(_0x1d58e1- -0xb4,_0x3527e0);}function _0x35c128(_0x2664c6,_0x2d5c37){return _0x5c96(_0x2664c6-_0x15f48f._0x210a7a,_0x2d5c37);}const _0x18757b={};_0x18757b[_0x39359d(_0x487c1e._0x5a08ca,_0x487c1e._0x51c87f)]='.specops';const _0x59a527=_0x18757b;return resolve(_0x2c6ff3,_0x59a527[_0x35c128(_0x487c1e._0xb0433d,0x572)],'state.json');}function createStatusTool(_0x1ab2c6){const _0x5c2bb3={_0x1a6191:0xc,_0x10695c:0x5a,_0x519bb1:0x116},_0x532d1a={_0x22d34c:0x63,_0x1a32bd:0x8a,_0x649a8d:0x182},_0x65ac4c={_0x3af62e:0x19b},_0x33e92c={_0x2593df:0xe5},_0x49c605={'sVtNP':function(_0x5707b8,_0xeed626){return _0x5707b8(_0xeed626);}};function _0x1b59c8(_0x4f0907,_0x468ece){return _0x5c96(_0x468ece- -_0x33e92c._0x2593df,_0x4f0907);}const _0x4b01d1=_0x49c605['sVtNP'](getStateFilePath,_0x1ab2c6);function _0xd36ec6(_0x2841c0,_0x128871){return _0x5c96(_0x128871- -_0x65ac4c._0x3af62e,_0x2841c0);}return tool({'description':_0xd36ec6(-_0x5c2bb3._0x1a6191,0x33)+'\x20项目当前状态。\x0a显'+'示项目名称、当前阶段'+_0xd36ec6(_0x5c2bb3._0x10695c,0x7c)+_0x1b59c8(0x139,_0x5c2bb3._0x519bb1),'args':{},async 'execute'(){function _0x3cbf6d(_0x2cd6be,_0x1bfce3){return _0x1b59c8(_0x2cd6be,_0x1bfce3-0x74);}function _0x50fe94(_0x2ca03d,_0x44a8ed){return _0x1b59c8(_0x2ca03d,_0x44a8ed- -0x1e2);}try{return await _0x30e2ab[_0x50fe94(-_0x532d1a._0x22d34c,-0xa4)](_0x4b01d1);}catch(_0x214f14){return _0x50fe94(-0xa0,-_0x532d1a._0x1a32bd)+(_0x214f14 instanceof Error?_0x214f14[_0x3cbf6d(0x141,_0x532d1a._0x649a8d)]:String(_0x214f14));}}});}function createAdvanceTool(_0x302138){const _0x12e60c={_0x521eca:0x93,_0x4abc2f:0x68,_0x4286b2:0x1d,_0x1f9c80:0xc,_0x43695c:0x3a,_0x494002:0x3,_0x529b21:0x5,_0x5be903:0x2b,_0x44d4d6:0xb0,_0x14640f:0x62,_0xfe044f:0x1d,_0x4ac223:0x6e,_0x303fae:0x1a,_0x3fb84d:0x19},_0xc2a358={_0x51bfbe:0x5af,_0x846ebf:0x622,_0xf7c998:0x371,_0x159f3a:0x3ae,_0x55a29b:0x62e,_0x1c40b6:0x34d,_0x3b2d37:0x5f6,_0x4ea3fe:0x61d,_0x1c212b:0x5dc,_0x40fcff:0x5b7,_0x356ddb:0x5d2},_0x310147={};function _0x7f94cb(_0x100df4,_0x56b0e2){return _0x5c96(_0x100df4- -0x29b,_0x56b0e2);}_0x310147[_0x44b021(-0x39,-0x6c)]=function(_0x58fdcc,_0x29cc18){return _0x58fdcc!==_0x29cc18;},_0x310147[_0x7f94cb(-0x99,-_0x12e60c._0x521eca)]='YhQHL';function _0x44b021(_0x26557f,_0x173a37){return _0x5c96(_0x26557f- -0x209,_0x173a37);}_0x310147['KChfl']=_0x7f94cb(-_0x12e60c._0x4abc2f,-0xa2)+_0x44b021(0x16,-0x26)+'选择第一个未完成的)';const _0x162484=_0x310147,_0x5098c6=getStateFilePath(_0x302138);return tool({'description':'推进\x20specops'+_0x7f94cb(-0x5f,-_0x12e60c._0x4286b2)+_0x44b021(_0x12e60c._0x1f9c80,_0x12e60c._0x43695c)+_0x44b021(_0x12e60c._0x494002,-_0x12e60c._0x529b21)+_0x44b021(_0x12e60c._0x5be903,0xc)+'段序列:\x20讨论\x20→\x20'+'规划\x20→\x20执行\x20→\x20'+_0x7f94cb(-_0x12e60c._0x44d4d6,-0xd6)+_0x44b021(-0x34,-_0x12e60c._0x14640f),'args':{'agent_id':tool['schema'][_0x44b021(-_0x12e60c._0xfe044f,-0xa)]()[_0x7f94cb(-_0x12e60c._0x4ac223,-0x93)]()[_0x7f94cb(-0x8d,-0x9d)](_0x162484[_0x44b021(-_0x12e60c._0x303fae,-_0x12e60c._0x3fb84d)])},async 'execute'(_0x24a62f){const _0x218bbc={_0x2bb43c:0x5e8};function _0x1aa719(_0x13478d,_0x3e6922){return _0x44b021(_0x3e6922-_0x218bbc._0x2bb43c,_0x13478d);}function _0xb4077f(_0x47668e,_0x518a51){return _0x7f94cb(_0x518a51-0x40a,_0x47668e);}const _0x38be39={'cvcFj':function(_0x3c7014,_0x1d97cf,_0x3f2f06,_0x45b81a){return _0x3c7014(_0x1d97cf,_0x3f2f06,_0x45b81a);}};if(_0x162484[_0x1aa719(0x57e,_0xc2a358._0x51bfbe)](_0x1aa719(_0xc2a358._0x846ebf,0x5df),_0x162484[_0xb4077f(0x38c,_0xc2a358._0xf7c998)]))return _0x38be39[_0xb4077f(0x36f,_0xc2a358._0x159f3a)](_0x24f67c,_0x507d76,_0x1aa719(_0xc2a358._0x55a29b,0x615),_0xb4077f(0x347,_0xc2a358._0x1c40b6));else try{return await _0x30e2ab[_0x1aa719(_0xc2a358._0x3b2d37,_0xc2a358._0x4ea3fe)+'se'](_0x5098c6,_0x24a62f[_0x1aa719(0x5f4,_0xc2a358._0x1c212b)]);}catch(_0x1576a9){return _0xb4077f(0x3d2,0x3a1)+(_0x1576a9 instanceof Error?_0x1576a9[_0x1aa719(_0xc2a358._0x40fcff,_0xc2a358._0x356ddb)]:String(_0x1576a9));}}});}function createNewProjectTool(_0x179ee1){const _0x2ed50d={_0x30b05a:0x3b9,_0x188af6:0x34a,_0x434f61:0x592,_0xbe9349:0x5ab,_0x2a5f83:0x380,_0xe68712:0x34c,_0x2dca88:0x604,_0x413daf:0x5b6,_0x1c8066:0x37a,_0x12bb76:0x56b,_0x21cbb7:0x595},_0x19bb5d={_0x390fcb:0x1ef},_0x4aed3a={_0x1a9ef2:0xc2,_0x53e6fb:0xde},_0xd46aad={_0x31accd:0x24c},_0x6ef6fe={_0x4d2b19:0x55},_0xee6ece={'QQyDP':function(_0x1e680f,_0x2802b3){return _0x1e680f(_0x2802b3);},'HiKiD':function(_0x399230,_0x431e62){return _0x399230(_0x431e62);},'Pjlwb':_0x2acc52(_0x2ed50d._0x30b05a,0x3db),'rKewj':_0x2acc52(0x346,_0x2ed50d._0x188af6)};function _0x2acc52(_0x2f8c44,_0x45b0f8){return _0x5c96(_0x2f8c44-0x16c,_0x45b0f8);}function _0x2031c4(_0x3aea65,_0x3739c3){return _0x5c96(_0x3739c3-0x3ca,_0x3aea65);}const _0x46e4f2=getStateFilePath(_0x179ee1);return tool({'description':_0x2031c4(_0x2ed50d._0x434f61,_0x2ed50d._0xbe9349)+_0x2acc52(0x377,0x359)+_0x2acc52(_0x2ed50d._0x2a5f83,_0x2ed50d._0xe68712)+_0x2acc52(0x3a3,0x399)+_0x2031c4(_0x2ed50d._0x2dca88,0x5f8)+'。','args':{'project_name':tool['schema'][_0x2031c4(0x5b6,_0x2ed50d._0x413daf)]()[_0x2acc52(_0x2ed50d._0x1c8066,0x3af)](_0xee6ece[_0x2031c4(_0x2ed50d._0x12bb76,_0x2ed50d._0x21cbb7)])},async 'execute'(_0x397478){function _0x2806e4(_0x2ba34d,_0xb59a00){return _0x2acc52(_0x2ba34d- -_0x6ef6fe._0x4d2b19,_0xb59a00);}const _0x38b6a0={'NtYUn':function(_0x5eba2f,_0x5a8465){function _0x206acb(_0x53ad1a,_0x4b883e){return _0x5c96(_0x4b883e- -0x2cd,_0x53ad1a);}return _0xee6ece[_0x206acb(-0xd9,-0xa3)](_0x5eba2f,_0x5a8465);},'yiEAB':function(_0x1f5b9a,_0x2a4bb4){function _0x16923f(_0x49a626,_0x15f131){return _0x5c96(_0x15f131-0x73,_0x49a626);}return _0xee6ece[_0x16923f(0x21b,_0xd46aad._0x31accd)](_0x1f5b9a,_0x2a4bb4);},'ngieD':function(_0x34a452,_0x1de1a0){return _0xee6ece['HiKiD'](_0x34a452,_0x1de1a0);},'BDmkZ':function(_0x796f53,_0x49f5e3){function _0x55a458(_0x3169dd,_0x3ffbec){return _0x5c96(_0x3169dd- -0x2ec,_0x3ffbec);}return _0xee6ece[_0x55a458(-_0x4aed3a._0x1a9ef2,-_0x4aed3a._0x53e6fb)](_0x796f53,_0x49f5e3);}};function _0x24683c(_0x4416b9,_0x320069){return _0x2acc52(_0x320069- -_0x19bb5d._0x390fcb,_0x4416b9);}try{return await _0x30e2ab[_0x24683c(0x1a2,0x19f)](_0x46e4f2,_0x397478['project_na'+'me']);}catch(_0xca2e3d){if(_0xee6ece[_0x2806e4(0x350,0x37b)]===_0x24683c(0x19a,0x18f)){const _0x1b09b2=_0x544188[_0x2806e4(0x330,0x2f0)];return{'name':_0x24683c(0x141,0x166),'tool':{'specops_status':_0x38b6a0['NtYUn'](_0x523b80,_0x1b09b2),'specops_advance':_0x5c1fdd(_0x1b09b2),'specops_new_project':_0x38b6a0['yiEAB'](_0xfd7fc,_0x1b09b2),'specops_update_operation':_0x38b6a0['yiEAB'](_0xa23809,_0x1b09b2),'specops_register_agent':_0xc3e0ed(_0x1b09b2),'specops_deregister_agent':_0x38b6a0[_0x2806e4(0x326,0x341)](_0x20b4ef,_0x1b09b2),'specops_progress':_0x38b6a0['BDmkZ'](_0x555312,_0x1b09b2),'specops_quick':_0x1b4704(_0x1b09b2),'specops_analyze_requirements':_0x5aa443(_0x1b09b2)},'event':async _0x12e021=>{}};}else return'❌\x20创建项目失败:\x20'+(_0xca2e3d instanceof Error?_0xca2e3d['message']:_0xee6ece['QQyDP'](String,_0xca2e3d));}}});}function _0x5c96(_0x2f3d17,_0x2175ec){_0x2f3d17=_0x2f3d17-(0x220f*0x1+-0x3*0xb69+0x1f7);const _0x4429d8=_0x5988();let _0x337263=_0x4429d8[_0x2f3d17];if(_0x5c96['JObrbg']===undefined){var _0x106dd5=function(_0x5a7ae5){const _0x1d6bd6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xcdc8c3='',_0x439099='';for(let _0x162dde=0xb35+-0x2531+-0x2*-0xcfe,_0x5349b9,_0x3b1a16,_0x544188=0x1ae0+-0x1bc0+-0x1c*-0x8;_0x3b1a16=_0x5a7ae5['charAt'](_0x544188++);~_0x3b1a16&&(_0x5349b9=_0x162dde%(-0xc04+-0xa95+0x169d)?_0x5349b9*(0x162b+0xc4c*-0x1+-0x99f)+_0x3b1a16:_0x3b1a16,_0x162dde++%(0x1af3+-0x1*-0xaa+0x933*-0x3))?_0xcdc8c3+=String['fromCharCode'](0x46*-0x8b+0x5*0xb3+0xa*0x38d&_0x5349b9>>(-(-0x20a6+-0x3*0x1+-0x20ab*-0x1)*_0x162dde&0x97a*0x3+0xc95+-0x28fd)):-0x14f7+-0x1*0x2347+0x2e*0x139){_0x3b1a16=_0x1d6bd6['indexOf'](_0x3b1a16);}for(let _0x523b80=-0x11*0x13d+0x265a+-0x114d,_0x5c1fdd=_0xcdc8c3['length'];_0x523b80<_0x5c1fdd;_0x523b80++){_0x439099+='%'+('00'+_0xcdc8c3['charCodeAt'](_0x523b80)['toString'](0x118f+-0xa*0x52+-0xe4b))['slice'](-(-0x7*0x1bb+0x169e+-0xa7f));}return decodeURIComponent(_0x439099);};_0x5c96['sHDTCP']=_0x106dd5,_0x5c96['NrvPTi']={},_0x5c96['JObrbg']=!![];}const _0x3c434b=_0x4429d8[-0xf3b+0x112a*-0x1+0x2065],_0x2fb4c7=_0x2f3d17+_0x3c434b,_0x239e44=_0x5c96['NrvPTi'][_0x2fb4c7];return!_0x239e44?(_0x337263=_0x5c96['sHDTCP'](_0x337263),_0x5c96['NrvPTi'][_0x2fb4c7]=_0x337263):_0x337263=_0x239e44,_0x337263;}function createUpdateOperationTool(_0x42760e){const _0x216df3={_0x1bb751:0x42,_0x3c6a35:0x10,_0x42974d:0x4df,_0x149c43:0x13,_0x5bb6d2:0x40,_0x31f9c5:0x448,_0x185615:0x36,_0x19da2d:0x2a,_0x489e95:0x48f,_0x1626d6:0x7,_0x2f94f7:0x2c,_0x2f9aab:0x57,_0xbae169:0x4ae,_0x33d63e:0x492,_0xaf8f5d:0x37,_0x21a688:0x48b,_0x3ae436:0x15},_0x3bccf7={_0x512a91:0x335,_0x106144:0x380,_0x407a48:0x36e,_0xbd4885:0x387,_0x5c0b20:0x3c4,_0x4ade3f:0x348,_0x315490:0x38c,_0x5c7875:0x386,_0x3f67db:0x369,_0x80013:0x557,_0x239603:0x540,_0xdccafd:0x574,_0x3f59d8:0x39a,_0x962485:0x354,_0x3ad41f:0x39d,_0x21d518:0x5ad,_0x242ea4:0x348,_0x4f1d0f:0x348,_0x17321a:0x59c,_0x479d95:0x347},_0x38d11e={_0x2b235f:0x14b};function _0x3191a5(_0x3bb061,_0xdaa671){return _0x5c96(_0xdaa671-0x2a0,_0x3bb061);}function _0x2a257a(_0x5ed6be,_0x5d3bb8){return _0x5c96(_0x5d3bb8- -0x223,_0x5ed6be);}const _0x2679d9={'IDfqt':_0x2a257a(-_0x216df3._0x1bb751,-_0x216df3._0x3c6a35),'hxLqU':function(_0x54069c,_0x5cfc41){return _0x54069c===_0x5cfc41;},'oNDFG':_0x3191a5(_0x216df3._0x42974d,0x4e0),'KHWBI':'pqLUK','aCdCz':function(_0xc8aec4,_0x5dc499){return _0xc8aec4(_0x5dc499);},'mIpXB':_0x2a257a(-_0x216df3._0x149c43,-_0x216df3._0x5bb6d2)+_0x3191a5(_0x216df3._0x31f9c5,0x484),'wDtuT':_0x2a257a(-_0x216df3._0x185615,-_0x216df3._0x19da2d)+_0x3191a5(_0x216df3._0x489e95,0x4a1)+'rer\x22)'},_0x33779e=_0x2679d9['aCdCz'](getStateFilePath,_0x42760e);return tool({'description':_0x2a257a(_0x216df3._0x1626d6,0x31)+_0x2a257a(-_0x216df3._0x2f94f7,0x17)+'用的工具/技能。\x0a用'+'于实时追踪\x20Agen'+_0x2a257a(-0x67,-_0x216df3._0x2f94f7),'args':{'agent_id':tool[_0x2a257a(-_0x216df3._0x2f9aab,-0x50)]['string']()[_0x3191a5(0x46d,_0x216df3._0xbae169)](_0x3191a5(0x4cd,_0x216df3._0x33d63e)),'operation':tool[_0x2a257a(-0x77,-0x50)][_0x2a257a(-0xf,-_0x216df3._0xaf8f5d)]()[_0x3191a5(_0x216df3._0x21a688,0x4ae)](_0x2679d9['mIpXB']),'skill':tool[_0x3191a5(0x4b1,0x473)][_0x2a257a(-0x19,-_0x216df3._0xaf8f5d)]()[_0x2a257a(-0x53,-_0x216df3._0x3ae436)](_0x2679d9['wDtuT'])},async 'execute'(_0x1dcf4d){const _0x18b761={'mMXIU':function(_0x37d14c,_0x2ef851){return _0x37d14c(_0x2ef851);}};function _0x3d2c02(_0x9dccbd,_0x560920){return _0x3191a5(_0x560920,_0x9dccbd- -_0x38d11e._0x2b235f);}function _0x15ddf1(_0x1b6374,_0xd760bd){return _0x2a257a(_0xd760bd,_0x1b6374-0x57d);}if(_0x2679d9[_0x3d2c02(_0x3bccf7._0x512a91,0x33e)]===_0x3d2c02(_0x3bccf7._0x106144,_0x3bccf7._0x407a48))return _0x3d2c02(_0x3bccf7._0xbd4885,_0x3bccf7._0x5c0b20)+(_0x5015b5 instanceof _0x5094b2?_0x30801a[_0x3d2c02(_0x3bccf7._0x4ade3f,_0x3bccf7._0x315490)]:_0x18f78d(_0x40d015));else try{return _0x2679d9[_0x3d2c02(0x366,0x347)](_0x2679d9[_0x3d2c02(_0x3bccf7._0x5c7875,_0x3bccf7._0x3f67db)],_0x2679d9['oNDFG'])?await _0x30e2ab[_0x15ddf1(0x561,0x5a0)+_0x3d2c02(0x38a,0x397)](_0x33779e,_0x1dcf4d[_0x15ddf1(_0x3bccf7._0x80013,0x520)],_0x1dcf4d[_0x15ddf1(_0x3bccf7._0x239603,0x524)],_0x1dcf4d[_0x15ddf1(_0x3bccf7._0xdccafd,0x5b1)]):_0x3d2c02(_0x3bccf7._0x3f59d8,0x3ac)+(_0x6b9e07 instanceof _0x39a65f?_0x4d5356[_0x3d2c02(0x348,_0x3bccf7._0x962485)]:_0x526395(_0x3f0b27));}catch(_0x693365){return _0x3d2c02(_0x3bccf7._0x3ad41f,0x3b7)===_0x2679d9[_0x15ddf1(0x589,_0x3bccf7._0x21d518)]?'❌\x20获取进度失败:\x20'+(_0x34dffa instanceof _0x1fe63e?_0x6982eb[_0x3d2c02(_0x3bccf7._0x242ea4,_0x3bccf7._0x4f1d0f)]:_0x18b761[_0x15ddf1(_0x3bccf7._0x17321a,0x562)](_0x5cd6fa,_0x1d1930)):'❌\x20更新操作失败:\x20'+(_0x693365 instanceof Error?_0x693365[_0x3d2c02(0x348,_0x3bccf7._0x479d95)]:String(_0x693365));}}});}function createRegisterAgentTool(_0x59e53b){const _0x54aa29={_0x3d2588:0x45e,_0x280df7:0x21,_0x12c3c3:0x468,_0x5bc787:0x9,_0x14291b:0x29,_0x4add7b:0x4e3,_0x2fffdf:0x45,_0x13ee99:0x482,_0x492550:0x4af,_0x5de77e:0x470,_0x1a3877:0x490,_0x10194c:0x2d,_0x1f7869:0x5,_0x1054a0:0x2e,_0x2be39d:0x3f},_0x278cd1={_0x5ce3f2:0x45d,_0x28dc95:0x440,_0x332072:0x4fb,_0x299bbf:0x4a5},_0x58afee={_0x1f45ba:0x282},_0x527216={'vDtkQ':function(_0x187cf3,_0x55f7b4){return _0x187cf3(_0x55f7b4);},'oNvcF':_0x5b7a6e(0x469,_0x54aa29._0x3d2588)+_0x13f005(_0x54aa29._0x280df7,-0x22)};function _0x5b7a6e(_0x52b7b2,_0x1948f1){return _0x5c96(_0x52b7b2-_0x58afee._0x1f45ba,_0x1948f1);}const _0x3eff34=_0x527216['vDtkQ'](getStateFilePath,_0x59e53b);function _0x13f005(_0x208ae2,_0xc4163c){return _0x5c96(_0xc4163c- -0x201,_0x208ae2);}return _0x527216[_0x5b7a6e(0x49d,_0x54aa29._0x12c3c3)](tool,{'description':_0x13f005(-_0x54aa29._0x5bc787,-_0x54aa29._0x14291b)+'\x20到\x20specops'+_0x5b7a6e(0x4a6,_0x54aa29._0x4add7b)+_0x13f005(-_0x54aa29._0x2fffdf,-0x2b)+_0x5b7a6e(0x4ab,_0x54aa29._0x13ee99)+_0x13f005(-0x31,-0x11),'args':{'agent_id':tool[_0x5b7a6e(0x455,0x488)][_0x5b7a6e(0x46e,0x475)]()['describe'](_0x5b7a6e(0x474,_0x54aa29._0x492550)),'parent_id':tool['schema']['string']()[_0x5b7a6e(0x4af,_0x54aa29._0x5de77e)]()[_0x5b7a6e(_0x54aa29._0x1a3877,0x4ce)](_0x13f005(-0x8,-0x14)+_0x13f005(_0x54aa29._0x10194c,-_0x54aa29._0x1f7869)),'phase':tool[_0x13f005(0x11,-_0x54aa29._0x1054a0)]['string']()['optional']()[_0x13f005(_0x54aa29._0x2be39d,0xd)](_0x527216[_0x13f005(-0xa,-0x2d)])},async 'execute'(_0x1311ce){function _0x5c4e6a(_0x11f97d,_0x528142){return _0x5b7a6e(_0x528142- -0x2e,_0x11f97d);}function _0x173972(_0x13fe64,_0x20a433){return _0x13f005(_0x13fe64,_0x20a433-0x50e);}try{return await _0x30e2ab[_0x5c4e6a(0x45c,_0x278cd1._0x5ce3f2)+_0x5c4e6a(_0x278cd1._0x28dc95,0x420)](_0x3eff34,_0x1311ce[_0x173972(_0x278cd1._0x332072,0x50a)],{'parentId':_0x1311ce[_0x5c4e6a(0x45a,0x495)],'phase':_0x1311ce[_0x173972(0x4c5,0x4fe)]});}catch(_0x52c3bd){return _0x5c4e6a(_0x278cd1._0x299bbf,0x472)+'\x20失败:\x20'+(_0x52c3bd instanceof Error?_0x52c3bd[_0x5c4e6a(0x464,0x447)]:String(_0x52c3bd));}}});}function createDeregisterAgentTool(_0x42296a){const _0x3fdb27={_0x526238:0x1b,_0x194f79:0xe,_0x21e713:0x30,_0x3dfb55:0x5e,_0xfe1171:0x12f,_0x147fa0:0xf0,_0x36b773:0xa2,_0x6a78e1:0x4e,_0x43cc29:0x133,_0x48f1ba:0x138},_0x1c7b67={_0x4227ad:0x135,_0x42da27:0xe4,_0x1e85a0:0xdf,_0xa63d53:0xac,_0xe95455:0x5,_0x4ccae0:0x19,_0x58a092:0xe4,_0x5eac04:0xcf,_0x3c5b4d:0x2f,_0x22daab:0xdd,_0x1b7324:0x1,_0x1509dd:0x3,_0x1bf918:0xca,_0x78caa6:0xda},_0x22be84={_0x382b46:0x30},_0x25c4a4={_0x15cef9:0x302},_0x43dd34={_0x408b12:0x25c},_0x502fe4={'fqGdY':function(_0x265432,_0x4e60ae){return _0x265432 instanceof _0x4e60ae;},'AXSaF':function(_0x48c00f,_0x17181b){return _0x48c00f(_0x17181b);},'aIMOn':function(_0x13fc18,_0x1cd289){return _0x13fc18===_0x1cd289;},'rNNUl':_0x23cdfb(-0x3f,-_0x3fdb27._0x526238),'gxNFv':function(_0x2ba6d2,_0x330aa0){return _0x2ba6d2(_0x330aa0);},'nBZsM':function(_0x527556,_0x2edd95){return _0x527556(_0x2edd95);}};function _0x23cdfb(_0x3cbfbd,_0x4d208c){return _0x5c96(_0x3cbfbd- -_0x43dd34._0x408b12,_0x4d208c);}const _0x4659fd=_0x502fe4[_0x23cdfb(-0x36,-0x6e)](getStateFilePath,_0x42296a);function _0x23676d(_0x4149ef,_0xe2575d){return _0x5c96(_0x4149ef- -_0x25c4a4._0x15cef9,_0xe2575d);}return _0x502fe4[_0x23676d(-0x127,-0x150)](tool,{'description':_0x23cdfb(-_0x3fdb27._0x194f79,0x15)+_0x23cdfb(-0x12,-0x47)+_0x23676d(-0xf8,-0x11f)+_0x23cdfb(-0x3b,-_0x3fdb27._0x21e713)+_0x23cdfb(-0x8a,-0x5f)+_0x23cdfb(-0x3c,-_0x3fdb27._0x3dfb55),'args':{'agent_id':tool[_0x23676d(-_0x3fdb27._0xfe1171,-_0x3fdb27._0x147fa0)][_0x23cdfb(-0x70,-_0x3fdb27._0x36b773)]()[_0x23cdfb(-_0x3fdb27._0x6a78e1,-0x8c)](_0x23676d(-_0x3fdb27._0x43cc29,-_0x3fdb27._0x48f1ba)+_0x23676d(-0xc7,-0x106))},async 'execute'(_0x12d8eb){const _0x2f42da={_0x2fd2a0:0x67};function _0x4a1837(_0x56398b,_0x5268f1){return _0x23cdfb(_0x56398b-_0x2f42da._0x2fd2a0,_0x5268f1);}function _0x24877e(_0x387ec8,_0x1b21b9){return _0x23676d(_0x387ec8-_0x22be84._0x382b46,_0x1b21b9);}try{return _0x24877e(-0xf6,-_0x1c7b67._0x4227ad)!==_0x24877e(-0xf6,-_0x1c7b67._0x42da27)?'❌\x20快速任务失败:\x20'+(_0x2f3d17 instanceof _0x2175ec?_0x4429d8[_0x24877e(-_0x1c7b67._0x1e85a0,-_0x1c7b67._0xa63d53)]:_0x337263(_0x106dd5)):await _0x30e2ab[_0x4a1837(_0x1c7b67._0xe95455,_0x1c7b67._0x4ccae0)+_0x24877e(-0xad,-0xd4)](_0x4659fd,_0x12d8eb[_0x24877e(-0xd5,-_0x1c7b67._0x58a092)]);}catch(_0x49638e){return _0x502fe4[_0x24877e(-_0x1c7b67._0x5eac04,-0x109)](_0x502fe4[_0x4a1837(0x5b,_0x1c7b67._0x3c5b4d)],_0x24877e(-0xba,-0x8f))?'❌\x20注销\x20Agent'+_0x24877e(-_0x1c7b67._0x22daab,-0x110)+(_0x502fe4[_0x4a1837(-_0x1c7b67._0x1b7324,_0x1c7b67._0x3c5b4d)](_0x859a4f,_0x2582ff)?_0x451e4e['message']:_0x502fe4[_0x4a1837(_0x1c7b67._0x1509dd,-_0x1c7b67._0x1b7324)](_0x2bc72d,_0x23065c)):_0x24877e(-_0x1c7b67._0x1bf918,-0xc3)+'\x20失败:\x20'+(_0x49638e instanceof Error?_0x49638e[_0x24877e(-0xdf,-0xe3)]:_0x502fe4[_0x24877e(-_0x1c7b67._0x78caa6,-0xc5)](String,_0x49638e));}}});}function createProgressTool(_0x3fb742){const _0x5adc3f={_0x17639d:0x177,_0x2d0386:0x1fd,_0x4d6a10:0x1c9,_0x695d08:0xb},_0x23b014={_0x25ce6e:0x2ec,_0x5b5bf0:0x269,_0x15603d:0x292,_0x2a5a40:0x2bf,_0x4c6167:0x2a3,_0x560bb9:0x3be},_0x215b0f={_0x26135c:0x3b};function _0x517b9d(_0x32325b,_0x1d69ca){return _0x5c96(_0x1d69ca- -_0x215b0f._0x26135c,_0x32325b);}function _0x35b7e4(_0x2629a2,_0x59d977){return _0x5c96(_0x2629a2- -0x202,_0x59d977);}const _0x3cafec={'vEkKk':function(_0x22a034,_0x344bc0){return _0x22a034 instanceof _0x344bc0;},'IcMvV':function(_0x2f2a85,_0x46b56a){return _0x2f2a85(_0x46b56a);},'hcTmG':function(_0x226a76,_0x407180){return _0x226a76(_0x407180);}},_0x2b453d=_0x3cafec[_0x517b9d(0x1a4,0x1ca)](getStateFilePath,_0x3fb742);return tool({'description':_0x517b9d(_0x5adc3f._0x17639d,0x1af)+'\x20项目详细进度。\x0a包'+_0x517b9d(_0x5adc3f._0x2d0386,_0x5adc3f._0x4d6a10)+_0x35b7e4(_0x5adc3f._0x695d08,0x27)+'详情表格。','args':{},async 'execute'(){const _0x508400={_0x367349:0x41a};function _0x3e8eec(_0x4b88df,_0x263f84){return _0x35b7e4(_0x263f84-0x2b2,_0x4b88df);}function _0x3e9c14(_0x3cd298,_0x82c84){return _0x35b7e4(_0x3cd298-_0x508400._0x367349,_0x82c84);}try{return await _0x30e2ab[_0x3e8eec(_0x23b014._0x25ce6e,0x2f7)+'ss'](_0x2b453d);}catch(_0x2c39b8){return'❌\x20获取进度失败:\x20'+(_0x3cafec[_0x3e8eec(_0x23b014._0x5b5bf0,_0x23b014._0x15603d)](_0x2c39b8,Error)?_0x2c39b8[_0x3e8eec(_0x23b014._0x2a5a40,_0x23b014._0x4c6167)]:_0x3cafec[_0x3e9c14(0x3fd,_0x23b014._0x560bb9)](String,_0x2c39b8));}}});}function createQuickTool(_0x5f526a){const _0x50c121={_0x19e6a2:0x455,_0x2e1573:0x3e,_0x3e3685:0xbe,_0x3d9dcb:0x491,_0x4bfaa4:0x4a0,_0x1b70d5:0xbc,_0x4dfbd8:0x4e4},_0x319b07={_0x341d72:0x184,_0x11a6c9:0x192,_0x354579:0x5a4,_0x25ee67:0x594,_0x1fc1a2:0x58a},_0xb29f30={_0x3d96f1:0x4fd},_0x4291e1={_0x559f70:0x1e9},_0x576a6a={_0xb8aa4a:0x28f},_0x57203e={'SIQfq':function(_0x21aad2,_0x34eb7e){return _0x21aad2 instanceof _0x34eb7e;},'vOMgi':_0x519cdd(_0x50c121._0x19e6a2,0x440),'lPgbL':function(_0x50f42b,_0x401ccc){return _0x50f42b(_0x401ccc);},'NZACB':function(_0x436bb3,_0x5c2897){return _0x436bb3(_0x5c2897);}};function _0x519cdd(_0x2df548,_0x5669c8){return _0x5c96(_0x2df548-0x257,_0x5669c8);}const _0x4890dc=getStateFilePath(_0x5f526a);function _0xa9b030(_0x44cc20,_0xa99193){return _0x5c96(_0x44cc20- -_0x576a6a._0xb8aa4a,_0xa99193);}return _0x57203e['NZACB'](tool,{'description':_0xa9b030(-_0x50c121._0x2e1573,-0x6b)+_0xa9b030(-_0x50c121._0x3e3685,-0xf1)+_0x519cdd(0x47e,_0x50c121._0x3d9dcb)+_0xa9b030(-0xb2,-0xec)+_0x519cdd(0x4a0,_0x50c121._0x4bfaa4),'args':{'task':tool[_0xa9b030(-_0x50c121._0x1b70d5,-0x81)][_0x519cdd(0x443,0x40a)]()['describe'](_0x519cdd(0x4a2,_0x50c121._0x4dfbd8))},async 'execute'(_0x4e6488){const _0x34d537={_0x5951d3:0x2eb};function _0x2e7228(_0x581e4b,_0x235447){return _0xa9b030(_0x235447-_0x4291e1._0x559f70,_0x581e4b);}const _0x3fdb78={'NdUID':function(_0x21d513,_0x425e25){function _0x29ccca(_0x2bfaf9,_0x58eaeb){return _0x5c96(_0x58eaeb-_0x34d537._0x5951d3,_0x2bfaf9);}return _0x57203e[_0x29ccca(_0xb29f30._0x3d96f1,0x52f)](_0x21d513,_0x425e25);}};function _0x51d8c8(_0x2ebb5f,_0x4c5bbe){return _0x519cdd(_0x4c5bbe-0x13e,_0x2ebb5f);}try{return await _0x30e2ab[_0x51d8c8(0x5ce,0x5e8)](_0x4890dc,_0x4e6488[_0x2e7228(_0x319b07._0x341d72,_0x319b07._0x11a6c9)]);}catch(_0x2d2924){return _0x2e7228(0x12a,0x131)===_0x57203e[_0x51d8c8(_0x319b07._0x354579,_0x319b07._0x25ee67)]?_0x2e7228(0x186,0x197)+(_0x3fdb78['NdUID'](_0x21065e,_0x22c602)?_0x3dc1cf['message']:_0x2b18b5(_0x8ae99)):'❌\x20快速任务失败:\x20'+(_0x2d2924 instanceof Error?_0x2d2924[_0x51d8c8(_0x319b07._0x1fc1a2,0x588)]:_0x57203e['lPgbL'](String,_0x2d2924));}}});}const SpecOpsPlugin=async _0x469d32=>{const _0x44263f={_0x1536a0:0x2f6,_0x5c6a9b:0x305,_0x3931ab:0x320},_0x3ef7a6={_0x268f4e:0xdd},_0x11666e={_0x1c1cd4:0x38a},_0x2b2671={'MHDsP':function(_0x2bc544,_0x80afa5){return _0x2bc544(_0x80afa5);},'rDcHJ':function(_0x422bd6,_0x2ab89c){return _0x422bd6(_0x2ab89c);},'qRXey':function(_0x26e126,_0x4483a0){return _0x26e126(_0x4483a0);},'cHnMY':function(_0x231aec,_0x341ded){return _0x231aec(_0x341ded);},'PFBXf':function(_0x1ef153,_0x59acf0){return _0x1ef153(_0x59acf0);}};function _0x5a3118(_0x4a0ce0,_0x5be2a3){return _0x5c96(_0x4a0ce0-_0x11666e._0x1c1cd4,_0x5be2a3);}function _0xaa1416(_0x27ef52,_0x400a18){return _0x5c96(_0x400a18-_0x3ef7a6._0x268f4e,_0x27ef52);}const _0x294e74=_0x469d32[_0xaa1416(0x2eb,_0x44263f._0x1536a0)];return{'name':_0x5a3118(0x573,0x56e),'tool':{'specops_status':_0x2b2671[_0xaa1416(0x330,0x320)](createStatusTool,_0x294e74),'specops_advance':createAdvanceTool(_0x294e74),'specops_new_project':createNewProjectTool(_0x294e74),'specops_update_operation':_0x2b2671[_0x5a3118(0x5b6,0x589)](createUpdateOperationTool,_0x294e74),'specops_register_agent':_0x2b2671[_0xaa1416(0x2ec,_0x44263f._0x5c6a9b)](createRegisterAgentTool,_0x294e74),'specops_deregister_agent':_0x2b2671['cHnMY'](createDeregisterAgentTool,_0x294e74),'specops_progress':_0x2b2671[_0xaa1416(0x33e,_0x44263f._0x3931ab)](createProgressTool,_0x294e74),'specops_quick':createQuickTool(_0x294e74),'specops_analyze_requirements':_0x2b2671['PFBXf'](createAnalyzeRequirementsTool,_0x294e74)},'event':async _0x1bb34a=>{}};};export default SpecOpsPlugin;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 仓库解析器 - 分析项目结构和代码库信息
|
|
3
|
+
*/
|
|
4
|
+
import type { ProjectInfo, CodebaseStats, DetectedTechnology } from '../types/index.js';
|
|
5
|
+
export declare class RepositoryParser {
|
|
6
|
+
private excludePatterns;
|
|
7
|
+
/**
|
|
8
|
+
* 解析项目基本信息
|
|
9
|
+
*/
|
|
10
|
+
parseProjectInfo(projectPath: string): Promise<ProjectInfo>;
|
|
11
|
+
/**
|
|
12
|
+
* 分析代码库统计信息
|
|
13
|
+
*/
|
|
14
|
+
analyzeCodebase(projectPath: string): Promise<CodebaseStats>;
|
|
15
|
+
/**
|
|
16
|
+
* 递归遍历目录
|
|
17
|
+
*/
|
|
18
|
+
private walkDirectory;
|
|
19
|
+
/**
|
|
20
|
+
* 分析单个文件
|
|
21
|
+
*/
|
|
22
|
+
private analyzeFile;
|
|
23
|
+
/**
|
|
24
|
+
* 检测项目类型
|
|
25
|
+
*/
|
|
26
|
+
private detectProjectType;
|
|
27
|
+
/**
|
|
28
|
+
* 获取项目类型指示器
|
|
29
|
+
*/
|
|
30
|
+
private getProjectTypeIndicators;
|
|
31
|
+
/**
|
|
32
|
+
* 评估项目成熟度
|
|
33
|
+
*/
|
|
34
|
+
private assessProjectScale;
|
|
35
|
+
/**
|
|
36
|
+
* 提取项目元数据
|
|
37
|
+
*/
|
|
38
|
+
private extractProjectMetadata;
|
|
39
|
+
/**
|
|
40
|
+
* 检查是否有 CI 配置
|
|
41
|
+
*/
|
|
42
|
+
private hasCI;
|
|
43
|
+
/**
|
|
44
|
+
* 获取主要编程语言
|
|
45
|
+
*/
|
|
46
|
+
private convertToLanguageStats;
|
|
47
|
+
/**
|
|
48
|
+
* 转换为文件类型统计
|
|
49
|
+
*/
|
|
50
|
+
private convertToFileTypeStats;
|
|
51
|
+
/**
|
|
52
|
+
* 获取语言对应的文件扩展名
|
|
53
|
+
*/
|
|
54
|
+
private getExtensionsForLanguage;
|
|
55
|
+
/**
|
|
56
|
+
* 根据文件扩展名获取编程语言
|
|
57
|
+
*/
|
|
58
|
+
private getLanguageFromExtension;
|
|
59
|
+
/**
|
|
60
|
+
* 检查是否应该排除文件/目录
|
|
61
|
+
*/
|
|
62
|
+
private shouldExclude;
|
|
63
|
+
/**
|
|
64
|
+
* 设置排除模式
|
|
65
|
+
*/
|
|
66
|
+
setExcludePatterns(patterns: string[]): void;
|
|
67
|
+
/**
|
|
68
|
+
* 检测技术栈
|
|
69
|
+
*/
|
|
70
|
+
detectTechStack(projectPath: string): Promise<DetectedTechnology[]>;
|
|
71
|
+
/**
|
|
72
|
+
* 从 package.json 检测技术栈
|
|
73
|
+
*/
|
|
74
|
+
private detectFromPackageJson;
|
|
75
|
+
/**
|
|
76
|
+
* 从配置文件检测技术栈
|
|
77
|
+
*/
|
|
78
|
+
private detectFromConfigFiles;
|
|
79
|
+
/**
|
|
80
|
+
* 从代码模式检测技术栈
|
|
81
|
+
*/
|
|
82
|
+
private detectFromCodePatterns;
|
|
83
|
+
/**
|
|
84
|
+
* 检测 React 代码模式
|
|
85
|
+
*/
|
|
86
|
+
private hasReactPatterns;
|
|
87
|
+
/**
|
|
88
|
+
* 检测 Vue 代码模式
|
|
89
|
+
*/
|
|
90
|
+
private hasVuePatterns;
|
|
91
|
+
/**
|
|
92
|
+
* 去重技术栈检测结果
|
|
93
|
+
*/
|
|
94
|
+
private deduplicateTechnologies;
|
|
95
|
+
/**
|
|
96
|
+
* 分析项目依赖关系
|
|
97
|
+
*/
|
|
98
|
+
analyzeDependencies(projectPath: string): Promise<{
|
|
99
|
+
dependencies: Record<string, string>;
|
|
100
|
+
devDependencies: Record<string, string>;
|
|
101
|
+
peerDependencies: Record<string, string>;
|
|
102
|
+
totalDependencies: number;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* 分析 README 文件
|
|
106
|
+
*/
|
|
107
|
+
analyzeReadme(projectPath: string): Promise<{
|
|
108
|
+
hasReadme: boolean;
|
|
109
|
+
content?: string;
|
|
110
|
+
sections: string[];
|
|
111
|
+
features: string[];
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* 提取 README 章节
|
|
115
|
+
*/
|
|
116
|
+
private extractReadmeSections;
|
|
117
|
+
/**
|
|
118
|
+
* 提取 README 中的功能特性
|
|
119
|
+
*/
|
|
120
|
+
private extractReadmeFeatures;
|
|
121
|
+
}
|