specops 3.11.3 → 3.11.4
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/README.md +106 -1
- package/dist/__integration__/fixtures/generator.js +1 -1
- package/dist/__integration__/mocks/server.js +1 -1
- package/dist/__integration__/setup.js +1 -1
- 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.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.js +1 -1
- package/dist/requirement-analysis/generators/prd-generator.js +1 -1
- package/dist/requirement-analysis/integrations/v1-integration.js +1 -1
- package/dist/requirement-analysis/tools/analyze-requirements.js +1 -1
- package/dist/requirement-analysis/utils/error-handler.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x134964,_0x21febf){const _0x5941fa={_0xc5c8fe:0x1ac,_0x344ecf:0x1a6,_0x55f2fc:0x197,_0x25b31d:0x2a8,_0x12cdc4:0x2b7,_0x40f79b:0x2a4,_0x440cee:0x285,_0x2f123b:0x29c,_0xfc3e08:0x1ae,_0x2fd83c:0x1a2},_0xf8e02e={_0x1bc698:0xc3},_0x3b6c6d={_0x2f8901:0x37b},_0x222d35=_0x134964();function _0x28c7d4(_0x564eee,_0x228479){return _0x2e66(_0x564eee- -_0x3b6c6d._0x2f8901,_0x228479);}function _0xb8a549(_0xa963b9,_0x20ab88){return _0x2e66(_0x20ab88-_0xf8e02e._0x1bc698,_0xa963b9);}while(!![]){try{const _0x2ba9cf=-parseInt(_0x28c7d4(-_0x5941fa._0xc5c8fe,-0x1ba))/(0x2*-0x132e+-0x32c+-0x1f*-0x157)*(-parseInt(_0x28c7d4(-_0x5941fa._0x344ecf,-0x1a5))/(-0x6fb+0x46*0x6a+-0x15ff))+-parseInt(_0x28c7d4(-_0x5941fa._0x55f2fc,-0x195))/(0x111a+0x1aa8+-0x3*0xe95)*(-parseInt(_0xb8a549(0x2bf,_0x5941fa._0x25b31d))/(-0x20a6+0x4f0+-0x152*-0x15))+parseInt(_0x28c7d4(-0x19e,-0x18c))/(-0x1b22+0x2*-0xfd3+-0x3acd*-0x1)+-parseInt(_0xb8a549(_0x5941fa._0x12cdc4,_0x5941fa._0x40f79b))/(0x8c6*-0x1+0x78d*0x1+0x13f)+parseInt(_0xb8a549(0x29d,0x295))/(0xb6c+0x1*0x74f+0x2ac*-0x7)+-parseInt(_0xb8a549(0x28d,_0x5941fa._0x440cee))/(0x1732+-0x32a+0x28*-0x80)+-parseInt(_0xb8a549(0x28c,_0x5941fa._0x2f123b))/(-0x2f*0x77+-0x1c49*0x1+0x322b)*(parseInt(_0x28c7d4(-_0x5941fa._0xfc3e08,-_0x5941fa._0x2fd83c))/(-0xf9d*0x1+0x1a78+-0xad1));if(_0x2ba9cf===_0x21febf)break;else _0x222d35['push'](_0x222d35['shift']());}catch(_0x1b0099){_0x222d35['push'](_0x222d35['shift']());}}}(_0x4355,-0x15082+0x1*0x9509+0x1*0x33f6f));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';const DEFAULT_PATH=resolve(process[_0x42b0c9(0x69,0x67)](),_0x42b0c9(0x75,0x78),_0x42b0c9(0x58,0x6a)+'XT.md');function parseLockedDependencies(_0x122c41){const _0x58f585={_0x35c41f:0x185,_0x1d786a:0x16e,_0x35daa6:0x15b,_0xa5365c:0x184,_0x339b5e:0x59,_0x1080b8:0x17c,_0x53ba5b:0x168,_0x23cc7e:0x164,_0xe017b9:0x15d,_0x2ba00b:0x52,_0x409706:0x16d,_0x52a146:0x167},_0x2d4d94={_0x46075c:0x34};function _0x5ecd76(_0x5ad854,_0x235066){return _0x592d5c(_0x235066-_0x2d4d94._0x46075c,_0x5ad854);}const _0x398fe3={'lSnTD':_0x63f9a(-0x15f,-0x16a),'Yrkgb':function(_0x48f9c4,_0x589ad9){return _0x48f9c4(_0x589ad9);},'TsWpf':function(_0x5bc08b,_0x377e99){return _0x5bc08b!==_0x377e99;},'mQcos':_0x63f9a(-_0x58f585._0x35c41f,-0x17b),'pUSHG':function(_0x5b0aa6,_0x46cef9){return _0x5b0aa6>=_0x46cef9;},'dZSer':function(_0x50e67d,_0x51cb50){return _0x50e67d&&_0x51cb50;},'JkOmN':'---'},_0x4696fb={},_0x40d24d=_0x122c41[_0x63f9a(-0x15d,-0x171)](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x40d24d)return _0x4696fb;const _0x347c14=_0x40d24d[0x193*-0x9+0x337*-0x1+-0x8b1*-0x2],_0x5cdefa=_0x347c14['split']('\x0a')['filter'](_0x48ba73=>_0x48ba73[_0x63f9a(-0x168,-0x16c)]()['startsWith']('|')),_0x23e92e=_0x5cdefa['slice'](0x26*0xe2+-0x1*-0x187f+-0xb3*0x53);for(const _0x2c2449 of _0x23e92e){if(_0x398fe3[_0x63f9a(-_0x58f585._0x1d786a,-0x175)](_0x63f9a(-0x169,-_0x58f585._0x35daa6),_0x398fe3['mQcos'])){const _0x28b167=_0x2c2449[_0x63f9a(-_0x58f585._0xa5365c,-0x18e)]('|')[_0x63f9a(-0x16f,-0x184)](_0x138162=>_0x138162[_0x5ecd76(0x7a,0x6b)]())[_0x5ecd76(0x54,0x5c)](Boolean);if(_0x398fe3[_0x5ecd76(0x5d,_0x58f585._0x339b5e)](_0x28b167[_0x63f9a(-_0x58f585._0x1080b8,-0x16d)],-0x11f6+0x14c2+-0x77*0x6)){const _0x453b61=_0x28b167[-0x12b2+0x1*-0x23f+0x14f1][_0x63f9a(-_0x58f585._0x53ba5b,-_0x58f585._0x23cc7e)](),_0x392b03=_0x28b167[-0x237f+-0x348+0x26c8][_0x63f9a(-_0x58f585._0x53ba5b,-_0x58f585._0xe017b9)]();_0x398fe3[_0x5ecd76(0x3b,_0x58f585._0x2ba00b)](_0x453b61,_0x392b03)&&!_0x453b61[_0x63f9a(-0x17f,-_0x58f585._0x409706)](_0x398fe3['JkOmN'])&&(_0x4696fb[_0x453b61]=_0x392b03);}}else{const _0x4ba075=_0x5c7911??_0x5a8dfd;if(!_0x143061(_0x4ba075))return _0x160dbe['warn'](_0x5ecd76(0x58,0x58)+'NTEXT.md\x20不'+_0x63f9a(-_0x58f585._0x52a146,-0x17b)+_0x4ba075),null;const _0x4a9db5=_0x12303b(_0x4ba075,_0x398fe3['lSnTD']);return{'lockedDependencies':_0x398fe3['Yrkgb'](_0x18ef45,_0x4a9db5),'forbiddenPatterns':_0xc624a0(_0x4a9db5),'codingConventions':_0x47f938(_0x4a9db5),'projectStructure':_0x2223e3(_0x4a9db5)};}}function _0x63f9a(_0x3fd7a9,_0x3fc3e3){return _0x42b0c9(_0x3fd7a9- -0x1da,_0x3fc3e3);}return _0x4696fb;}function _0x42b0c9(_0x1b2e6a,_0x165165){const _0x1146f2={_0x1b58b9:0x165};return _0x2e66(_0x1b2e6a- -_0x1146f2._0x1b58b9,_0x165165);}function parseForbiddenPatterns(_0x52f997){const _0x52bd3e={_0x76a2a:0x1ae,_0x32c4a6:0x191,_0x531bb3:0x1b2,_0x1d56de:0x106,_0x5f042:0x198,_0x5d59b3:0xfa,_0x326960:0x10a,_0x52ab27:0x1a0,_0x4dfff8:0x19b,_0x1047d3:0x110,_0xa42db6:0x129,_0xc24698:0x131,_0x290a9b:0x122,_0x4f1975:0x17f,_0x1ba66e:0x10e,_0x56b451:0x197,_0x438e3c:0x1b0},_0x19c1d8={_0x20b9da:0x170},_0x21141a={};_0x21141a[_0x5d08e4(_0x52bd3e._0x76a2a,0x1bd)]=function(_0x5a0e40,_0x6887b1){return _0x5a0e40>=_0x6887b1;},_0x21141a[_0x5d08e4(_0x52bd3e._0x32c4a6,0x195)]=function(_0x232941,_0x3f5b22){return _0x232941>_0x3f5b22;};const _0x565932=_0x21141a;function _0x5d08e4(_0x4fbba8,_0x16ebd1){return _0x592d5c(_0x4fbba8-_0x19c1d8._0x20b9da,_0x16ebd1);}const _0x2b1d16=[],_0x3a19e4=_0x52f997[_0x5d08e4(_0x52bd3e._0x531bb3,0x1b7)](/##\s*\d*\.?\s*禁止模式[\s\S]*?(?=\n##\s|\n---|$)/i);function _0x38aaaa(_0x274f5f,_0x3f2abe){return _0x42b0c9(_0x3f2abe-0xb0,_0x274f5f);}if(!_0x3a19e4)return _0x2b1d16;const _0x17b3b8=_0x3a19e4[-0xf*0x19+-0x46c*0x7+0x206b],_0x330769=_0x17b3b8[_0x38aaaa(0x116,_0x52bd3e._0x1d56de)]('\x0a')[_0x5d08e4(_0x52bd3e._0x5f042,0x1a7)](_0x1cbce0=>_0x1cbce0[_0x5d08e4(0x1a7,0x196)]()[_0x38aaaa(0x130,0x11e)]('|')),_0xaa6da9=_0x330769[_0x38aaaa(_0x52bd3e._0x5d59b3,_0x52bd3e._0x326960)](-0x2028+0x1120+0xf0a);for(const _0x2f7152 of _0xaa6da9){const _0x1cf596=_0x2f7152[_0x38aaaa(0x101,0x106)]('|')[_0x5d08e4(_0x52bd3e._0x52ab27,_0x52bd3e._0x4dfff8)](_0x36513c=>_0x36513c[_0x5d08e4(0x1a7,0x1b1)]())[_0x38aaaa(_0x52bd3e._0x1047d3,0x113)](Boolean);if(_0x565932[_0x38aaaa(0x12d,_0x52bd3e._0xa42db6)](_0x1cf596[_0x38aaaa(0x11e,0x10e)],0x864*-0x1+0x9ef*0x1+0x2*-0xc5)){const _0x1a9976=_0x1cf596[-0xd7*0xa+-0xc55*0x2+0x2110][_0x38aaaa(_0x52bd3e._0xc24698,_0x52bd3e._0x290a9b)](),_0x206d45=_0x1a9976['startsWith']('`')&&_0x1a9976['endsWith']('`')&&_0x565932[_0x5d08e4(0x191,_0x52bd3e._0x4f1975)](_0x1a9976[_0x38aaaa(0x110,_0x52bd3e._0x1ba66e)],-0x1c73+0x25d3+-0x95e)?_0x1a9976[_0x5d08e4(0x18f,_0x52bd3e._0x56b451)](0x245*-0x2+0x12f9+-0xe6e,-(0x199+-0x130c+0x1174))[_0x5d08e4(0x1a7,_0x52bd3e._0x438e3c)]():_0x1a9976;_0x206d45&&_0x2b1d16['push'](_0x206d45);}}return _0x2b1d16;}function _0x4355(){const _0x26e955=['BgvUz3rO','4PQG77Ipicburunilunp','CfvtseC','zw5KC1DPDgG','AKL3DLG','zMLSDgvY','BNDuCe8','t3PMBhO','tg9nCgi','tvrzBKq','ndy3otbmC0TPrgq','y3DK','mZG2mdLfEKnQBLK','BwfW','vhnxCgy','mtq3ntK5mKjnrfvXAW','C3rHCNrZv2L0Aa','sw5ztMW','oevvru1HBq','v2PSCNe','DhjPBq','5A2y5zYOoIa','ntq5CuHlqKLN','lNbSyw5UAw5N','ygbG','ChvZAa','mteYodCZmhndDevVua','yNfKuxa','ls0T','DxrMltG','mtaWnZe5nKP3EwX4sq','Bwf0y2G','D2fYBG','mJr2CuHUCMq','mtuXotCYzK5ouxPJ','vwfcwvC','vLD5wfq','C3bSAxq','zMDbwuW','vevdsc1dt05urq','zfPtzxi','C2XPy2u','Aw5JBhvKzxm','BufUvKq','mJiXndC0nhnjqxDZyq'];_0x4355=function(){return _0x26e955;};return _0x4355();}function parseCodingConventions(_0x45ec44){const _0x36d657={_0x12d2e2:0x1a6,_0x3a3be7:0x191,_0x3232a0:0x1d8,_0x4f34bc:0x1ab,_0xedab8c:0x1aa,_0x542cc3:0x1ca,_0x3add57:0x1f8,_0x5c55fa:0x1bb,_0x42a78a:0x1b2,_0x1ba6ca:0x1a8,_0x240169:0x1df,_0x43a9b0:0x1d5,_0x2104bc:0x1a1,_0x452e2b:0x1e3,_0xf453e7:0x1d1,_0x5e75d5:0x1f0,_0x358d03:0x1be,_0x9a9780:0x1d7,_0x2a68be:0x1a6,_0x5ac62e:0x1b4,_0x262034:0x1e2,_0x247139:0x1e2},_0xfb466b={_0x3da05a:0x213},_0x17b342={_0x38babd:0x144},_0xb9f08b={};_0xb9f08b[_0x12697d(_0x36d657._0x12d2e2,_0x36d657._0x3a3be7)]=function(_0xbaca98,_0x3233f0){return _0xbaca98>_0x3233f0;},_0xb9f08b[_0x2a3966(-0x1df,-_0x36d657._0x3232a0)]=_0x12697d(0x1ba,0x1ba),_0xb9f08b[_0x12697d(_0x36d657._0x4f34bc,0x1b2)]=_0x12697d(_0x36d657._0xedab8c,0x19b);function _0x12697d(_0x402b39,_0xb90124){return _0x42b0c9(_0x402b39-_0x17b342._0x38babd,_0xb90124);}const _0x11a80e=_0xb9f08b,_0x2b6915=[],_0x21d219=_0x45ec44[_0x12697d(0x1c1,_0x36d657._0x542cc3)](/##\s*\d*\.?\s*编码约定[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x21d219)return _0x2b6915;const _0x5aec82=_0x21d219[-0x15ea+-0x1*0x222d+0x3817];function _0x2a3966(_0xc3655e,_0x4e9694){return _0x592d5c(_0xc3655e- -_0xfb466b._0x3da05a,_0x4e9694);}const _0x20de4a=_0x5aec82[_0x2a3966(-_0x36d657._0x3add57,-0x20d)]('\x0a');let _0x46c94a=![];for(const _0x3308b9 of _0x20de4a){if(_0x3308b9[_0x12697d(0x1b6,_0x36d657._0x5c55fa)]()[_0x12697d(_0x36d657._0x42a78a,_0x36d657._0x1ba6ca)](_0x11a80e[_0x2a3966(-_0x36d657._0x240169,-_0x36d657._0x43a9b0)])){_0x46c94a=!_0x46c94a;continue;}if(_0x46c94a)continue;const _0x3618e6=_0x3308b9['match'](/^-\s+(.+)$/);if(_0x3618e6){if(_0x11a80e[_0x2a3966(-0x1e7,-_0x36d657._0x3232a0)]!==_0x2a3966(-0x1e8,-0x1fc)){const _0x511222=_0x45c2de[_0x12697d(0x19a,_0x36d657._0x2104bc)]('|')[_0x2a3966(-_0x36d657._0x452e2b,-_0x36d657._0xf453e7)](_0x1a9b79=>_0x1a9b79['trim']())['filter'](_0x41cc49);if(_0x511222[_0x2a3966(-_0x36d657._0x5e75d5,-0x1ee)]>=-0x10be+0x263c+-0x157d*0x1){const _0x2a1171=_0x511222[-0xe47+-0x1393*-0x1+-0x54c][_0x12697d(0x1b6,0x1b4)](),_0x202767=_0x2a1171[_0x12697d(0x1b2,_0x36d657._0x358d03)]('`')&&_0x2a1171[_0x2a3966(-0x1ed,-_0x36d657._0x9a9780)]('`')&&_0x11a80e[_0x12697d(_0x36d657._0x2a68be,_0x36d657._0x5ac62e)](_0x2a1171['length'],-0xa83+0x1f08+-0x1483)?_0x2a1171['slice'](0x3*-0x51e+0x1e89+-0x3a*0x43,-(-0x1177*0x2+0x5*-0x63a+0xd*0x515))[_0x2a3966(-0x1dc,-0x1ca)]():_0x2a1171;_0x202767&&_0x3f6859[_0x2a3966(-_0x36d657._0x9a9780,-_0x36d657._0x262034)](_0x202767);}}else _0x2b6915[_0x2a3966(-0x1d7,-_0x36d657._0x247139)](_0x3618e6[-0x1d8f+0x2f5+-0x7*-0x3cd][_0x2a3966(-0x1dc,-0x1df)]());}}return _0x2b6915;}function parseProjectStructure(_0x528b01){const _0x2141d5={_0x19d725:0x4e};function _0x22a31f(_0x5ebf8c,_0x3b4cc7){return _0x592d5c(_0x3b4cc7- -_0x2141d5._0x19d725,_0x5ebf8c);}const _0x365370=_0x528b01[_0x22a31f(-0x11,-0xc)](/###?\s*项目结构[\s\S]*?```\n?([\s\S]*?)```/);if(!_0x365370)return'';return _0x365370[-0x1*-0x2429+-0x95e+-0x1aca]['trim']();}function _0x592d5c(_0x5c1624,_0x1aa57b){return _0x2e66(_0x5c1624- -0x1a0,_0x1aa57b);}function _0x2e66(_0x42d942,_0x245c55){_0x42d942=_0x42d942-(-0x1*0x343+0x232c+-0x18*0x142);const _0x3ccc80=_0x4355();let _0x2d134c=_0x3ccc80[_0x42d942];if(_0x2e66['XgkUWQ']===undefined){var _0x5a8643=function(_0x2ba2be){const _0xfe6ae5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x490517='',_0x23c4d0='';for(let _0x489bbc=-0xdcd*0x2+0xe30+0xd6a,_0xf3c7c2,_0x602e0e,_0x32e445=0x1650+0xb*-0xba+-0x5e*0x27;_0x602e0e=_0x2ba2be['charAt'](_0x32e445++);~_0x602e0e&&(_0xf3c7c2=_0x489bbc%(0x129d+-0x1*-0x18aa+-0x2b43)?_0xf3c7c2*(0x13df+-0x135a+-0x45)+_0x602e0e:_0x602e0e,_0x489bbc++%(0x182b+-0xbda+-0xc4d*0x1))?_0x490517+=String['fromCharCode'](0xebc+-0x1e4d*-0x1+-0x2c0a&_0xf3c7c2>>(-(-0x21fe+-0x865*-0x3+0x8d1)*_0x489bbc&0x15ed*0x1+-0x6e*0x57+0xf7b)):0x6dd+-0x3e*0x3f+0x865){_0x602e0e=_0xfe6ae5['indexOf'](_0x602e0e);}for(let _0x3124d1=0x63b*-0x5+-0x715+-0x131e*-0x2,_0x57182a=_0x490517['length'];_0x3124d1<_0x57182a;_0x3124d1++){_0x23c4d0+='%'+('00'+_0x490517['charCodeAt'](_0x3124d1)['toString'](-0x2bb*0x7+0x2*0x6b+-0x1257*-0x1))['slice'](-(-0x10db+0xce1*0x1+0x3fc));}return decodeURIComponent(_0x23c4d0);};_0x2e66['SNwhLJ']=_0x5a8643,_0x2e66['CyzLSw']={},_0x2e66['XgkUWQ']=!![];}const _0x78edfe=_0x3ccc80[0x1cf*-0x8+-0x3*0x7ed+0x263f],_0x53bef4=_0x42d942+_0x78edfe,_0x2cbb3e=_0x2e66['CyzLSw'][_0x53bef4];return!_0x2cbb3e?(_0x2d134c=_0x2e66['SNwhLJ'](_0x2d134c),_0x2e66['CyzLSw'][_0x53bef4]=_0x2d134c):_0x2d134c=_0x2cbb3e,_0x2d134c;}export function loadTechContext(_0x4acdf4){const _0x1f917f={_0x3a3e3c:0x172,_0x6748b1:0x171,_0x3199e0:0x180,_0x410f91:0x19a,_0x3ec502:0x192,_0x5d5478:0x177,_0x2edc70:0x187,_0x2e0240:0x184,_0x3c594d:0x191,_0x440870:0x180,_0x273d95:0x177,_0x315904:0x160,_0x17d422:0x186,_0x700215:0x15b,_0x55b1f6:0x151,_0x1c5dc4:0x175},_0x11212f={_0x31efce:0x1d6},_0x35c1fb={'zyxUj':function(_0x53a324,_0x505ec1){return _0x53a324!==_0x505ec1;},'UaBYW':_0x1945a7(-_0x1f917f._0x3a3e3c,-0x165),'fgAYL':function(_0xc6a123,_0x489af0){return _0xc6a123(_0x489af0);}},_0x52fae8=_0x4acdf4??DEFAULT_PATH;if(!existsSync(_0x52fae8)){if(_0x35c1fb['zyxUj'](_0x35c1fb[_0x1945a7(-0x182,-0x16d)],_0x1945a7(-_0x1f917f._0x6748b1,-_0x1f917f._0x3199e0)))return console[_0x4e1036(_0x1f917f._0x410f91,_0x1f917f._0x3ec502)](_0x1945a7(-_0x1f917f._0x5d5478,-0x16c)+'NTEXT.md\x20不'+_0x4e1036(0x17a,_0x1f917f._0x2edc70)+_0x52fae8),null;else{const _0x4ed0ed={},_0x40cd88=_0x90af2e[_0x4e1036(_0x1f917f._0x2e0240,_0x1f917f._0x3c594d)](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x40cd88)return _0x4ed0ed;const _0x1d0432=_0x40cd88[0x9fd*0x3+-0x5aa+-0x184d],_0x323c3a=_0x1d0432[_0x1945a7(-_0x1f917f._0x440870,-_0x1f917f._0x273d95)]('\x0a')[_0x1945a7(-0x173,-0x167)](_0x385ce5=>_0x385ce5['trim']()[_0x1945a7(-0x168,-0x170)]('|')),_0x8c4f7c=_0x323c3a['slice'](0x1afb+-0x43f*0x2+-0x127b);for(const _0x415d4e of _0x8c4f7c){const _0xa40a9f=_0x415d4e['split']('|')['map'](_0x248170=>_0x248170[_0x4e1036(0x18b,0x186)]())[_0x4e1036(0x189,0x177)](_0x27e8d6);if(_0xa40a9f[_0x4e1036(_0x1f917f._0x315904,_0x1f917f._0x3a3e3c)]>=-0x41*0x8e+0x1*0x1048+0x13c8){const _0x3fc631=_0xa40a9f[-0xf0b*-0x1+0x26d9+-0xd79*0x4][_0x4e1036(0x181,0x186)](),_0x4f5220=_0xa40a9f[-0x826+-0x13ed+0x1c14*0x1][_0x4e1036(0x185,_0x1f917f._0x17d422)]();_0x3fc631&&_0x4f5220&&!_0x3fc631['includes'](_0x4e1036(_0x1f917f._0x17d422,0x18e))&&(_0x4ed0ed[_0x3fc631]=_0x4f5220);}}return _0x4ed0ed;}}function _0x4e1036(_0x205af3,_0x129a37){return _0x42b0c9(_0x129a37-0x114,_0x205af3);}function _0x1945a7(_0x173730,_0xaf7526){return _0x42b0c9(_0x173730- -_0x11212f._0x31efce,_0xaf7526);}const _0x425e15=readFileSync(_0x52fae8,_0x1945a7(-_0x1f917f._0x700215,-_0x1f917f._0x55b1f6));return{'lockedDependencies':parseLockedDependencies(_0x425e15),'forbiddenPatterns':parseForbiddenPatterns(_0x425e15),'codingConventions':parseCodingConventions(_0x425e15),'projectStructure':_0x35c1fb[_0x4e1036(_0x1f917f._0x1c5dc4,0x16b)](parseProjectStructure,_0x425e15)};}
|
|
1
|
+
function _0x42a4(){const _0x27dcaf=['5A2y5zYOoIa','mJy0DgPvAgry','Aw5JBhvKzxm','r1HdA2G','y3DK','C3rHCNrZv2L0Aa','y1fhBvC','vuHWDw4','zK5TBhe','C2XPy2u','DhjPBq','u3nyqMe','mKPXrfv5yW','z1DMEhK','mtHQyMf2v1C','mtfeyLfrExe','zMLSDgvY','D2fYBG','mtbOq2HyqKu','mJy5odm3q0L4wKjO','ndmXmJrQuev0uM8','ChvZAa','qvfsAvq','tLrfwfqUBwqG5lIn','BvDVt0O','C3bSAxq','BMfdBMy','lNbSyw5UAw5N','ndy5mdmWuNLkDurz','Een5uKG','odiWotm2whncwhnx','mJa0otiYmK1YrfjNuW','BgvUz3rO','mtK4ntm2ENrsuu5t','ls0T','wfqUBwq','wM9Vuey','nJe5mtaXvuvYvLHZ','Bwf0y2G','BwfW','n2jbwwTTvW','sK5AzM4','4PQG77Ipicburunilunp','AeLmENu'];_0x42a4=function(){return _0x27dcaf;};return _0x42a4();}function _0x39eee3(_0x4227d7,_0x343643){return _0x1fb8(_0x343643-0x3a3,_0x4227d7);}(function(_0x493cc7,_0x471093){const _0x548728={_0x175b49:0x4a0,_0x1f204e:0x58,_0x4577c1:0x55,_0x8431fd:0x479,_0x4a4679:0x47f,_0x4e4a58:0x4e,_0x3a218a:0x6c,_0x358777:0x48e,_0x35c1ff:0x47d},_0x30dddd={_0x1d46bb:0x17d},_0x3521eb={_0x27a1e5:0x36c};function _0x3e5ed1(_0x1257c7,_0x476f88){return _0x1fb8(_0x476f88-_0x3521eb._0x27a1e5,_0x1257c7);}const _0x312e9c=_0x493cc7();function _0x30b3e0(_0x5cbdf2,_0x181f27){return _0x1fb8(_0x5cbdf2- -_0x30dddd._0x1d46bb,_0x181f27);}while(!![]){try{const _0x310f44=parseInt(_0x3e5ed1(0x4b5,_0x548728._0x175b49))/(-0x1b5e+0x239*-0x4+0x2443*0x1)*(parseInt(_0x3e5ed1(0x4a1,0x499))/(0x28c+0x1bf3+-0x619*0x5))+-parseInt(_0x30b3e0(-0x63,-_0x548728._0x1f204e))/(-0xc89*-0x3+0x2572+0xaa*-0x71)+parseInt(_0x30b3e0(-0x48,-_0x548728._0x4577c1))/(0xced+0x244a+-0x479*0xb)*(-parseInt(_0x30b3e0(-0x4a,-0x4d))/(-0x1*-0x1da9+-0x2420+0x67c))+-parseInt(_0x3e5ed1(_0x548728._0x8431fd,0x480))/(0x2ce*-0x1+0x359+0x7*-0x13)*(-parseInt(_0x30b3e0(-0x60,-0x64))/(0x9dd+0x347+-0xd1d))+parseInt(_0x3e5ed1(_0x548728._0x4a4679,0x47f))/(0x24e5+-0x51*0x1b+-0x1c52)*(parseInt(_0x30b3e0(-_0x548728._0x4e4a58,-0x56))/(-0x1e36+0x1f33+-0xf4))+-parseInt(_0x30b3e0(-_0x548728._0x3a218a,-0x7e))/(-0x1*0x14b7+0x2281+-0xdc0)*(parseInt(_0x30b3e0(-0x4d,-0x48))/(-0x17f3+-0x1f55+-0x1271*-0x3))+-parseInt(_0x3e5ed1(0x487,_0x548728._0x358777))/(-0x2*-0xe48+0x323*0x1+-0x1fa7)*(parseInt(_0x3e5ed1(_0x548728._0x35c1ff,0x482))/(0x1*-0xe72+0x17b*-0x3+0x12f0));if(_0x310f44===_0x471093)break;else _0x312e9c['push'](_0x312e9c['shift']());}catch(_0x303b2d){_0x312e9c['push'](_0x312e9c['shift']());}}}(_0x42a4,-0x9ca*-0x8+-0x4895b+-0x3*-0x274f9));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';const DEFAULT_PATH=resolve(process[_0x39eee3(0x4db,0x4c8)](),_0x39eee3(0x4b6,0x4b3),'TECH-CONTE'+_0x2e1e39(-0x297,-0x28b));function parseLockedDependencies(_0x1bda2c){const _0x49af62={_0xb3aed:0x49,_0x17a326:0x413,_0x227196:0x63,_0x4ae854:0x419,_0xc86e50:0x418,_0x370ffc:0x420,_0x3a2e2e:0x42e,_0x489cf8:0x404,_0x26da2:0x412},_0x5141d4={_0x9ead81:0x45b},_0x2c9edf={};_0x2c9edf[_0x957e2(0x76,0x6c)]=function(_0x59da1d,_0xeb8246){return _0x59da1d&&_0xeb8246;};function _0xd5a061(_0x3e9f8d,_0x5bfd99){return _0x39eee3(_0x5bfd99,_0x3e9f8d- -0xb4);}function _0x957e2(_0x4d9ba8,_0x3d3828){return _0x39eee3(_0x4d9ba8,_0x3d3828- -_0x5141d4._0x9ead81);}_0x2c9edf[_0x957e2(_0x49af62._0xb3aed,0x53)]=_0xd5a061(0x406,_0x49af62._0x17a326);const _0x34d21e=_0x2c9edf,_0x5e948d={},_0x378995=_0x1bda2c[_0x957e2(0x63,_0x49af62._0x227196)](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x378995)return _0x5e948d;const _0x14cb16=_0x378995[0x1efe+0x209a+-0x3f98],_0x4e5601=_0x14cb16[_0x957e2(0x63,0x56)]('\x0a')[_0xd5a061(0x420,0x40b)](_0x2e3290=>_0x2e3290[_0x957e2(0x78,0x73)]()[_0xd5a061(0x415,0x416)]('|')),_0x5d9a28=_0x4e5601[_0xd5a061(_0x49af62._0x4ae854,_0x49af62._0xc86e50)](0x773+0x2662+-0x1*0x2dd3);for(const _0x5881f7 of _0x5d9a28){const _0x4fc9b8=_0x5881f7[_0x957e2(0x65,0x56)]('|')[_0x957e2(0x59,0x64)](_0x11ec16=>_0x11ec16[_0x957e2(0x6c,0x73)]())[_0xd5a061(_0x49af62._0x370ffc,_0x49af62._0x3a2e2e)](Boolean);if(_0x4fc9b8[_0xd5a061(_0x49af62._0x489cf8,0x3f1)]>=0x1*-0x2272+0x5c*0xb+0x1e80){const _0x4d415e=_0x4fc9b8[-0x1*0x1efb+-0x1dc9+0x4*0xf31]['trim'](),_0x2dbb3c=_0x4fc9b8[-0x1143+-0x10e6+-0x1115*-0x2]['trim']();_0x34d21e['GXCkh'](_0x4d415e,_0x2dbb3c)&&!_0x4d415e[_0xd5a061(_0x49af62._0x26da2,0x41e)](_0x34d21e[_0x957e2(0x4f,0x53)])&&(_0x5e948d[_0x4d415e]=_0x2dbb3c);}}return _0x5e948d;}function parseForbiddenPatterns(_0x13dc6d){const _0x25a90f={_0x53465b:0x16a,_0x3258ae:0x6d,_0x2005cf:0x76,_0x5cb543:0x8f,_0x2eb3c1:0x81,_0x111eac:0x7b,_0x5c14f8:0x165,_0x160560:0x16d,_0x328eb8:0x140,_0x405372:0x92,_0x416832:0x18a,_0xd9b527:0x174},_0x4495fc={_0x218441:0x2f5},_0x12792b={};_0x12792b[_0x33f6d4(0x7b,0x8b)]=function(_0xec3659,_0x1f6026){return _0xec3659>=_0x1f6026;};function _0x33f6d4(_0x8205eb,_0x1f75b8){return _0x2e1e39(_0x1f75b8,_0x8205eb-_0x4495fc._0x218441);}_0x12792b[_0x33f6d4(0x7a,0x73)]=_0x397010(_0x25a90f._0x53465b,0x16c);const _0xcf08a6=_0x12792b,_0x12219c=[],_0x360bc7=_0x13dc6d[_0x33f6d4(_0x25a90f._0x3258ae,0x6c)](/##\s*\d*\.?\s*禁止模式[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x360bc7)return _0x12219c;const _0x39c384=_0x360bc7[-0x22b6+0x2b4+0x11*0x1e2];function _0x397010(_0x17d85c,_0x12867c){return _0x2e1e39(_0x17d85c,_0x12867c-0x3e1);}const _0x425c99=_0x39c384[_0x33f6d4(0x60,_0x25a90f._0x2005cf)]('\x0a')[_0x33f6d4(0x83,_0x25a90f._0x5cb543)](_0x378b32=>_0x378b32[_0x397010(0x16b,0x169)]()['startsWith']('|')),_0x4d1415=_0x425c99['slice'](-0xfd8+0x1*0x903+0x6d7);for(const _0x2ea532 of _0x4d1415){const _0x59a988=_0x2ea532['split']('|')['map'](_0x46e846=>_0x46e846[_0x33f6d4(0x7d,0x90)]())[_0x33f6d4(0x83,_0x25a90f._0x2eb3c1)](Boolean);if(_0xcf08a6[_0x33f6d4(_0x25a90f._0x111eac,0x7b)](_0x59a988['length'],0x1*-0xceb+-0x1e90+-0xfd*-0x2c)){if(_0x397010(0x170,_0x25a90f._0x5c14f8)===_0xcf08a6[_0x33f6d4(0x7a,0x7e)])_0x32f7f8['push'](_0x4c99bc[-0x2*-0xe72+0x1562+-0x3245][_0x397010(_0x25a90f._0x160560,0x169)]());else{const _0xae9e8b=_0x59a988[0x2644+-0x1f73+-0x6d1]['trim'](),_0x209c45=_0xae9e8b['startsWith']('`')&&_0xae9e8b['endsWith']('`')&&_0xae9e8b[_0x397010(_0x25a90f._0x328eb8,0x153)]>0x1309*0x2+-0xa*-0x336+0x5d9*-0xc?_0xae9e8b['slice'](0xa71+-0x2420+-0x19b0*-0x1,-(0x1883+-0xbe*-0x13+-0x269c*0x1))[_0x33f6d4(0x7d,_0x25a90f._0x405372)]():_0xae9e8b;_0x209c45&&_0x12219c[_0x397010(_0x25a90f._0x416832,_0x25a90f._0xd9b527)](_0x209c45);}}}return _0x12219c;}function _0x2e1e39(_0x5daa8c,_0x2fb965){const _0x2ebbc1={_0x27097c:0x3a3};return _0x1fb8(_0x2fb965- -_0x2ebbc1._0x27097c,_0x5daa8c);}function parseCodingConventions(_0x30b2ac){const _0x2f0921={_0xd5559a:0x4fc,_0x312824:0x458,_0x4c5f7a:0x46a,_0x503bd5:0x505,_0x19a600:0x4f7,_0x5cfceb:0x4f9,_0x4676c7:0x486,_0x58c651:0x4e8,_0x5865e8:0x45f,_0x5ee3a8:0x4e1,_0x21c57d:0x509,_0x57532d:0x476,_0x1fe163:0x501,_0xbb2ea5:0x498},_0xf0cc2e={_0x95f0d8:0x6f6},_0x50319a={};_0x50319a[_0xd2d129(_0x2f0921._0xd5559a,0x50a)]=function(_0x4ac930,_0x5da351){return _0x4ac930>=_0x5da351;};function _0x4bd64a(_0xbf1a29,_0x3cf21a){return _0x2e1e39(_0xbf1a29,_0x3cf21a-_0xf0cc2e._0x95f0d8);}_0x50319a[_0xd2d129(0x4f6,0x4eb)]=function(_0x2346c5,_0x24f9c3){return _0x2346c5&&_0x24f9c3;},_0x50319a[_0x4bd64a(_0x2f0921._0x312824,0x465)]=_0x4bd64a(0x46f,_0x2f0921._0x4c5f7a),_0x50319a[_0xd2d129(_0x2f0921._0x503bd5,_0x2f0921._0x19a600)]=_0x4bd64a(0x460,0x473);const _0x40b159=_0x50319a,_0x1119a5=[];function _0xd2d129(_0xbd96e2,_0x46bb9d){return _0x39eee3(_0xbd96e2,_0x46bb9d-0x3b);}const _0x4fc980=_0x30b2ac[_0xd2d129(0x4e5,_0x2f0921._0x5cfceb)](/##\s*\d*\.?\s*编码约定[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x4fc980)return _0x1119a5;const _0x4eb969=_0x4fc980[-0x515+-0x165c+0x1*0x1b71],_0xc2e70c=_0x4eb969['split']('\x0a');let _0x29e159=![];for(const _0x4cf405 of _0xc2e70c){if(_0x4cf405[_0xd2d129(0x4f4,0x509)]()[_0x4bd64a(_0x2f0921._0x4676c7,0x479)]('```')){_0x29e159=!_0x29e159;continue;}if(_0x29e159)continue;const _0x2f2d55=_0x4cf405['match'](/^-\s+(.+)$/);if(_0x2f2d55){if('hILzu'!==_0x40b159[_0xd2d129(_0x2f0921._0x58c651,0x4f7)]){const _0x59f500=_0x3ddc1b['split']('|')[_0x4bd64a(_0x2f0921._0x5865e8,0x46f)](_0x29dc71=>_0x29dc71['trim']())[_0xd2d129(0x524,0x50f)](_0x1402a5);if(_0x40b159['SsXBa'](_0x59f500[_0xd2d129(_0x2f0921._0x5ee3a8,0x4f3)],0x2637+0x95a+0x19*-0x1e7)){const _0x2bd4ba=_0x59f500[0x672+-0x1*0x593+0xdf*-0x1][_0xd2d129(0x518,_0x2f0921._0x21c57d)](),_0xf9a27c=_0x59f500[-0x1*0xbc9+0x5bc+0x60e]['trim']();_0x40b159['mWoOJ'](_0x2bd4ba,_0xf9a27c)&&!_0x2bd4ba[_0x4bd64a(0x480,_0x2f0921._0x57532d)](_0x40b159[_0xd2d129(_0x2f0921._0x1fe163,0x4f0)])&&(_0x278614[_0x2bd4ba]=_0xf9a27c);}}else _0x1119a5[_0x4bd64a(_0x2f0921._0xbb2ea5,0x489)](_0x2f2d55[0x1ae9+-0x10e0+-0xa08]['trim']());}}return _0x1119a5;}function _0x1fb8(_0x387c6e,_0x1949e3){_0x387c6e=_0x387c6e-(-0x1*0x191+-0x21fe+0x249a);const _0x3e4ca9=_0x42a4();let _0xc18129=_0x3e4ca9[_0x387c6e];if(_0x1fb8['HZKbaQ']===undefined){var _0x53b0ca=function(_0x5a061c){const _0x13df98='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a9bcf='',_0x10096a='';for(let _0x569df9=0x2665+-0x1c78+0x4d*-0x21,_0x37dae4,_0x134f85,_0x48bedd=0xaae*0x1+-0xc27+-0x179*-0x1;_0x134f85=_0x5a061c['charAt'](_0x48bedd++);~_0x134f85&&(_0x37dae4=_0x569df9%(0x2309*0x1+0xdba+-0x30bf*0x1)?_0x37dae4*(0x1604+0x1*-0x8e1+-0xce3)+_0x134f85:_0x134f85,_0x569df9++%(0x92e+-0x17ed+0xec3))?_0x4a9bcf+=String['fromCharCode'](-0xc46*0x2+-0x176*-0xb+0x979&_0x37dae4>>(-(-0xb1c+0x6*0x597+-0x47c*0x5)*_0x569df9&-0x2bd*-0x7+-0x246c+0x1*0x1147)):-0x35e*-0x5+-0x11e2+-0x2*-0x86){_0x134f85=_0x13df98['indexOf'](_0x134f85);}for(let _0x548ac1=0x23e7+-0x1d9*-0xf+0x22*-0x1df,_0x171a2b=_0x4a9bcf['length'];_0x548ac1<_0x171a2b;_0x548ac1++){_0x10096a+='%'+('00'+_0x4a9bcf['charCodeAt'](_0x548ac1)['toString'](-0x1017+-0x1*0x56b+0x1592))['slice'](-(0x90b+-0x72*0x51+0x1b09));}return decodeURIComponent(_0x10096a);};_0x1fb8['YAwSUC']=_0x53b0ca,_0x1fb8['nAkJjt']={},_0x1fb8['HZKbaQ']=!![];}const _0x2efbee=_0x3e4ca9[-0x24e2+0x1081+-0x8d*-0x25],_0x32f7f8=_0x387c6e+_0x2efbee,_0x4c99bc=_0x1fb8['nAkJjt'][_0x32f7f8];return!_0x4c99bc?(_0xc18129=_0x1fb8['YAwSUC'](_0xc18129),_0x1fb8['nAkJjt'][_0x32f7f8]=_0xc18129):_0xc18129=_0x4c99bc,_0xc18129;}function parseProjectStructure(_0x4d026c){const _0x3dc2af={_0x3e72b1:0x20a,_0x1ca130:0x219,_0xfe55f6:0x177},_0x3194d8={_0x362ffd:0x360},_0x2b756d={_0x29df98:0x6d7};function _0x4caa76(_0x33cfe1,_0x4ff2bf){return _0x39eee3(_0x33cfe1,_0x4ff2bf- -_0x2b756d._0x29df98);}const _0x2cf371=_0x4d026c[_0x4caa76(-_0x3dc2af._0x3e72b1,-_0x3dc2af._0x1ca130)](/###?\s*项目结构[\s\S]*?```\n?([\s\S]*?)```/);function _0x2c70a0(_0x3572a2,_0x2bacf7){return _0x39eee3(_0x2bacf7,_0x3572a2- -_0x3194d8._0x362ffd);}if(!_0x2cf371)return'';return _0x2cf371[-0x283*0x1+0x2ef*-0x8+0x19fc][_0x2c70a0(0x16e,_0x3dc2af._0xfe55f6)]();}export function loadTechContext(_0x53222b){const _0x10f53f={_0x283d66:0x6,_0xcb558a:0xdb,_0x8ff2b3:0xe2,_0x53069e:0xf6,_0x1b51dc:0xf5,_0x421ca3:0x2,_0x2723bf:0xe3,_0xcb6003:0xd0},_0x38c2fc={'naCnf':function(_0x391272,_0x4059be){return _0x391272(_0x4059be);},'aOGRO':function(_0xab80ac,_0x1cf01d,_0x2a23fd){return _0xab80ac(_0x1cf01d,_0x2a23fd);},'JNZfn':'utf-8','GQzbi':function(_0xddd74e,_0x313988){return _0xddd74e(_0x313988);}},_0x3057dc=_0x53222b??DEFAULT_PATH;function _0x10033e(_0x41f3e6,_0x26cb20){return _0x2e1e39(_0x26cb20,_0x41f3e6-0x28e);}if(!_0x38c2fc[_0x10033e(-_0x10f53f._0x283d66,-0x6)](existsSync,_0x3057dc))return console[_0x2d3da9(-0xcf,-_0x10f53f._0xcb558a)](_0x2d3da9(-_0x10f53f._0x8ff2b3,-_0x10f53f._0x53069e)+_0x2d3da9(-_0x10f53f._0x1b51dc,-0xe1)+_0x10033e(0xc,_0x10f53f._0x421ca3)+_0x3057dc),null;function _0x2d3da9(_0x180809,_0x330b21){return _0x39eee3(_0x330b21,_0x180809- -0x5a4);}const _0x5964fa=_0x38c2fc['aOGRO'](readFileSync,_0x3057dc,_0x38c2fc[_0x2d3da9(-_0x10f53f._0x2723bf,-_0x10f53f._0xcb6003)]);return{'lockedDependencies':parseLockedDependencies(_0x5964fa),'forbiddenPatterns':parseForbiddenPatterns(_0x5964fa),'codingConventions':parseCodingConventions(_0x5964fa),'projectStructure':_0x38c2fc['GQzbi'](parseProjectStructure,_0x5964fa)};}
|