specops 3.14.0 → 3.16.0
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/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/config/kanbanSentinel.js +1 -1
- package/dist/config/modelConfig.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/server/sentinel-server.d.ts +7 -0
- package/dist/server/sentinel-server.js +1 -0
- package/dist/swarm/bridge.d.ts +87 -0
- package/dist/swarm/bridge.js +1 -0
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +5 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2e4ab9,_0x50d557){const _0x5f3bc8={_0x9dff0:0x328,_0x4653d1:0x314,_0x51e13d:0x31e,_0x106591:0x322,_0x248a8e:0x359,_0x1754a3:0x302,_0x50a2a1:0x32c,_0x270164:0x30d,_0x8bf908:0x313},_0x5bb1b9={_0x3bed70:0x1eb},_0x2e78d5={_0x4b10bb:0x1f6};function _0x3974a1(_0x42e0a7,_0x790646){return _0x1f82(_0x42e0a7-_0x2e78d5._0x4b10bb,_0x790646);}function _0x32c6e0(_0x44e6d3,_0x1e4019){return _0x1f82(_0x1e4019-_0x5bb1b9._0x3bed70,_0x44e6d3);}const _0x4246d5=_0x2e4ab9();while(!![]){try{const _0x40bea2=parseInt(_0x3974a1(0x31a,_0x5f3bc8._0x9dff0))/(-0x7f*-0x22+-0xc98*0x2+0x853)*(-parseInt(_0x32c6e0(0x337,0x325))/(0x916*-0x2+0xb72+0x6bc))+parseInt(_0x3974a1(_0x5f3bc8._0x4653d1,_0x5f3bc8._0x51e13d))/(0x3*0x1f6+0x1b*0xd3+-0xe10*0x2)+-parseInt(_0x32c6e0(0x31d,0x31f))/(0x3be*-0x4+-0x104b+-0x1*-0x1f47)*(parseInt(_0x3974a1(_0x5f3bc8._0x106591,0x316))/(-0x138e+0x1cf4+-0x961))+parseInt(_0x3974a1(0x348,_0x5f3bc8._0x248a8e))/(-0x2de*0x2+0x3*0xb5d+-0x1c55)+-parseInt(_0x32c6e0(0x2e3,_0x5f3bc8._0x1754a3))/(-0x3*-0xb96+0x1b77+-0x1*0x3e32)+-parseInt(_0x3974a1(_0x5f3bc8._0x50a2a1,_0x5f3bc8._0x270164))/(-0x3*-0x7ef+0x1*-0xec2+-0x903)+parseInt(_0x32c6e0(0x306,_0x5f3bc8._0x8bf908))/(-0x1f*0x8b+-0x853+-0x1931*-0x1);if(_0x40bea2===_0x50d557)break;else _0x4246d5['push'](_0x4246d5['shift']());}catch(_0x4db2e3){_0x4246d5['push'](_0x4246d5['shift']());}}}(_0x252b,-0x573d7+-0xd*0x660f+0x130ded));import{readFileSync,existsSync}from'node:fs';function _0x1f82(_0x4122f6,_0x4eaa07){_0x4122f6=_0x4122f6-(-0x1200+-0x1420+0x139a*0x2);const _0x2c9e56=_0x252b();let _0x3931dc=_0x2c9e56[_0x4122f6];if(_0x1f82['kQWhif']===undefined){var _0x414d98=function(_0x463f1c){const _0x44f69f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ab479='',_0x23ebf3='';for(let _0x5eef47=0x6c7*-0x2+-0x1106+0x13*0x19c,_0xbb7e99,_0x5e363a,_0x13a11b=0x1621+-0x127c+0x3*-0x137;_0x5e363a=_0x463f1c['charAt'](_0x13a11b++);~_0x5e363a&&(_0xbb7e99=_0x5eef47%(0x186e+-0x26d2+0xe68)?_0xbb7e99*(-0x22ae*0x1+0x1*0x117f+0x116f)+_0x5e363a:_0x5e363a,_0x5eef47++%(-0x15c0+0x1109+0x4bb))?_0x2ab479+=String['fromCharCode'](0xcb5*-0x3+-0x19d+-0x28bb*-0x1&_0xbb7e99>>(-(-0x5bf*0x1+-0x58a+0xb4b)*_0x5eef47&0x9*0x452+0x1*-0x1b8b+-0xb51)):-0xc63*-0x1+-0x1*-0x176a+-0x23cd){_0x5e363a=_0x44f69f['indexOf'](_0x5e363a);}for(let _0x18f464=-0x1*-0x1558+0x1*0x10b8+-0x2610,_0x28648e=_0x2ab479['length'];_0x18f464<_0x28648e;_0x18f464++){_0x23ebf3+='%'+('00'+_0x2ab479['charCodeAt'](_0x18f464)['toString'](-0x7e1*-0x4+-0x2503+0x1*0x58f))['slice'](-(-0x9db*0x3+0x45*-0xe+0x2159));}return decodeURIComponent(_0x23ebf3);};_0x1f82['BTAIok']=_0x414d98,_0x1f82['eOuDvZ']={},_0x1f82['kQWhif']=!![];}const _0x34174a=_0x2c9e56[0x546+0x1e51+0x2397*-0x1],_0x509e87=_0x4122f6+_0x34174a,_0x11dad4=_0x1f82['eOuDvZ'][_0x509e87];return!_0x11dad4?(_0x3931dc=_0x1f82['BTAIok'](_0x3931dc),_0x1f82['eOuDvZ'][_0x509e87]=_0x3931dc):_0x3931dc=_0x11dad4,_0x3931dc;}import{resolve}from'node:path';import{homedir}from'node:os';export const DEFAULT_MODEL_PRIORITY=['minimax-cn'+_0x5383de(0x464,0x450)+_0x43ce9c(-0x1d5,-0x1d4)+_0x5383de(0x46b,0x454)+_0x5383de(0x481,0x46c),_0x5383de(0x469,0x44a)+_0x5383de(0x464,0x483)+_0x5383de(0x46d,0x479)+_0x43ce9c(-0x1ea,-0x1e0),_0x43ce9c(-0x1c6,-0x1c5)+_0x5383de(0x482,0x49e)+'net-4-2025'+'0514',_0x5383de(0x47c,0x486)+_0x43ce9c(-0x1dd,-0x1bf)+_0x43ce9c(-0x1d6,-0x1f2)];const _0x3b0608={};_0x3b0608[_0x5383de(0x469,0x458)+_0x5383de(0x464,0x454)+_0x43ce9c(-0x1f0,-0x1d2)]='minimax-cn'+'-coding-pl'+'an',_0x3b0608[_0x43ce9c(-0x1a5,-0x1c5)]=_0x43ce9c(-0x1c7,-0x1cb),_0x3b0608[_0x43ce9c(-0x1e2,-0x1e7)]=_0x5383de(0x485,0x46d),_0x3b0608['kimi-for-c'+_0x5383de(0x47f,0x487)]='kimi-for-c'+_0x5383de(0x47b,0x478),_0x3b0608[_0x5383de(0x46a,0x481)+_0x5383de(0x45b,0x477)]='my-qwen-pr'+_0x43ce9c(-0x1af,-0x1cc);function _0x43ce9c(_0x5438d9,_0x47ecd7){const _0x5aa918={_0x8c8d52:0x307};return _0x1f82(_0x47ecd7- -_0x5aa918._0x8c8d52,_0x5438d9);}function _0x252b(){const _0x1343f8=['mK9WwuX3DG','B3zPzgvY','yw50AhjVCgLJ','8j+tIIdMQkhLNOVPHy3NVA7MKzJOPOek','r1DUEei','BgvUz3rO','ufzIAwC','B2rPBMC','yw50AhjVCgLJlW','CgfYC2u','C3rHCNrZv2L0Aa','B2rPBMCV','vfPLshC','C3bLzwq','y2XHDwrLlxnVBG','lMnVBMzPzY9VCa','vwXbreu','z29Vz2XL','A2LlAxC','zu5uAge','thvptNm','vfLkrgy','Bw9KzwW','ugDpEuC','ndq1nJC2nffwA3Pmtq','ChjVDMLKzxi','Dw9lDfK','DKfOsgK','BMv0ltq','DMfSDwvZ','mJq0mZi4mfziy1fMsW','DxrMltG','BMnVzguUANnVBG','ELjos2i','vMvMqvC','icaG5PYa5l2Z5y+V55sOoIa','zgLUzY1WBgfUlW','mJm5mZuYounMvw1IuG','CgrosuK','z29Vz2XLlW','B3zPzgvYlW','u052qwS','zw50CMLLCW','otG4otG3zLHZvxzs','s2vis2W','5PYQ6k6+572U','lu0YlJu','mtm1otiXntfdshbrvwy','C2XPy2u','lwnVzgLUzY1WBa','Bw9KzwXZ','nvvmzNrxEG','DLzeBwu','BwfW','BwLUAw1HEc1JBG','BxKTCxDLBI1WCG','lu0YlJuTAgLNAa','icaG5y+V55sOifbYB3y','yw4VtwLUAu1HEa','ndiXmdGYogHXq1PxBG','yw4V','ody3mdmYsMXnr1LI','z2DizLC','A2v5CW','zgLUzY1WBgfU'];_0x252b=function(){return _0x1343f8;};return _0x252b();}_0x3b0608['zhipuai-co'+_0x43ce9c(-0x1ef,-0x1ea)]='zhipuai-co'+_0x43ce9c(-0x1d2,-0x1ce);export const MODEL_PROVIDERS=_0x3b0608;function _0x5383de(_0x25a2ad,_0x8112cf){return _0x1f82(_0x25a2ad-0x33a,_0x8112cf);}function getOpenCodeConfigPath(){const _0x524bd6={_0x3b7cba:0x3e9,_0x1b3d85:0x3dd,_0x236a82:0x41e,_0x5abd1c:0x40b,_0x11d44d:0x3db,_0x3c4490:0x3f6},_0x5bc3d={_0x279474:0x5c9},_0x15fce5={_0x165b66:0x3bc};function _0x42df4d(_0x40a7a8,_0x49720c){return _0x5383de(_0x49720c- -_0x15fce5._0x165b66,_0x40a7a8);}const _0x21548a={};function _0x470ce9(_0xc0c45b,_0xefb2a7){return _0x43ce9c(_0xc0c45b,_0xefb2a7-_0x5bc3d._0x279474);}_0x21548a[_0x470ce9(_0x524bd6._0x3b7cba,_0x524bd6._0x1b3d85)]=_0x470ce9(_0x524bd6._0x236a82,_0x524bd6._0x5abd1c)+'encode/ope'+_0x470ce9(0x3e4,_0x524bd6._0x11d44d);const _0x559f0a=_0x21548a;return resolve(homedir(),_0x559f0a[_0x470ce9(_0x524bd6._0x3c4490,_0x524bd6._0x1b3d85)]);}function loadOpenCodeConfig(){const _0xc53167={_0x57f248:0x22b,_0x298dd1:0x218,_0x5982ba:0x1fe,_0x29a768:0x212,_0x3b9588:0x234,_0x2e102b:0x4c6,_0x8b3541:0x4bc,_0x270b85:0x1fd,_0x4b3289:0x20c},_0x591778={_0x1cf283:0x38},_0x54001a={_0xe4c6c1:0x51};function _0x3ed6ed(_0xd1094a,_0x386bb4){return _0x43ce9c(_0xd1094a,_0x386bb4- -_0x54001a._0xe4c6c1);}const _0x1c95e1={'TZeHw':function(_0x152edd){return _0x152edd();},'UlADE':_0x3ed6ed(-_0xc53167._0x57f248,-0x22b),'kiKiw':_0x3ed6ed(-0x229,-_0xc53167._0x298dd1)};function _0x16d2fb(_0x68638d,_0x22cc78){return _0x5383de(_0x22cc78-_0x591778._0x1cf283,_0x68638d);}const _0x4d6783=_0x1c95e1[_0x3ed6ed(-_0xc53167._0x5982ba,-_0xc53167._0x29a768)](getOpenCodeConfigPath);if(!existsSync(_0x4d6783))return null;try{const _0x42879a=readFileSync(_0x4d6783,_0x3ed6ed(-0x24b,-0x240));return JSON[_0x3ed6ed(-_0xc53167._0x3b9588,-0x215)](_0x42879a);}catch{return _0x1c95e1[_0x16d2fb(_0xc53167._0x2e102b,_0xc53167._0x8b3541)]!==_0x1c95e1[_0x3ed6ed(-_0xc53167._0x270b85,-_0xc53167._0x4b3289)]?null:null;}}export function getConfiguredModel(){const _0x3dabd7={_0xb2d215:0x17,_0x1603f5:0x3},_0x1db663={_0x617eae:0x205},_0x4f1c05={'uoKtY':function(_0x5a4bdb){return _0x5a4bdb();}},_0x147637=_0x4f1c05[_0x426ee8(-_0x3dabd7._0xb2d215,0x1)](loadOpenCodeConfig);function _0x426ee8(_0x5de3ad,_0xe53067){return _0x43ce9c(_0x5de3ad,_0xe53067-0x1b4);}if(!_0x147637)return null;function _0x59bb40(_0x30c4a,_0x5709be){return _0x43ce9c(_0x5709be,_0x30c4a-_0x1db663._0x617eae);}return _0x147637[_0x426ee8(0x1d,-_0x3dabd7._0x1603f5)];}export function getAvailableProviders(){const _0x463e7e={_0x3b86b4:0x1fc,_0x295978:0x216,_0x17d2c7:0x215,_0x21410b:0x218},_0x3e44f3={_0xc05d9b:0x61},_0x2734df={_0x39cc3a:0x34};function _0x97fa19(_0x2e46b0,_0x28f164){return _0x43ce9c(_0x2e46b0,_0x28f164- -_0x2734df._0x39cc3a);}const _0x4ef71a={'KeHKl':function(_0x376170){return _0x376170();}};function _0xac030(_0x597c99,_0x28f797){return _0x43ce9c(_0x28f797,_0x597c99- -_0x3e44f3._0xc05d9b);}const _0x2753b5=_0x4ef71a[_0x97fa19(-_0x463e7e._0x3b86b4,-_0x463e7e._0x295978)](loadOpenCodeConfig);if(!_0x2753b5||!_0x2753b5[_0xac030(-_0x463e7e._0x17d2c7,-0x21d)])return[];const _0x435385=_0x2753b5[_0xac030(-_0x463e7e._0x17d2c7,-_0x463e7e._0x21410b)];return Object[_0x97fa19(-0x215,-0x203)](_0x435385);}export function getModelsForProvider(_0x85de6a){const _0x28d539={_0x5b4bf4:0xb2,_0xb79ced:0x1cd,_0x321ceb:0x1f2,_0x5e40b3:0x1f7,_0x19e16b:0x1ff,_0x66c01e:0x20e,_0x3245c2:0x1fc},_0x2ef618=loadOpenCodeConfig();if(!_0x2ef618||!_0x2ef618[_0x52d357(-0xc9,-_0x28d539._0x5b4bf4)])return[];const _0x321d0c=_0x2ef618[_0x2526e5(-0x1d7,-_0x28d539._0xb79ced)];function _0x2526e5(_0x272287,_0xb01392){return _0x43ce9c(_0xb01392,_0x272287- -0x23);}const _0xb44666=_0x321d0c[_0x85de6a];if(!_0xb44666?.[_0x2526e5(-0x1ff,-0x210)])return[];function _0x52d357(_0x813c3a,_0x47b8df){return _0x5383de(_0x47b8df- -0x53f,_0x813c3a);}return Object[_0x2526e5(-_0x28d539._0x321ceb,-_0x28d539._0x5e40b3)](_0xb44666[_0x2526e5(-_0x28d539._0x19e16b,-_0x28d539._0x66c01e)])[_0x2526e5(-_0x28d539._0x3245c2,-0x21a)](_0x4ae112=>_0x85de6a+'/'+_0x4ae112);}export function getModelFallbackList(){const _0xb76933={_0xbb3407:0x3af,_0x4baf21:0x3aa,_0x30ab59:0x1c5,_0x54419e:0x1a8,_0x62184e:0x1c1,_0x25a2f2:0x1bf},_0x3c8799={_0x33147f:0xd8};function _0x57a0c4(_0xc97ba7,_0x9df91c){return _0x43ce9c(_0x9df91c,_0xc97ba7-0x39b);}const _0x5deea2={'djNhu':function(_0x86e7aa){return _0x86e7aa();},'eNTha':function(_0x146d44,_0x31da4d){return _0x146d44===_0x31da4d;}};function _0x5a67fd(_0x44d9d1,_0x2b4f8c){return _0x5383de(_0x44d9d1- -_0x3c8799._0x33147f,_0x2b4f8c);}const _0x103b80=_0x5deea2['djNhu'](getConfiguredModel);if(_0x103b80){if(_0x5deea2[_0x5a67fd(_0xb76933._0xbb3407,_0xb76933._0x4baf21)](_0x57a0c4(0x1b6,_0xb76933._0x30ab59),_0x57a0c4(_0xb76933._0x54419e,_0xb76933._0x62184e))){if(_0x3923c0?.[_0x57a0c4(_0xb76933._0x25a2f2,0x1c4)]?.[_0x1d8f00])return!![];}else return[_0x103b80];}return[...DEFAULT_MODEL_PRIORITY];}export function isModelAvailable(_0x271526){const _0x7e5bb={_0x5dcff8:0x47b,_0x465452:0x46a,_0x46b769:0x445,_0xe9bee2:0x43a,_0x49382b:0x516,_0xedf0ce:0x4f5,_0x2ba815:0x426,_0x4bc279:0x431,_0x53c9e2:0x487,_0x2febe3:0x500,_0x22f726:0x42e,_0x1dbf72:0x4e2,_0x1d2ee1:0x4da,_0x5d2957:0x43c,_0x493a5a:0x456,_0x265904:0x505,_0x33c0ee:0x504,_0x314519:0x4dc,_0x562b0b:0x459,_0x81b9c7:0x46d,_0x45df7d:0x45b,_0x3e381d:0x4ca,_0x31b482:0x45e,_0x23f488:0x4cc,_0x36cc5b:0x4dc,_0x5343f4:0x50e,_0x18033b:0x4e1},_0x4d0b79={_0x35af66:0x61e},_0x31bbf3={'ggHfW':function(_0x2a5319){return _0x2a5319();},'roIoN':'uhPEQ','zRNKb':function(_0x23c6af,_0x4d7c75){return _0x23c6af!==_0x4d7c75;}},_0x15bfed=loadOpenCodeConfig();function _0x2c2af3(_0x3d7fb7,_0x2c61c1){return _0x43ce9c(_0x3d7fb7,_0x2c61c1-_0x4d0b79._0x35af66);}if(!_0x15bfed||!_0x15bfed[_0x2c2af3(_0x7e5bb._0x5dcff8,_0x7e5bb._0x465452)])return![];for(const [_0x2ba739,_0x26b6c6]of Object[_0x2c2af3(_0x7e5bb._0x46b769,_0x7e5bb._0xe9bee2)](MODEL_PROVIDERS)){if(_0x31bbf3['roIoN']==='uhPEQ'){if(_0x271526[_0x4cec08(_0x7e5bb._0x49382b,_0x7e5bb._0xedf0ce)](_0x2ba739)){if(_0x31bbf3[_0x2c2af3(_0x7e5bb._0x2ba815,_0x7e5bb._0x4bc279)](_0x2c2af3(_0x7e5bb._0x53c9e2,0x466),_0x4cec08(0x4f7,_0x7e5bb._0x2febe3))){const _0xf795f4=_0x31bbf3[_0x2c2af3(_0x7e5bb._0x22f726,0x44e)](_0x4c4488);if(_0xf795f4)return[_0xf795f4];return[..._0x4157ff];}else{const _0x2cb763=_0x271526[_0x4cec08(_0x7e5bb._0x1dbf72,_0x7e5bb._0x1d2ee1)](_0x2ba739[_0x2c2af3(_0x7e5bb._0x5d2957,_0x7e5bb._0x493a5a)]),_0x347a3b=_0x15bfed[_0x4cec08(_0x7e5bb._0x265904,_0x7e5bb._0x33c0ee)],_0x2c2cfa=_0x347a3b[_0x26b6c6];return!!_0x2c2cfa?.[_0x4cec08(0x4d3,_0x7e5bb._0x314519)]?.[_0x2cb763];}}}else{const _0x28c267=_0x8cea68();if(!_0x28c267||!_0x28c267[_0x2c2af3(0x465,0x46a)])return![];for(const [_0x18c2da,_0x34eb8e]of _0x424ddb[_0x2c2af3(_0x7e5bb._0x562b0b,0x43a)](_0xb99b1d)){if(_0x634402[_0x2c2af3(_0x7e5bb._0x81b9c7,_0x7e5bb._0x45df7d)](_0x18c2da)){const _0x3c60dd=_0x50100c[_0x4cec08(_0x7e5bb._0x3e381d,0x4da)](_0x18c2da[_0x2c2af3(_0x7e5bb._0x31b482,0x456)]),_0x433bdd=_0x28c267[_0x4cec08(0x508,0x504)],_0x334989=_0x433bdd[_0x34eb8e];return!!_0x334989?.[_0x4cec08(_0x7e5bb._0x23f488,_0x7e5bb._0x36cc5b)]?.[_0x3c60dd];}}const _0x4d7b0d=_0x28c267[_0x4cec08(_0x7e5bb._0x5343f4,0x504)];for(const _0x3947fc of _0x248672[_0x2c2af3(0x443,0x42d)](_0x4d7b0d)){if(_0x3947fc?.[_0x4cec08(_0x7e5bb._0x18033b,0x4dc)]?.[_0x54b0f1])return!![];}return![];}}const _0x1248f8=_0x15bfed[_0x4cec08(0x4e8,0x504)];for(const _0x473365 of Object['values'](_0x1248f8)){if(_0x473365?.[_0x4cec08(0x4da,_0x7e5bb._0x314519)]?.[_0x271526])return!![];}function _0x4cec08(_0x3cd31b,_0x393b38){return _0x43ce9c(_0x3cd31b,_0x393b38-0x6b8);}return![];}export function selectBestModel(){const _0x383d21={_0x2bae71:0xda,_0xbc351c:0xd7,_0x55f0ed:0xb8,_0x55ac03:0xa9,_0x43e340:0xea,_0x59d65e:0x23f,_0x459906:0x220},_0x32f3b6={_0x385f25:0x543};function _0x3f1fa6(_0xc8730a,_0x4dfe58){return _0x43ce9c(_0x4dfe58,_0xc8730a- -0x76);}const _0x45ec3b={'pdNII':function(_0x18599d,_0x151216){return _0x18599d(_0x151216);},'GWnxB':_0x1b6a0e(-_0x383d21._0x2bae71,-_0x383d21._0xbc351c)+_0x1b6a0e(-0xdf,-0xe3)+_0x1b6a0e(-0xd6,-_0x383d21._0x55f0ed)+'-M2.5-high'+_0x1b6a0e(-0xc2,-_0x383d21._0x55ac03)};function _0x1b6a0e(_0x252393,_0x4c0b78){return _0x5383de(_0x252393- -_0x32f3b6._0x385f25,_0x4c0b78);}const _0x41561c=getModelFallbackList();for(const _0x4f49a5 of _0x41561c){if(_0x45ec3b[_0x1b6a0e(-_0x383d21._0x43e340,-0x102)](isModelAvailable,_0x4f49a5))return _0x4f49a5;}return _0x41561c[0x155f*0x1+0x1a8*-0xc+-0x17f]??_0x45ec3b[_0x3f1fa6(-_0x383d21._0x59d65e,-_0x383d21._0x459906)];}export function getModelSummary(){const _0x5c238d={_0x587376:0x2e8,_0x325168:0x306,_0xba4d3a:0x317,_0x5bfd0c:0xf5,_0x8d4515:0x108,_0x32bf19:0x120,_0x1068fe:0x12b,_0x8e42b0:0x2f8,_0x2732d3:0x308,_0x990bfa:0x2e5},_0x2c5897={_0x4c9793:0x171};function _0x2ea72b(_0x4efb8e,_0x1ee788){return _0x5383de(_0x1ee788- -_0x2c5897._0x4c9793,_0x4efb8e);}const _0x52dbad={'eBYfm':function(_0x5b19e3){return _0x5b19e3();},'LuONs':function(_0x3b5351){return _0x3b5351();},'PgOyG':_0x2ea72b(_0x5c238d._0x587376,_0x5c238d._0x325168)},_0x58aeb7=_0x52dbad['eBYfm'](getConfiguredModel),_0x44e60b=getAvailableProviders(),_0x495419=_0x52dbad[_0x2ea72b(0x32c,_0x5c238d._0xba4d3a)](selectBestModel);function _0x428385(_0x317aef,_0x284209){return _0x5383de(_0x284209- -0x580,_0x317aef);}let _0x28f606=_0x52dbad[_0x428385(-0xf2,-_0x5c238d._0x5bfd0c)];return _0x28f606+='\x20\x20\x20当前配置:\x20'+(_0x58aeb7??_0x428385(-_0x5c238d._0x8d4515,-_0x5c238d._0x32bf19))+'\x0a',_0x28f606+=_0x428385(-_0x5c238d._0x1068fe,-0x114)+'ider:\x20'+_0x44e60b[_0x2ea72b(_0x5c238d._0x8e42b0,_0x5c238d._0x2732d3)]+'\x0a',_0x28f606+=_0x2ea72b(0x2d3,_0x5c238d._0x990bfa)+_0x495419+'\x0a',_0x28f606;}
|
|
1
|
+
(function(_0x337607,_0x3117ad){const _0x379fa9={_0x1e310f:0x39,_0x12ba25:0x43,_0x1e5e5a:0x41,_0xf4d53c:0x3e3,_0xa33fdf:0x3e7,_0x439d7d:0x404,_0x408b2a:0x412,_0x4aa94d:0x4e,_0x25c0f3:0x45,_0x2d4113:0x1c,_0x37fc1f:0x37,_0x55a461:0x28},_0x1978bc={_0x4ca156:0x254},_0x18069c={_0x16a6da:0x1ed},_0x59346a=_0x337607();function _0x5c1a3a(_0x4f0b01,_0x4a5d42){return _0x2908(_0x4a5d42- -_0x18069c._0x16a6da,_0x4f0b01);}function _0x34778f(_0x58b290,_0x35e4e2){return _0x2908(_0x35e4e2-_0x1978bc._0x4ca156,_0x58b290);}while(!![]){try{const _0x2c7452=parseInt(_0x5c1a3a(-0x28,-_0x379fa9._0x1e310f))/(-0x17f*0x7+0x1*-0x1a7d+0x24f7*0x1)*(-parseInt(_0x5c1a3a(-_0x379fa9._0x12ba25,-0x60))/(0xac2+0x3e*-0x83+0x14fa))+-parseInt(_0x34778f(0x3e2,0x3ef))/(-0x12b5*-0x2+-0x1*0x25c2+-0x5b*-0x1)+parseInt(_0x5c1a3a(-0x3f,-_0x379fa9._0x1e5e5a))/(-0x19*-0x7+-0x13fc*-0x1+-0x14a7)*(parseInt(_0x5c1a3a(-0x43,-0x46))/(0x1158*-0x1+0x1a*-0x4f+-0x43*-0x61))+-parseInt(_0x34778f(0x3d6,_0x379fa9._0xf4d53c))/(-0x98d+-0xde1+-0xbba*-0x2)*(-parseInt(_0x34778f(_0x379fa9._0xa33fdf,_0x379fa9._0x439d7d))/(0xe*-0x119+0x4b*0x3e+-0x2c5))+-parseInt(_0x34778f(0x406,_0x379fa9._0x408b2a))/(0x1a79+0x3ea*-0x3+-0xeb3)+parseInt(_0x5c1a3a(-_0x379fa9._0x4aa94d,-_0x379fa9._0x25c0f3))/(-0x1*0x67f+0x188+0x10*0x50)+parseInt(_0x5c1a3a(-_0x379fa9._0x2d4113,-_0x379fa9._0x37fc1f))/(0x116*0xe+0xe3*-0x1+-0xe47)*(-parseInt(_0x5c1a3a(-0x2a,-_0x379fa9._0x55a461))/(-0x197*-0x11+0x1*-0x3ef+-0x170d));if(_0x2c7452===_0x3117ad)break;else _0x59346a['push'](_0x59346a['shift']());}catch(_0x2da6f9){_0x59346a['push'](_0x59346a['shift']());}}}(_0x3cd9,-0x25*-0x27df+-0x2629*-0x1+0x4714));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';import{homedir}from'node:os';export const DEFAULT_MODEL_PRIORITY=['minimax-cn'+_0x2a713a(0x26e,0x279)+'an/MiniMax'+_0x145a48(-0x1f5,-0x1fc)+'speed','minimax-cn'+_0x2a713a(0x26e,0x261)+_0x145a48(-0x1da,-0x1e6)+_0x145a48(-0x1f0,-0x1fa),_0x145a48(-0x1b7,-0x1d5)+_0x2a713a(0x294,0x2a5)+_0x145a48(-0x209,-0x202)+_0x2a713a(0x274,0x274),'anthropic/'+_0x145a48(-0x1ba,-0x1ca)+_0x2a713a(0x28f,0x28c)];const _0x254347={};_0x254347['minimax-cn'+'-coding-pl'+_0x2a713a(0x266,0x278)]='minimax-cn'+_0x2a713a(0x26e,0x26c)+'an',_0x254347[_0x2a713a(0x289,0x278)]='anthropic',_0x254347[_0x145a48(-0x1d5,-0x1ee)]='google',_0x254347[_0x2a713a(0x25e,0x266)+_0x2a713a(0x288,0x296)]=_0x145a48(-0x1f1,-0x200)+_0x145a48(-0x1e8,-0x1f1),_0x254347[_0x2a713a(0x27d,0x26c)+_0x2a713a(0x260,0x25c)]=_0x2a713a(0x27d,0x295)+_0x2a713a(0x28d,0x278);function _0x2a713a(_0x32ccd1,_0x95255f){const _0x326bf={_0x5ddccd:0xce};return _0x2908(_0x32ccd1-_0x326bf._0x5ddccd,_0x95255f);}function _0x145a48(_0x54dff7,_0x5f3a2a){const _0x51f216={_0x4d8bbf:0x390};return _0x2908(_0x5f3a2a- -_0x51f216._0x4d8bbf,_0x54dff7);}_0x254347[_0x2a713a(0x296,0x29c)+'ding-plan/']=_0x2a713a(0x296,0x28d)+_0x145a48(-0x1cf,-0x1df);function _0x3cd9(){const _0x51342e=['EMHPChvHAs1JBW','8j+tIIdMQkhLNOVPHy3NVA7MKzJOPOek','nde2nJC4rhDPvu5w','BMv0ltqTmJaYnq','mtqZnZzsCKf3ENa','A2LTAs1MB3iTyW','lMnVBMzPzY9VCa','B3zPzgvYlW','vg9IB3m','lu0YlJuTAgLNAa','zw50CMLLCW','lu0YlJu','vvz1A3y','yw4V','BwfW','zw5JB2rLl29Wzq','mtm3odC1nvD6v2r0rG','BMnVzguUANnVBG','vwjMwue','DMfSDwvZ','B2rPBMC','lwnVzgLUzY1WBa','C3bLzwq','z29Vz2XLlW','qvb2zNK','Bw9KzwXZ','CgzQrha','mduXna','mZqZmtC1ruj1DhjW','nZeWmdi5ogHyvKjQAq','Cwrytg4','yw4VtwLUAu1HEa','tfrKz1m','mJrWAfnjEhG','CuzYBNu','ChjVDMLKzxi','BxKTCxDLBI1WCG','nZC3zePuruLL','zgLUzY1WBgfU','Dhj2A2q','icaG5y+V55sOifbYB3y','mxPYr2jNwq','CgfYC2u','mtbjD2vWz1u','BwLUAw1HEc1JBG','D09rwgC','BgvUz3rO','B2rPBMCV','yw50AhjVCgLJlW','DxrMltG','txzwyNu','mJKWodq3mKXyD0fRrG','B3zPzgvY','5PYQ6k6+572U','BMv0ltq','C2XPy2u','BMnOD0S','A2v5CW','mZi1mZKXww9NBKny','y2XHDwrLlxnVBG','t2PtAgu'];_0x3cd9=function(){return _0x51342e;};return _0x3cd9();}export const MODEL_PROVIDERS=_0x254347;function _0x2908(_0x160db4,_0x5991c2){_0x160db4=_0x160db4-(-0x1*-0x2192+-0x7b*-0x2+-0x20fb*0x1);const _0x5321cb=_0x3cd9();let _0x399197=_0x5321cb[_0x160db4];if(_0x2908['KzGgrj']===undefined){var _0x5aa21e=function(_0x1bd8ff){const _0x30a9b7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x16e4f5='',_0x2f0a05='';for(let _0x13ac04=0x543+-0x1efb+0x337*0x8,_0x1fe387,_0x2aed57,_0x5e3f73=-0x5a8+-0xc7*-0x1f+0x1*-0x1271;_0x2aed57=_0x1bd8ff['charAt'](_0x5e3f73++);~_0x2aed57&&(_0x1fe387=_0x13ac04%(0x42e*0x3+0x6*-0x38c+0x8c2)?_0x1fe387*(0x140*0x1+0x20dd+0x1*-0x21dd)+_0x2aed57:_0x2aed57,_0x13ac04++%(0x21bf+0xc*0x125+-0x2f77))?_0x16e4f5+=String['fromCharCode'](-0x1146+0x18*-0xf4+0x2925&_0x1fe387>>(-(0x4b+-0x5*0x194+-0xb1*-0xb)*_0x13ac04&-0x6a7+-0x59*0x40+-0x1*-0x1ced)):-0x7b9+-0x1582+0x1d3b){_0x2aed57=_0x30a9b7['indexOf'](_0x2aed57);}for(let _0x36cb57=-0x1641+0x1*-0x48b+0x1acc,_0x1c7290=_0x16e4f5['length'];_0x36cb57<_0x1c7290;_0x36cb57++){_0x2f0a05+='%'+('00'+_0x16e4f5['charCodeAt'](_0x36cb57)['toString'](0x6c1+-0x65*0x4f+-0x1e2*-0xd))['slice'](-(0x207e+0x885+-0x2901));}return decodeURIComponent(_0x2f0a05);};_0x2908['VJuguK']=_0x5aa21e,_0x2908['lTANOS']={},_0x2908['KzGgrj']=!![];}const _0xe4fe1a=_0x5321cb[0x730*0x2+0x12f2+-0x2152],_0x59ec21=_0x160db4+_0xe4fe1a,_0x35eeac=_0x2908['lTANOS'][_0x59ec21];return!_0x35eeac?(_0x399197=_0x2908['VJuguK'](_0x399197),_0x2908['lTANOS'][_0x59ec21]=_0x399197):_0x399197=_0x35eeac,_0x399197;}function getOpenCodeConfigPath(){const _0x4f9ab8={_0x4932cb:0x4b2,_0x5bfe74:0x514,_0x23e202:0x4ff,_0x1e788a:0x516,_0x368ed0:0x50c},_0x570c1f={_0x540d0c:0x6b1},_0x371c86={_0x4a5742:0x2ac};function _0x4db01b(_0x54570a,_0x1c164c){return _0x2a713a(_0x54570a-_0x371c86._0x4a5742,_0x1c164c);}function _0x5f2f04(_0x572d8b,_0xadae87){return _0x145a48(_0xadae87,_0x572d8b-_0x570c1f._0x540d0c);}return resolve(homedir(),_0x5f2f04(_0x4f9ab8._0x4932cb,0x4b2)+_0x4db01b(_0x4f9ab8._0x5bfe74,_0x4f9ab8._0x23e202)+_0x4db01b(_0x4f9ab8._0x1e788a,_0x4f9ab8._0x368ed0));}function loadOpenCodeConfig(){const _0x13bd8b={_0x7dd4ed:0x2e,_0x575159:0x437,_0x121fcd:0x42b,_0x4b1ada:0x5,_0x5799b7:0x1b,_0xd1f852:0x426},_0x3d57cc={_0x1deb57:0x25c};function _0x599d67(_0x33e5b1,_0x1af827){return _0x145a48(_0x1af827,_0x33e5b1-0x60f);}function _0x185611(_0xe4feb9,_0xecec1b){return _0x2a713a(_0xecec1b- -_0x3d57cc._0x1deb57,_0xe4feb9);}const _0xfbf2d3={'WWOgF':function(_0x839f53){return _0x839f53();},'wOQXg':function(_0x2e07c5,_0x3d35d1){return _0x2e07c5(_0x3d35d1);},'qdXLn':function(_0x2d000f,_0x436ac4,_0xee3bba){return _0x2d000f(_0x436ac4,_0xee3bba);},'MvVbu':_0x185611(0x46,_0x13bd8b._0x7dd4ed)},_0x359e65=_0xfbf2d3['WWOgF'](getOpenCodeConfigPath);if(!_0xfbf2d3[_0x599d67(_0x13bd8b._0x575159,_0x13bd8b._0x121fcd)](existsSync,_0x359e65))return null;try{const _0x1b7c5f=_0xfbf2d3[_0x185611(_0x13bd8b._0x4b1ada,_0x13bd8b._0x5799b7)](readFileSync,_0x359e65,_0xfbf2d3[_0x599d67(0x43c,0x455)]);return JSON[_0x599d67(0x434,_0x13bd8b._0xd1f852)](_0x1b7c5f);}catch{return null;}}export function getConfiguredModel(){const _0x78c46c={'iNWve':function(_0x141e02){return _0x141e02();}},_0x18e22f=_0x78c46c['iNWve'](loadOpenCodeConfig);if(!_0x18e22f)return null;return _0x18e22f['model'];}export function getAvailableProviders(){const _0x21cb8c={_0x582f03:0x106,_0x83b73c:0xf5,_0x387b0a:0x20b,_0x595090:0x21b},_0x15250e={_0x87fdb2:0xed};function _0x1ce3ed(_0x382f89,_0x441745){return _0x2a713a(_0x441745- -0x77,_0x382f89);}const _0x21e636=loadOpenCodeConfig();if(!_0x21e636||!_0x21e636[_0x5509fd(-_0x21cb8c._0x582f03,-0xf5)])return[];const _0x5c9156=_0x21e636[_0x5509fd(-0xdc,-_0x21cb8c._0x83b73c)];function _0x5509fd(_0x29a9b0,_0x1437bb){return _0x145a48(_0x29a9b0,_0x1437bb-_0x15250e._0x87fdb2);}return Object[_0x1ce3ed(_0x21cb8c._0x387b0a,_0x21cb8c._0x595090)](_0x5c9156);}export function getModelsForProvider(_0x35d7ea){const _0x2be9a8={_0x218ef1:0x2f,_0x3874d6:0x1a,_0x5dbc67:0x4d},_0x22684e={_0x4e0cd0:0x3c4},_0x46770f={'qFrnu':function(_0x339a9e){return _0x339a9e();}},_0x1a7f16=_0x46770f[_0x71bf93(_0x2be9a8._0x218ef1,_0x2be9a8._0x3874d6)](loadOpenCodeConfig);function _0x71bf93(_0x3b4ed3,_0x95db22){return _0x145a48(_0x95db22,_0x3b4ed3-0x212);}if(!_0x1a7f16||!_0x1a7f16['provider'])return[];const _0x387d51=_0x1a7f16['provider'],_0x4de178=_0x387d51[_0x35d7ea];function _0xbd2398(_0x1d5628,_0x4f3b85){return _0x145a48(_0x4f3b85,_0x1d5628-_0x22684e._0x4e0cd0);}if(!_0x4de178?.[_0x71bf93(0x26,0x24)])return[];return Object[_0x71bf93(0x46,_0x2be9a8._0x5dbc67)](_0x4de178[_0xbd2398(0x1d8,0x1cb)])[_0xbd2398(0x1cd,0x1c7)](_0x300e5f=>_0x35d7ea+'/'+_0x300e5f);}export function getModelFallbackList(){const _0x2c25c5={'PppKQ':function(_0x490d45){return _0x490d45();}},_0x5a2784=_0x2c25c5['PppKQ'](getConfiguredModel);if(_0x5a2784)return[_0x5a2784];return[...DEFAULT_MODEL_PRIORITY];}export function isModelAvailable(_0x3c1df0){const _0x42d7ab={_0xda4f6d:0xf8,_0xa02b0e:0xc9,_0x13bef9:0x4c3,_0x4973ae:0xee,_0x1dbc65:0xd5,_0x1bc972:0x4d5,_0x51f166:0x4cb,_0x41846f:0xfa,_0x1a8384:0x4e3,_0x4ded1b:0x4d8,_0x3b4cad:0x4e4,_0xc132ef:0x4d8,_0x26c07b:0x4f6,_0x5831fe:0x4de,_0x9bc86f:0x4ce,_0x1b8ecd:0x4b0,_0xcb89c6:0x10d,_0x19e2a2:0xf7,_0x33d730:0x4c8,_0x878833:0x4b8,_0x3a9439:0xed},_0x43f7fc={_0x45e9da:0x6ba};function _0xfaf7ce(_0x2c7646,_0x3366b6){return _0x145a48(_0x3366b6,_0x2c7646-0x2d9);}const _0x25ce4b={};_0x25ce4b[_0xfaf7ce(0xfb,_0x42d7ab._0xda4f6d)]=function(_0x3d80e9,_0x304bb9){return _0x3d80e9!==_0x304bb9;},_0x25ce4b[_0xfaf7ce(0x10c,0xf0)]=_0xfaf7ce(0xdc,_0x42d7ab._0xa02b0e);const _0x2aa58a=_0x25ce4b;function _0x2877cc(_0x3d671,_0x441276){return _0x145a48(_0x441276,_0x3d671-_0x43f7fc._0x45e9da);}const _0x1ae4f5=loadOpenCodeConfig();if(!_0x1ae4f5||!_0x1ae4f5[_0x2877cc(0x4d8,0x4bf)])return![];for(const [_0x124edf,_0x5954ae]of Object[_0x2877cc(0x4bf,_0x42d7ab._0x13bef9)](MODEL_PROVIDERS)){if(_0xfaf7ce(_0x42d7ab._0x4973ae,_0x42d7ab._0x1dbc65)===_0x2877cc(_0x42d7ab._0x1bc972,_0x42d7ab._0x51f166))return null;else{if(_0x3c1df0['startsWith'](_0x124edf)){if(_0x2aa58a['trvkd'](_0x2aa58a['nchwK'],'xkrps')){const _0x317c0d=_0x3c1df0[_0xfaf7ce(0x10b,_0x42d7ab._0x41846f)](_0x124edf[_0x2877cc(_0x42d7ab._0x1a8384,0x4eb)]),_0x5a2c6e=_0x1ae4f5[_0x2877cc(_0x42d7ab._0x4ded1b,_0x42d7ab._0x3b4cad)],_0x242711=_0x5a2c6e[_0x5954ae];return!!_0x242711?.['models']?.[_0x317c0d];}else{const _0x596460=_0x6878eb();if(!_0x596460||!_0x596460[_0x2877cc(_0x42d7ab._0xc132ef,_0x42d7ab._0x26c07b)])return[];const _0xfc42e3=_0x596460[_0x2877cc(_0x42d7ab._0xc132ef,_0x42d7ab._0x5831fe)],_0x316c98=_0xfc42e3[_0x300c02];if(!_0x316c98?.[_0x2877cc(_0x42d7ab._0x9bc86f,_0x42d7ab._0x1b8ecd)])return[];return _0x260ed6[_0xfaf7ce(_0x42d7ab._0xcb89c6,0x11b)](_0x316c98['models'])['map'](_0x4f0a66=>_0x302ee6+'/'+_0x4f0a66);}}}}const _0x32a605=_0x1ae4f5[_0xfaf7ce(_0x42d7ab._0x19e2a2,0xe8)];for(const _0x30803f of Object[_0x2877cc(_0x42d7ab._0x33d730,_0x42d7ab._0x878833)](_0x32a605)){if(_0x30803f?.[_0xfaf7ce(_0x42d7ab._0x3a9439,0xf5)]?.[_0x3c1df0])return!![];}return![];}export function selectBestModel(){const _0x326efd={_0x16c42f:0x44,_0x35c61c:0x37,_0x1e9b51:0x15e,_0x31edf3:0x16b,_0x22434b:0x4b},_0x28a554={_0x2edfcd:0x1a2},_0x3dc75a={};_0x3dc75a[_0x45e433(-0x43,-0x4b)]=_0x45e433(-_0x326efd._0x16c42f,-_0x326efd._0x35c61c)+_0x647bdc(0x173,0x16a)+'an/MiniMax'+'-M2.5-high'+_0x647bdc(_0x326efd._0x1e9b51,_0x326efd._0x31edf3);const _0x2df1a7=_0x3dc75a,_0x2b14c8=getModelFallbackList();for(const _0x52dda3 of _0x2b14c8){if(isModelAvailable(_0x52dda3))return _0x52dda3;}function _0x45e433(_0x4368bb,_0x30204a){return _0x145a48(_0x4368bb,_0x30204a-_0x28a554._0x2edfcd);}function _0x647bdc(_0x58523a,_0x4ac990){return _0x2a713a(_0x4ac990- -0x104,_0x58523a);}return _0x2b14c8[0x2511+-0x4a*-0x49+-0x3a2b]??_0x2df1a7[_0x45e433(-0x3c,-_0x326efd._0x22434b)];}export function getModelSummary(){const _0x31e52d={_0x5b9a03:0x32,_0x5c3071:0x5e,_0x2af8a5:0x79,_0x486670:0x58,_0x416c42:0x45,_0x112eae:0x48,_0x517016:0x42,_0x3f7d23:0x2c};function _0x977575(_0x5b7000,_0x5dac65){return _0x145a48(_0x5dac65,_0x5b7000-0x195);}const _0xd000d9={'UbfYA':function(_0x27db93){return _0x27db93();},'OjShe':function(_0xbceb1){return _0xbceb1();},'UVukv':_0x977575(-_0x31e52d._0x5b9a03,-0x40),'mcYOv':function(_0x1c5936,_0x44f139){return _0x1c5936??_0x44f139;}};function _0x166d1f(_0x4eaeb0,_0x206868){return _0x2a713a(_0x4eaeb0- -0x2bd,_0x206868);}const _0x4301c8=_0xd000d9[_0x977575(-_0x31e52d._0x5c3071,-_0x31e52d._0x2af8a5)](getConfiguredModel),_0xe8c85=_0xd000d9[_0x166d1f(-0x28,-0x14)](getAvailableProviders),_0x406c92=selectBestModel();let _0x155a76=_0xd000d9[_0x166d1f(-_0x31e52d._0x486670,-_0x31e52d._0x416c42)];return _0x155a76+='\x20\x20\x20当前配置:\x20'+_0xd000d9['mcYOv'](_0x4301c8,_0x166d1f(-0x2f,-_0x31e52d._0x112eae))+'\x0a',_0x155a76+=_0x166d1f(-0x3c,-0x47)+'ider:\x20'+_0xe8c85[_0x977575(-_0x31e52d._0x517016,-_0x31e52d._0x3f7d23)]+'\x0a',_0x155a76+='\x20\x20\x20最佳可用:\x20'+_0x406c92+'\x0a',_0x155a76;}
|
package/dist/context/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x3f9a20,_0x5778de){var _0x1e93dd={_0x574ad0:0x4e8,_0x40f974:0x4f4,_0x57b042:0x4f5,_0x14e378:0x4f2,_0x3abb97:0x317,_0x466bec:0x318,_0x4feefd:0x4ed,_0xa9a27d:0x4f0,_0x259874:0x4ee,_0x30aa38:0x30d,_0x3fd4ac:0x312};function _0xb71cc4(_0x521a4c,_0x2c63c3){return _0x37b2(_0x2c63c3-0x302,_0x521a4c);}var _0x4cedb8=_0x3f9a20();function _0x40769f(_0x5b177c,_0x4f3ac1){return _0x37b2(_0x4f3ac1-0x125,_0x5b177c);}while(!![]){try{var _0x7e6b94=-parseInt(_0xb71cc4(_0x1e93dd._0x574ad0,0x4ec))/(0x7c7+-0x2b*0xab+0x14f3)*(parseInt(_0x40769f(0x30e,0x310))/(0x37*0x21+-0xc9*-0x13+-0x1600))+parseInt(_0xb71cc4(0x4ea,0x4ee))/(-0x19fb*0x1+0x2*-0x6fb+-0x13fa*-0x2)*(parseInt(_0xb71cc4(_0x1e93dd._0x40f974,0x4f4))/(0x65e*0x2+0x1e57+0x97*-0x49))+-parseInt(_0xb71cc4(_0x1e93dd._0x57b042,_0x1e93dd._0x14e378))/(0xa02+0x23c5*0x1+-0x1*0x2dc2)+-parseInt(_0x40769f(0x318,0x314))/(-0x3b*0x85+-0x2*0x61c+0x2ae5)*(parseInt(_0x40769f(_0x1e93dd._0x3abb97,_0x1e93dd._0x466bec))/(-0x1c61+-0x1fdd+-0x25*-0x1a1))+-parseInt(_0xb71cc4(_0x1e93dd._0x4feefd,_0x1e93dd._0xa9a27d))/(0xb6f*0x2+-0x240b*0x1+-0x1e3*-0x7)*(parseInt(_0xb71cc4(_0x1e93dd._0x259874,0x4f3))/(0x8ca+-0x10*0xbb+0x2ef))+-parseInt(_0x40769f(_0x1e93dd._0x30aa38,0x30e))/(0x4*-0x80e+0x2*0xbe9+0x870)+parseInt(_0x40769f(0x312,_0x1e93dd._0x3fd4ac))/(-0x24f0+-0x1181*0x1+0x367c);if(_0x7e6b94===_0x5778de)break;else _0x4cedb8['push'](_0x4cedb8['shift']());}catch(_0x2e0994){_0x4cedb8['push'](_0x4cedb8['shift']());}}}(_0x5aac,-0x1e6e0+0x5a5da+0x23732));function _0x37b2(_0xd10839,_0x196972){_0xd10839=_0xd10839-(0x1*-0x25eb+0x145+0x268f);var _0x9c7e29=_0x5aac();var _0x3c0d67=_0x9c7e29[_0xd10839];if(_0x37b2['xvOdtN']===undefined){var _0x506202=function(_0x392ed7){var _0xca1668='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16e05c='',_0x599a2e='';for(var _0x1ce7f1=0xca0+0x939+-0x15d9,_0x25be1b,_0x38573a,_0x41e561=-0x1748+0x12dc+0x46c;_0x38573a=_0x392ed7['charAt'](_0x41e561++);~_0x38573a&&(_0x25be1b=_0x1ce7f1%(-0xf21+0x1*0x2187+-0x1262)?_0x25be1b*(-0x1e3d*-0x1+-0x1366+-0xa97)+_0x38573a:_0x38573a,_0x1ce7f1++%(0xef*0x1+0x23f2+-0x24dd))?_0x16e05c+=String['fromCharCode'](-0x131+0xfda*-0x2+0x21e4&_0x25be1b>>(-(-0x24f*-0x7+-0x334*-0x9+-0x2cfb)*_0x1ce7f1&0x1*-0xe32+0x539*-0x3+0x1de3)):-0x22c0+-0x503*0x5+-0xfb*-0x3d){_0x38573a=_0xca1668['indexOf'](_0x38573a);}for(var _0x467301=0x1dc9+-0x690*0x1+-0x1739,_0x4a79cc=_0x16e05c['length'];_0x467301<_0x4a79cc;_0x467301++){_0x599a2e+='%'+('00'+_0x16e05c['charCodeAt'](_0x467301)['toString'](0xbf*0x15+-0xa2c+-0x56f*0x1))['slice'](-(-0x101+0x1*-0x17bc+0x18bf));}return decodeURIComponent(_0x599a2e);};_0x37b2['GjjdvB']=_0x506202,_0x37b2['qmLkZc']={},_0x37b2['xvOdtN']=!![];}var _0x3425f4=_0x9c7e29[-0x49f+0x2*-0xf79+0x2391],_0x247665=_0xd10839+_0x3425f4,_0x5aa579=_0x37b2['qmLkZc'][_0x247665];return!_0x5aa579?(_0x3c0d67=_0x37b2['GjjdvB'](_0x3c0d67),_0x37b2['qmLkZc'][_0x247665]=_0x3c0d67):_0x3c0d67=_0x5aa579,_0x3c0d67;}export{loadTechContext}from'./techContextLoader.js';export{generateExecutorPrompt}from'./promptTemplate.js';function _0x5aac(){var _0x50aeb7=['mtuWotaYogzXCeLcrq','mty1otDAywLlDfu','mZaYntG2mgPbrg5OBG','ndy1nJK1qvHuu3zR','mNPLA0vwCq','m0TuuwPpzq','mtG4mdq4odvMr1jdDfG','mZK4mdHpAePMEMS','mtq0mgDbBfr2Eq','mtC2odK3nvDRy2PSuG','oxPpqwL3zG'];_0x5aac=function(){return _0x50aeb7;};return _0x5aac();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x1d3123,_0x5484ce){const _0x4e7183={_0x512603:0x2e3,_0x4cdb81:0x2eb,_0x355fd8:0xe8,_0x6ef33:0xe6,_0x45f50a:0x2da,_0x5137fa:0xea,_0x4acd6c:0xd3,_0x1dc4e6:0xdc,_0x473f4f:0x2de,_0x526250:0x2d5,_0x5c8e83:0x2e8,_0x3d1a42:0x2db,_0x1f74b7:0xe9,_0x4427cb:0x2dd,_0x3e7daf:0x2e1},_0x3aba8a={_0x1c4b7f:0x52};function _0x5c0341(_0x40714b,_0x5b1239){return _0x10f7(_0x40714b-0x24e,_0x5b1239);}function _0x1b474f(_0x35638c,_0x51d0f2){return _0x10f7(_0x51d0f2-_0x3aba8a._0x1c4b7f,_0x35638c);}const _0x1b77ad=_0x1d3123();while(!![]){try{const _0x4aac20=parseInt(_0x5c0341(_0x4e7183._0x512603,_0x4e7183._0x4cdb81))/(-0x14a6+0xa3*0x1+0x2*0xa02)*(parseInt(_0x1b474f(0xdf,_0x4e7183._0x355fd8))/(0x3*0x6bc+0x8b*-0x3b+0xbd7))+-parseInt(_0x1b474f(0xe0,_0x4e7183._0x6ef33))/(0x1138+0x43c*0x1+-0x1571)*(-parseInt(_0x5c0341(_0x4e7183._0x45f50a,0x2dc))/(0xb*0x233+0x114e+0x5ed*-0x7))+-parseInt(_0x1b474f(_0x4e7183._0x5137fa,0xf2))/(0xf07+0x1*0x1fb4+-0x1*0x2eb6)+-parseInt(_0x1b474f(_0x4e7183._0x4acd6c,_0x4e7183._0x1dc4e6))/(-0x1*-0x41e+-0x2109+0x1cf1)*(-parseInt(_0x5c0341(_0x4e7183._0x473f4f,_0x4e7183._0x526250))/(-0x189c+0x16de+0x1c5))+-parseInt(_0x1b474f(0xe1,0xed))/(-0x8a4+-0x4*0x49f+-0x2*-0xd94)+parseInt(_0x5c0341(_0x4e7183._0x5c8e83,_0x4e7183._0x3d1a42))/(-0x2566+-0xc0+0x19*0x187)*(-parseInt(_0x1b474f(0xe8,_0x4e7183._0x1f74b7))/(0x1*0x2e+-0x167a+0x1656))+-parseInt(_0x5c0341(0x2df,_0x4e7183._0x4427cb))/(0x1424+-0x16b*-0xe+-0x27f3*0x1)*(parseInt(_0x5c0341(0x2d6,_0x4e7183._0x3e7daf))/(-0x1bd1+-0x1a4c+-0x127*-0x2f));if(_0x4aac20===_0x5484ce)break;else _0x1b77ad['push'](_0x1b77ad['shift']());}catch(_0x57d59e){_0x1b77ad['push'](_0x1b77ad['shift']());}}}(_0x4b80,0x25a29+-0x1*0xc1ed4+0x107f99));function _0x10f7(_0x39573c,_0x51a3b3){_0x39573c=_0x39573c-(-0x338*0x1+-0x4*-0x8+0x2a*0x16);const _0x10fb0e=_0x4b80();let _0x5bd52e=_0x10fb0e[_0x39573c];if(_0x10f7['rYYluy']===undefined){var _0x5b9261=function(_0x2f42fb){const _0x194da6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3c27bd='',_0x560177='';for(let _0xdfd35e=0x1a3e+0x1*0x8ad+-0x22eb,_0x527ce2,_0xe1c688,_0x221c08=0xa9*0x20+-0xdf0+0x5*-0x170;_0xe1c688=_0x2f42fb['charAt'](_0x221c08++);~_0xe1c688&&(_0x527ce2=_0xdfd35e%(-0x2084+-0x1*-0x57b+0x1b0d)?_0x527ce2*(0x7e3*0x2+-0x380+-0xc06)+_0xe1c688:_0xe1c688,_0xdfd35e++%(0xb0a+0x15f7+0x3*-0xaff))?_0x3c27bd+=String['fromCharCode'](0x3b*0x4a+0x15f4+-0x2603&_0x527ce2>>(-(-0x512+-0x6*0xc4+0x1*0x9ac)*_0xdfd35e&-0x2*0x5cb+-0x73d*-0x3+0x1*-0xa1b)):0x1da*0x3+-0x975+-0x25*-0x1b){_0xe1c688=_0x194da6['indexOf'](_0xe1c688);}for(let _0x38dcf0=0x6e1*-0x1+0x3d0+0x311,_0x275eed=_0x3c27bd['length'];_0x38dcf0<_0x275eed;_0x38dcf0++){_0x560177+='%'+('00'+_0x3c27bd['charCodeAt'](_0x38dcf0)['toString'](0x16ae+0x1*-0x24f2+-0x1*-0xe54))['slice'](-(0x47*0x5c+-0x1cd8+-0xe*-0x3d));}return decodeURIComponent(_0x560177);};_0x10f7['hqnqoU']=_0x5b9261,_0x10f7['dOlUDB']={},_0x10f7['rYYluy']=!![];}const _0x2bd898=_0x10fb0e[-0x7*0x557+-0x1b*-0x1b+-0x2288*-0x1],_0x346b26=_0x39573c+_0x2bd898,_0xd080c=_0x10f7['dOlUDB'][_0x346b26];return!_0xd080c?(_0x5bd52e=_0x10f7['hqnqoU'](_0x5bd52e),_0x10f7['dOlUDB'][_0x346b26]=_0x5bd52e):_0x5bd52e=_0xd080c,_0x5bd52e;}function _0x4b80(){const _0x582f0c=['BwfW','mtC0mdq3nhngDKfPvG','zM9YyMLKzgvUua','mtqWotCWofLyEenHEG','zw50Aw9UCW','yxr0zxjUCW','cGOJiYdLVzpLIy3KU7VLIQek','mtritgXJvgS','mtf3t2Plt24','y29KAw5Nq29UDG','Awn0ig1VzgxVViKk','nM9ryuztAG','mtjrz09mBfO','odC0ng5IqKfYra','mtu1mZu1meTZvuHWCW','cGOJiYmG56Ab5Q2I6kgm5lI6','6l+D5y+n77YjcGOJiYmG6zsb','oxD3BgDkAG','ndm2otuXmNrnvg1xyW','5A6A5OQa5PYV5QcicG','ifnvtu1buLKG5lIT','lsdMIydMNiNMLRdLOP7KU6pNOihLV4xPOBS','6ycA6l+hifr5Cgvty3i','mte2ndqWBKDvAfnO','BMrLBMnPzxm','AM9PBG','Bg9JA2vKrgvWzq','5AoW5PIo5BM26k+05PIo55cg55sX77YjcI0','cGOJiYdPQOZMLlBOPOhMSyik','Axb0ioE8LUIVKE+8Ihn0CG','mJa1odG4ogvrExjJBG'];_0x4b80=function(){return _0x582f0c;};return _0x4b80();}export function generateExecutorPrompt(_0x218ca1,_0x4a310e){const _0x395b08={_0x3831e0:0x236,_0x4bae6b:0x232,_0x1e4b01:0x21e,_0x4ae51c:0x13e,_0x4f7a4a:0x13f,_0x149a68:0x228,_0x5474e6:0x123,_0x354ad4:0x126,_0x47b279:0x231,_0x3e88a1:0x222,_0x4a2a69:0x224,_0x1b8fac:0x12e,_0x37b0e0:0x22e,_0x1be821:0x231,_0xf1ffdc:0x12c,_0x12e507:0x13b,_0x26e0f1:0x234,_0x36c4fb:0x23f,_0x41cc18:0x21b,_0x1866fe:0x130,_0x554e9a:0x21a};if(!_0x218ca1)return'##\x20当前任务\x0a'+_0x4a310e;const _0x479dc6=Object['entries'](_0x218ca1[_0x157680(0x219,0x21d)+_0x157680(_0x395b08._0x3831e0,_0x395b08._0x4bae6b)])[_0x157680(_0x395b08._0x1e4b01,0x21e)](([_0x7f4939,_0x4b39aa])=>'-\x20'+_0x7f4939+':\x20'+_0x4b39aa)[_0x57f252(_0x395b08._0x4ae51c,_0x395b08._0x4f7a4a)]('\x0a'),_0x1deccb=_0x218ca1[_0x157680(0x220,_0x395b08._0x149a68)+_0x57f252(_0x395b08._0x5474e6,0x12b)][_0x57f252(0x131,_0x395b08._0x354ad4)](_0x31275f=>'-\x20'+_0x31275f)[_0x57f252(_0x395b08._0x4ae51c,0x13f)]('\x0a');function _0x57f252(_0x17f4e5,_0x4dd90a){return _0x10f7(_0x4dd90a-0x9d,_0x17f4e5);}function _0x157680(_0x191333,_0x72d211){return _0x10f7(_0x191333-0x195,_0x72d211);}const _0x3e29aa=_0x218ca1[_0x157680(0x227,_0x395b08._0x47b279)+_0x157680(_0x395b08._0x3e88a1,_0x395b08._0x4a2a69)][_0x57f252(_0x395b08._0x1b8fac,_0x395b08._0x354ad4)](_0x367842=>'-\x20'+_0x367842)[_0x57f252(0x13b,0x13f)]('\x0a');return'##\x20技术约束(不可'+_0x157680(_0x395b08._0x37b0e0,0x230)+_0x157680(_0x395b08._0x1be821,0x222)+_0x479dc6+(_0x57f252(0x12b,0x135)+'\x0a')+_0x1deccb+('\x0a\x0a###\x20编码约定'+'\x0a')+_0x3e29aa+_0x57f252(0x13b,_0x395b08._0xf1ffdc)+_0x4a310e+(_0x157680(0x21b,0x215)+_0x57f252(0x146,_0x395b08._0x12e507)+_0x157680(_0x395b08._0x26e0f1,_0x395b08._0x36c4fb)+_0x157680(0x21c,_0x395b08._0x41cc18)+_0x57f252(0x128,_0x395b08._0x1866fe)+'-\x20禁止引入未批准的'+'依赖(如需新依赖,在'+_0x157680(_0x395b08._0x4bae6b,0x240)+_0x157680(_0x395b08._0x554e9a,0x225)+'\x20测试覆盖所有新增功'+'能的核心路径');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1cb121,_0xadbcfb){const _0x49d85c={_0x3f383c:0x249,_0x2983f4:0x23c,_0x14f998:0x265,_0x3290b8:0x3db,_0x3da738:0x245,_0xa3358d:0x255,_0x4c4992:0x3ef,_0x403309:0x264,_0x3994d2:0x3fb};function _0x37a882(_0x3d73d3,_0x39321a){return _0x2687(_0x39321a-0x246,_0x3d73d3);}const _0x3b0e1f=_0x1cb121();function _0x1b92f3(_0x1c96a4,_0x132ecb){return _0x2687(_0x1c96a4-0xb1,_0x132ecb);}while(!![]){try{const _0x143ecb=-parseInt(_0x1b92f3(0x24f,_0x49d85c._0x3f383c))/(0x10*0x1c+-0x1711+0xaa9*0x2)*(-parseInt(_0x37a882(0x3ef,0x3fe))/(0xe*-0x115+-0xdcf+0x5cb*0x5))+-parseInt(_0x1b92f3(0x247,_0x49d85c._0x2983f4))/(0x1d08+0x9*0x1d7+-0x2d94)+-parseInt(_0x1b92f3(0x250,0x264))/(0x39*-0x83+0x105d*-0x1+-0x2d8c*-0x1)*(parseInt(_0x1b92f3(0x25b,_0x49d85c._0x14f998))/(0x1071+0x23*-0x10f+0x14a1))+parseInt(_0x37a882(0x3e0,_0x49d85c._0x3290b8))/(-0x1605+-0xd8a+0x2395)*(parseInt(_0x1b92f3(_0x49d85c._0x3da738,_0x49d85c._0xa3358d))/(-0x3e3+-0x65*-0x3+0x1*0x2bb))+-parseInt(_0x1b92f3(0x24b,0x23e))/(0x4fe+-0x210b+0x1c15)+-parseInt(_0x37a882(0x3e0,_0x49d85c._0x4c4992))/(0x10a*0xb+-0xbb6*0x2+0xc07)+parseInt(_0x1b92f3(0x263,_0x49d85c._0x403309))/(0x53*0x23+0x1f5*0xb+-0x20d6)*(parseInt(_0x37a882(_0x49d85c._0x3994d2,0x3fd))/(-0x1516+0x2*-0x1387+-0x1f*-0x1f1));if(_0x143ecb===_0xadbcfb)break;else _0x3b0e1f['push'](_0x3b0e1f['shift']());}catch(_0x2b9034){_0x3b0e1f['push'](_0x3b0e1f['shift']());}}}(_0x5960,0x2111*0x17+0xa18*0x2+0x2*0x42ec7));function _0x5960(){const _0xffd2bb=['s0LNuwm','mtqZs1zxBeX4','ntmWohPMA2vSDW','wvPjC1O','sLryrxi','rxf5CMm','D2fYBG','tLrfwfqUBwqG5lIn','ygbG','Bwf0y2G','mJfpwLvZvgK','mtaZnJaYmgL1CMrYEa','mtyXndqZohDIALrSEq','q1bXD04','Aw5JBhvKzxm','zuHlrMy','mtG2nJu0nfjoDhHZqW','qvfyC1a','DxrMltG','C3rHCNrZv2L0Aa','otrSyNLuug0','otqZmJiWDMnrEezn','wfqUBwq','zw5KC1DPDgG','5A2y5zYOoIa','y3DK','EKrnAgm','vevdsc1dt05urq','BgvUz3rO','zMLSDgvY','DhjPBq','mtC1mZuYngfVqNLVrG','mJbMzw5Hy0W','C3bSAxq','z3bXBuq','qKzMAeu','C2XPy2u','EwjmA0y','D2ToBfy','BwfW','mtq1mZK1mffSv2rMCa','s0feAhC','ChvZAa','4PQG77Ipicburunilunp'];_0x5960=function(){return _0xffd2bb;};return _0x5960();}import{readFileSync,existsSync}from'node:fs';function _0x360462(_0x279bbe,_0x544758){const _0x56e699={_0x388b2e:0x316};return _0x2687(_0x544758- -_0x56e699._0x388b2e,_0x279bbe);}import{resolve}from'node:path';function _0xeb88a8(_0x3991cc,_0x25cc0e){return _0x2687(_0x3991cc- -0x1e6,_0x25cc0e);}const DEFAULT_PATH=resolve(process[_0xeb88a8(-0x43,-0x3e)](),'.planning',_0x360462(-0x181,-0x171)+_0xeb88a8(-0x46,-0x36));function parseLockedDependencies(_0x91bf78){const _0x29c285={_0x25ae5b:0x236,_0x3eeeff:0x1fc,_0x422868:0x219,_0x4cd639:0x206,_0x3ddd87:0x213,_0x3769bd:0x203,_0x5873e6:0x217,_0x489209:0x1ff,_0x360757:0x1f2,_0x1e17e2:0x227,_0x2cc31e:0x212,_0x2408d9:0x236,_0x3ac064:0x232,_0xd2095c:0x1e7,_0x1da7e2:0x227,_0x321b4c:0x20f,_0x3afa51:0x1fd,_0x475460:0x1f1,_0x3744a9:0x1f6,_0xf3af27:0x1d8,_0x40b694:0x1d2},_0x1c3eb0={_0x35f51d:0x396},_0x2d9a04={};_0x2d9a04[_0x35cb21(_0x29c285._0x25ae5b,0x246)]=function(_0x81fb25,_0x33ba6b){return _0x81fb25>=_0x33ba6b;};function _0x35cb21(_0x8a0424,_0x1a7b37){return _0x360462(_0x1a7b37,_0x8a0424-_0x1c3eb0._0x35f51d);}_0x2d9a04[_0x19eaae(0x1fa,_0x29c285._0x3eeeff)]=function(_0xd889c1,_0x1c16ca){return _0xd889c1&&_0x1c16ca;},_0x2d9a04[_0x35cb21(_0x29c285._0x422868,_0x29c285._0x4cd639)]=function(_0x3aa693,_0xfeba45){return _0x3aa693===_0xfeba45;},_0x2d9a04[_0x19eaae(0x1e2,0x1f1)]=_0x35cb21(0x22f,0x222);const _0x4df998=_0x2d9a04;function _0x19eaae(_0x735ff3,_0x43d55d){return _0x360462(_0x735ff3,_0x43d55d-0x357);}const _0x5ea40b={},_0x6fd8d9=_0x91bf78[_0x35cb21(_0x29c285._0x3ddd87,_0x29c285._0x3769bd)](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x6fd8d9)return _0x5ea40b;const _0x430b6a=_0x6fd8d9[-0x1*-0x1bcb+0x178f+-0x7*0x756],_0x47ffc0=_0x430b6a['split']('\x0a')[_0x35cb21(0x227,_0x29c285._0x5873e6)](_0x21333d=>_0x21333d[_0x35cb21(0x228,0x21d)]()[_0x19eaae(0x1f1,0x1de)]('|')),_0x400dd=_0x47ffc0['slice'](0x7cf*0x1+-0x1*-0x222b+-0x8*0x53f);for(const _0x20c1ac of _0x400dd){const _0x145bfe=_0x20c1ac[_0x19eaae(_0x29c285._0x489209,0x1ec)]('|')[_0x19eaae(0x1ea,_0x29c285._0x360757)](_0x84181e=>_0x84181e[_0x19eaae(0x1e4,0x1e9)]())[_0x35cb21(_0x29c285._0x1e17e2,_0x29c285._0x2cc31e)](Boolean);if(_0x4df998[_0x35cb21(_0x29c285._0x2408d9,_0x29c285._0x3ac064)](_0x145bfe[_0x19eaae(0x1e6,_0x29c285._0xd2095c)],-0x2347+-0x25c4+0x490d*0x1)){const _0x1b8b23=_0x145bfe[0xc85*-0x3+0x1e41*0x1+0x74e][_0x35cb21(0x228,_0x29c285._0x1da7e2)](),_0x1b1f0e=_0x145bfe[-0x46e*0x6+-0x7a+-0x1b0f*-0x1][_0x35cb21(0x228,0x21e)]();if(_0x4df998[_0x19eaae(_0x29c285._0x321b4c,0x1fc)](_0x1b8b23,_0x1b1f0e)&&!_0x1b8b23[_0x35cb21(0x218,0x204)]('---')){if(_0x4df998[_0x19eaae(0x1ec,0x1da)](_0x19eaae(0x200,0x1f0),_0x4df998[_0x19eaae(_0x29c285._0x3afa51,_0x29c285._0x475460)]))_0x5ea40b[_0x1b8b23]=_0x1b1f0e;else return _0x5bbaeb[_0x19eaae(0x204,_0x29c285._0x3afa51)](_0x19eaae(0x1f8,_0x29c285._0x3744a9)+_0x19eaae(_0x29c285._0xf3af27,_0x29c285._0x40b694)+_0x35cb21(0x222,0x231)+_0x3cb26a),null;}}}return _0x5ea40b;}function parseForbiddenPatterns(_0x2824db){const _0x5fde03={_0x538f87:0x29,_0x3daea4:0x35,_0x2a61d1:0x4a,_0xf0ca4:0x49,_0x1bd594:0x51,_0x5ef71b:0x5b,_0x3d948e:0x473,_0x27acb2:0x3f,_0x184a4d:0x45,_0xe28d5f:0x3d,_0x108552:0x2d,_0x1cf383:0x56,_0x3d63df:0x64},_0x19a7e7={_0x4f8e80:0x88},_0x1b3fee={};_0x1b3fee[_0x480485(0x3d,_0x5fde03._0x538f87)]=function(_0x2fc179,_0x751fb7){return _0x2fc179>_0x751fb7;};const _0x60dd55=_0x1b3fee,_0x1e970e=[];function _0x480485(_0x5c83b9,_0x344e57){return _0xeb88a8(_0x5c83b9-_0x19a7e7._0x4f8e80,_0x344e57);}function _0xbef851(_0x4f308c,_0x442d9e){return _0xeb88a8(_0x442d9e-0x4b1,_0x4f308c);}const _0x47e63c=_0x2824db[_0x480485(_0x5fde03._0x3daea4,0x24)](/##\s*\d*\.?\s*禁止模式[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x47e63c)return _0x1e970e;const _0x47b145=_0x47e63c[-0xe71+-0x78*0x14+0x17d1],_0x3eba59=_0x47b145['split']('\x0a')[_0x480485(0x49,_0x5fde03._0x2a61d1)](_0x1c58bd=>_0x1c58bd[_0xbef851(0x474,0x473)]()[_0xbef851(0x459,0x468)]('|')),_0x481de9=_0x3eba59[_0x480485(0x50,0x58)](0x1f17+0x6d3*0x2+-0x2cbb*0x1);for(const _0x29eee5 of _0x481de9){const _0x4eda13=_0x29eee5['split']('|')['map'](_0x3e6e3b=>_0x3e6e3b[_0xbef851(0x470,0x473)]())[_0x480485(_0x5fde03._0xf0ca4,_0x5fde03._0x1bd594)](Boolean);if(_0x4eda13[_0x480485(0x48,_0x5fde03._0x5ef71b)]>=0xf73+-0x2030+-0x1*-0x10be){const _0x532471=_0x4eda13[-0x2*0x20e+0xfb2+-0xb96][_0xbef851(0x468,_0x5fde03._0x3d948e)](),_0x363275=_0x532471[_0x480485(_0x5fde03._0x27acb2,_0x5fde03._0x184a4d)]('`')&&_0x532471[_0xbef851(0x46c,0x46c)]('`')&&_0x60dd55[_0x480485(_0x5fde03._0xe28d5f,_0x5fde03._0x108552)](_0x532471['length'],0x4*-0x14b+-0x8*0x422+0x263e)?_0x532471['slice'](0x1d0a+-0x2*0x80+-0x1c09,-(-0x614+-0x173d+0x4e3*0x6))[_0xbef851(0x467,_0x5fde03._0x3d948e)]():_0x532471;_0x363275&&_0x1e970e[_0x480485(_0x5fde03._0x1cf383,_0x5fde03._0x3d63df)](_0x363275);}}return _0x1e970e;}function parseCodingConventions(_0x1494f8){const _0x3dc48e={_0x4cc4b0:0x36d,_0x5eb45d:0x4e4,_0x512f6c:0x4f9,_0x3c61e5:0x4f1,_0x312653:0x4e3,_0x48b2ef:0x513,_0x5ccc5d:0x374,_0x3cda7f:0x373,_0x41fc8e:0x370,_0x4c4de6:0x37c,_0x16ac57:0x38c,_0x584d4f:0x36f,_0x21e0f1:0x377,_0x4a1187:0x37d,_0x400f1c:0x37a,_0x458c2a:0x4ef,_0x1ce742:0x371,_0xf69536:0x385},_0xbe2afb={};_0xbe2afb[_0x3f25ef(0x504,0x4fe)]=function(_0x59871a,_0x596894){return _0x59871a>=_0x596894;},_0xbe2afb[_0x3f25ef(0x50b,0x4fe)]=_0x864af5(0x376,0x36d),_0xbe2afb[_0x864af5(_0x3dc48e._0x4cc4b0,0x375)]='mUIcN';const _0x1c2c23=_0xbe2afb,_0x3c3bc9=[],_0x712935=_0x1494f8[_0x3f25ef(_0x3dc48e._0x5eb45d,0x4e8)](/##\s*\d*\.?\s*编码约定[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x712935)return _0x3c3bc9;function _0x864af5(_0x50223d,_0x3b122f){return _0xeb88a8(_0x50223d-0x3af,_0x3b122f);}const _0x46de63=_0x712935[0x15*-0xfb+0x1a9f+0x182*-0x4],_0x4dfb41=_0x46de63['split']('\x0a');let _0x4f07e0=![];for(const _0x40e7af of _0x4dfb41){if(_0x40e7af[_0x3f25ef(_0x3dc48e._0x512f6c,_0x3dc48e._0x3c61e5)]()['startsWith'](_0x3f25ef(_0x3dc48e._0x312653,0x4ea))){if(_0x1c2c23[_0x3f25ef(0x50b,_0x3dc48e._0x48b2ef)]!==_0x1c2c23['zDMhc']){_0x4f07e0=!_0x4f07e0;continue;}else{const _0x28471b=_0x14d3de[_0x864af5(_0x3dc48e._0x5ccc5d,_0x3dc48e._0x3cda7f)]('|')[_0x864af5(0x37a,0x385)](_0xb88d6=>_0xb88d6[_0x864af5(0x371,0x35d)]())[_0x864af5(_0x3dc48e._0x41fc8e,0x373)](_0x28e955);if(_0x1c2c23[_0x864af5(_0x3dc48e._0x4c4de6,_0x3dc48e._0x16ac57)](_0x28471b[_0x864af5(_0x3dc48e._0x584d4f,0x37a)],0x1*0x8db+0x2c+-0x906)){const _0x5f86a=_0x28471b[-0x7e1+-0x36*-0x81+0x65*-0x31][_0x864af5(0x371,0x372)](),_0x2378ec=_0x5f86a['startsWith']('`')&&_0x5f86a[_0x3f25ef(0x4f2,0x501)]('`')&&_0x5f86a['length']>0x21*0x79+-0x19de+0xa47*0x1?_0x5f86a[_0x864af5(_0x3dc48e._0x21e0f1,_0x3dc48e._0x4cc4b0)](0x735*-0x5+-0x962+0x156*0x22,-(-0x35*-0x3+0xaec+-0xb8a))[_0x3f25ef(0x4f9,0x4eb)]():_0x5f86a;_0x2378ec&&_0x3abdf9[_0x864af5(_0x3dc48e._0x4a1187,_0x3dc48e._0x400f1c)](_0x2378ec);}}}if(_0x4f07e0)continue;const _0x3a5b66=_0x40e7af[_0x3f25ef(0x4e4,_0x3dc48e._0x458c2a)](/^-\s+(.+)$/);_0x3a5b66&&_0x3c3bc9['push'](_0x3a5b66[0x1*0x116f+-0x1d23+-0x3*-0x3e7][_0x864af5(_0x3dc48e._0x1ce742,_0x3dc48e._0xf69536)]());}function _0x3f25ef(_0x88a64e,_0x243ea6){return _0xeb88a8(_0x88a64e-0x537,_0x243ea6);}return _0x3c3bc9;}function parseProjectStructure(_0x55c32a){const _0x30bd93={_0x3ecd02:0x37},_0xda5dfc={_0x5802d1:0x18f},_0xdace1c=_0x55c32a['match'](/###?\s*项目结构[\s\S]*?```\n?([\s\S]*?)```/);function _0x4cea10(_0x364ea6,_0x347ed2){return _0x360462(_0x364ea6,_0x347ed2-_0xda5dfc._0x5802d1);}if(!_0xdace1c)return'';return _0xdace1c[0x1*-0x1f6a+-0x90f*-0x1+0x13e*0x12][_0x4cea10(_0x30bd93._0x3ecd02,0x21)]();}function _0x2687(_0x22850f,_0xcb19e7){_0x22850f=_0x22850f-(0x246a+-0x22+-0x22b7);const _0x514183=_0x5960();let _0x486d46=_0x514183[_0x22850f];if(_0x2687['dwQvwU']===undefined){var _0x59d16f=function(_0x1cb033){const _0x4ff13d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc9aa98='',_0x1f12dd='';for(let _0x567f2f=0x2670+0x5*-0x373+-0x1531,_0x530a7c,_0x519ec5,_0x54eba7=-0x1*0x1fdf+0x153c+0xaa3*0x1;_0x519ec5=_0x1cb033['charAt'](_0x54eba7++);~_0x519ec5&&(_0x530a7c=_0x567f2f%(0x2ab+0x3*0x7b+0x1*-0x418)?_0x530a7c*(0x5e*0xd+0x15ea+-0x1a70)+_0x519ec5:_0x519ec5,_0x567f2f++%(0x18f2+-0x1c34+0x346))?_0xc9aa98+=String['fromCharCode'](-0x1*-0x1823+0x1*-0x1c68+0x544&_0x530a7c>>(-(0x1c69*-0x1+-0x198d+-0x6bf*-0x8)*_0x567f2f&-0x1*0xa3f+0x130c+-0x8c7)):0x2*-0x552+-0x1a00+0x5*0x754){_0x519ec5=_0x4ff13d['indexOf'](_0x519ec5);}for(let _0x5e68f0=0x1*-0xee+0x2*0x78e+-0xe2e,_0x5cc56a=_0xc9aa98['length'];_0x5e68f0<_0x5cc56a;_0x5e68f0++){_0x1f12dd+='%'+('00'+_0xc9aa98['charCodeAt'](_0x5e68f0)['toString'](-0x1*-0x1997+0xa7f+-0x2406))['slice'](-(0x1*0x23ce+0x1*-0x106a+-0x3*0x676));}return decodeURIComponent(_0x1f12dd);};_0x2687['UWoQPo']=_0x59d16f,_0x2687['XaXEQl']={},_0x2687['dwQvwU']=!![];}const _0x4ebdbd=_0x514183[-0x11*0x17e+-0xb55*0x1+0x24b3*0x1],_0x32ee40=_0x22850f+_0x4ebdbd,_0x465e36=_0x2687['XaXEQl'][_0x32ee40];return!_0x465e36?(_0x486d46=_0x2687['UWoQPo'](_0x486d46),_0x2687['XaXEQl'][_0x32ee40]=_0x486d46):_0x486d46=_0x465e36,_0x486d46;}export function loadTechContext(_0x116d5e){const _0x180245={_0x8eb915:0x5c,_0x1ef9c6:0x19f,_0x14350c:0x54,_0x5c56bb:0x1a8,_0x1111ba:0x48},_0x1bb993={'gpqmD':_0x150e61(0x4d,_0x180245._0x8eb915),'YZIsZ':function(_0x208f79,_0x1fdfdf){return _0x208f79(_0x1fdfdf);},'CPqwN':function(_0x2f70e7,_0x1c8431){return _0x2f70e7(_0x1c8431);}},_0x4e89bd=_0x116d5e??DEFAULT_PATH;if(!existsSync(_0x4e89bd))return console[_0x1c576f(-0x198,-0x191)](_0x1c576f(-_0x180245._0x1ef9c6,-0x1b2)+_0x150e61(0x42,0x53)+_0x150e61(0x53,_0x180245._0x14350c)+_0x4e89bd),null;function _0x1c576f(_0x51bc70,_0x1def42){return _0xeb88a8(_0x51bc70- -0x16e,_0x1def42);}const _0x1d80f2=readFileSync(_0x4e89bd,_0x1bb993[_0x1c576f(-_0x180245._0x5c56bb,-0x192)]);function _0x150e61(_0x39a511,_0x10edd6){return _0xeb88a8(_0x39a511-0x97,_0x10edd6);}return{'lockedDependencies':_0x1bb993[_0x150e61(0x6a,0x64)](parseLockedDependencies,_0x1d80f2),'forbiddenPatterns':parseForbiddenPatterns(_0x1d80f2),'codingConventions':parseCodingConventions(_0x1d80f2),'projectStructure':_0x1bb993[_0x150e61(_0x180245._0x1111ba,0x58)](parseProjectStructure,_0x1d80f2)};}
|
|
1
|
+
function _0x3fc1(){const _0x1853f4=['qwPdEwq','sKL0Bwi','zMLSDgvY','mZbUBeHsAKy','mZbYBLDkwNO','mMXRv2nkwq','C3bSAxq','C2XPy2u','zu95DfG','y3DK','5A2y5zYOoIa','DxrMltG','zNf1Ew4','DNzoCxK','v3rICLa','DhjPBq','Aw5JBhvKzxm','mJGYnJG0AMr1Avbu','ChvZAa','D2fYBG','AKXdDLe','mJi0zM1UAMPM','nJeYmJrNEuDkteq','BgvUz3rO','Bwf0y2G','C3rHCNrZv2L0Aa','4PQG77Ipicburunilunp','AgjTBK8','mtvNwNrYzgu','mtCYmZmXmtjyA3j1uwS','vwncCvm','ywT1s3y','mtK3mZa5n0r5ELnbCa','mJC1C1nnAerr','lNbSyw5UAw5N','odGYntzHBfrvqxy','nJK4mti5yKLesuPu','vevdsc1dt05urq','mZuWmJe0wgrRwLbO','wwrvuMO','r3rkDNy','BwfW','ls0T','se5mBfi'];_0x3fc1=function(){return _0x1853f4;};return _0x3fc1();}(function(_0x16878e,_0x1115e6){const _0x3de18e={_0x26dd13:0xbe,_0x4cb1ef:0x5e,_0x39fc6d:0xb1,_0x514e27:0x46,_0x2b43d3:0x41,_0x4c7914:0x3a,_0x59aa11:0xd1,_0x4eaa6a:0x5f,_0x2fd320:0xb7},_0x149fd1={_0xb44a25:0x275};function _0xf41bba(_0x4cb817,_0xa3fed2){return _0x5379(_0xa3fed2- -0x203,_0x4cb817);}const _0xe2b2bc=_0x16878e();function _0x3e1427(_0x1b764a,_0x3083d7){return _0x5379(_0x3083d7- -_0x149fd1._0xb44a25,_0x1b764a);}while(!![]){try{const _0x253190=parseInt(_0x3e1427(-0xc4,-0xb0))/(-0x4*-0x823+-0x1*0x1855+-0x836)*(parseInt(_0x3e1427(-_0x3de18e._0x26dd13,-0xcf))/(-0xa*-0x11a+-0x224*0x5+-0xd*0x6))+parseInt(_0xf41bba(-0x70,-_0x3de18e._0x4cb1ef))/(-0x1e24+0x17eb+0x63c)*(-parseInt(_0x3e1427(-0xb7,-_0x3de18e._0x39fc6d))/(0x52+-0x1d6e+0x1d20))+-parseInt(_0xf41bba(-0x44,-_0x3de18e._0x514e27))/(0xfe*0x1f+0x2*0x1bb+-0x2233)*(parseInt(_0x3e1427(-0xc4,-0xae))/(0x1e9+0x18bf*-0x1+0x16dc))+parseInt(_0x3e1427(-0xca,-0xbf))/(0xff1+0x1*0x221e+-0x3208)*(parseInt(_0xf41bba(-_0x3de18e._0x2b43d3,-0x4c))/(-0x1*-0x776+0x1f0d*-0x1+0x179f))+-parseInt(_0xf41bba(-_0x3de18e._0x4c7914,-0x42))/(-0x191e+0x2325+0x9fe*-0x1)*(parseInt(_0x3e1427(-0xd7,-_0x3de18e._0x59aa11))/(0x1*-0x265f+0xa24+0x1c45*0x1))+parseInt(_0xf41bba(-0x4d,-_0x3de18e._0x2b43d3))/(-0x7a8+0x12b*0x9+-0x2d0)*(-parseInt(_0xf41bba(-_0x3de18e._0x4eaa6a,-0x51))/(-0x1074+-0x15a8+-0xde*-0x2c))+parseInt(_0x3e1427(-0xb8,-_0x3de18e._0x2fd320))/(-0x2*0x1115+-0xeba+0x30f1);if(_0x253190===_0x1115e6)break;else _0xe2b2bc['push'](_0xe2b2bc['shift']());}catch(_0x5b3be8){_0xe2b2bc['push'](_0xe2b2bc['shift']());}}}(_0x3fc1,0x290ab*0x1+-0xb*-0x7fef+0x1*0x17e76));import{readFileSync,existsSync}from'node:fs';function _0x44e1b6(_0x59eb12,_0x4357c9){const _0x3f4023={_0xe0e203:0x150};return _0x5379(_0x59eb12- -_0x3f4023._0xe0e203,_0x4357c9);}function _0x243973(_0x32b169,_0x280fb5){return _0x5379(_0x32b169-0xe6,_0x280fb5);}function _0x5379(_0xbbcd5d,_0x3dfd5a){_0xbbcd5d=_0xbbcd5d-(-0x5fd+0x1e82*0x1+-0x1b*0xd9);const _0x2790c5=_0x3fc1();let _0x5b3317=_0x2790c5[_0xbbcd5d];if(_0x5379['YrfJbi']===undefined){var _0x5d0065=function(_0x43b2bf){const _0x1d798f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x97fb78='',_0x14f02a='';for(let _0x35097f=0xf8b+0x1*-0xf1a+-0x71*0x1,_0x3ba7b0,_0x5727c7,_0x6be05c=-0x1568+0x156c+0x2*-0x2;_0x5727c7=_0x43b2bf['charAt'](_0x6be05c++);~_0x5727c7&&(_0x3ba7b0=_0x35097f%(0x5*0x1b4+-0x1b16+0x1296)?_0x3ba7b0*(0x40*-0x7d+-0x1*0x2087+0x4007)+_0x5727c7:_0x5727c7,_0x35097f++%(-0xdd9+0xcbe+0x7*0x29))?_0x97fb78+=String['fromCharCode'](0x4*0x531+-0x2140+0xd7b&_0x3ba7b0>>(-(0x1f80+0xf+0x29*-0xc5)*_0x35097f&-0x1f74+0x809*0x2+0xf68)):-0x26fc+-0x17ac+0x3ea8){_0x5727c7=_0x1d798f['indexOf'](_0x5727c7);}for(let _0x120bc8=0x1875*-0x1+-0x2a8*0xc+0x3855,_0x155df9=_0x97fb78['length'];_0x120bc8<_0x155df9;_0x120bc8++){_0x14f02a+='%'+('00'+_0x97fb78['charCodeAt'](_0x120bc8)['toString'](-0x1*-0x2366+-0x3*-0x2e3+-0x2bff))['slice'](-(-0x1235+-0x94*-0x3a+-0xf51));}return decodeURIComponent(_0x14f02a);};_0x5379['LjrzIn']=_0x5d0065,_0x5379['ysTWVl']={},_0x5379['YrfJbi']=!![];}const _0x1e7954=_0x2790c5[-0x1b73*-0x1+-0x471+-0x13*0x136],_0x59d0f1=_0xbbcd5d+_0x1e7954,_0x5a63cb=_0x5379['ysTWVl'][_0x59d0f1];return!_0x5a63cb?(_0x5b3317=_0x5379['LjrzIn'](_0x5b3317),_0x5379['ysTWVl'][_0x59d0f1]=_0x5b3317):_0x5b3317=_0x5a63cb,_0x5b3317;}import{resolve}from'node:path';const DEFAULT_PATH=resolve(process[_0x243973(0x290,0x295)](),_0x44e1b6(0x73,0x75),_0x243973(0x2ac,0x2bc)+'XT.md');function parseLockedDependencies(_0x2a9772){const _0x572aa3={_0x517f11:0xf7,_0x5288cc:0xee,_0x1182e9:0x158,_0x400950:0xf6,_0x1755de:0x107,_0x397815:0x150,_0x16959e:0x14c,_0x4807a6:0xec},_0x3533cc={};_0x3533cc['akuKv']=function(_0x7da149,_0x2b2bab){return _0x7da149&&_0x2b2bab;},_0x3533cc[_0x2d3f2c(-0x14b,-0x147)]=_0x2a9157(_0x572aa3._0x517f11,_0x572aa3._0x5288cc);function _0x2a9157(_0x1f01b8,_0x53bfc7){return _0x243973(_0x1f01b8- -0x1ba,_0x53bfc7);}const _0x226d31=_0x3533cc,_0x238286={},_0x5d8224=_0x2a9772['match'](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x5d8224)return _0x238286;const _0x2b0148=_0x5d8224[0x122f+-0x17ee+-0x1*-0x5bf],_0xd0563e=_0x2b0148['split']('\x0a')['filter'](_0x5e6271=>_0x5e6271[_0x2a9157(0xdc,0xe0)]()[_0x2d3f2c(-0x146,-0x14f)]('|')),_0x54970b=_0xd0563e[_0x2d3f2c(-_0x572aa3._0x1182e9,-0x165)](-0x13e3+0xa*-0x377+-0x368b*-0x1);for(const _0x33cce1 of _0x54970b){const _0x5d6fb6=_0x33cce1[_0x2d3f2c(-0x159,-0x162)]('|')[_0x2a9157(_0x572aa3._0x400950,_0x572aa3._0x1755de)](_0x50a704=>_0x50a704[_0x2d3f2c(-0x150,-0x14d)]())[_0x2d3f2c(-0x15d,-0x14c)](Boolean);if(_0x5d6fb6['length']>=0x61d+0x1a36+-0x1*0x2051){const _0x1241f1=_0x5d6fb6[-0x2310+0x1*0x1d68+-0xb5*-0x8]['trim'](),_0xf7b5dd=_0x5d6fb6[-0x2*0x8a7+-0x1185+0x22d4][_0x2d3f2c(-_0x572aa3._0x397815,-_0x572aa3._0x16959e)]();_0x226d31[_0x2a9157(_0x572aa3._0x4807a6,0xe2)](_0x1241f1,_0xf7b5dd)&&!_0x1241f1[_0x2a9157(0xdd,0xef)](_0x226d31['jLCvQ'])&&(_0x238286[_0x1241f1]=_0xf7b5dd);}}function _0x2d3f2c(_0x50b9e9,_0xf0dece){return _0x243973(_0x50b9e9- -0x3e6,_0xf0dece);}return _0x238286;}function parseForbiddenPatterns(_0x2a760a){const _0x3db671={_0x40470e:0x44d,_0x192715:0x2f6,_0x455b52:0x46c,_0x1212d2:0x44a,_0x163516:0x459,_0x1da210:0x466,_0x30f5aa:0x46a,_0x1ec407:0x46a,_0x307be9:0x46d,_0x4c6a0a:0x440,_0x5bd1d5:0x459,_0x3f13b5:0x46c,_0x1e7928:0x440,_0x38e21a:0x2ef,_0x1a1891:0x2f9,_0x48999a:0x2fe,_0xb942ca:0x444,_0x17d53a:0x312,_0xc1feda:0x322,_0x15a49c:0x47a,_0x2f9e07:0x300,_0x3bfcd2:0x2f8,_0x43bc71:0x2f8,_0x198702:0x305,_0x5a6d35:0x457,_0x556ed6:0x445,_0x3111e6:0x42f,_0x6fa2e0:0x450},_0x44298d={_0x49bb57:0x62},_0x1b22c1={};_0x1b22c1[_0x4eb90a(0x45c,_0x3db671._0x40470e)]=function(_0x5e74ec,_0x877ba0){return _0x5e74ec&&_0x877ba0;},_0x1b22c1[_0x55416a(_0x3db671._0x192715,0x2e5)]=_0x4eb90a(0x468,_0x3db671._0x455b52),_0x1b22c1[_0x4eb90a(_0x3db671._0x1212d2,0x45a)]=function(_0x29ad91,_0x44be86){return _0x29ad91!==_0x44be86;},_0x1b22c1[_0x4eb90a(_0x3db671._0x163516,0x46a)]=_0x4eb90a(_0x3db671._0x1da210,_0x3db671._0x30f5aa),_0x1b22c1[_0x4eb90a(_0x3db671._0x1ec407,_0x3db671._0x307be9)]=function(_0x453d8b,_0x45c0cf){return _0x453d8b>=_0x45c0cf;};const _0x4ba037=_0x1b22c1,_0x3cad69=[],_0x54642b=_0x2a760a['match'](/##\s*\d*\.?\s*禁止模式[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x54642b)return _0x3cad69;function _0x4eb90a(_0x1ad7c8,_0x1507b8){return _0x44e1b6(_0x1ad7c8-0x3ed,_0x1507b8);}function _0x55416a(_0x55086b,_0x290087){return _0x243973(_0x55086b-_0x44298d._0x49bb57,_0x290087);}const _0x1d3d6b=_0x54642b[0x1*0xae7+-0xac*-0x8+-0x1047],_0x33d9e3=_0x1d3d6b[_0x55416a(0x2ef,0x2f5)]('\x0a')[_0x4eb90a(_0x3db671._0x4c6a0a,0x449)](_0x5f1b46=>_0x5f1b46[_0x55416a(0x2f8,0x2e4)]()[_0x55416a(0x302,0x307)]('|')),_0x5bfe29=_0x33d9e3['slice'](-0x16d1+-0x1*0x2309+0x142*0x2e);for(const _0x4e3d17 of _0x5bfe29){if(_0x4ba037['fquyn'](_0x4ba037[_0x4eb90a(_0x3db671._0x5bd1d5,0x46f)],_0x4ba037[_0x4eb90a(0x459,_0x3db671._0x3f13b5)])){const _0x42da12={},_0xcceadc=_0x59d088[_0x55416a(0x301,0x2ff)](/##\s*\d*\.?\s*锁定依赖[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0xcceadc)return _0x42da12;const _0x3f313a=_0xcceadc[-0x47+0x1328*-0x2+0x2697],_0x599ddb=_0x3f313a[_0x55416a(0x2ef,0x303)]('\x0a')[_0x4eb90a(_0x3db671._0x1e7928,0x438)](_0x2acc16=>_0x2acc16[_0x55416a(0x2f8,0x2f8)]()[_0x4eb90a(0x457,0x459)]('|')),_0x8aeccb=_0x599ddb['slice'](0x4f*-0x31+0x24ea+-0x15c9);for(const _0x350ff5 of _0x8aeccb){const _0x429d6b=_0x350ff5[_0x55416a(_0x3db671._0x38e21a,0x2f4)]('|')[_0x4eb90a(0x467,0x478)](_0x4e5d9d=>_0x4e5d9d['trim']())['filter'](_0x49d5b3);if(_0x429d6b[_0x55416a(0x300,0x309)]>=0x15df+-0x130b+-0x2d2){const _0x52b28b=_0x429d6b[-0x4*0x59f+-0x25f0+0x3c6c]['trim'](),_0x453320=_0x429d6b[0x2*0xb23+-0x1575*0x1+-0xd0]['trim']();_0x4ba037['UcBqS'](_0x52b28b,_0x453320)&&!_0x52b28b[_0x55416a(_0x3db671._0x1a1891,_0x3db671._0x48999a)](_0x4ba037['vvNqy'])&&(_0x42da12[_0x52b28b]=_0x453320);}}return _0x42da12;}else{const _0x487534=_0x4e3d17[_0x4eb90a(_0x3db671._0xb942ca,0x447)]('|')[_0x55416a(_0x3db671._0x17d53a,_0x3db671._0xc1feda)](_0x5b707e=>_0x5b707e[_0x55416a(0x2f8,0x2ea)]())['filter'](Boolean);if(_0x4ba037[_0x4eb90a(_0x3db671._0x30f5aa,_0x3db671._0x15a49c)](_0x487534[_0x55416a(_0x3db671._0x2f9e07,_0x3db671._0x3bfcd2)],-0x2*-0x9ce+0x2*0x5e7+-0x1*0x1f69)){const _0x36e851=_0x487534[-0x2*0xa43+0x2012+-0xb8c][_0x55416a(_0x3db671._0x43bc71,_0x3db671._0x198702)](),_0x381bc2=_0x36e851[_0x4eb90a(_0x3db671._0x5a6d35,0x441)]('`')&&_0x36e851['endsWith']('`')&&_0x36e851['length']>-0x2629+-0x1b9e+0x41c9?_0x36e851[_0x4eb90a(_0x3db671._0x556ed6,_0x3db671._0x3111e6)](0x2688+-0x17*-0x199+0x5*-0xf0e,-(0x5*-0x543+0x1d55+-0x1*0x305))['trim']():_0x36e851;_0x381bc2&&_0x3cad69[_0x4eb90a(_0x3db671._0x6fa2e0,_0x3db671._0x5bd1d5)](_0x381bc2);}}}return _0x3cad69;}function parseCodingConventions(_0x11121e){const _0x5cc9a5={_0x47d827:0x200,_0x1a1655:0x221,_0x51e935:0x51b,_0x103185:0x52b},_0x1eb4bf={};_0x1eb4bf['YdURj']=_0x203a1a(0x555,0x544);const _0xc2f85a=_0x1eb4bf,_0x21b26b=[];function _0x203a1a(_0x5393f3,_0x2a7168){return _0x243973(_0x2a7168-0x292,_0x5393f3);}function _0x3143a6(_0x2496b6,_0x4e4829){return _0x243973(_0x2496b6- -0x8d,_0x4e4829);}const _0x2e109d=_0x11121e[_0x203a1a(0x530,0x531)](/##\s*\d*\.?\s*编码约定[\s\S]*?(?=\n##\s|\n---|$)/i);if(!_0x2e109d)return _0x21b26b;const _0x1495ff=_0x2e109d[0x11*-0x12d+-0x8*0xf8+0x1bbd],_0x683e2c=_0x1495ff[_0x3143a6(_0x5cc9a5._0x47d827,0x1fd)]('\x0a');let _0x1bf40c=![];for(const _0x142656 of _0x683e2c){if(_0xc2f85a[_0x3143a6(_0x5cc9a5._0x1a1655,0x221)]!==_0x203a1a(0x552,0x544))_0x94d22a[_0x434de7]=_0xa5391e;else{if(_0x142656[_0x203a1a(0x51f,0x528)]()['startsWith']('```')){_0x1bf40c=!_0x1bf40c;continue;}if(_0x1bf40c)continue;const _0x1dcf89=_0x142656[_0x3143a6(0x212,0x1ff)](/^-\s+(.+)$/);_0x1dcf89&&_0x21b26b[_0x203a1a(_0x5cc9a5._0x51e935,_0x5cc9a5._0x103185)](_0x1dcf89[-0x11*-0x97+-0x3*0x89+-0x86b][_0x3143a6(0x209,0x1fe)]());}}return _0x21b26b;}function parseProjectStructure(_0xa20a4d){const _0x28400b={_0x4d453b:0x3c,_0x25e49e:0x50},_0x119535=_0xa20a4d[_0x33d885(-0x47,-_0x28400b._0x4d453b)](/###?\s*项目结构[\s\S]*?```\n?([\s\S]*?)```/);function _0x33d885(_0x383bdb,_0x12ceaa){return _0x243973(_0x12ceaa- -0x2db,_0x383bdb);}if(!_0x119535)return'';function _0x14ad80(_0x56e6d1,_0x315ae4){return _0x44e1b6(_0x56e6d1- -0x1f5,_0x315ae4);}return _0x119535[0x1b4a+0x1168+-0x2cb1][_0x33d885(-_0x28400b._0x25e49e,-0x45)]();}export function loadTechContext(_0xdff764){const _0x204ef3={_0x41c2e9:0x114,_0x276445:0x121,_0x227c23:0x319,_0x3c3eb5:0x317,_0x5b9271:0x303,_0x42234b:0x102,_0x3f5e39:0x11a,_0x7557ed:0x10d},_0x545ac2={_0x5a0376:0x2bc},_0x2ac4ab={_0x22cc7b:0xbb},_0x1a5ad0={'eOytX':function(_0x2eca7e,_0x35fdaf){return _0x2eca7e??_0x35fdaf;},'JItmb':function(_0x3faab0,_0x5c6c4f,_0x3042d4){return _0x3faab0(_0x5c6c4f,_0x3042d4);},'WtbrP':function(_0x558057,_0x953f8b){return _0x558057(_0x953f8b);}},_0x2a7094=_0x1a5ad0[_0x1b89e9(_0x204ef3._0x41c2e9,_0x204ef3._0x276445)](_0xdff764,DEFAULT_PATH);if(!existsSync(_0x2a7094))return console[_0x2f5ff3(0x320,_0x204ef3._0x227c23)](_0x1b89e9(0x126,0x121)+'NTEXT.md\x20不'+_0x2f5ff3(_0x204ef3._0x3c3eb5,_0x204ef3._0x5b9271)+_0x2a7094),null;const _0x86e211=_0x1a5ad0[_0x2f5ff3(0x30e,0x313)](readFileSync,_0x2a7094,_0x1b89e9(0x117,_0x204ef3._0x42234b));function _0x1b89e9(_0x1245c1,_0x39760b){return _0x44e1b6(_0x1245c1-_0x2ac4ab._0x22cc7b,_0x39760b);}function _0x2f5ff3(_0x5c2085,_0x845bab){return _0x44e1b6(_0x5c2085-_0x545ac2._0x5a0376,_0x845bab);}return{'lockedDependencies':parseLockedDependencies(_0x86e211),'forbiddenPatterns':parseForbiddenPatterns(_0x86e211),'codingConventions':parseCodingConventions(_0x86e211),'projectStructure':_0x1a5ad0[_0x1b89e9(_0x204ef3._0x3f5e39,_0x204ef3._0x7557ed)](parseProjectStructure,_0x86e211)};}
|