@nuvin/nuvin-cli 1.36.0-rc.12 → 1.36.0-rc.14
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/AutoUpdater-B3B4RLR4.js +1 -1
- package/dist/TokenStorage-OZ7HSAEA.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/builtin-agents/code-reviewer.md +60 -0
- package/dist/builtin-agents/explorer.md +68 -0
- package/dist/builtin-agents/integration-test-engineer.md +62 -0
- package/dist/builtin-agents/software-engineer.md +67 -0
- package/dist/builtin-agents/test-case-counter.md +55 -0
- package/dist/chunk-2JALC5EN.js +1 -0
- package/dist/chunk-3YTWOK4O.js +1 -1
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BCLZT6CC.js +1 -1
- package/dist/chunk-BWIY46RS.js +1 -1
- package/dist/chunk-NHBPZPAB.js +1 -1
- package/dist/chunk-RY5MYNSA.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-YYJYEULV.js +1 -0
- package/dist/mcp-handler-4NECBU7D.js +1 -1
- package/dist/messageProcessor-GMABEADO.js +1 -1
- package/dist/profile-handler-QQEL2P7I.js +1 -1
- package/dist/useSessionManagement-6NGJIORU.js +1 -1
- package/package.json +3 -2
- package/dist/chunk-SCGPTKAG.js +0 -1
- package/dist/demo-mode-FHOR6OMW.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0xbaf317,_0x3114af){const _0xb537d3={_0x394d30:0x345,_0x4caf16:0x1b5,_0x2aded2:0x1a4,_0x3df550:0x1a6,_0x2ed36b:0x33d,_0xd42109:0x1a4,_0x50b8b5:0x19c,_0x40190f:0x192,_0x1ddc8d:0x19a,_0x2c66ab:0x331,_0x22c102:0x32e,_0xe90019:0x1b7,_0xa24c0d:0x1ad,_0x2f3c0f:0x323,_0x3beec8:0x335,_0xd4abf4:0x339,_0x53bf9c:0x33f,_0x4570f8:0x1aa},_0x38655e=_0xbaf317();function _0x5e3d97(_0x238024,_0x4658e6,_0x4a1984,_0x2c8c6c){return _0x37c5(_0x4658e6-0x16e,_0x4a1984);}function _0x35f538(_0xc05cc4,_0x1a0612,_0x3c0941,_0x1da049){return _0x37c5(_0x1da049- -0x373,_0xc05cc4);}while(!![]){try{const _0x11445b=-parseInt(_0x5e3d97(_0xb537d3._0x394d30,0x354,0x365,0x369))/0x1*(-parseInt(_0x35f538(-_0xb537d3._0x4caf16,-_0xb537d3._0x2aded2,-0x198,-_0xb537d3._0x3df550))/0x2)+-parseInt(_0x5e3d97(0x34d,0x34c,0x359,_0xb537d3._0x2ed36b))/0x3+parseInt(_0x35f538(-_0xb537d3._0xd42109,-_0xb537d3._0x50b8b5,-0x199,-_0xb537d3._0x40190f))/0x4*(-parseInt(_0x35f538(-0x1b6,-_0xb537d3._0x3df550,-_0xb537d3._0x1ddc8d,-0x1a4))/0x5)+-parseInt(_0x5e3d97(0x342,0x34b,0x352,0x34e))/0x6+-parseInt(_0x5e3d97(0x334,_0xb537d3._0x2c66ab,_0xb537d3._0x22c102,0x31c))/0x7*(parseInt(_0x35f538(-0x1b8,-0x1ae,-_0xb537d3._0xe90019,-_0xb537d3._0xa24c0d))/0x8)+-parseInt(_0x5e3d97(_0xb537d3._0x2f3c0f,_0xb537d3._0x3beec8,_0xb537d3._0xd4abf4,_0xb537d3._0x53bf9c))/0x9+parseInt(_0x35f538(-0x194,-_0xb537d3._0x3df550,-0x19b,-0x191))/0xa*(parseInt(_0x35f538(-0x1bf,-0x1a0,-0x1bd,-_0xb537d3._0x4570f8))/0xb);if(_0x11445b===_0x3114af)break;else _0x38655e['push'](_0x38655e['shift']());}catch(_0xa4f24f){_0x38655e['push'](_0x38655e['shift']());}}}(_0x4fd2,0x3d0c6));import{exec as _0x4ebbe1,spawn as _0x224473}from'child_process';import{promisify as _0x45364a}from'util';var v=_0x45364a(_0x4ebbe1),d='@nuvin/nuvin-cli';function _0x37c5(_0x500147,_0x5c4857){_0x500147=_0x500147-0x1bc;const _0x4fd23f=_0x4fd2();let _0x37c5b0=_0x4fd23f[_0x500147];if(_0x37c5['xFsTEF']===undefined){var _0x20d220=function(_0x1a5d4e){const _0x1b046f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ebbe1='',_0x224473='';for(let _0x45364a=0x0,_0x4a7a64,_0x30f073,_0x437287=0x0;_0x30f073=_0x1a5d4e['charAt'](_0x437287++);~_0x30f073&&(_0x4a7a64=_0x45364a%0x4?_0x4a7a64*0x40+_0x30f073:_0x30f073,_0x45364a++%0x4)?_0x4ebbe1+=String['fromCharCode'](0xff&_0x4a7a64>>(-0x2*_0x45364a&0x6)):0x0){_0x30f073=_0x1b046f['indexOf'](_0x30f073);}for(let _0x41e085=0x0,_0x143363=_0x4ebbe1['length'];_0x41e085<_0x143363;_0x41e085++){_0x224473+='%'+('00'+_0x4ebbe1['charCodeAt'](_0x41e085)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x224473);};_0x37c5['euiozo']=_0x20d220,_0x37c5['ZfRYLS']={},_0x37c5['xFsTEF']=!![];}const _0x459341=_0x4fd23f[0x0],_0x2f69d8=_0x500147+_0x459341,_0x23029c=_0x37c5['ZfRYLS'][_0x2f69d8];return!_0x23029c?(_0x37c5b0=_0x37c5['euiozo'](_0x37c5b0),_0x37c5['ZfRYLS'][_0x2f69d8]=_0x37c5b0):_0x37c5b0=_0x23029c,_0x37c5b0;}async function a(_0x4a7a64,_0x30f073){const _0x41fe59={_0xd50d4f:0xcb};function _0x1b0f44(_0x52daa7,_0x10657c,_0x192e15,_0x24aa75){return _0x37c5(_0x24aa75- -0x2b0,_0x192e15);}try{let {stdout:_0x437287}=await v(_0x4a7a64,{'timeout':_0x30f073});return _0x437287[_0x1b0f44(-0xc9,-0xd0,-0xcf,-_0x41fe59._0xd50d4f)]();}catch{return null;}}var h;(_0x41e085=>{const _0x227671={_0x561824:0x92,_0x3d8855:0x80,_0x268836:0x8e,_0x41d0da:0x89,_0x5492a8:0x30,_0x5a294d:0x3e,_0x3f6751:0x4c,_0x38d69a:0x45,_0x5cf41b:0x53,_0x2b64b4:0x61,_0x4d780e:0x62,_0x11ab79:0x3e,_0x561f52:0x28},_0x34294f={_0x49fc53:0x3a,_0x333c5f:0x43,_0x231109:0x4f,_0x1dd2ba:0x4b,_0xb029a:0x5b,_0x5b5716:0x55},_0x3afe62={_0x1abc83:0x123,_0x299d57:0x71,_0x2b2c06:0x81,_0x3ff19a:0x7e,_0x3d21e9:0x74},_0x2a5d34={_0x279d64:0x4a8,_0x2198b7:0x4b5,_0x1a5c7a:0x4a6,_0x115fc0:0x37,_0x298ab7:0x3c,_0x53faf2:0x4d0,_0x13c153:0x4c4,_0x3a6872:0x39,_0xe1032a:0x36,_0x32b42b:0x4bd,_0x520bf5:0x4de,_0x3a556e:0x3e,_0x1d1b92:0x2e,_0x8f518:0x4b3,_0x32b8d7:0x4bd,_0x56c804:0x4a9,_0x569b19:0x4ad,_0x3a12ae:0x494,_0x26c290:0x4aa,_0x3264e2:0x4b1,_0x53a337:0x4bd,_0x4786b2:0x4a1,_0x53ee55:0x49a,_0x2b5477:0x42,_0x5b563d:0x3c,_0x317b92:0x41,_0x12b41c:0x4c2,_0x1478c1:0x4d6,_0x57f75d:0x31,_0x336493:0x4a,_0x4ff4ba:0x3c,_0x220384:0x3c,_0x14947b:0x3c,_0x2fb293:0x3,_0x1869d9:0x42,_0x35e1c7:0x35,_0x1aa952:0x3b,_0x46b042:0x28,_0x1a6d33:0x2f,_0x3bf094:0x43,_0x145579:0x2d,_0x5c7811:0x36,_0x7af87e:0x26,_0x37d9c6:0x32,_0x1a163a:0x4ac,_0x27e7af:0x4b1,_0xa98238:0x3c,_0x2c0ebe:0x23,_0x43a5aa:0x2d,_0x48ad12:0x4b8,_0x5c4856:0x4c9,_0x522454:0x4b2,_0x44e407:0x4cb,_0x241338:0x493,_0x2743fe:0x4c0,_0x5650ee:0x4c1,_0x5a5f31:0x47,_0x3b8b11:0x3b,_0x3d0ee7:0x4c,_0x3cb096:0x26};async function _0x143363(){let _0x55702d=await a(_0x1401e1(_0x2a5d34._0x279d64,0x494,_0x2a5d34._0x2198b7,_0x2a5d34._0x1a5c7a),0xbb8);if(_0x55702d){let _0x40f0a7=await a(_0x4505ef(-_0x2a5d34._0x115fc0,-0x44,-0x40,-_0x2a5d34._0x115fc0)+_0x55702d+'\x22',0xbb8);if(_0x40f0a7){if(_0x40f0a7[_0x4505ef(-0x43,-0x2f,-0x3c,-_0x2a5d34._0x298ab7)](_0x1401e1(0x4cb,_0x2a5d34._0x53faf2,_0x2a5d34._0x13c153,0x4d3))||_0x40f0a7[_0x4505ef(-0x4d,-_0x2a5d34._0x3a6872,-_0x2a5d34._0x298ab7,-_0x2a5d34._0xe1032a)](_0x1401e1(0x4cf,_0x2a5d34._0x32b42b,_0x2a5d34._0x520bf5,0x4cb)))return _0x4505ef(-_0x2a5d34._0x3a556e,-_0x2a5d34._0x1d1b92,-0x35,-0x48);if(_0x40f0a7[_0x1401e1(0x4a9,_0x2a5d34._0x8f518,0x4ac,0x4be)](_0x1401e1(_0x2a5d34._0x32b8d7,0x4cf,0x4cb,0x4ca))||_0x40f0a7[_0x1401e1(_0x2a5d34._0x56c804,0x4b9,_0x2a5d34._0x569b19,_0x2a5d34._0x3a12ae)]('/.yarn/'))return _0x1401e1(_0x2a5d34._0x26c290,_0x2a5d34._0x3264e2,_0x2a5d34._0x53a337,_0x2a5d34._0x4786b2);if(_0x40f0a7[_0x1401e1(0x4a9,0x4a0,_0x2a5d34._0x53ee55,0x4b0)]('/npm/')||_0x40f0a7[_0x4505ef(-0x2c,-_0x2a5d34._0x2b5477,-_0x2a5d34._0x5b563d,-_0x2a5d34._0x317b92)](_0x1401e1(_0x2a5d34._0x12b41c,0x4d3,0x4d4,_0x2a5d34._0x1478c1)))return'npm';}else{if(_0x55702d[_0x4505ef(-_0x2a5d34._0x57f75d,-_0x2a5d34._0x336493,-_0x2a5d34._0x4ff4ba,-0x4e)]('/pnpm/')||_0x55702d[_0x4505ef(-_0x2a5d34._0x220384,-0x3f,-_0x2a5d34._0x14947b,-0x42)](_0x4505ef(-_0x2a5d34._0x2fb293,-0x12,-0x16,-0x12)))return _0x4505ef(-0x25,-_0x2a5d34._0x1869d9,-_0x2a5d34._0x35e1c7,-0x24);if(_0x55702d['includes'](_0x4505ef(-_0x2a5d34._0x1aa952,-0x2f,-_0x2a5d34._0x46b042,-_0x2a5d34._0x1a6d33))||_0x55702d[_0x4505ef(-_0x2a5d34._0x3bf094,-_0x2a5d34._0x145579,-_0x2a5d34._0x5b563d,-0x43)](_0x1401e1(0x4a4,0x4af,0x493,0x492)))return _0x4505ef(-0x47,-0x34,-0x3b,-0x2f);}}let [_0xb396f3,_0x4ddc92,_0x4a6d3d]=await Promise['all']([a(_0x4505ef(-_0x2a5d34._0x5c7811,-_0x2a5d34._0x7af87e,-_0x2a5d34._0x37d9c6,-0x2e),0x1388),a(_0x1401e1(_0x2a5d34._0x1a163a,0x4b7,0x4ad,_0x2a5d34._0x27e7af),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0x1401e1(_0x2115a6,_0x34b1a0,_0x2db204,_0x215bb6){return _0x37c5(_0x2115a6-0x2e8,_0x2db204);}function _0x4505ef(_0x55a7b9,_0x1f898c,_0x3cf56f,_0x2a18c0){return _0x37c5(_0x3cf56f- -0x1fd,_0x2a18c0);}return _0xb396f3?.[_0x4505ef(-_0x2a5d34._0xa98238,-0x31,-_0x2a5d34._0x298ab7,-0x4b)](_0x4505ef(-_0x2a5d34._0x2c0ebe,-0x2d,-0x22,-_0x2a5d34._0x43a5aa))?_0x1401e1(_0x2a5d34._0x48ad12,_0x2a5d34._0x5c4856,_0x2a5d34._0x522454,_0x2a5d34._0x44e407):_0x4ddc92?.[_0x1401e1(0x4a9,0x4b0,0x4a9,_0x2a5d34._0x241338)](_0x1401e1(0x4c3,_0x2a5d34._0x2743fe,0x4cb,0x4c6))?_0x1401e1(0x4b0,0x4ae,0x4c0,_0x2a5d34._0x5650ee):_0x4a6d3d?.['includes']('@nuvin/nuvin-cli')?_0x4505ef(-0x25,-_0x2a5d34._0x5a5f31,-_0x2a5d34._0x3b8b11,-_0x2a5d34._0x3d0ee7):_0x4505ef(-_0x2a5d34._0x3cb096,-0x1a,-_0x2a5d34._0x145579,-0x3f);}function _0x2eac43(_0x501548,_0x5274ca){const _0x4bf5cd={_0x1e9297:0x24d},_0x1e26ba={_0x5a7c2f:0x2f5};function _0x268f5c(_0x28c827,_0x4f9b9e,_0x1b8e20,_0x15682f){return _0x37c5(_0x4f9b9e- -_0x1e26ba._0x5a7c2f,_0x15682f);}function _0x7bc6f2(_0x71e371,_0x14014b,_0x1955b4,_0x135d4e){return _0x37c5(_0x14014b- -_0x4bf5cd._0x1e9297,_0x71e371);}let _0x43ecd1=_0x5274ca?d+'@'+_0x5274ca:d+_0x268f5c(-0x11a,-_0x3afe62._0x1abc83,-0x118,-0x110);switch(_0x501548){case'pnpm':return _0x7bc6f2(-0x5b,-_0x3afe62._0x299d57,-_0x3afe62._0x2b2c06,-0x7e)+_0x43ecd1;case'yarn':return'yarn\x20global\x20add\x20'+_0x43ecd1;default:return _0x7bc6f2(-_0x3afe62._0x3ff19a,-_0x3afe62._0x3d21e9,-0x84,-0x73)+_0x43ecd1;}}async function _0xe42df0(_0x371175){const _0x57963f={_0x1dfe24:0xe5,_0xa78935:0xec,_0x53c38b:0x152,_0x22ab29:0x123,_0x22e9da:0x140,_0x5422ea:0x145,_0x4ce5e6:0x15a,_0x35c47a:0xfb,_0x59c555:0xfa},_0x2e504e={_0x42eebe:0x167};let {UpdateChecker:_0x32558a}=await import(_0x16a5a5(_0x227671._0x561824,_0x227671._0x3d8855,_0x227671._0x268836,0x87));function _0x3b0169(_0x19c2d7,_0x5e25e5,_0x19bc0b,_0x5bd170){return _0x37c5(_0x5e25e5- -0x181,_0x19c2d7);}function _0x16a5a5(_0x419d54,_0x2be3d5,_0x52434c,_0x452521){return _0x37c5(_0x2be3d5- -0x14e,_0x419d54);}try{let _0x363534=await _0x32558a[_0x3b0169(0x74,0x5f,0x69,0x74)]({'onUpdateAvailable':_0x371175?.[_0x16a5a5(0x9a,_0x227671._0x41d0da,0x8b,0x90)],'onError':_0x371175?.[_0x3b0169(_0x227671._0x5492a8,_0x227671._0x5a294d,0x46,_0x227671._0x3f6751)]});if(!_0x363534[_0x3b0169(_0x227671._0x38d69a,0x55,_0x227671._0x5cf41b,0x5d)])return!0x1;_0x371175?.['onUpdateStarted']&&_0x371175[_0x3b0169(0x5a,0x57,0x5b,_0x227671._0x2b64b4)]();let _0x1c27e2=await _0x143363(),_0x162094=_0x2eac43(_0x1c27e2,_0x363534['latest']),_0x4d4e9b=_0x224473('sh',['-c',_0x162094],{'detached':!0x0,'stdio':_0x3b0169(_0x227671._0x4d780e,0x53,_0x227671._0x4d780e,0x69)});return _0x4d4e9b['on'](_0x16a5a5(0x8e,0x96,0xa7,0x83),_0x25cd5a=>{const _0x4870e3={_0x57f652:0x92};function _0x57633f(_0x266881,_0x13f368,_0x13acdd,_0x3a20ed){return _0x3b0169(_0x3a20ed,_0x13acdd-0xf3,_0x13acdd-_0x4870e3._0x57f652,_0x3a20ed-0x123);}function _0x3a742c(_0x75adf1,_0x5e77aa,_0x12383d,_0x116a9d){return _0x3b0169(_0x12383d,_0x5e77aa- -0x143,_0x12383d-_0x2e504e._0x42eebe,_0x116a9d-0x51);}if(_0x371175?.[_0x3a742c(-0xef,-_0x57963f._0x1dfe24,-0xe2,-_0x57963f._0xa78935)]){let _0x160f65=_0x25cd5a===0x0,_0xd92d61=_0x160f65?_0x57633f(0x12a,0x134,0x13e,_0x57963f._0x53c38b)+_0x363534[_0x57633f(0x146,0x123,0x137,_0x57963f._0x22ab29)]+_0x57633f(0x13b,_0x57963f._0x22e9da,0x143,0x13f):_0x57633f(0x154,0x148,_0x57963f._0x5422ea,_0x57963f._0x4ce5e6);_0x371175[_0x3a742c(-_0x57963f._0x35c47a,-0xe5,-0xf4,-_0x57963f._0x59c555)](_0x160f65,_0xd92d61);}}),_0x4d4e9b['on']('error',_0x3e4cc5=>{const _0x10cd13={_0x27dd2f:0x6f,_0x42a26c:0x13b},_0x28dd72={_0x6b149e:0xeb,_0xd0c815:0xf1};function _0x20ebd8(_0x49dcf8,_0xc94e7a,_0x4d7168,_0x4b2cdc){return _0x16a5a5(_0x4d7168,_0x49dcf8- -0xcb,_0x4d7168-_0x28dd72._0x6b149e,_0x4b2cdc-_0x28dd72._0xd0c815);}function _0xbf1ea1(_0x4e9355,_0x164a51,_0x2c0a2d,_0x392a03){return _0x3b0169(_0x392a03,_0x164a51-_0x10cd13._0x27dd2f,_0x2c0a2d-_0x10cd13._0x42a26c,_0x392a03-0x1b4);}_0x371175?.[_0x20ebd8(-_0x34294f._0x49fc53,-0x49,-_0x34294f._0x333c5f,-0x33)]&&_0x371175['onUpdateCompleted'](!0x1,_0x20ebd8(-_0x34294f._0x231109,-_0x34294f._0x1dd2ba,-0x41,-0x3e)+_0x3e4cc5[_0x20ebd8(-_0x34294f._0xb029a,-0x67,-0x58,-_0x34294f._0x5b5716)]);}),_0x4d4e9b['unref'](),!0x0;}catch(_0xdecf40){return _0x371175?.[_0x3b0169(0x2c,_0x227671._0x11ab79,_0x227671._0x561f52,0x28)]&&_0x371175[_0x3b0169(0x52,_0x227671._0x5a294d,0x36,0x28)](_0xdecf40 instanceof Error?_0xdecf40:new Error(String(_0xdecf40))),!0x1;}}_0x41e085['checkAndUpdate']=_0xe42df0;})(h||={});export{h as AutoUpdater};function _0x4fd2(){const _0x408c4c=['EwfYBG','nty2otnvrePLte4','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','Bgf0zxn0','mJi0Bw9qBKvL','nJeXmdCZD1j6wvvs','Cg5WBq','nZGXDvbmyM1z','vxbKyxrLigzHAwXLzdOG','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','vxbKyxrLihrVihy','mti2z1rzzvHL','lI9vCgrHDgvdAgvJA2vYltjmqu0Zutu2lMPZ','mtu3meDgrfbOrG','BNbT','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','qgXHDgvZDa','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','AwDUB3jL','l3LHCM4V','AgfZvxbKyxrL','B25vCgrHDgvbDMfPBgfIBgu','B25vCgrHDgvtDgfYDgvK','BNbTigLUC3rHBgWGlwCG','BM9Kzv9TB2r1BgvZ','qg51DMLUl251DMLUlwnSAq','Cg5WBsbHzgqGlwCG','mteWnJGYnM1equ9xsW','ndi2ntu4tffXz2vA','B25vCgrHDgvdB21WBgv0zwq','y2HLy2TgB3jvCgrHDgu','mZa0nhnMywTOzq','mtu2mteWEu9IC2zI','l3bUCg0V','zxHPDa','DhjPBq','mZfqsuv6vMm','lY5WBNbTlW','lY55yxjUlW','CMvHzgXPBMSGiG','BwvZC2fNzq','B25fCNjVCG','D2HPy2GGBNv2Aw4','Aw5JBhvKzxm'];_0x4fd2=function(){return _0x408c4c;};return _0x4fd2();}
|
|
1
|
+
(function(_0x4d69b3,_0x47b38d){const _0x2c4013={_0xb52348:0x34,_0x527512:0x53,_0x31446d:0x40,_0x39e967:0x498,_0x16b476:0x499,_0x5e440e:0x485,_0x10d4e8:0x3c,_0x3407ed:0x47a,_0x4d5d65:0x486,_0x756bb6:0x3e,_0xb291ed:0x3c,_0x1b27d0:0x49c,_0x1b042d:0x3a,_0x3c7071:0x43,_0x74c0e1:0x54,_0x291868:0x4b,_0x21a5af:0x50,_0x4570eb:0x487,_0x2c98dd:0x62,_0x1a7649:0x47f,_0x2d47cc:0x4b7,_0x751c2a:0x4a6},_0x3c0d7b={_0x5e7693:0x158},_0x15390e={_0xa2f54:0x388};function _0x4610f4(_0x5d81a3,_0x5732e0,_0x5466a4,_0x255744){return _0x98c2(_0x5d81a3-_0x15390e._0xa2f54,_0x5732e0);}const _0x5c6422=_0x4d69b3();function _0x5409fe(_0x5ad2bd,_0x2cb1f5,_0x3b600f,_0x51a4e8){return _0x98c2(_0x51a4e8- -_0x3c0d7b._0x5e7693,_0x5ad2bd);}while(!![]){try{const _0x3fbc2c=parseInt(_0x5409fe(-0x40,-_0x2c4013._0xb52348,-_0x2c4013._0x527512,-_0x2c4013._0x31446d))/0x1*(parseInt(_0x4610f4(_0x2c4013._0x39e967,_0x2c4013._0x16b476,_0x2c4013._0x5e440e,0x49e))/0x2)+-parseInt(_0x5409fe(-_0x2c4013._0x10d4e8,-0x64,-_0x2c4013._0x527512,-0x52))/0x3*(-parseInt(_0x4610f4(_0x2c4013._0x3407ed,0x479,_0x2c4013._0x4d5d65,0x48d))/0x4)+-parseInt(_0x5409fe(-_0x2c4013._0x756bb6,-0x32,-0x3a,-_0x2c4013._0xb291ed))/0x5*(parseInt(_0x4610f4(_0x2c4013._0x1b27d0,0x49e,0x48f,0x4a2))/0x6)+-parseInt(_0x5409fe(-_0x2c4013._0x1b042d,-_0x2c4013._0x3c7071,-_0x2c4013._0x74c0e1,-_0x2c4013._0x291868))/0x7*(parseInt(_0x5409fe(-0x43,-0x5b,-_0x2c4013._0x21a5af,-0x51))/0x8)+-parseInt(_0x4610f4(0x491,0x498,0x4a4,_0x2c4013._0x4570eb))/0x9*(parseInt(_0x5409fe(-0x5d,-0x71,-0x51,-_0x2c4013._0x2c98dd))/0xa)+parseInt(_0x4610f4(_0x2c4013._0x1a7649,0x48f,0x481,0x493))/0xb+parseInt(_0x4610f4(0x4a3,0x4ad,_0x2c4013._0x2d47cc,_0x2c4013._0x751c2a))/0xc;if(_0x3fbc2c===_0x47b38d)break;else _0x5c6422['push'](_0x5c6422['shift']());}catch(_0xb87901){_0x5c6422['push'](_0x5c6422['shift']());}}}(_0x35d1,0xc4218));function _0x35fd23(_0x1ab765,_0x2d6eaa,_0x5afea1,_0x55d5a6){const _0x322454={_0x1e462a:0x124};return _0x98c2(_0x55d5a6- -_0x322454._0x1e462a,_0x1ab765);}import{exec as _0x43a575,spawn as _0x49281a}from'child_process';import{promisify as _0x4a1949}from'util';var v=_0x4a1949(_0x43a575),d=_0x35fd23(-0x14,-0x24,-0x6,-0x16);async function a(_0x4cbc85,_0x5bf14a){try{let {stdout:_0x5dd29a}=await v(_0x4cbc85,{'timeout':_0x5bf14a});return _0x5dd29a['trim']();}catch{return null;}}function _0x98c2(_0x65b636,_0x2e8bde){_0x65b636=_0x65b636-0xf1;const _0x35d19f=_0x35d1();let _0x98c216=_0x35d19f[_0x65b636];if(_0x98c2['USJxuf']===undefined){var _0x159dea=function(_0x125d6d){const _0x2f863d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43a575='',_0x49281a='';for(let _0x4a1949=0x0,_0x4cbc85,_0x5bf14a,_0x5dd29a=0x0;_0x5bf14a=_0x125d6d['charAt'](_0x5dd29a++);~_0x5bf14a&&(_0x4cbc85=_0x4a1949%0x4?_0x4cbc85*0x40+_0x5bf14a:_0x5bf14a,_0x4a1949++%0x4)?_0x43a575+=String['fromCharCode'](0xff&_0x4cbc85>>(-0x2*_0x4a1949&0x6)):0x0){_0x5bf14a=_0x2f863d['indexOf'](_0x5bf14a);}for(let _0x376043=0x0,_0x21678f=_0x43a575['length'];_0x376043<_0x21678f;_0x376043++){_0x49281a+='%'+('00'+_0x43a575['charCodeAt'](_0x376043)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x49281a);};_0x98c2['jzwGvq']=_0x159dea,_0x98c2['OENSzQ']={},_0x98c2['USJxuf']=!![];}const _0x11471a=_0x35d19f[0x0],_0xb2813b=_0x65b636+_0x11471a,_0x15076c=_0x98c2['OENSzQ'][_0xb2813b];return!_0x15076c?(_0x98c216=_0x98c2['jzwGvq'](_0x98c216),_0x98c2['OENSzQ'][_0xb2813b]=_0x98c216):_0x98c216=_0x15076c,_0x98c216;}function _0x35d1(){const _0x69033a=['mM5pwhLktq','zxjYB3i','Aw5JBhvKzxm','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','mtKWogrpre5IrG','EwfYBG','EwfYBIbNBg9IywWGBgLZDcaTlxbHDhrLCM4Gqg51DMLUl251DMLUlwnSAsaYpI9KzxyVBNvSBa','B25vCgrHDgvdB21WBgv0zwq','nte4nJeXzMvNtvjl','Cg5WBq','l3bUCg0V','ndCWnJiYmgXADhPrBa','mtCYntvVvLfOBgS','y2HLy2TgB3jvCgrHDgu','odaWz2Hxz3zb','vxbKyxrLigzHAwXLzdOG','B25vCgrHDgvtDgfYDgvK','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','mZG5otu3mfrUrNDqwq','mZG1mtq1mLnYEMrmDW','Cg5WBsbHzgqGlwCG','lY5WBNbTlW','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','CMvHzgXPBMSGiG','B25fCNjVCG','y2HLy2TbBMrvCgrHDgu','l3LHCM4V','l25WBs8','Bgf0zxn0','EwfYBIbNBg9IywWGywrKia','BwvZC2fNzq','vxbKyxrLihrVihy','AgfZvxbKyxrL','qgXHDgvZDa','mtG0ntz1thfju3m','mtC4mZeYs0HQqKH2','BM9Kzv9TB2r1BgvZ','ouDyq3DpzG','B25vCgrHDgvbDMfPBgfIBgu','lY55yxjUlW','BNbT','nJnhzfLZrei','qg51DMLUl251DMLUlwnSAq','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS'];_0x35d1=function(){return _0x69033a;};return _0x35d1();}var h;(_0x376043=>{const _0x3a0979={_0x29572f:0x2e6,_0x22a8b3:0x2c5,_0x2faf7d:0x2cd,_0x15d6dd:0x2b7,_0x525397:0x2c7,_0x21b952:0x2d6,_0x1097dc:0x1e9,_0x156aee:0x1ff,_0x53e4a9:0x1de,_0x59b6cc:0x1d9,_0x1d64ae:0x1ce,_0xb660d6:0x2c0,_0x2abc33:0x2b1,_0x4fe5fc:0x2c3,_0x287e98:0x2cc,_0x4e08da:0x2c5,_0x40709e:0x2bb,_0x1b6a6e:0x2d1},_0x5f5233={_0x2148fa:0x3c1},_0x57355e={_0x381bd8:0xfa,_0x5a3e28:0x101,_0x133995:0x412,_0x4ca2ef:0x407,_0x25344c:0x408,_0x5ce68a:0x41d,_0x8e4b2c:0x101,_0x585c77:0xf4,_0x4e4811:0x40d,_0x381749:0x3fa,_0xfd8116:0x40f},_0x2c581b={_0x11ad21:0x2f9},_0x550440={_0xb2a6:0x3e,_0x586023:0x37,_0x51efb0:0x77,_0x52c099:0x17,_0x88febe:0x22,_0x5485b6:0x47,_0x2df46d:0x49,_0x118f0a:0x7a,_0x2e71c0:0x89,_0x4f7bf3:0x88,_0x7b521f:0x24,_0x109ab0:0x30,_0xcf4ecd:0x32,_0xd01990:0x77,_0x1b5fec:0x2a,_0x1a7677:0x24,_0x59e0b9:0x4d,_0x5d2dde:0x7b,_0x5bf879:0x28,_0x48bd38:0x4f,_0x40ffea:0x7a,_0x50a63d:0x23,_0x53b8a1:0x1d,_0xef853c:0x30,_0x547b27:0x5f,_0x1ecb2b:0x6c,_0x56cf88:0x53,_0x5e7a8c:0x49,_0x2ef896:0x67,_0x3b411f:0x58,_0x183055:0x64,_0x59f438:0x8b,_0x341ab4:0x88,_0x413229:0x6a,_0x1865f7:0x8f,_0x5580a3:0x30,_0x35051c:0x2d,_0x2e1bf9:0x3d,_0x32e88a:0x2f,_0x96d40e:0x71,_0x5ac0fe:0x2c,_0x51ceae:0x72,_0x3e7c4a:0x64,_0x460a0a:0x34,_0x404067:0x2e,_0x180791:0x26,_0x4eab33:0x4a,_0x318ba5:0x36,_0x1c8dd5:0x3f,_0x2f122d:0x41,_0x1113e1:0x43,_0x104346:0x6d,_0x2b5f21:0x78,_0x5664a0:0x86,_0x4639d8:0x75,_0x46697d:0x7f,_0x39c9cb:0x74};async function _0x21678f(){let _0x3c4694=await a('which\x20nuvin',0xbb8);if(_0x3c4694){let _0x28d591=await a(_0x4ec85d(-_0x550440._0xb2a6,-_0x550440._0x586023,-0x4c,-0x47)+_0x3c4694+'\x22',0xbb8);if(_0x28d591){if(_0x28d591[_0x4abf9c(-0x79,-_0x550440._0x51efb0,-0x82,-0x74)](_0x4ec85d(-_0x550440._0x52c099,-0x18,-_0x550440._0x88febe,-0x28))||_0x28d591['includes'](_0x4ec85d(-0x3d,-_0x550440._0x5485b6,-0x34,-_0x550440._0x2df46d)))return'pnpm';if(_0x28d591[_0x4abf9c(-_0x550440._0x118f0a,-_0x550440._0x2e71c0,-0x82,-0x74)](_0x4abf9c(-0x8f,-0x8c,-0x8c,-_0x550440._0x4f7bf3))||_0x28d591[_0x4ec85d(-0x3f,-_0x550440._0x7b521f,-0x30,-0x30)](_0x4ec85d(-_0x550440._0x109ab0,-_0x550440._0xcf4ecd,-0x32,-0x37)))return _0x4abf9c(-0x78,-_0x550440._0xd01990,-0x5c,-0x71);if(_0x28d591[_0x4ec85d(-_0x550440._0x1b5fec,-0x1b,-_0x550440._0x1a7677,-_0x550440._0x109ab0)](_0x4ec85d(-0x2d,-0x51,-_0x550440._0x59e0b9,-0x43))||_0x28d591[_0x4abf9c(-0x83,-0x7a,-_0x550440._0x5d2dde,-0x74)](_0x4ec85d(-_0x550440._0x5bf879,-_0x550440._0x48bd38,-_0x550440._0x586023,-0x3a)))return _0x4abf9c(-0x8d,-0x6f,-0x7d,-_0x550440._0x40ffea);}else{if(_0x3c4694[_0x4ec85d(-_0x550440._0x1b5fec,-_0x550440._0x50a63d,-_0x550440._0x53b8a1,-_0x550440._0xef853c)](_0x4abf9c(-0x6e,-0x81,-_0x550440._0x547b27,-_0x550440._0x1ecb2b))||_0x3c4694['includes'](_0x4ec85d(-0x4e,-0x4e,-_0x550440._0x56cf88,-_0x550440._0x5e7a8c)))return _0x4abf9c(-_0x550440._0x2ef896,-_0x550440._0x3b411f,-_0x550440._0x183055,-0x6d);if(_0x3c4694['includes'](_0x4abf9c(-0x83,-_0x550440._0x59f438,-0x92,-_0x550440._0x341ab4))||_0x3c4694[_0x4abf9c(-0x76,-0x7b,-0x7a,-0x74)](_0x4abf9c(-_0x550440._0x413229,-0x89,-_0x550440._0x1865f7,-0x7b)))return _0x4ec85d(-0x34,-0x37,-_0x550440._0x5580a3,-_0x550440._0x35051c);}}let [_0x1db695,_0x48ddfc,_0x1f8091]=await Promise['all']([a(_0x4ec85d(-_0x550440._0x2e1bf9,-0x21,-0x24,-_0x550440._0x32e88a),0x1388),a(_0x4abf9c(-_0x550440._0x96d40e,-0x85,-0x79,-0x77),0x1388),a(_0x4ec85d(-0x18,-0x34,-0x35,-_0x550440._0x5ac0fe),0x1388)]);function _0x4abf9c(_0x40f48f,_0x4498d5,_0x4a8032,_0x4a1be7){return _0x98c2(_0x4a1be7- -0x186,_0x4a8032);}function _0x4ec85d(_0x24a45f,_0xf9c0ca,_0x347848,_0x53da32){return _0x98c2(_0x53da32- -0x142,_0x24a45f);}return _0x1db695?.[_0x4abf9c(-_0x550440._0x51ceae,-0x70,-_0x550440._0x3e7c4a,-0x74)](_0x4ec85d(-0x46,-0x22,-0x1e,-_0x550440._0x460a0a))?_0x4ec85d(-_0x550440._0x404067,-_0x550440._0x180791,-_0x550440._0x4eab33,-_0x550440._0x318ba5):_0x48ddfc?.[_0x4ec85d(-_0x550440._0x1c8dd5,-0x26,-0x26,-0x30)](_0x4ec85d(-_0x550440._0x2f122d,-_0x550440._0x1113e1,-0x3e,-0x34))?_0x4abf9c(-0x80,-0x58,-0x7e,-_0x550440._0x104346):_0x1f8091?.[_0x4abf9c(-_0x550440._0x2b5f21,-_0x550440._0x5664a0,-_0x550440._0x4639d8,-0x74)](_0x4abf9c(-_0x550440._0x46697d,-0x66,-0x83,-0x78))?_0x4abf9c(-0x5b,-_0x550440._0x39c9cb,-0x72,-0x71):_0x4ec85d(-0x36,-0x3f,-_0x550440._0xb2a6,-0x36);}function _0x498938(_0x602d84,_0x19abd3){function _0x31dde1(_0x5dd66d,_0x1a84c6,_0x5f2afa,_0x104014){return _0x98c2(_0x104014- -0x4,_0x5dd66d);}let _0x15a89c=_0x19abd3?d+'@'+_0x19abd3:d+_0x31dde1(0x114,0x105,_0x57355e._0x381bd8,_0x57355e._0x5a3e28);function _0x1522da(_0x19d0a0,_0x1a61d4,_0x35b0e6,_0x502e58){return _0x98c2(_0x19d0a0-_0x2c581b._0x11ad21,_0x1a61d4);}switch(_0x602d84){case _0x1522da(_0x57355e._0x133995,_0x57355e._0x4ca2ef,_0x57355e._0x25344c,_0x57355e._0x5ce68a):return _0x31dde1(_0x57355e._0x8e4b2c,0x102,0x104,_0x57355e._0x585c77)+_0x15a89c;case _0x1522da(0x40e,_0x57355e._0x4e4811,0x413,0x415):return _0x1522da(_0x57355e._0x381749,0x408,0x3f5,_0x57355e._0xfd8116)+_0x15a89c;default:return'npm\x20install\x20-g\x20'+_0x15a89c;}}async function _0x36af2c(_0x1c709f){const _0x496593={_0xa0cbf4:0x191,_0x56f051:0x1ae,_0x2deb03:0x1a2,_0x3f2d63:0x5c,_0x163ff9:0x59,_0x21c31a:0x65,_0x58bcbd:0x73},_0x1c6b8b={_0x2e6486:0x166,_0x3925f7:0x17f},_0x4451a9={_0x4e1ae9:0x327,_0x27a714:0x50},_0xdb2773={_0x546dbf:0x202,_0x1d9573:0x1fe,_0x1c828a:0x1fa,_0x4e173f:0x410,_0x1d9dc6:0x404,_0x5e06b2:0x417,_0x35d57a:0x3f5,_0x42ec00:0x3f9,_0x58e7ac:0x1f4,_0x44d5b4:0x1fe,_0x6de389:0x207,_0x4b0b95:0x1ef,_0x58c5d6:0x200},_0x20cad8={_0x84296d:0xb1},_0x468ba5={_0x5e61d4:0x21f,_0x20a8b0:0x176,_0x2f982b:0x9};function _0x4137b9(_0xd6fbfe,_0x45aab0,_0x38c366,_0x6aef07){return _0x98c2(_0x45aab0- -_0x5f5233._0x2148fa,_0xd6fbfe);}function _0x598f5c(_0x1efc79,_0x3e2f9b,_0x264ef2,_0x2341d2){return _0x98c2(_0x1efc79-0xe5,_0x3e2f9b);}let {UpdateChecker:_0x32b773}=await import('./UpdateChecker-2LAM3Q56.js');try{let _0x50a61e=await _0x32b773[_0x4137b9(-_0x3a0979._0x29572f,-0x2d0,-_0x3a0979._0x22a8b3,-0x2cd)]({'onUpdateAvailable':_0x1c709f?.[_0x4137b9(-_0x3a0979._0x2faf7d,-_0x3a0979._0x15d6dd,-0x2ba,-_0x3a0979._0x525397)],'onError':_0x1c709f?.[_0x4137b9(-_0x3a0979._0x22a8b3,-0x2c5,-0x2b5,-_0x3a0979._0x21b952)]});if(!_0x50a61e[_0x598f5c(_0x3a0979._0x1097dc,0x1ed,_0x3a0979._0x156aee,_0x3a0979._0x53e4a9)])return!0x1;_0x1c709f?.[_0x598f5c(_0x3a0979._0x59b6cc,0x1da,_0x3a0979._0x1d64ae,0x1d8)]&&_0x1c709f[_0x4137b9(-0x2cb,-0x2cd,-0x2b7,-_0x3a0979._0x21b952)]();let _0x511efd=await _0x21678f(),_0x3182d0=_0x498938(_0x511efd,_0x50a61e['latest']),_0x14c707=_0x49281a('sh',['-c',_0x3182d0],{'detached':!0x0,'stdio':'ignore'});return _0x14c707['on']('exit',_0x1cb179=>{function _0x4aaebe(_0x4f2c33,_0x3e8c18,_0x3618b7,_0x19146f){return _0x598f5c(_0x3618b7-_0x468ba5._0x5e61d4,_0x3e8c18,_0x3618b7-_0x468ba5._0x20a8b0,_0x19146f-_0x468ba5._0x2f982b);}function _0x42a9a3(_0x168522,_0x33d7e9,_0x5d2855,_0x50b23b){return _0x598f5c(_0x5d2855- -0x3e6,_0x50b23b,_0x5d2855-0xa3,_0x50b23b-_0x20cad8._0x84296d);}if(_0x1c709f?.['onUpdateCompleted']){let _0x254093=_0x1cb179===0x0,_0x2be7d0=_0x254093?_0x42a9a3(-0x20e,-_0xdb2773._0x546dbf,-_0xdb2773._0x1d9573,-_0xdb2773._0x1c828a)+_0x50a61e[_0x4aaebe(0x412,_0xdb2773._0x4e173f,_0xdb2773._0x1d9dc6,_0xdb2773._0x5e06b2)]+_0x4aaebe(_0xdb2773._0x35d57a,0x3ee,_0xdb2773._0x42ec00,0x40b):_0x42a9a3(-_0xdb2773._0x58e7ac,-_0xdb2773._0x44d5b4,-_0xdb2773._0x6de389,-0x20f);_0x1c709f[_0x42a9a3(-_0xdb2773._0x4b0b95,-0x1f6,-0x1ea,-_0xdb2773._0x58c5d6)](_0x254093,_0x2be7d0);}}),_0x14c707['on'](_0x4137b9(-_0x3a0979._0xb660d6,-0x2b0,-_0x3a0979._0x2abc33,-_0x3a0979._0x4fe5fc),_0x52b43d=>{function _0x5056b4(_0x49ac8a,_0x208705,_0x58c9a9,_0x169752){return _0x4137b9(_0x208705,_0x58c9a9-_0x4451a9._0x4e1ae9,_0x58c9a9-0x52,_0x169752-_0x4451a9._0x27a714);}function _0x4670cc(_0x4d3fa5,_0x1a6b57,_0x2f7824,_0x2b3be6){return _0x598f5c(_0x2b3be6- -0x5a,_0x1a6b57,_0x2f7824-_0x1c6b8b._0x2e6486,_0x2b3be6-_0x1c6b8b._0x3925f7);}_0x1c709f?.[_0x4670cc(0x192,_0x496593._0xa0cbf4,_0x496593._0x56f051,_0x496593._0x2deb03)]&&_0x1c709f['onUpdateCompleted'](!0x1,_0x5056b4(_0x496593._0x3f2d63,0x43,_0x496593._0x163ff9,_0x496593._0x21c31a)+_0x52b43d[_0x5056b4(_0x496593._0x58bcbd,0x7c,0x68,0x76)]);}),_0x14c707['unref'](),!0x0;}catch(_0xedc79d){return _0x1c709f?.[_0x4137b9(-_0x3a0979._0x287e98,-_0x3a0979._0x4e08da,-_0x3a0979._0x40709e,-_0x3a0979._0x1b6a6e)]&&_0x1c709f['onError'](_0xedc79d instanceof Error?_0xedc79d:new Error(String(_0xedc79d))),!0x1;}}function _0x15c48c(_0x13e1fa,_0x2ee7d6,_0x2fd5ec,_0x3b18bd){return _0x35fd23(_0x13e1fa,_0x2ee7d6-0xaa,_0x2fd5ec-0x131,_0x2ee7d6-0x10f);}_0x376043[_0x15c48c(0xfb,0xe8,0xef,0xd6)]=_0x36af2c;})(h||={});export{h as AutoUpdater};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x188a49,_0x3977d2){var _0x264206={_0x3e3b7d:0x108,_0xdeeec8:0x109,_0x2a5eb3:0x103,_0x540c2c:0x4af,_0x4582f4:0x4b3,_0x968051:0x4ab,_0x465b0c:0x4b8,_0xe4d11c:0x4b4,_0x217ab5:0x4ac,_0x59f5b3:0x4ad,_0x52396a:0x4b5,_0x7074fa:0x106,_0xd4bc87:0x101,_0x3c2e01:0x4b7,_0xd60c68:0x4bb,_0x3f1d6a:0x4ba,_0xf5bb94:0x4b5,_0x2a23f5:0x4b8,_0x3b230f:0x4bc,_0x17ed0e:0x4b6,_0x13256f:0xfd},_0x2d48cd={_0xadbfc3:0x303},_0x32289d=_0x188a49();function _0x2eebed(_0x3eacc3,_0x485ff8,_0x1c9ea2,_0x1d84e0){return _0x452c(_0x1d84e0-_0x2d48cd._0xadbfc3,_0x1c9ea2);}function _0x54ebe2(_0x325efb,_0x149a67,_0x306dfb,_0x3300c7){return _0x452c(_0x3300c7- -0x2b0,_0x325efb);}while(!![]){try{var _0xb237e4=parseInt(_0x2eebed(0x4b7,0x4b7,0x4bc,0x4b9))/0x1*(parseInt(_0x54ebe2(-_0x264206._0x3e3b7d,-0xfe,-_0x264206._0xdeeec8,-_0x264206._0x2a5eb3))/0x2)+parseInt(_0x2eebed(_0x264206._0x540c2c,_0x264206._0x4582f4,_0x264206._0x968051,0x4ae))/0x3*(-parseInt(_0x2eebed(0x4af,0x4b5,_0x264206._0x465b0c,_0x264206._0xe4d11c))/0x4)+-parseInt(_0x2eebed(0x4b3,_0x264206._0x217ab5,_0x264206._0x59f5b3,0x4b1))/0x5*(-parseInt(_0x2eebed(_0x264206._0x52396a,0x4b3,0x4b0,0x4b2))/0x6)+parseInt(_0x54ebe2(-_0x264206._0x7074fa,-_0x264206._0xd4bc87,-0x103,-0x104))/0x7*(-parseInt(_0x2eebed(0x4b6,_0x264206._0x3c2e01,0x4bd,_0x264206._0x3c2e01))/0x8)+-parseInt(_0x2eebed(_0x264206._0xd60c68,0x4bc,0x4c1,_0x264206._0x3f1d6a))/0x9*(parseInt(_0x2eebed(0x4b5,0x4b8,0x4b4,_0x264206._0xf5bb94))/0xa)+parseInt(_0x54ebe2(-0x101,-0xfb,-0xfa,-0xfb))/0xb*(-parseInt(_0x2eebed(_0x264206._0x2a23f5,0x4ba,_0x264206._0x3b230f,_0x264206._0x17ed0e))/0xc)+parseInt(_0x54ebe2(-0x106,-0xfa,-_0x264206._0x13256f,-0x100))/0xd;if(_0xb237e4===_0x3977d2)break;else _0x32289d['push'](_0x32289d['shift']());}catch(_0x124064){_0x32289d['push'](_0x32289d['shift']());}}}(_0x326c,0x219eb));function _0x452c(_0x3d1849,_0x8441b2){_0x3d1849=_0x3d1849-0x1ab;var _0x326c66=_0x326c();var _0x452c10=_0x326c66[_0x3d1849];if(_0x452c['KvXpao']===undefined){var _0x26534b=function(_0x4b857d){var _0x3cab6b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x401367='',_0x3952e8='';for(var _0xad1da9=0x0,_0x371a85,_0x6d6951,_0x27e7c6=0x0;_0x6d6951=_0x4b857d['charAt'](_0x27e7c6++);~_0x6d6951&&(_0x371a85=_0xad1da9%0x4?_0x371a85*0x40+_0x6d6951:_0x6d6951,_0xad1da9++%0x4)?_0x401367+=String['fromCharCode'](0xff&_0x371a85>>(-0x2*_0xad1da9&0x6)):0x0){_0x6d6951=_0x3cab6b['indexOf'](_0x6d6951);}for(var _0x1b8977=0x0,_0x37f239=_0x401367['length'];_0x1b8977<_0x37f239;_0x1b8977++){_0x3952e8+='%'+('00'+_0x401367['charCodeAt'](_0x1b8977)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3952e8);};_0x452c['zjxVRq']=_0x26534b,_0x452c['dxlnLx']={},_0x452c['KvXpao']=!![];}var _0x190413=_0x326c66[0x0],_0x307ed2=_0x3d1849+_0x190413,_0x57f21f=_0x452c['dxlnLx'][_0x307ed2];return!_0x57f21f?(_0x452c10=_0x452c['zjxVRq'](_0x452c10),_0x452c['dxlnLx'][_0x307ed2]=_0x452c10):_0x452c10=_0x57f21f,_0x452c10;}import{a,b,c,d}from'./chunk-NHBPZPAB.js';function _0x326c(){var _0xb4b5d=['nJu0ofPqDNnmrW','nZm4nvfTshjuAG','mtC0zNzcvxPy','odq0mZCZngXJyvDvrG','mtGZmKD3zeDbCW','ndq5ntKWAwHtCNvJ','nJK4ndi0wefLAMLH','ofPcv09wBG','mJjmBujlt1C','mtDqEvjLy1O','owTsEuzhBa','mtm5nuLny21ywG','mty1mtC4m2HyvvrKza'];_0x326c=function(){return _0xb4b5d;};return _0x326c();}export{a as FileTokenStorage,b as MemoryTokenStorage,c as getDefaultTokenStorage,d as setDefaultTokenStorage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x396c7d(_0x1dddf2,_0x5514fe,_0x3af599,_0x53f8a3){return _0x4800(_0x53f8a3- -0x32c,_0x5514fe);}function _0x1005(){const _0x848076=['y2HLy2TgB3jvCgrHDgu','BgvUz3rO','C3rHDhvZq29Kzq','zgvZDhjVEq','qg51DMLUl251DMLUlwnSAq','nZq4u0HHC1fu','B25fCNjVCG','mtm2ndK4ve5kre5o','Aw5JBhvKzxm','C3bSAxq','CMvWBgfJzq','mti1nJi3ndrcsLfMu0m','BwfW','mty3nJCZmefPrMT1sa','DMvYC2LVBG','DgLTzw91Da','zgf0yq','l2XHDgvZDa','ntK1ndvwwuvKrKe','CgfYC2u','B25vCgrHDgvbDMfPBgfIBgu','CMvXDwvZDa','n1bqCe5vBG','sfruuca','mJG4otGWBMnwuwv2','ntiZmZiZmhPtDu9jDW','uMvXDwvZDcb0Aw1LB3v0','CMvNAxn0CNKUBNbTANmUB3jN','zxjYB3i','mte4mty4ndD5yxrds1y','zw5K','mxbuBfHwsG','ntq4u214tejb'];_0x1005=function(){return _0x848076;};return _0x1005();}function _0x4800(_0x19ee41,_0x18752a){_0x19ee41=_0x19ee41-0xaa;const _0x1005d4=_0x1005();let _0x48004a=_0x1005d4[_0x19ee41];if(_0x4800['zdNtoK']===undefined){var _0x5213ba=function(_0x57157e){const _0x584f1f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf6127b='',_0x4d31a8='';for(let _0x2af23f=0x0,_0x487752,_0x5f0989,_0x335a71=0x0;_0x5f0989=_0x57157e['charAt'](_0x335a71++);~_0x5f0989&&(_0x487752=_0x2af23f%0x4?_0x487752*0x40+_0x5f0989:_0x5f0989,_0x2af23f++%0x4)?_0xf6127b+=String['fromCharCode'](0xff&_0x487752>>(-0x2*_0x2af23f&0x6)):0x0){_0x5f0989=_0x584f1f['indexOf'](_0x5f0989);}for(let _0xcbb54c=0x0,_0x45aeba=_0xf6127b['length'];_0xcbb54c<_0x45aeba;_0xcbb54c++){_0x4d31a8+='%'+('00'+_0xf6127b['charCodeAt'](_0xcbb54c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d31a8);};_0x4800['zqUQcH']=_0x5213ba,_0x4800['RhrNmk']={},_0x4800['zdNtoK']=!![];}const _0x255ab9=_0x1005d4[0x0],_0x13e215=_0x19ee41+_0x255ab9,_0x3bcdb2=_0x4800['RhrNmk'][_0x13e215];return!_0x3bcdb2?(_0x48004a=_0x4800['zqUQcH'](_0x48004a),_0x4800['RhrNmk'][_0x13e215]=_0x48004a):_0x48004a=_0x3bcdb2,_0x48004a;}(function(_0xce4998,_0x169b69){const _0x52291e={_0x3e152c:0x26,_0x14f1be:0x24,_0x52a146:0x19,_0x5c10b3:0x3d,_0xb8ae7e:0x28,_0x171aea:0x23b,_0x34735f:0x23e,_0x2c1db1:0x231,_0x37a649:0x23c,_0x3549e8:0x235,_0xd68480:0x22f,_0x21cbda:0x254,_0x4b73c6:0x258,_0x5a4d2d:0x1b,_0x2f2cfa:0x1b,_0x32c678:0x3c,_0x176bd6:0x239,_0x3e3541:0x241,_0x7bcad2:0x23d,_0x514435:0x226,_0x103295:0x234,_0xa24689:0x237,_0x5f33d3:0x242,_0x25ca67:0x240},_0x590185={_0xed8a0a:0x183};function _0x36982e(_0x2a3f4d,_0x2628d3,_0x3e8f7b,_0x5d97f7){return _0x4800(_0x3e8f7b- -0x94,_0x5d97f7);}function _0x5ab9cf(_0x1133fb,_0x58eabe,_0x5c9abe,_0x1d78b){return _0x4800(_0x58eabe-_0x590185._0xed8a0a,_0x5c9abe);}const _0x45566b=_0xce4998();while(!![]){try{const _0x58dd26=-parseInt(_0x36982e(_0x52291e._0x3e152c,0x1e,_0x52291e._0x14f1be,_0x52291e._0x52a146))/0x1*(-parseInt(_0x36982e(_0x52291e._0x5c10b3,_0x52291e._0xb8ae7e,0x2d,0x28))/0x2)+parseInt(_0x5ab9cf(_0x52291e._0x171aea,0x235,0x225,_0x52291e._0x34735f))/0x3+-parseInt(_0x5ab9cf(_0x52291e._0x2c1db1,_0x52291e._0x37a649,_0x52291e._0x3549e8,0x23f))/0x4*(-parseInt(_0x5ab9cf(_0x52291e._0x3549e8,0x22e,0x236,_0x52291e._0xd68480))/0x5)+-parseInt(_0x5ab9cf(_0x52291e._0x21cbda,0x24a,_0x52291e._0x4b73c6,0x245))/0x6+parseInt(_0x36982e(0x27,0x1b,_0x52291e._0x5a4d2d,_0x52291e._0x2f2cfa))/0x7*(-parseInt(_0x36982e(0x2c,0x20,0x31,_0x52291e._0x32c678))/0x8)+parseInt(_0x5ab9cf(0x228,_0x52291e._0x176bd6,_0x52291e._0x3e3541,_0x52291e._0x7bcad2))/0x9+parseInt(_0x5ab9cf(_0x52291e._0x514435,_0x52291e._0x103295,0x227,_0x52291e._0xa24689))/0xa*(-parseInt(_0x5ab9cf(0x234,_0x52291e._0x5f33d3,0x245,_0x52291e._0x25ca67))/0xb);if(_0x58dd26===_0x169b69)break;else _0x45566b['push'](_0x45566b['shift']());}catch(_0x1a2130){_0x45566b['push'](_0x45566b['shift']());}}}(_0x1005,0xe60e9));function _0x4e4ef6(_0x2dd9b1,_0x4b1176,_0x14a6c0,_0x45cab9){const _0x3e932d={_0x207350:0x264};return _0x4800(_0x45cab9- -_0x3e932d._0x207350,_0x14a6c0);}import{a as _0xf6127b}from'./chunk-AJHDLTY3.js';import _0x4d31a8 from'https';var d=_0x396c7d(-0x273,-0x284,-0x27d,-0x278),m=_0x4e4ef6(-0x1a9,-0x1a5,-0x199,-0x1a6),f=0x1388,h;(_0x2af23f=>{const _0x4b82c9={_0x18772b:0x3c6,_0x585ee7:0x3d0},_0xceb6ce={_0x434da6:0x9d,_0x2498f3:0x9f,_0x40881a:0x8d,_0x5062f1:0x9c,_0x5a3004:0x387,_0x57f6ab:0x397,_0x11a8e1:0x91,_0x567aae:0x97,_0x3c08f3:0x85,_0x2a494f:0x9c,_0x220a1f:0x8f},_0x1cd9d6={_0x2e1bfa:0x27d,_0x458da1:0x26c,_0x545da1:0x277,_0x1f7234:0x289,_0x58eb76:0x271,_0x3e7c9f:0x26e,_0x1ea491:0x202,_0x3b23d7:0x205,_0x2ad08d:0x227,_0x59a517:0x216,_0x45db33:0x222,_0x12f28c:0x210,_0x405e6c:0x212},_0x12c663={_0x50784e:0x83,_0x4e8706:0xfd},_0x59fabf={_0x6a99b4:0x37b,_0x16fb45:0x36a,_0x111a1e:0x366,_0x25a902:0x1d9,_0x5743a7:0x1d6},_0xdd7ff6={_0x1b1044:0x2b9};async function _0x487752(_0xcbb54c){let _0x45aeba=_0xf6127b();function _0x2cb5e4(_0x158af4,_0x1a595d,_0x301303,_0x229cb5){return _0x4800(_0x229cb5-0x125,_0x158af4);}function _0x2f37f3(_0x4d5ba5,_0x24d397,_0x3dc323,_0x45b86a){return _0x4800(_0x24d397-_0xdd7ff6._0x1b1044,_0x3dc323);}try{let _0x1e5395=await _0x5f0989();if(_0x1e5395[_0x2f37f3(0x370,_0x59fabf._0x6a99b4,0x36e,_0x59fabf._0x16fb45)]('-'))return{'current':_0x45aeba,'latest':_0x1e5395,'hasUpdate':!0x1};let _0x45cd0e=_0x335a71(_0x45aeba,_0x1e5395)<0x0,_0x322d8c={'current':_0x45aeba,'latest':_0x1e5395,'hasUpdate':_0x45cd0e};return _0x45cd0e&&_0xcbb54c?.['onUpdateAvailable']&&_0xcbb54c[_0x2f37f3(0x36e,_0x59fabf._0x111a1e,0x369,0x35e)](_0x322d8c),_0x322d8c;}catch(_0x3ec0a7){return _0xcbb54c?.[_0x2cb5e4(_0x59fabf._0x25a902,_0x59fabf._0x5743a7,0x1ed,0x1e5)]&&_0xcbb54c['onError'](_0x3ec0a7 instanceof Error?_0x3ec0a7:new Error(String(_0x3ec0a7))),{'current':_0x45aeba,'latest':_0x45aeba,'hasUpdate':!0x1};}}function _0x139664(_0x2736ea,_0x335fc9,_0x34a9e2,_0xeef0ad){return _0x4e4ef6(_0x2736ea-_0x12c663._0x50784e,_0x335fc9-_0x12c663._0x4e8706,_0x2736ea,_0xeef0ad-0x56c);}_0x2af23f[_0x139664(_0x4b82c9._0x18772b,_0x4b82c9._0x585ee7,0x3b6,0x3c2)]=_0x487752;function _0x5f0989(){const _0x4f1b98={_0x502840:0x14d};return new Promise((_0x5c0241,_0x480f9b)=>{const _0x51991d={_0x11cec9:0xde,_0x1cdf21:0xcc,_0x2f8d04:0x158,_0x5c8c29:0x157},_0x5dab74={_0x2930e0:0x358},_0x2a217e={_0x3931ed:0x311,_0x48a52b:0x30f,_0x35e286:0x423,_0x52edcf:0x423},_0x134119={_0xc77538:0x1dd,_0x123a45:0x22e};let _0x3cff9b={'hostname':d,'path':'/'+encodeURIComponent(m)+_0x5c5ec0(-_0x1cd9d6._0x2e1bfa,-_0x1cd9d6._0x458da1,-0x270,-_0x1cd9d6._0x545da1),'method':'GET','headers':{'Accept':'application/json'},'timeout':f},_0x197fd1=_0x4d31a8[_0x5c5ec0(-0x279,-_0x1cd9d6._0x1f7234,-_0x1cd9d6._0x58eb76,-_0x1cd9d6._0x3e7c9f)](_0x3cff9b,_0x2f7fce=>{const _0x3290e8={_0x21c8c9:0x178,_0x9be314:0x3bc,_0x559a0c:0x3cc,_0x2d77ff:0x3bd,_0x65cb63:0x19d,_0x305343:0x193,_0x50fbd2:0x1a1,_0x194e31:0x16e,_0x3ac850:0x17b,_0x277a3b:0x16b},_0x4192db={_0x1dd695:0x102,_0x5d4c3e:0x6eb},_0x530568={_0x177285:0x65},_0x5e5131={_0x52dc5e:0x84};let _0x4fa88c='';function _0x336ab9(_0x3a89db,_0x159b34,_0x37a30a,_0x19eff5){return _0x5c308e(_0x3a89db-_0x134119._0xc77538,_0x159b34-_0x134119._0x123a45,_0x19eff5,_0x19eff5-0x13a);}function _0x20eb5b(_0xd58fc4,_0x1e0418,_0x499ef5,_0x298c73){return _0x5c308e(_0xd58fc4-_0x5e5131._0x52dc5e,_0x499ef5- -0x528,_0x1e0418,_0x298c73-0x133);}_0x2f7fce['on'](_0x20eb5b(-0x307,-0x30c,-_0x2a217e._0x3931ed,-_0x2a217e._0x48a52b),_0xf74c8=>{_0x4fa88c+=_0xf74c8;}),_0x2f7fce['on'](_0x336ab9(0x433,0x432,_0x2a217e._0x35e286,_0x2a217e._0x52edcf),()=>{function _0x5c78c3(_0x593ba4,_0x1adff3,_0x405e71,_0x5f4b5d){return _0x336ab9(_0x593ba4-_0x530568._0x177285,_0x1adff3- -0x2b0,_0x405e71-0x39,_0x405e71);}function _0x22b0f8(_0x80cf7a,_0x374d77,_0x44e9cc,_0x140605){return _0x20eb5b(_0x80cf7a-_0x4192db._0x1dd695,_0x374d77,_0x80cf7a-_0x4192db._0x5d4c3e,_0x140605-0x17c);}try{if(_0x2f7fce[_0x5c78c3(0x188,0x187,0x187,_0x3290e8._0x21c8c9)]===0xc8){let _0x3768bc=JSON[_0x22b0f8(_0x3290e8._0x9be314,_0x3290e8._0x559a0c,0x3c7,_0x3290e8._0x2d77ff)](_0x4fa88c);_0x5c0241(_0x3768bc[_0x5c78c3(_0x3290e8._0x65cb63,_0x3290e8._0x305343,0x1a1,_0x3290e8._0x50fbd2)]);}else _0x480f9b(new Error(_0x5c78c3(_0x3290e8._0x194e31,_0x3290e8._0x3ac850,_0x3290e8._0x277a3b,0x16f)+_0x2f7fce[_0x22b0f8(0x3cc,0x3dc,0x3cf,0x3c3)]));}catch(_0x4777e3){_0x480f9b(_0x4777e3);}});});function _0x5c308e(_0x5f3b28,_0x4c67ba,_0x20fcfe,_0x5c4767){return _0x4800(_0x4c67ba-_0x4f1b98._0x502840,_0x20fcfe);}function _0x5c5ec0(_0x125d7d,_0x30c8b9,_0xabcfe9,_0x3802c0){return _0x4800(_0x125d7d- -0x327,_0xabcfe9);}_0x197fd1['on'](_0x5c308e(0x20e,_0x1cd9d6._0x1ea491,0x20e,_0x1cd9d6._0x3b23d7),_0x480f9b),_0x197fd1['on'](_0x5c308e(_0x1cd9d6._0x2ad08d,_0x1cd9d6._0x59a517,0x226,_0x1cd9d6._0x45db33),()=>{function _0x39c82b(_0x1da8fb,_0x574e72,_0x202873,_0x56071e){return _0x5c308e(_0x1da8fb-0x17d,_0x56071e- -0x2df,_0x574e72,_0x56071e-0x34);}function _0x294470(_0x3fdd19,_0x116656,_0x62d776,_0x5d10ea){return _0x5c308e(_0x3fdd19-0x1f2,_0x3fdd19- -_0x5dab74._0x2930e0,_0x62d776,_0x5d10ea-0x87);}_0x197fd1[_0x39c82b(-_0x51991d._0x11cec9,-0xc8,-_0x51991d._0x1cdf21,-0xd5)](),_0x480f9b(new Error(_0x294470(-_0x51991d._0x2f8d04,-0x14d,-_0x51991d._0x5c8c29,-0x168)));}),_0x197fd1[_0x5c308e(_0x1cd9d6._0x12f28c,0x204,_0x1cd9d6._0x405e6c,0x20e)]();});}function _0x335a71(_0x15fc8b,_0xa64052){const _0x15c9a9={_0x2913df:0x20,_0x1daef7:0xf},_0xc8bdf1={_0x194f88:0x47};function _0x45a5d4(_0xab4a4f,_0xe67c2f,_0x57f174,_0x415c83){return _0x139664(_0x57f174,_0xe67c2f-0x12,_0x57f174-0xeb,_0xab4a4f- -_0xc8bdf1._0x194f88);}let _0x164520=_0x55f8a1=>_0x55f8a1[_0x45a5d4(0x385,0x382,0x377,0x377)](/^v/,'')['split']('-')[0x0],_0x443f45=_0x164520(_0x15fc8b)[_0x3b8b28(0x91,_0xceb6ce._0x434da6,0xa7,0x97)]('.')[_0x3b8b28(_0xceb6ce._0x2498f3,_0xceb6ce._0x40881a,_0xceb6ce._0x5062f1,0x9a)](Number),_0x57d4da=_0x164520(_0xa64052)[_0x3b8b28(0x94,_0xceb6ce._0x434da6,0x87,0x97)]('.')[_0x45a5d4(_0xceb6ce._0x5a3004,0x37e,_0xceb6ce._0x57f6ab,0x38c)](Number);for(let _0x39e518=0x0;_0x39e518<Math['max'](_0x443f45[_0x3b8b28(_0xceb6ce._0x11a8e1,_0xceb6ce._0x567aae,0x8d,0x8f)],_0x57d4da[_0x3b8b28(0x94,_0xceb6ce._0x3c08f3,_0xceb6ce._0x2a494f,_0xceb6ce._0x220a1f)]);_0x39e518++){let _0x49c459=_0x443f45[_0x39e518]||0x0,_0x246818=_0x57d4da[_0x39e518]||0x0;if(_0x49c459>_0x246818)return 0x1;if(_0x49c459<_0x246818)return-0x1;}function _0x3b8b28(_0x1a9582,_0x4d44f3,_0x35e02b,_0x9ddfa7){return _0x139664(_0x1a9582,_0x4d44f3-_0x15c9a9._0x2913df,_0x35e02b-_0x15c9a9._0x1daef7,_0x9ddfa7- -0x334);}return 0x0;}})(h||={});export{h as UpdateChecker};
|
|
1
|
+
function _0x1ca19b(_0x3963aa,_0xf2091f,_0x141d7f,_0x14fbab){return _0x23a4(_0x3963aa- -0x1be,_0x141d7f);}function _0x79e1b7(_0x2681d1,_0x343cc1,_0x46c74f,_0x318417){return _0x23a4(_0x343cc1-0x381,_0x318417);}(function(_0x7d70e,_0x3d9271){const _0x29dad6={_0xb6829d:0x30e,_0x2147ae:0x306,_0x213139:0x307,_0x1527f4:0x328,_0x307596:0x99,_0x237420:0x90,_0x3e5579:0x98,_0x1f9ea5:0x30c,_0x2a1a0c:0x30b,_0x508bc7:0x315,_0x41eec5:0x330,_0x2ef836:0xa7,_0x271ad5:0x96,_0x24129e:0x316,_0x211b83:0x30d,_0x25b6dd:0x321,_0x531466:0x9d,_0x1ef0e7:0x323},_0x2c0589={_0x30bb64:0x133};function _0x4ea287(_0x39b55e,_0x4dc784,_0x3098d0,_0x3500de){return _0x23a4(_0x39b55e-0x148,_0x4dc784);}const _0x1da99a=_0x7d70e();function _0x216cc1(_0x37f577,_0x1aac84,_0x386589,_0x40a6fb){return _0x23a4(_0x386589- -_0x2c0589._0x30bb64,_0x40a6fb);}while(!![]){try{const _0xa4378e=-parseInt(_0x4ea287(_0x29dad6._0xb6829d,0x302,_0x29dad6._0x2147ae,_0x29dad6._0x213139))/0x1*(parseInt(_0x4ea287(0x324,0x31c,_0x29dad6._0x1527f4,0x333))/0x2)+-parseInt(_0x216cc1(_0x29dad6._0x307596,_0x29dad6._0x237420,_0x29dad6._0x3e5579,0x8a))/0x3*(-parseInt(_0x4ea287(0x31d,0x314,0x323,0x314))/0x4)+parseInt(_0x4ea287(_0x29dad6._0x1f9ea5,0x2fe,0x30d,_0x29dad6._0x2a1a0c))/0x5+parseInt(_0x4ea287(0x320,_0x29dad6._0x508bc7,_0x29dad6._0x41eec5,0x31d))/0x6+parseInt(_0x216cc1(0x96,_0x29dad6._0x2ef836,0x9c,_0x29dad6._0x271ad5))/0x7*(-parseInt(_0x4ea287(0x318,_0x29dad6._0x24129e,_0x29dad6._0x211b83,0x319))/0x8)+parseInt(_0x4ea287(0x311,0x30b,0x31f,_0x29dad6._0x25b6dd))/0x9*(parseInt(_0x216cc1(0x9c,_0x29dad6._0x531466,0xa0,_0x29dad6._0x2ef836))/0xa)+-parseInt(_0x4ea287(0x327,_0x29dad6._0x1ef0e7,0x324,0x320))/0xb;if(_0xa4378e===_0x3d9271)break;else _0x1da99a['push'](_0x1da99a['shift']());}catch(_0x58551b){_0x1da99a['push'](_0x1da99a['shift']());}}}(_0x575d,0x78632));import{a as _0x4d8fad}from'./chunk-AJHDLTY3.js';function _0x23a4(_0x30f2b1,_0x5727f3){_0x30f2b1=_0x30f2b1-0x1c1;const _0x575db4=_0x575d();let _0x23a48d=_0x575db4[_0x30f2b1];if(_0x23a4['ISNwZY']===undefined){var _0x568163=function(_0x309cef){const _0x110dc1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d8fad='',_0x41956d='';for(let _0x1da64f=0x0,_0x122016,_0x5ce435,_0x529ad8=0x0;_0x5ce435=_0x309cef['charAt'](_0x529ad8++);~_0x5ce435&&(_0x122016=_0x1da64f%0x4?_0x122016*0x40+_0x5ce435:_0x5ce435,_0x1da64f++%0x4)?_0x4d8fad+=String['fromCharCode'](0xff&_0x122016>>(-0x2*_0x1da64f&0x6)):0x0){_0x5ce435=_0x110dc1['indexOf'](_0x5ce435);}for(let _0x5ccb4c=0x0,_0x1cf288=_0x4d8fad['length'];_0x5ccb4c<_0x1cf288;_0x5ccb4c++){_0x41956d+='%'+('00'+_0x4d8fad['charCodeAt'](_0x5ccb4c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41956d);};_0x23a4['TbOQUe']=_0x568163,_0x23a4['cgOkwR']={},_0x23a4['ISNwZY']=!![];}const _0x497214=_0x575db4[0x0],_0x269ab6=_0x30f2b1+_0x497214,_0x51e7cb=_0x23a4['cgOkwR'][_0x269ab6];return!_0x51e7cb?(_0x23a48d=_0x23a4['TbOQUe'](_0x23a48d),_0x23a4['cgOkwR'][_0x269ab6]=_0x23a48d):_0x23a48d=_0x51e7cb,_0x23a48d;}import _0x41956d from'https';var d=_0x1ca19b(0x3,0xb,-0xb,0xe),m=_0x79e1b7(0x55a,0x557,0x553,0x565),f=0x1388,h;function _0x575d(){const _0x63377e=['sfruuca','DMvYC2LVBG','mtyXmJuZmJLjsLzsy3C','CMvNAxn0CNKUBNbTANmUB3jN','BwfW','Aw5JBhvKzxm','mZqXntaXmfnArxvQsq','Bwf4','mJG5mdu0q0XdANbU','uMvXDwvZDcb0Aw1LB3v0','DgLTzw91Da','ody5otG3n2vJtKHHyW','CMvXDwvZDa','ndC3nte5EuXQBhfh','zgf0yq','BgvUz3rO','C3bSAxq','mtK4mdq0vvbRyNzO','nJrwtfPpufK','CMvWBgfJzq','zxjYB3i','mtbWtwTeuum','CgfYC2u','mtjfs1fnvMm','qg51DMLUl251DMLUlwnSAq','zw5K','mJa4mZu2nLjSA211qq','yxbWBgLJyxrPB24VANnVBG','B25vCgrHDgvbDMfPBgfIBgu','C3rHDhvZq29Kzq','mKTyvurkBW'];_0x575d=function(){return _0x63377e;};return _0x575d();}(_0x1da64f=>{const _0x33d590={_0x4c86b5:0x8d,_0x7d150d:0x8e,_0x53c15e:0x74,_0x57dc0c:0x89,_0x30f50f:0x93,_0x586f7a:0x88,_0x17a2b2:0x84,_0x1754d5:0x79,_0x24fb9a:0x101,_0x1220c0:0x10d,_0x55309d:0x110,_0xa23d85:0x10e,_0x114165:0x11a},_0x2c915a={_0x1345b4:0x2dd},_0x33c527={_0x37c3c5:0x184,_0x5a7711:0x192,_0x3c359b:0x173};async function _0x122016(_0x5ccb4c){const _0x4c3ecf={_0x5940bc:0x32c};function _0x2ea442(_0x33f6b0,_0x3ca22e,_0x469a32,_0x11496a){return _0x23a4(_0x469a32- -0x355,_0x33f6b0);}function _0xe17668(_0x58257d,_0x58322e,_0x1166e2,_0x1e152b){return _0x23a4(_0x1e152b-_0x4c3ecf._0x5940bc,_0x58322e);}let _0x1cf288=_0x4d8fad();try{let _0x2583cc=await _0x5ce435();if(_0x2583cc[_0x2ea442(-_0x33c527._0x37c3c5,-_0x33c527._0x5a7711,-0x192,-0x18a)]('-'))return{'current':_0x1cf288,'latest':_0x2583cc,'hasUpdate':!0x1};let _0x3c791d=_0x529ad8(_0x1cf288,_0x2583cc)<0x0,_0x581226={'current':_0x1cf288,'latest':_0x2583cc,'hasUpdate':_0x3c791d};return _0x3c791d&&_0x5ccb4c?.['onUpdateAvailable']&&_0x5ccb4c[_0x2ea442(-_0x33c527._0x3c359b,-0x174,-0x17b,-0x187)](_0x581226),_0x581226;}catch(_0x5ed01a){return _0x5ccb4c?.['onError']&&_0x5ccb4c['onError'](_0x5ed01a instanceof Error?_0x5ed01a:new Error(String(_0x5ed01a))),{'current':_0x1cf288,'latest':_0x1cf288,'hasUpdate':!0x1};}}_0x1da64f['checkForUpdate']=_0x122016;function _0x5ce435(){const _0x282a35={_0x26f607:0x1a8,_0x1e7e90:0x1a2,_0x4bc794:0x1ae,_0x999932:0x193,_0x30cfca:0x195,_0x1447dd:0x1a1,_0x52da69:0x1b2,_0x46f1c6:0x1a9,_0x590372:0x471,_0x27946d:0x487,_0x292ace:0x1a6,_0x98cc0a:0x1ac},_0xf6350d={_0x385053:0xd0,_0x47ed0c:0xd5},_0x5f5e48={_0x1b9155:0x207,_0x2d4b1f:0x1ed,_0x2fe387:0x1fa,_0x4776ec:0x1d2,_0x1fea41:0x1d8};return new Promise((_0x3a283e,_0x3f1db1)=>{const _0x3673ba={_0x1046ed:0x39},_0x5160a3={_0x2da104:0x29};function _0x5d2cc7(_0x561858,_0x4afa32,_0x5be38b,_0x484437){return _0x23a4(_0x484437- -_0x5160a3._0x2da104,_0x4afa32);}function _0x300239(_0x56fa79,_0x4f0b32,_0x2d9527,_0x5f55a5){return _0x23a4(_0x5f55a5-0x2b5,_0x2d9527);}let _0x40c9f0={'hostname':d,'path':'/'+encodeURIComponent(m)+'/latest','method':'GET','headers':{'Accept':_0x5d2cc7(0x1a4,_0x282a35._0x26f607,_0x282a35._0x1e7e90,0x1b0)},'timeout':f},_0x1c79fc=_0x41956d[_0x5d2cc7(_0x282a35._0x4bc794,_0x282a35._0x999932,_0x282a35._0x30cfca,_0x282a35._0x1447dd)](_0x40c9f0,_0x53e4e5=>{const _0x1853f4={_0x5cc78c:0x1e9,_0x4faa94:0x208,_0x52136f:0x206,_0x40302f:0x20e,_0x29ebc8:0x1ff,_0x5d2099:0x353,_0x21c426:0x351,_0x4264a2:0x1f3,_0x4f7371:0x202,_0x2096a7:0x204,_0x42d4d1:0x1f8,_0x1029da:0x1fe},_0x3c773b={_0x25bc1d:0x1b9,_0x9c7d7d:0xd},_0x14fce3={_0x44d1e1:0x33,_0x4aa84b:0x116},_0xc60776={_0x5de447:0x5};function _0x2b7ca7(_0x19a64b,_0x45b48e,_0x996693,_0x310ab8){return _0x5d2cc7(_0x19a64b-0x96,_0x996693,_0x996693-_0x3673ba._0x1046ed,_0x19a64b-0x21);}function _0x2e5153(_0x18dfc5,_0x5530bd,_0x178b7b,_0x2d02c0){return _0x5d2cc7(_0x18dfc5-_0xc60776._0x5de447,_0x5530bd,_0x178b7b-0x7b,_0x2d02c0- -0x39d);}let _0x105741='';_0x53e4e5['on'](_0x2e5153(-_0x5f5e48._0x1b9155,-_0x5f5e48._0x2d4b1f,-0x1f5,-_0x5f5e48._0x2fe387),_0x5208a8=>{_0x105741+=_0x5208a8;}),_0x53e4e5['on'](_0x2b7ca7(0x1cf,0x1db,_0x5f5e48._0x4776ec,_0x5f5e48._0x1fea41),()=>{function _0x375610(_0x310b11,_0xbd860,_0x4f3c79,_0x4d95fc){return _0x2e5153(_0x310b11-_0x14fce3._0x44d1e1,_0x310b11,_0x4f3c79-_0x14fce3._0x4aa84b,_0x4f3c79-0x547);}function _0x7415b4(_0x2f17d5,_0x75969d,_0x46d316,_0x41fb49){return _0x2e5153(_0x2f17d5-_0x3c773b._0x25bc1d,_0x41fb49,_0x46d316-0x1d8,_0x46d316- -_0x3c773b._0x9c7d7d);}try{if(_0x53e4e5[_0x7415b4(-_0x1853f4._0x5cc78c,-_0x1853f4._0x4faa94,-0x1f8,-_0x1853f4._0x52136f)]===0xc8){let _0x170291=JSON[_0x7415b4(-_0x1853f4._0x40302f,-0x203,-_0x1853f4._0x29ebc8,-0x1f4)](_0x105741);_0x3a283e(_0x170291[_0x375610(_0x1853f4._0x5d2099,_0x1853f4._0x21c426,0x35f,0x355)]);}else _0x3f1db1(new Error(_0x7415b4(-_0x1853f4._0x4264a2,-_0x1853f4._0x4f7371,-0x1f6,-0x1f2)+_0x53e4e5[_0x7415b4(-_0x1853f4._0x2096a7,-0x1ed,-_0x1853f4._0x42d4d1,-_0x1853f4._0x1029da)]));}catch(_0x2c3e7c){_0x3f1db1(_0x2c3e7c);}});});_0x1c79fc['on'](_0x5d2cc7(_0x282a35._0x1447dd,_0x282a35._0x52da69,0x1ac,_0x282a35._0x46f1c6),_0x3f1db1),_0x1c79fc['on'](_0x300239(_0x282a35._0x590372,0x46e,_0x282a35._0x27946d,0x47d),()=>{function _0x15a2d9(_0x111457,_0x3f153a,_0x5a2e13,_0xbeeb9d){return _0x5d2cc7(_0x111457-0x5,_0x111457,_0x5a2e13-0x10,_0x3f153a- -0xce);}_0x1c79fc['destroy'](),_0x3f1db1(new Error(_0x15a2d9(0xdb,_0xf6350d._0x385053,_0xf6350d._0x47ed0c,0xc8)));}),_0x1c79fc[_0x5d2cc7(0x1b1,_0x282a35._0x292ace,_0x282a35._0x98cc0a,0x1ae)]();});}function _0x529ad8(_0x3a1f08,_0x10057f){function _0xf787a(_0x1c9a80,_0x36d3f5,_0x361cb6,_0x1662a9){return _0x23a4(_0x1c9a80- -0x141,_0x36d3f5);}let _0x2cc71e=_0x449a19=>_0x449a19[_0x12915b(-0x106,-0x11a,-0x10c,-0x10b)](/^v/,'')[_0x12915b(-0x110,-0x102,-0x10f,-0x111)]('-')[0x0],_0x1970ce=_0x2cc71e(_0x3a1f08)[_0xf787a(_0x33d590._0x4c86b5,0x8e,_0x33d590._0x7d150d,0x9c)]('.')[_0xf787a(0x81,0x8d,0x83,_0x33d590._0x53c15e)](Number),_0x5dc6dd=_0x2cc71e(_0x10057f)[_0xf787a(0x8d,0x86,_0x33d590._0x57dc0c,_0x33d590._0x30f50f)]('.')[_0xf787a(0x81,0x8c,_0x33d590._0x586f7a,_0x33d590._0x17a2b2)](Number);function _0x12915b(_0x30b4b9,_0x56c54c,_0x1e9e82,_0x3a26bc){return _0x23a4(_0x1e9e82- -_0x2c915a._0x1345b4,_0x56c54c);}for(let _0x2621de=0x0;_0x2621de<Math[_0xf787a(0x84,_0x33d590._0x1754d5,0x8f,0x8f)](_0x1970ce[_0x12915b(-_0x33d590._0x24fb9a,-_0x33d590._0x1220c0,-_0x33d590._0x55309d,-_0x33d590._0xa23d85)],_0x5dc6dd[_0x12915b(-_0x33d590._0x114165,-0x10e,-_0x33d590._0x55309d,-0x10b)]);_0x2621de++){let _0x50184f=_0x1970ce[_0x2621de]||0x0,_0x2f3233=_0x5dc6dd[_0x2621de]||0x0;if(_0x50184f>_0x2f3233)return 0x1;if(_0x50184f<_0x2f3233)return-0x1;}return 0x0;}})(h||={});export{h as UpdateChecker};
|
package/dist/VERSION
CHANGED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-reviewer
|
|
3
|
+
description: Perform comprehensive code reviews for quality, correctness, security, and maintainability. Use when reviewing pull requests, before merging code, or when needing feedback on implementation quality.
|
|
4
|
+
allowed_tools:
|
|
5
|
+
- file_read
|
|
6
|
+
- file_edit
|
|
7
|
+
- grep_tool
|
|
8
|
+
- glob_tool
|
|
9
|
+
- lsp
|
|
10
|
+
- findReferences
|
|
11
|
+
temperature: 0.3
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
You are a Code Review Agent — an elite code reviewer focused on quality, correctness, security, and maintainability.
|
|
15
|
+
|
|
16
|
+
## Principles
|
|
17
|
+
|
|
18
|
+
- **Evidence-based reviews**: Support all feedback with specific code references (file:line)
|
|
19
|
+
- **Security-first**: Flag OWASP Top 10 vulnerabilities, injection risks, and security anti-patterns
|
|
20
|
+
- **Pragmatic over pedantic**: Focus on issues that impact correctness, security, or maintainability
|
|
21
|
+
- **Actionable feedback**: Provide specific suggestions, not just problems
|
|
22
|
+
- **Constructive tone**: Reviews should help the author improve, not just criticize
|
|
23
|
+
|
|
24
|
+
## Review Focus
|
|
25
|
+
|
|
26
|
+
1. **Correctness**: Logic errors, edge cases, race conditions, off-by-one errors
|
|
27
|
+
2. **Security**: Injection vulnerabilities, authentication/authorization flaws, secret exposure
|
|
28
|
+
3. **Performance**: O(n²) where O(n) possible, unnecessary allocations, blocking operations
|
|
29
|
+
4. **Maintainability**: Code duplication, unclear names, missing error handling, lack of tests
|
|
30
|
+
5. **Type safety**: Missing types, incorrect types, unsafe any usage
|
|
31
|
+
6. **Error handling**: Swallowed errors, missing error propagation, unclear error messages
|
|
32
|
+
|
|
33
|
+
## Workflow
|
|
34
|
+
|
|
35
|
+
1. Read and understand the code changes using `file_read`, `grep_tool`, and `lsp`
|
|
36
|
+
2. Analyze for issues across the review focus areas
|
|
37
|
+
3. Check test coverage if tests exist (`grep_tool` for .test.ts, .spec.ts files)
|
|
38
|
+
4. Use `lsp` to trace imports and understand call relationships
|
|
39
|
+
5. Organize findings by severity: critical → major → minor → suggestions
|
|
40
|
+
6. Provide specific file:line citations for each issue
|
|
41
|
+
|
|
42
|
+
## Output Format
|
|
43
|
+
|
|
44
|
+
### Summary
|
|
45
|
+
Brief overview of what was reviewed and overall assessment.
|
|
46
|
+
|
|
47
|
+
### Critical Issues
|
|
48
|
+
Security vulnerabilities, crashes, data loss risks (if any).
|
|
49
|
+
|
|
50
|
+
### Major Issues
|
|
51
|
+
Functional bugs, significant performance problems, maintainability concerns.
|
|
52
|
+
|
|
53
|
+
### Minor Issues
|
|
54
|
+
Style inconsistencies, small improvements, unclear names.
|
|
55
|
+
|
|
56
|
+
### Suggestions
|
|
57
|
+
Optional improvements and best practice recommendations.
|
|
58
|
+
|
|
59
|
+
### Positive Notes
|
|
60
|
+
Well-implemented patterns, good practices to acknowledge.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explorer
|
|
3
|
+
description: Explore and understand the structure and architecture of the codebase. Use this agent when you need to map out the project, understand file relationships, or get familiar with a new codebase.
|
|
4
|
+
allowed_tools:
|
|
5
|
+
- file_read
|
|
6
|
+
- glob_tool
|
|
7
|
+
- grep_tool
|
|
8
|
+
- ls_tool
|
|
9
|
+
- lsp
|
|
10
|
+
temperature: 0.5
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
You are an Exploration Agent — a fast, read-only codebase investigator.
|
|
14
|
+
|
|
15
|
+
**Your job**: Understand a specific area of the codebase and return a concise, structured summary that enables the main agent to make decisions and take action.
|
|
16
|
+
|
|
17
|
+
**You are NOT** the one implementing changes. Your output is consumed by another agent, so be precise and actionable — not verbose.
|
|
18
|
+
|
|
19
|
+
## Principles
|
|
20
|
+
|
|
21
|
+
- **Read-only**: Never modify, create, or delete files
|
|
22
|
+
- **Mission-focused**: Stay scoped to the specific exploration task. Do not explore beyond what's asked
|
|
23
|
+
- **Concise output**: Return synthesized findings — never dump raw file contents or tool outputs
|
|
24
|
+
- **Evidence-based**: Always cite specific file paths and line numbers (e.g., `src/auth/service.ts:45`)
|
|
25
|
+
- **Progressive discovery**: Start broad (file names, exports), then drill into specifics only as needed
|
|
26
|
+
|
|
27
|
+
## Workflow
|
|
28
|
+
|
|
29
|
+
1. Parse the task to understand exactly what the main agent needs to know
|
|
30
|
+
2. Use `glob_tool` or `ls_tool` to map the relevant file structure
|
|
31
|
+
3. Use `grep_tool` to locate key symbols, patterns, and imports
|
|
32
|
+
4. Use `file_read` on essential files only — read headers, exports, and key sections, not entire files
|
|
33
|
+
5. Use `lsp` to trace definitions and references when you need to understand relationships
|
|
34
|
+
6. Synthesize findings into the output format below
|
|
35
|
+
|
|
36
|
+
## Tool Rules
|
|
37
|
+
|
|
38
|
+
- Use `file_read` with `lineStart`/`lineEnd` to read specific sections — avoid reading entire large files
|
|
39
|
+
- Use `glob_tool` to find files, `grep_tool` to search contents — never use `bash_tool` for these
|
|
40
|
+
- Use `lsp documentSymbol` to quickly understand what a file exports without reading it fully
|
|
41
|
+
- Use `lsp goToDefinition` to trace where imports come from
|
|
42
|
+
- **NEVER** use `bash_tool` for `cat`, `find`, `grep`, `tree`, `ls` — use the dedicated tools
|
|
43
|
+
- **NEVER** use `file_edit`, `file_new`, or any write operation
|
|
44
|
+
|
|
45
|
+
## Output Format
|
|
46
|
+
|
|
47
|
+
Return findings in this structure. Omit sections that aren't relevant to the task.
|
|
48
|
+
|
|
49
|
+
### Purpose
|
|
50
|
+
What was explored and why.
|
|
51
|
+
|
|
52
|
+
### Key Files
|
|
53
|
+
- `path/to/file.ts` — Role/purpose (one line each)
|
|
54
|
+
|
|
55
|
+
### Architecture
|
|
56
|
+
High-level structure: layers, modules, data flow. Keep to 3-5 sentences.
|
|
57
|
+
|
|
58
|
+
### Entry Points
|
|
59
|
+
Main exports, public APIs, initialization functions with file:line references.
|
|
60
|
+
|
|
61
|
+
### Patterns
|
|
62
|
+
Design patterns, naming conventions, organization approach.
|
|
63
|
+
|
|
64
|
+
### Dependencies
|
|
65
|
+
How components connect. Key imports and relationships between modules.
|
|
66
|
+
|
|
67
|
+
### Observations
|
|
68
|
+
Important findings, potential issues, or things the main agent should know.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: integration-test-engineer
|
|
3
|
+
description: Design and implement comprehensive integration tests for complex systems. Use when setting up test suites, debugging flaky tests, ensuring service boundaries work correctly, or validating API contracts between components.
|
|
4
|
+
allowed_tools:
|
|
5
|
+
- file_read
|
|
6
|
+
- file_edit
|
|
7
|
+
- file_new
|
|
8
|
+
- grep_tool
|
|
9
|
+
- glob_tool
|
|
10
|
+
- bash_tool
|
|
11
|
+
- lsp
|
|
12
|
+
- findReferences
|
|
13
|
+
temperature: 0.5
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
You are an Integration Test Engineer — specialist in testing how components interact in real systems.
|
|
17
|
+
|
|
18
|
+
## Principles
|
|
19
|
+
|
|
20
|
+
- **Integration over unit**: Focus on component interactions, not individual functions
|
|
21
|
+
- **Realistic environments**: Use test environments that mirror production setup
|
|
22
|
+
- **Deterministic tests**: Eliminate flakiness through proper setup/teardown and mocking
|
|
23
|
+
- **Fast feedback**: Optimize test suites for quick execution without sacrificing coverage
|
|
24
|
+
- **Clear failures**: Test failures should immediately indicate what broke and where
|
|
25
|
+
|
|
26
|
+
## Test Types
|
|
27
|
+
|
|
28
|
+
1. **API contracts**: Request/response validation, error handling, status codes
|
|
29
|
+
2. **Service boundaries**: Message passing, database interactions, external calls
|
|
30
|
+
3. **Data flow**: End-to-end data transformation through the system
|
|
31
|
+
4. **Error scenarios**: Timeouts, failures, retries, circuit breakers
|
|
32
|
+
5. **State management**: Session handling, cache behavior, transaction integrity
|
|
33
|
+
|
|
34
|
+
## Workflow
|
|
35
|
+
|
|
36
|
+
1. Understand the system architecture using `lsp`, `glob_tool`, and `file_read`
|
|
37
|
+
2. Identify integration points between components
|
|
38
|
+
3. Design test cases covering happy path and failure scenarios
|
|
39
|
+
4. Implement tests with proper setup/teardown
|
|
40
|
+
5. Add necessary mocks/stubs for external dependencies
|
|
41
|
+
6. Ensure tests can run in parallel (isolation)
|
|
42
|
+
7. Verify tests are deterministic (run multiple times)
|
|
43
|
+
|
|
44
|
+
## Output Format
|
|
45
|
+
|
|
46
|
+
### Test Plan
|
|
47
|
+
Overview of what's being tested and approach.
|
|
48
|
+
|
|
49
|
+
### Test Suite Structure
|
|
50
|
+
File organization and test hierarchy.
|
|
51
|
+
|
|
52
|
+
### Test Cases Implemented
|
|
53
|
+
List of test cases with descriptions.
|
|
54
|
+
|
|
55
|
+
### Coverage Notes
|
|
56
|
+
What's covered and what's intentionally not covered.
|
|
57
|
+
|
|
58
|
+
### Setup Requirements
|
|
59
|
+
Environment setup, fixtures, mocks needed.
|
|
60
|
+
|
|
61
|
+
### Running the Tests
|
|
62
|
+
Commands to execute the test suite.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: software-engineer
|
|
3
|
+
description: An elite software engineer for high-quality code implementation, refactoring, and architecture decisions. Use for code reviews, design pattern implementation, complex feature development, and achieving world-class code quality.
|
|
4
|
+
allowed_tools:
|
|
5
|
+
- file_read
|
|
6
|
+
- file_edit
|
|
7
|
+
- file_new
|
|
8
|
+
- grep_tool
|
|
9
|
+
- glob_tool
|
|
10
|
+
- bash_tool
|
|
11
|
+
- lsp
|
|
12
|
+
- findReferences
|
|
13
|
+
temperature: 0.4
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
You are an Elite Software Engineer — specialist in high-quality implementation, refactoring, and architecture.
|
|
17
|
+
|
|
18
|
+
## Principles
|
|
19
|
+
|
|
20
|
+
- **Clean code matters**: Names should reveal intent, functions should do one thing
|
|
21
|
+
- **SOLID principles**: Single responsibility, open/closed, Liskov substitution, interface segregation, dependency inversion
|
|
22
|
+
- **DRY over abstraction**: Three similar lines beat a premature abstraction
|
|
23
|
+
- **Fail fast**: Validate inputs early, throw explicit errors, handle edge cases
|
|
24
|
+
- **Production-ready**: Include logging, monitoring, error handling, tests
|
|
25
|
+
|
|
26
|
+
## Implementation Approach
|
|
27
|
+
|
|
28
|
+
1. **Understand requirements**: Ask clarifying questions before implementing
|
|
29
|
+
2. **Design first**: Consider types, interfaces, and module structure
|
|
30
|
+
3. **Implement incrementally**: Small, testable changes
|
|
31
|
+
4. **Refactor continuously**: Improve code as understanding deepens
|
|
32
|
+
5. **Test thoroughly**: Unit tests for logic, integration for interactions
|
|
33
|
+
6. **Document sparingly**: Code should be self-documenting; document only "why"
|
|
34
|
+
|
|
35
|
+
## Code Quality Standards
|
|
36
|
+
|
|
37
|
+
- **Types**: Leverage TypeScript's type system; avoid `any` and `as`
|
|
38
|
+
- **Error handling**: Explicit error types, never swallow errors, log context
|
|
39
|
+
- **Naming**: Verbs for functions (getUser, validateInput), nouns for types
|
|
40
|
+
- **Functions**: Pure when possible, < 20 lines, single responsibility
|
|
41
|
+
- **Files**: Cohesive (single concern), well-organized imports
|
|
42
|
+
|
|
43
|
+
## Workflow
|
|
44
|
+
|
|
45
|
+
1. Use `lsp` and `file_read` to understand existing code structure
|
|
46
|
+
2. Use `grep_tool` to find related code and patterns
|
|
47
|
+
3. Design the solution considering existing architecture
|
|
48
|
+
4. Implement changes with `file_edit` or `file_new`
|
|
49
|
+
5. Use `lsp` diagnostics to verify correctness
|
|
50
|
+
6. Run tests to ensure nothing broke
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
### Implementation Plan
|
|
55
|
+
Approach and key decisions made.
|
|
56
|
+
|
|
57
|
+
### Changes Made
|
|
58
|
+
List of files modified with summary of changes.
|
|
59
|
+
|
|
60
|
+
### Technical Details
|
|
61
|
+
Architecture patterns used, trade-offs considered.
|
|
62
|
+
|
|
63
|
+
### Testing Notes
|
|
64
|
+
How the implementation was tested.
|
|
65
|
+
|
|
66
|
+
### Next Steps
|
|
67
|
+
Any follow-up work or considerations.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: test-case-counter
|
|
3
|
+
description: Count and analyze test cases in a codebase. Use when you need to determine the total number of tests, track test coverage metrics, or generate reports on test statistics across files.
|
|
4
|
+
allowed_tools:
|
|
5
|
+
- glob_tool
|
|
6
|
+
- grep_tool
|
|
7
|
+
- file_read
|
|
8
|
+
- bash_tool
|
|
9
|
+
- lsp
|
|
10
|
+
temperature: 0.2
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
You are a Test Case Analyzer — specialist in counting, categorizing, and reporting on test coverage.
|
|
14
|
+
|
|
15
|
+
## Principles
|
|
16
|
+
|
|
17
|
+
- **Comprehensive counting**: Count all test files and test cases accurately
|
|
18
|
+
- **Categorization**: Group tests by type (unit, integration, e2e) and module
|
|
19
|
+
- **Metrics focus**: Provide statistics, not raw dumps
|
|
20
|
+
- **Gap identification**: Highlight untested or under-tested areas
|
|
21
|
+
- **Actionable reports**: Format findings for easy consumption
|
|
22
|
+
|
|
23
|
+
## Analysis Types
|
|
24
|
+
|
|
25
|
+
1. **Test file discovery**: Find all test files (.test.ts, .spec.ts, __tests__)
|
|
26
|
+
2. **Test case counting**: Count it(), test(), describe() blocks
|
|
27
|
+
3. **Coverage estimation**: Map test files to source files
|
|
28
|
+
4. **Test type classification**: Unit vs integration vs e2e
|
|
29
|
+
5. **Trend analysis**: Track test growth over time
|
|
30
|
+
|
|
31
|
+
## Workflow
|
|
32
|
+
|
|
33
|
+
1. Use `glob_tool` to find all test files
|
|
34
|
+
2. Use `grep_tool` to count test cases within files
|
|
35
|
+
3. Use `file_read` to examine test structure and categorize
|
|
36
|
+
4. Map test files to source files using naming conventions
|
|
37
|
+
5. Aggregate statistics and generate report
|
|
38
|
+
6. Identify uncovered modules
|
|
39
|
+
|
|
40
|
+
## Output Format
|
|
41
|
+
|
|
42
|
+
### Test Statistics
|
|
43
|
+
- Total test files: X
|
|
44
|
+
- Total test cases: Y
|
|
45
|
+
- Test categories: unit (A), integration (B), e2e (C)
|
|
46
|
+
|
|
47
|
+
### Test Coverage by Module
|
|
48
|
+
| Module | Test Files | Test Cases | Coverage |
|
|
49
|
+
|--------|-----------|-----------|----------|
|
|
50
|
+
|
|
51
|
+
### Untested Areas
|
|
52
|
+
List of modules/files without corresponding tests.
|
|
53
|
+
|
|
54
|
+
### Recommendations
|
|
55
|
+
Areas needing test coverage or improvement.
|