@nuvin/nuvin-cli 1.36.0-rc.14 → 1.36.0-rc.17

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.
@@ -1 +1 @@
1
- (function(_0x390868,_0x305236){const _0x156dbe={_0xd961d4:0x8b,_0x50fca1:0xa5,_0x67b7ae:0xbb,_0x54d2e0:0xd5,_0x42ddf5:0x48,_0x166be5:0x17,_0x3ee4d7:0xd2,_0x5d317d:0xbf,_0x36e8d8:0xc6,_0x23dd58:0x20,_0x56e3d8:0x44,_0x26032e:0x36,_0x2020b6:0x15,_0xdb197:0x18,_0x5d8801:0xb,_0x4f06d7:0xd8,_0x86e6fb:0xcf},_0x56bf04={_0x3f04db:0x17a},_0x117e0c={_0x305249:0xe5};function _0x1051a0(_0x463ec0,_0x12408f,_0x49ab60,_0x10250a){return _0xd804(_0x10250a- -_0x117e0c._0x305249,_0x49ab60);}const _0x169795=_0x390868();function _0x3e8639(_0x1061bf,_0x3dba36,_0xe8546a,_0x3d5c13){return _0xd804(_0x3dba36- -_0x56bf04._0x3f04db,_0xe8546a);}while(!![]){try{const _0x1dafcc=-parseInt(_0x1051a0(_0x156dbe._0xd961d4,_0x156dbe._0x50fca1,_0x156dbe._0x67b7ae,0xaa))/0x1+-parseInt(_0x1051a0(0xb6,0xd8,0xf0,_0x156dbe._0x54d2e0))/0x2*(parseInt(_0x3e8639(_0x156dbe._0x42ddf5,0x43,0x1d,0x5c))/0x3)+parseInt(_0x3e8639(0xf,_0x156dbe._0x166be5,0x26,0xf))/0x4+-parseInt(_0x1051a0(0xe3,_0x156dbe._0x3ee4d7,_0x156dbe._0x5d317d,_0x156dbe._0x36e8d8))/0x5+-parseInt(_0x3e8639(_0x156dbe._0x23dd58,_0x156dbe._0x56e3d8,0x53,0x2e))/0x6*(parseInt(_0x3e8639(0x5b,_0x156dbe._0x26032e,0x4c,_0x156dbe._0x2020b6))/0x7)+parseInt(_0x3e8639(-0x2,_0x156dbe._0xdb197,-0x2,-_0x156dbe._0x5d8801))/0x8+parseInt(_0x1051a0(0xbd,0xbb,_0x156dbe._0x4f06d7,_0x156dbe._0x86e6fb))/0x9;if(_0x1dafcc===_0x305236)break;else _0x169795['push'](_0x169795['shift']());}catch(_0x3e1223){_0x169795['push'](_0x169795['shift']());}}}(_0x51f5,0x8d463));function _0xd804(_0x139e37,_0x45b766){_0x139e37=_0x139e37-0x17b;const _0x51f55e=_0x51f5();let _0xd8044d=_0x51f55e[_0x139e37];if(_0xd804['EvbZYz']===undefined){var _0xe23f68=function(_0x34f45a){const _0x1aad89='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc18d26='',_0x39c053='';for(let _0x37e9bd=0x0,_0x29eeb5,_0x8dec3,_0x3a16f1=0x0;_0x8dec3=_0x34f45a['charAt'](_0x3a16f1++);~_0x8dec3&&(_0x29eeb5=_0x37e9bd%0x4?_0x29eeb5*0x40+_0x8dec3:_0x8dec3,_0x37e9bd++%0x4)?_0xc18d26+=String['fromCharCode'](0xff&_0x29eeb5>>(-0x2*_0x37e9bd&0x6)):0x0){_0x8dec3=_0x1aad89['indexOf'](_0x8dec3);}for(let _0x2c1ee9=0x0,_0x4593c7=_0xc18d26['length'];_0x2c1ee9<_0x4593c7;_0x2c1ee9++){_0x39c053+='%'+('00'+_0xc18d26['charCodeAt'](_0x2c1ee9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x39c053);};_0xd804['SxiLPj']=_0xe23f68,_0xd804['eEBMXT']={},_0xd804['EvbZYz']=!![];}const _0x23d38a=_0x51f55e[0x0],_0xddc476=_0x139e37+_0x23d38a,_0x5c5947=_0xd804['eEBMXT'][_0xddc476];return!_0x5c5947?(_0xd8044d=_0xd804['SxiLPj'](_0xd8044d),_0xd804['eEBMXT'][_0xddc476]=_0xd8044d):_0xd8044d=_0x5c5947,_0xd8044d;}function _0x51f5(){const _0x39f7ba=['BMfTzq','mZeWndm1nxLyAufTCa','C3DPDgnO','z2v0uhjVzMLSzunVBMzPz1bHDgG','BwvZC2fNzq','ugf0AdOG','nJKYmZq5n1Pdww5jAq','cLbYB2zPBguGtwfUywDLBwvUDcbdB21Tyw5KCWOkvxnHz2u6cIaGBNv2Aw4GChjVzMLSzsa8y29TBwfUzd4Gw29WDgLVBNnDcGPdB21Tyw5KCZOkicbSAxn0icaGicaGicaGicaGicaGicaGicaGicaGtgLZDcbHBgWGChjVzMLSzxmkicbJCMvHDguGpg5HBwu+icaGicaGicaGicaGicaGq3jLyxrLigeGBMv3ihbYB2zPBgukicbKzwXLDguGpg5HBwu+icaGicaGicaGicaGicaGrgvSzxrLigeGChjVzMLSzqOGihn3AxrJAca8BMfTzt4GicaGicaGicaGicaGicbtD2L0y2GGywn0AxzLihbYB2zPBgukicbZAg93icaGicaGicaGicaGicaGicaGicaGicaGu2HVDYbJDxjYzw50ihbYB2zPBguGAw5MBWOGignSB25LidXZB3vYy2u+idX0yxjNzxq+icaGicbdBg9UzsbHBIbLEgLZDgLUzYbWCM9MAwXLcIaGAgvSCcaGicaGicaGicaGicaGicaGicaGicaGifnOB3CGDgHPCYbOzwXWig1LC3nHz2ukcKnYzwf0zsbpChrPB25ZoGOGic0TzgvZy3jPChrPB24Sic1KidX0zxH0pIaGicaGuhjVzMLSzsbKzxnJCMLWDgLVBGOGic0Ty2XVBMuTzNjVBsWGlwmGphnVDxjJzt4GicaGq2XVBMuGzxHPC3rPBMCGChjVzMLSzqOkrgvSzxrLie9WDgLVBNm6cIaGls1MB3jJzsWGlwyGicaGicaGicaGicaGicaGicbgB3jJzsbKzwXLDguGzxzLBIbPzIbHy3rPDMukcKv4yw1WBgvZoGOGig51DMLUihbYB2zPBguGBgLZDaOGig51DMLUihbYB2zPBguGy3jLyxrLihDVCMSGls1KzxnJCMLWDgLVBIaIv29YAYbWCM9Qzwn0CYikicbUDxzPBIbWCM9MAwXLihn3AxrJAcb3B3jRcIaGBNv2Aw4GChjVzMLSzsbJBg9Uzsb3B3jRignSAwvUDc1WCM9Qzwn0cIaGBNv2Aw4GChjVzMLSzsbKzwXLDguGB2XKlxbYB2PLy3qGls1MB3jJzqOGig51DMLUihbYB2zPBguGC2HVDWOktM90ztOGvgHLicDKzwzHDwX0jYbWCM9MAwXLigLZihjLC2vYDMvKigfUzcbJyw5UB3qGyMuGzgvSzxrLzc4kvgHLigrLzMf1BhqGChjVzMLSzsb1C2vZihrOzsbYB290ih4VlM51DMLUigrPCMvJDg9YEs4k','cKn1CNjLBNqGuhjVzMLSztO','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','mty4ndqYmdjbEKzRCLq','BgLZDfbYB2zPBgvZ','C2HVD0HLBha','qxzHAwXHyMXLihbYB2zPBgvZoG','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','z2v0uhjVzMLSzurPCG','nhfryNHJwq','zgvSzxrL','C3DPDgnOuhjVzMLSzq','nJq0ndy5wKDdDunf','nKzHBMPgDW','icbmyxn0ihvZzwq6ia','4PYfifn3AxrJAgvKihrVihbYB2zPBguGjW','C2HVD1bYB2zPBgu','icaGkgnSB25LzcbMCM9TicC','ifTbq1rjvKvD','rgvZy3jPChrPB246ia','ls1JBg9Uzs1MCM9T','u2vZC2LVBNm6ia','BgLZDa','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','icbezxnJCMLWDgLVBJOG','Bg9JywXLq29TCgfYzq','AgvSCa','y3jLyxrLza','y3jLyxrLuhjVzMLSzq','tgfZDcb1C2vKoIa','q2XVBMuGB2yGjW','zgvSzxrLuhjVzMLSzq','zxHPDa','icbdCMvHDgvKoIa','zgvZy3jPChrPB24','C2XPy2u','BgfZDfvZzwq','Aw5PDgLHBgL6zq','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignYzwf0zsa8BMfTzt4GwY0TzgvZy3jPChrPB24GiKrLC2nYAxb0Aw9UiL0GwY0Ty2XVBMuTzNjVBsa8C291CMnLpL0','Bg9N','vw5RBM93BIbWCM9MAwXLignVBw1HBMq6ia','mZC4mJG1r0H2twTp','icaGugf0AdOG','nta5mZy0AwfnwwPy','nZK4mdKWneD2tNjtqq','z2v0qwn0AxzL','AxnezwzHDwX0','icbqyxrOoIa','y2XVBMvgCM9T','rMfPBgvKihrVihnOB3CGChjVzMLSztO','y2XVBMvqCM9MAwXL','tMfTztOG','vxnHz2u6ig51DMLUihbYB2zPBguGzgvSzxrLidXUyw1LpIbBls1MB3jJzv0','4PYfifbYB2zPBguGjW','y3jLyxrL','Dg9mB2nHBgvtDhjPBMC','ChjVzMLSzu1HBMfNzxi','q29UzMLNoIa','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignSB25LidXZB3vYy2u+idX0yxjNzxq+','C2HVDW','Aw5JBhvKzxm','zxjYB3i','pt09pt09pt09pt09pt09pt09pq','jYbJCMvHDgvKihn1y2nLC3nMDwXSEq','cKf2ywLSywjSzsbqCM9MAwXLCZO','ls1KzxnJCMLWDgLVBG','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLihn3AxrJAca8BMfTzt4','pt09pt09pt09pt09pt09pq'];_0x51f5=function(){return _0x39f7ba;};return _0x51f5();}function _0x48406f(_0x43f8da,_0x2fd707,_0x10fae8,_0x4a46c4){return _0xd804(_0x43f8da-0x89,_0x2fd707);}function _0x309479(_0x57dc11,_0xd8dfe1,_0x165346,_0x2cae71){const _0x2cd560={_0x34c07e:0x1c4};return _0xd804(_0x57dc11-_0x2cd560._0x34c07e,_0x2cae71);}import{a as _0xc18d26,b as _0x39c053}from'./chunk-3YTWOK4O.js';var a=class{constructor(){const _0x36a1b4={_0x777f61:0x153,_0x132b9f:0x13e,_0x28cc2a:0x149,_0x1de81d:0x12d,_0x51e78e:0x125},_0x26085d={_0x2dd6e1:0x1de};function _0x26d7bc(_0x7004cb,_0x44c3f3,_0x1b4333,_0x3467ce){return _0xd804(_0x44c3f3- -0x60,_0x7004cb);}function _0x2fa974(_0x36e513,_0x256a85,_0x3335d3,_0x419d0b){return _0xd804(_0x3335d3-_0x26085d._0x2dd6e1,_0x256a85);}this[_0x26d7bc(_0x36a1b4._0x777f61,_0x36a1b4._0x132b9f,_0x36a1b4._0x28cc2a,0x130)]=new _0x39c053(console[_0x26d7bc(0x110,_0x36a1b4._0x1de81d,0x14e,_0x36a1b4._0x51e78e)]);}async['handleProfileCommand'](_0x37e9bd,_0x29eeb5){const _0x1ae4a0={_0x2803e4:0x2fb,_0x3526d1:0x2f2,_0x15c124:0x2f5,_0x1d4d0d:0x2d4,_0x348bd7:0x485,_0x2bd90e:0x47f,_0x30dc28:0x465,_0x8fdb7f:0x466,_0x45ebf3:0x45c,_0x4a0cbf:0x44c,_0x210a96:0x44b,_0x5e5319:0x2e1,_0x4325ee:0x475,_0x4ba6c8:0x4a5,_0x420b5e:0x2e6,_0x3865f6:0x453,_0x3329d6:0x442,_0x593043:0x439,_0x1538a9:0x2ee,_0x24b361:0x2f4,_0x2c646a:0x30a,_0x56d4f3:0x2f3,_0x1b507f:0x2f6,_0x148bad:0x2f9,_0x1a2b87:0x4ab,_0x5667ed:0x2fd,_0x419c35:0x303,_0x65de45:0x2fe,_0x476512:0x2f0,_0x2c354b:0x432,_0x175fb9:0x486,_0x9d1203:0x2de,_0x3ffe74:0x461,_0x104bee:0x469},_0x38de7f={_0x4346d0:0x158};await this['profileManager'][_0x449e8c(_0x1ae4a0._0x2803e4,0x2d0,0x2f6,0x2e3)]();function _0x449e8c(_0x57c405,_0x3a6cbf,_0x291c14,_0x39c796){return _0xd804(_0x39c796-_0x38de7f._0x4346d0,_0x291c14);}function _0x3f9125(_0x3e81f9,_0x4e6b6c,_0x1431ee,_0x4ce5fb){return _0xd804(_0x4e6b6c-0x2ca,_0x1431ee);}let [_0x8dec3,..._0x3a16f1]=_0x37e9bd;switch(_0x8dec3){case _0x449e8c(_0x1ae4a0._0x3526d1,_0x1ae4a0._0x15c124,0x2db,_0x1ae4a0._0x1d4d0d):await this[_0x3f9125(_0x1ae4a0._0x348bd7,_0x1ae4a0._0x2bd90e,_0x1ae4a0._0x30dc28,0x498)]();break;case _0x3f9125(_0x1ae4a0._0x8fdb7f,0x466,_0x1ae4a0._0x45ebf3,0x470):await this[_0x3f9125(0x43f,_0x1ae4a0._0x4a0cbf,0x452,_0x1ae4a0._0x210a96)](_0x3a16f1[0x0],_0x3a16f1[_0x449e8c(0x2ec,0x2f8,0x2ef,_0x1ae4a0._0x5e5319)](0x1));break;case _0x3f9125(0x467,_0x1ae4a0._0x348bd7,_0x1ae4a0._0x4325ee,_0x1ae4a0._0x4ba6c8):await this[_0x449e8c(0x2bc,_0x1ae4a0._0x420b5e,0x2db,0x2dd)](_0x3a16f1[0x0],_0x3a16f1[_0x3f9125(0x442,_0x1ae4a0._0x3865f6,_0x1ae4a0._0x3329d6,_0x1ae4a0._0x593043)](0x1));break;case'switch':await this[_0x449e8c(_0x1ae4a0._0x1538a9,_0x1ae4a0._0x24b361,_0x1ae4a0._0x2c646a,0x314)](_0x3a16f1[0x0]);break;case _0x449e8c(0x306,_0x1ae4a0._0x56d4f3,_0x1ae4a0._0x1b507f,_0x1ae4a0._0x148bad):await this[_0x3f9125(_0x1ae4a0._0x1a2b87,0x48b,0x4ae,0x4ad)]();break;case'clone':await this[_0x449e8c(_0x1ae4a0._0x5667ed,_0x1ae4a0._0x419c35,_0x1ae4a0._0x65de45,_0x1ae4a0._0x476512)](_0x3a16f1[0x0],_0x3a16f1[0x1]);break;case _0x3f9125(_0x1ae4a0._0x2c354b,0x44a,0x42f,0x42b):case'--help':case'-h':this['showHelp']();break;default:_0x8dec3?(console[_0x3f9125(0x466,0x46d,0x486,_0x1ae4a0._0x175fb9)](_0x449e8c(0x2d6,0x2f7,_0x1ae4a0._0x9d1203,0x2e6)+_0x8dec3),this['showHelp'](),process['exit'](0x1)):this[_0x3f9125(_0x1ae4a0._0x3ffe74,0x480,0x4a3,_0x1ae4a0._0x104bee)]();}}async[_0x48406f(0x23e,0x226,0x245,0x22e)](){const _0xc0ab4d={_0xe08675:0xc7,_0x29adf3:0xcd,_0x50948b:0xb8,_0xcd13b8:0x79,_0x4ed397:0xd0,_0x2d46b1:0xc0,_0x2e21bb:0xad,_0x32f0ae:0xc7,_0x109911:0x17c,_0xd78d83:0x187,_0x255059:0x195,_0x69d9bb:0x1a9,_0x3c4268:0xce,_0x10e419:0x183,_0x2d7097:0x190,_0x5e6b36:0x182,_0x1a5865:0x15f,_0x5e03c4:0x163,_0x5ef594:0xa7,_0x323ff4:0x82,_0x108f67:0xae,_0x1e87a7:0xa2,_0x3b0a26:0xa8,_0x177928:0x98,_0x10c2fd:0xc0,_0x38b8d5:0xa2,_0x346bf5:0x1ba,_0x34e049:0x18f,_0x4c11e8:0x1a1,_0x1e84a7:0x17e,_0x39f0e0:0xf7,_0x3e0bc3:0xd4,_0x395208:0xd9,_0x252e3b:0x18e,_0x4df4b2:0x198,_0xbcf928:0x193,_0x4d3ef4:0x1a8,_0x11e11f:0x192,_0x4ac108:0x16b,_0x3afbca:0xc0,_0x17f104:0xa7,_0x489efe:0xd1,_0x5c6ff3:0x1a6,_0x6a30a5:0x18d,_0x1a6bf3:0x1b3,_0x5f428f:0xc1,_0x76d45f:0xaf,_0x2587dd:0xbf,_0xf1e760:0x98,_0x4f6ca8:0x169,_0x443c0c:0xe6,_0x20c675:0xd8,_0x2aa063:0x17a,_0x3271b6:0x170,_0x1c67e2:0x169,_0x48d72d:0xdc,_0x104408:0xc8,_0x67cd66:0x9a,_0x2eff77:0xc4,_0xfe7618:0xa0},_0x346cea={_0x4d28eb:0x16f,_0x4dc525:0x55,_0x43d573:0x1d9},_0x51ebb6={_0x42b6c4:0x1a5};function _0x20e8b8(_0x49ce09,_0x2ae7c8,_0x1f6c43,_0x1cddde){return _0x48406f(_0x2ae7c8- -0x3ab,_0x1cddde,_0x1f6c43-0x11f,_0x1cddde-_0x51ebb6._0x42b6c4);}function _0x3d60de(_0x4ee95b,_0x4827f3,_0x3414af,_0x2cce1a){return _0x48406f(_0x2cce1a- -_0x346cea._0x4d28eb,_0x4827f3,_0x3414af-_0x346cea._0x4dc525,_0x2cce1a-_0x346cea._0x43d573);}try{let _0x2c1ee9=await this[_0x3d60de(0xa5,_0xc0ab4d._0xe08675,_0xc0ab4d._0x29adf3,0xb8)][_0x3d60de(_0xc0ab4d._0x50948b,_0xc0ab4d._0xcd13b8,0xb9,0x96)](),_0x4593c7=await this[_0x3d60de(_0xc0ab4d._0x4ed397,0xae,_0xc0ab4d._0x2d46b1,0xb8)][_0x3d60de(_0xc0ab4d._0x2e21bb,0xb8,_0xc0ab4d._0x32f0ae,0xad)]();console[_0x20e8b8(-0x19d,-0x195,-0x1ae,-0x19d)](_0x20e8b8(-0x198,-_0xc0ab4d._0x109911,-0x162,-0x176)),console[_0x20e8b8(-_0xc0ab4d._0xd78d83,-_0xc0ab4d._0x255059,-_0xc0ab4d._0x69d9bb,-0x1b4)](_0x3d60de(0x9b,0xd2,_0xc0ab4d._0x3c4268,0xbe)),_0x2c1ee9['sort']((_0x4942d8,_0x3b2f26)=>_0x4942d8[_0x20e8b8(-0x174,-0x178,-0x197,-0x170)]===_0xc18d26?-0x1:_0x3b2f26[_0x3d60de(0xe6,0xa2,0xca,0xc4)]===_0xc18d26?0x1:_0x4942d8[_0x20e8b8(-0x191,-0x178,-0x189,-0x161)][_0x20e8b8(-0x1b8,-0x1a3,-0x192,-0x17f)](_0x3b2f26['name']));for(let _0x180147 of _0x2c1ee9){let _0x5ee967=_0x180147[_0x20e8b8(-_0xc0ab4d._0x10e419,-0x178,-_0xc0ab4d._0x2d7097,-0x15f)]===_0x4593c7?_0x20e8b8(-_0xc0ab4d._0x5e6b36,-_0xc0ab4d._0x1a5865,-_0xc0ab4d._0x5e03c4,-0x150):'';console[_0x3d60de(0xa6,0x94,0x9a,_0xc0ab4d._0x5ef594)]('\x0a'+_0x180147['name']+_0x5ee967),_0x180147[_0x3d60de(_0xc0ab4d._0x323ff4,_0xc0ab4d._0x108f67,0x85,_0xc0ab4d._0x1e87a7)]&&console['log'](_0x3d60de(_0xc0ab4d._0x3b0a26,0xb5,0x86,_0xc0ab4d._0x177928)+_0x180147[_0x3d60de(_0xc0ab4d._0x10c2fd,0xa0,0x9a,_0xc0ab4d._0x38b8d5)]),console[_0x20e8b8(-_0xc0ab4d._0x346bf5,-0x195,-_0xc0ab4d._0x34e049,-0x184)](_0x20e8b8(-0x178,-0x19b,-0x19a,-0x17c)+new Date(_0x180147[_0x20e8b8(-0x1ab,-_0xc0ab4d._0x4c11e8,-0x1a8,-_0xc0ab4d._0x1e84a7)])['toLocaleString']()),console['log'](_0x3d60de(_0xc0ab4d._0x39f0e0,_0xc0ab4d._0x3e0bc3,0xf2,_0xc0ab4d._0x395208)+new Date(_0x180147[_0x20e8b8(-_0xc0ab4d._0x252e3b,-_0xc0ab4d._0x4df4b2,-_0xc0ab4d._0xbcf928,-_0xc0ab4d._0x4d3ef4)])[_0x20e8b8(-0x160,-0x185,-_0xc0ab4d._0x11e11f,-_0xc0ab4d._0x4ac108)]()),this[_0x3d60de(_0xc0ab4d._0x3afbca,_0xc0ab4d._0x17f104,_0xc0ab4d._0x489efe,0xb8)][_0x20e8b8(-0x1a3,-0x18e,-0x1a0,-0x198)](_0x180147['name'])?console['log'](_0x20e8b8(-_0xc0ab4d._0x5c6ff3,-_0xc0ab4d._0x6a30a5,-_0xc0ab4d._0x1a6bf3,-0x19b)+this['profileManager']['getProfileDir'](_0x180147[_0x3d60de(0xb0,_0xc0ab4d._0x5f428f,0xd2,0xc4)])):console[_0x3d60de(0x87,0x8f,0xc2,_0xc0ab4d._0x17f104)](_0x3d60de(0xbc,_0xc0ab4d._0x32f0ae,0xb3,_0xc0ab4d._0x76d45f)+this[_0x3d60de(0x97,_0xc0ab4d._0x2587dd,_0xc0ab4d._0xf1e760,_0xc0ab4d._0x50948b)][_0x20e8b8(-0x144,-_0xc0ab4d._0x4f6ca8,-0x17b,-0x165)](_0x180147[_0x3d60de(_0xc0ab4d._0x443c0c,0xa9,_0xc0ab4d._0x20c675,0xc4)]));}console['log']();}catch(_0x359528){console[_0x20e8b8(-_0xc0ab4d._0x2aa063,-0x17f,-_0xc0ab4d._0x3271b6,-_0xc0ab4d._0x1c67e2)]('Failed\x20to\x20list\x20profiles:',_0x359528 instanceof Error?_0x359528[_0x3d60de(0xbf,0xa2,_0xc0ab4d._0x48d72d,_0xc0ab4d._0x104408)]:String(_0x359528)),process[_0x3d60de(0x87,_0xc0ab4d._0x67cd66,_0xc0ab4d._0x2eff77,_0xc0ab4d._0xfe7618)](0x1);}}async['createProfile'](_0x342b85,_0x36adc0){const _0x5daad3={_0x4dcf43:0x56d,_0x51adf7:0x564,_0x1085da:0x527,_0x4b1b7b:0x53e,_0x26defe:0x22e,_0x3047f0:0x217,_0xcd9941:0x211,_0x4ba59a:0x536,_0x59af4a:0x520,_0x48eaef:0x51f,_0x189424:0x554,_0x3733dc:0x541,_0x446e09:0x56b,_0x2fbfbe:0x55f,_0x76bc25:0x208,_0x4db3d3:0x1f5,_0x4fda7d:0x52b,_0x3e1900:0x516,_0x1feae2:0x538,_0xaafbd0:0x222,_0x5e02c8:0x212,_0x46cb3d:0x206,_0x27273d:0x228,_0xfb8209:0x558,_0x25713f:0x20e,_0x4cd367:0x207,_0x185e09:0x219,_0xced09d:0x209,_0x541082:0x210,_0xce9ef7:0x226,_0x358d3e:0x521,_0x34c4a6:0x52f,_0x52024f:0x1fd,_0x3f1dc9:0x1db,_0x5992b4:0x1f7,_0x385bf7:0x1d9,_0x32698d:0x1c5,_0x475b7c:0x51d,_0x286729:0x53c,_0xedb718:0x230,_0xc993e9:0x1f2,_0x3d06be:0x219},_0x12a832={_0x54c279:0x426};function _0x2d573f(_0x441e24,_0x50b8ad,_0x4bd4bd,_0x3e816d){return _0x48406f(_0x4bd4bd- -_0x12a832._0x54c279,_0x3e816d,_0x4bd4bd-0x93,_0x3e816d-0x139);}_0x342b85||(console['error'](_0x4fc22d(0x569,_0x5daad3._0x4dcf43,0x54d,_0x5daad3._0x51adf7)),console[_0x4fc22d(0x510,0x517,_0x5daad3._0x1085da,_0x5daad3._0x4b1b7b)](_0x2d573f(-_0x5daad3._0x26defe,-_0x5daad3._0x3047f0,-_0x5daad3._0xcd9941,-0x200)),process[_0x4fc22d(0x544,_0x5daad3._0x4ba59a,_0x5daad3._0x59af4a,0x53c)](0x1));function _0x4fc22d(_0x133781,_0x3357ca,_0x3cd1aa,_0xe3c57e){return _0x48406f(_0x3cd1aa-0x311,_0x3357ca,_0x3cd1aa-0x1c5,_0xe3c57e-0x8d);}try{let _0x27e191={};for(let _0x450827=0x0;_0x450827<_0x36adc0['length'];_0x450827+=0x2){let _0x55aee9=_0x36adc0[_0x450827],_0x3d57b0=_0x36adc0[_0x450827+0x1];if(_0x3d57b0)switch(_0x55aee9){case _0x4fc22d(_0x5daad3._0x48eaef,_0x5daad3._0x189424,_0x5daad3._0x3733dc,_0x5daad3._0x48eaef):case'-d':_0x27e191[_0x4fc22d(0x509,0x4ff,0x522,0x526)]=_0x3d57b0;break;case _0x4fc22d(0x565,_0x5daad3._0x446e09,_0x5daad3._0x2fbfbe,0x53f):case'-c':_0x27e191[_0x2d573f(-_0x5daad3._0x76bc25,-_0x5daad3._0x4db3d3,-0x207,-0x1f0)]=_0x3d57b0;break;}}await this[_0x4fc22d(_0x5daad3._0x4fda7d,_0x5daad3._0x3e1900,_0x5daad3._0x1feae2,0x551)][_0x2d573f(-0x1f7,-_0x5daad3._0xaafbd0,-0x201,-_0x5daad3._0x5e02c8)](_0x342b85,_0x27e191),console[_0x2d573f(-0x20a,-_0x5daad3._0x46cb3d,-0x210,-_0x5daad3._0x27273d)](_0x4fc22d(0x514,0x522,0x535,0x52b)+_0x342b85+_0x4fc22d(_0x5daad3._0xfb8209,0x51b,0x53f,0x534)),_0x27e191[_0x2d573f(-0x1e3,-_0x5daad3._0x25713f,-_0x5daad3._0x4cd367,-0x1fa)]&&console[_0x2d573f(-_0x5daad3._0x185e09,-_0x5daad3._0xced09d,-_0x5daad3._0x541082,-_0x5daad3._0xce9ef7)](_0x4fc22d(0x550,0x56f,0x55c,0x564)+_0x27e191['cloneFrom']+'\x27)'),console[_0x4fc22d(_0x5daad3._0x358d3e,_0x5daad3._0x34c4a6,_0x5daad3._0x1085da,0x506)]('\x20\x20\x20Path:\x20'+this[_0x2d573f(-_0x5daad3._0x52024f,-_0x5daad3._0x3f1dc9,-0x1ff,-_0x5daad3._0x5992b4)][_0x2d573f(-_0x5daad3._0x385bf7,-_0x5daad3._0x32698d,-0x1e4,-0x1ed)](_0x342b85));}catch(_0x40f2e3){console[_0x4fc22d(_0x5daad3._0x4fda7d,_0x5daad3._0x475b7c,0x53d,_0x5daad3._0x286729)](_0x2d573f(-0x205,-0x206,-0x220,-0x237),_0x40f2e3 instanceof Error?_0x40f2e3['message']:String(_0x40f2e3)),process[_0x2d573f(-_0x5daad3._0xedb718,-_0x5daad3._0xc993e9,-0x217,-_0x5daad3._0x3d06be)](0x1);}}async[_0x309479(0x349,0x33a,0x354,0x328)](_0x29a235,_0xb97041){const _0x2a9123={_0x58e9cb:0x364,_0x37e21b:0x343,_0x301424:0x34e,_0x55d0c:0x353,_0x17c714:0x347,_0xb61d68:0x341,_0x43d345:0x22a,_0x381c9d:0x22c,_0xd2bb19:0x22e,_0x3d6625:0x22b,_0x57a4ac:0x22b,_0x46b3f9:0x233,_0xfb6d51:0x34a,_0x22c22c:0x35f,_0x4e623a:0x373,_0xe51154:0x33e,_0x177d49:0x36f,_0x9a0b6a:0x37c,_0x1d623f:0x363,_0x7324c9:0x380,_0x1c72b6:0x359,_0x6548b8:0x379,_0x1bd7be:0x356,_0x43e151:0x344,_0xf3ba04:0x376,_0x34d3c5:0x23b,_0x25b503:0x22e,_0x4f0f59:0x24e};function _0xe42262(_0x5f0250,_0x2ec9ad,_0x6446c1,_0x658920){return _0x309479(_0x5f0250- -0x3,_0x2ec9ad-0x165,_0x6446c1-0xac,_0x658920);}function _0x500042(_0x11e768,_0x198106,_0x336de1,_0x47daac){return _0x309479(_0x198106- -0x11c,_0x198106-0x12e,_0x336de1-0x78,_0x11e768);}_0x29a235||(console[_0xe42262(_0x2a9123._0x58e9cb,0x37e,_0x2a9123._0x37e21b,0x35b)]('Error:\x20Profile\x20name\x20is\x20required'),console[_0xe42262(_0x2a9123._0x301424,_0x2a9123._0x55d0c,_0x2a9123._0x17c714,_0x2a9123._0xb61d68)](_0x500042(0x22f,0x242,0x25a,_0x2a9123._0x43d345)),process[_0x500042(_0x2a9123._0x381c9d,_0x2a9123._0xd2bb19,_0x2a9123._0x3d6625,_0x2a9123._0x57a4ac)](0x1));try{let _0x10ffc4={'force':_0xb97041[_0x500042(0x259,0x24a,0x24d,_0x2a9123._0x46b3f9)]('--force')||_0xb97041[_0xe42262(0x363,0x374,_0x2a9123._0xfb6d51,0x34c)]('-f')};await this[_0xe42262(_0x2a9123._0x22c22c,_0x2a9123._0x4e623a,_0x2a9123._0xe51154,_0x2a9123._0x177d49)][_0xe42262(_0x2a9123._0x9a0b6a,0x356,0x38b,_0x2a9123._0x1d623f)](_0x29a235,_0x10ffc4),console['log'](_0xe42262(0x35c,_0x2a9123._0x7324c9,_0x2a9123._0x1c72b6,0x363)+_0x29a235+_0xe42262(_0x2a9123._0x6548b8,0x381,_0x2a9123._0x1bd7be,0x38b));}catch(_0x2ae786){console[_0xe42262(0x364,_0x2a9123._0x43e151,0x36c,_0x2a9123._0xf3ba04)]('Failed\x20to\x20delete\x20profile:',_0x2ae786 instanceof Error?_0x2ae786[_0x500042(_0x2a9123._0x34d3c5,0x256,0x25c,0x242)]:String(_0x2ae786)),process[_0x500042(0x236,_0x2a9123._0x25b503,0x22b,_0x2a9123._0x4f0f59)](0x1);}}async[_0x48406f(0x245,0x264,0x23f,0x23f)](_0x2726ed){const _0x1ff812={_0x388bb2:0x24b,_0x33eeff:0x232,_0x248c4c:0x23b,_0x5865de:0x22f,_0x34efe9:0x3de,_0x509079:0x3dc,_0x2d8b9b:0x1fa,_0xd38eab:0x214,_0x2b1158:0x3c3,_0x5d9103:0x3bc,_0xffe5f4:0x241,_0x43b905:0x40e,_0x223587:0x3e6,_0x458268:0x3fd,_0x39ed4d:0x3f9,_0x2c5290:0x3da,_0x299d6c:0x3c5,_0x4dd6f9:0x3df,_0x3b1997:0x218,_0x353942:0x246,_0x2a6044:0x3e0,_0x1956db:0x3d0,_0x244613:0x3d7,_0x10cb2e:0x3e5},_0x13a378={_0x38da85:0x58f,_0x210aec:0x107},_0xecec33={_0x27a6b8:0x1c9,_0x112d5b:0x169};_0x2726ed||(console[_0x4fe373(-0x207,-_0x1ff812._0x388bb2,-0x23b,-0x228)](_0x4fe373(-0x216,-0x22c,-_0x1ff812._0x33eeff,-0x218)),console['log'](_0x4fe373(-0x242,-_0x1ff812._0x248c4c,-_0x1ff812._0x5865de,-0x223)),console[_0x4ad5b9(0x3fe,_0x1ff812._0x34efe9,_0x1ff812._0x509079,0x3df)](_0x4fe373(-_0x1ff812._0x2d8b9b,-0x1fb,-0x1f9,-_0x1ff812._0xd38eab)),await this['listProfiles'](),process[_0x4ad5b9(_0x1ff812._0x2b1158,_0x1ff812._0x5d9103,0x3e9,0x3d8)](0x1));function _0x4ad5b9(_0x55a3e7,_0x4a7096,_0x31cbd1,_0xd01321){return _0x48406f(_0xd01321-_0xecec33._0x27a6b8,_0x55a3e7,_0x31cbd1-_0xecec33._0x112d5b,_0xd01321-0x179);}function _0x4fe373(_0xb9eb,_0x1f4463,_0x363832,_0x52776f){return _0x309479(_0x52776f- -_0x13a378._0x38da85,_0x1f4463-0x190,_0x363832-_0x13a378._0x210aec,_0xb9eb);}try{await this[_0x4fe373(-0x240,-0x214,-_0x1ff812._0xffe5f4,-0x22d)][_0x4ad5b9(_0x1ff812._0x43b905,_0x1ff812._0x223587,0x3ea,0x3fe)](_0x2726ed),console['log'](_0x4ad5b9(_0x1ff812._0x458268,_0x1ff812._0x39ed4d,0x405,0x412)+_0x2726ed+'\x27'),console[_0x4ad5b9(_0x1ff812._0x2c5290,_0x1ff812._0x299d6c,0x3be,_0x1ff812._0x4dd6f9)](_0x4fe373(-_0x1ff812._0x3b1997,-0x246,-_0x1ff812._0x353942,-0x23b)+this[_0x4ad5b9(_0x1ff812._0x2a6044,_0x1ff812._0x1956db,0x3e7,0x3f0)][_0x4ad5b9(0x418,0x428,0x3ff,0x40b)](_0x2726ed));}catch(_0x122d54){console[_0x4ad5b9(0x3ef,_0x1ff812._0x244613,_0x1ff812._0x43b905,0x3f5)]('Failed\x20to\x20switch\x20profile:',_0x122d54 instanceof Error?_0x122d54['message']:String(_0x122d54)),process[_0x4ad5b9(_0x1ff812._0x10cb2e,0x3c4,0x3ec,0x3d8)](0x1);}}async[_0x48406f(0x24a,0x269,0x24c,0x22f)](){const _0x50ef3e={_0x5324da:0x38c,_0x5f1748:0x382,_0x423977:0x3a9,_0x31a89a:0x3a2,_0x1cf87d:0x560,_0x382c34:0x56d,_0x87cd1e:0x3aa,_0x3f0beb:0x3e4,_0x1b3218:0x3c1,_0x4fca34:0x397,_0x17dbe4:0x39c,_0x5ba1ad:0x577,_0x31a366:0x55c,_0x3bc110:0x58a,_0x41f2b2:0x549,_0x21f6e6:0x543,_0x352a4b:0x3a1,_0x59d511:0x3ac,_0x72405e:0x38c,_0x3783b1:0x39c,_0xe2e66b:0x592,_0x3bd9bf:0x556,_0x340b7b:0x532,_0xe98fc9:0x37c,_0x57665f:0x591,_0x38129c:0x551,_0x26ce3a:0x3a8,_0x40d0c1:0x3ae,_0x49fbcb:0x3b0,_0x598960:0x390,_0x30eedc:0x39c,_0x5b5f48:0x57d,_0x478cf1:0x579,_0x4d7d01:0x58e,_0x21856f:0x56c,_0x28ed8d:0x564,_0x53411c:0x550,_0x55c109:0x56d,_0x1054c6:0x597,_0x8a8f69:0x399,_0x4532b0:0x389,_0x2b3edf:0x39c,_0x46f3ab:0x535,_0x4c2258:0x54c,_0xab98c0:0x570,_0x1bee30:0x39c,_0x571454:0x568,_0x275093:0x57c,_0x25e3f8:0x576,_0x5f51ac:0x544},_0x463b61={_0x1f6176:0x345,_0x405674:0x118},_0x5cd358={_0x36a83f:0x31};function _0x31b22e(_0xaf880f,_0x35d906,_0x26f910,_0x578b4a){return _0x48406f(_0x578b4a-0x186,_0xaf880f,_0x26f910-_0x5cd358._0x36a83f,_0x578b4a-0x1e5);}function _0x4fe72f(_0x12e62b,_0x4853ac,_0x424ce6,_0x546f30){return _0x48406f(_0x12e62b-_0x463b61._0x1f6176,_0x546f30,_0x424ce6-0x10a,_0x546f30-_0x463b61._0x405674);}try{let _0x4b2c81=await this[_0x31b22e(0x388,0x3ce,_0x50ef3e._0x5324da,0x3ad)][_0x31b22e(_0x50ef3e._0x5f1748,0x3ad,_0x50ef3e._0x423977,_0x50ef3e._0x31a89a)](),_0x3cd631=await this['profileManager']['list']()['then'](_0x1e733e=>_0x1e733e['find'](_0x41c729=>_0x41c729['name']===_0x4b2c81));console[_0x4fe72f(0x55b,_0x50ef3e._0x1cf87d,_0x50ef3e._0x382c34,0x560)](_0x31b22e(_0x50ef3e._0x87cd1e,0x3b9,_0x50ef3e._0x3f0beb,_0x50ef3e._0x1b3218)),console[_0x31b22e(_0x50ef3e._0x4fca34,0x3b9,0x397,_0x50ef3e._0x17dbe4)](_0x4fe72f(_0x50ef3e._0x5ba1ad,0x592,_0x50ef3e._0x31a366,_0x50ef3e._0x3bc110)),console['log'](_0x4fe72f(0x567,_0x50ef3e._0x41f2b2,0x580,_0x50ef3e._0x21f6e6)+_0x4b2c81),_0x3cd631&&(_0x3cd631[_0x31b22e(_0x50ef3e._0x352a4b,_0x50ef3e._0x59d511,_0x50ef3e._0x72405e,_0x50ef3e._0x4fca34)]&&console[_0x31b22e(0x389,0x382,0x3a1,_0x50ef3e._0x3783b1)](_0x4fe72f(_0x50ef3e._0xe2e66b,0x587,0x574,0x5b6)+_0x3cd631[_0x4fe72f(_0x50ef3e._0x3bd9bf,0x539,0x54b,_0x50ef3e._0x340b7b)]),console[_0x31b22e(0x3bb,0x3ad,_0x50ef3e._0xe98fc9,0x39c)]('Created:\x20'+new Date(_0x3cd631['created'])[_0x4fe72f(0x56b,_0x50ef3e._0x57665f,0x574,_0x50ef3e._0x38129c)]()),console[_0x31b22e(_0x50ef3e._0x26ce3a,_0x50ef3e._0x40d0c1,0x38e,_0x50ef3e._0x17dbe4)](_0x31b22e(_0x50ef3e._0x49fbcb,_0x50ef3e._0x3783b1,0x3b1,0x392)+new Date(_0x3cd631[_0x4fe72f(0x558,_0x50ef3e._0x5ba1ad,0x544,0x55b)])['toLocaleString']())),console[_0x31b22e(0x397,_0x50ef3e._0x598960,0x380,_0x50ef3e._0x30eedc)](_0x4fe72f(_0x50ef3e._0x5b5f48,_0x50ef3e._0x478cf1,_0x50ef3e._0x478cf1,_0x50ef3e._0x4d7d01)+this[_0x4fe72f(_0x50ef3e._0x21856f,_0x50ef3e._0x3bc110,_0x50ef3e._0x28ed8d,0x56c)]['getProfileDir'](_0x4b2c81)),console[_0x4fe72f(0x55b,0x557,_0x50ef3e._0x53411c,0x55c)](_0x4fe72f(_0x50ef3e._0x55c109,0x564,0x588,0x570)+this[_0x4fe72f(_0x50ef3e._0x21856f,0x591,0x57c,0x587)][_0x4fe72f(0x57b,0x590,0x57d,_0x50ef3e._0x1054c6)](_0x4b2c81)),console[_0x31b22e(_0x50ef3e._0x8a8f69,0x379,_0x50ef3e._0x4532b0,_0x50ef3e._0x2b3edf)]('Agents:\x20'+this[_0x31b22e(0x3ae,0x390,0x3ad,0x3ad)]['getProfileAgentsDir'](_0x4b2c81)),console['log'](_0x4fe72f(0x549,0x52c,_0x50ef3e._0x46f3ab,_0x50ef3e._0x4c2258)+this[_0x4fe72f(0x56c,_0x50ef3e._0xab98c0,0x57e,0x585)]['getProfileSessionsDir'](_0x4b2c81)),console[_0x31b22e(_0x50ef3e._0x352a4b,_0x50ef3e._0x87cd1e,0x39e,_0x50ef3e._0x1bee30)]();}catch(_0x10769d){console['error'](_0x4fe72f(0x565,0x548,0x56f,_0x50ef3e._0x571454),_0x10769d instanceof Error?_0x10769d[_0x4fe72f(_0x50ef3e._0x275093,0x591,0x59b,0x582)]:String(_0x10769d)),process[_0x4fe72f(0x554,_0x50ef3e._0x25e3f8,0x53a,_0x50ef3e._0x5f51ac)](0x1);}}async[_0x309479(0x35c,0x376,0x34c,0x378)](_0x5d3839,_0x129873){const _0x41dc33={_0x2c7fc5:0x1b1,_0x1087c0:0x1d0,_0x2e6886:0x1d4,_0x580086:0x1d1,_0x1d72c7:0x3ec,_0x2b2bda:0x3e0,_0x2d172b:0x3cc,_0x44e68a:0x1a1,_0x1c1ed5:0x17d,_0x1846bf:0x3cd,_0x2c55fe:0x3e9,_0x1d86ec:0x3c5,_0x42cbb2:0x193,_0x54a853:0x3be,_0x4ce8b6:0x3db,_0x929403:0x1c7,_0x4d395f:0x3ee,_0x4643e7:0x3ce,_0x13d864:0x3d7,_0x22fe39:0x3cc,_0x2cc6eb:0x3c7,_0x3f8853:0x3cf,_0x163861:0x1b4,_0x1fa63f:0x1a6,_0x6f6578:0x3dd,_0x215dd8:0x3fb,_0x16cf43:0x3f8,_0xbefb36:0x3e5,_0x3be6a7:0x3e2},_0x2d1a4c={_0x54265c:0xb9};function _0x4c3c60(_0x59461f,_0x48ba69,_0x6e2b65,_0x32aef4){return _0x309479(_0x59461f- -0x518,_0x48ba69-_0x2d1a4c._0x54265c,_0x6e2b65-0x1c8,_0x48ba69);}function _0x1acc36(_0xe54e52,_0xd09bab,_0xacad1,_0x93d03a){return _0x309479(_0x93d03a-0x7b,_0xd09bab-0xeb,_0xacad1-0x1b,_0xd09bab);}(!_0x5d3839||!_0x129873)&&(console[_0x4c3c60(-_0x41dc33._0x2c7fc5,-0x1c8,-0x1cc,-0x19d)]('Error:\x20Both\x20source\x20and\x20target\x20profile\x20names\x20are\x20required'),console[_0x4c3c60(-0x1c7,-0x1cf,-_0x41dc33._0x1087c0,-0x1b7)](_0x4c3c60(-0x1b4,-_0x41dc33._0x2e6886,-0x1bd,-_0x41dc33._0x580086)),console[_0x1acc36(_0x41dc33._0x1d72c7,0x3a8,_0x41dc33._0x2b2bda,_0x41dc33._0x2d172b)]('Available\x20profiles:'),await this[_0x4c3c60(-0x19f,-_0x41dc33._0x44e68a,-_0x41dc33._0x1c1ed5,-0x189)](),process[_0x1acc36(0x3b0,_0x41dc33._0x1846bf,_0x41dc33._0x2c55fe,_0x41dc33._0x1d86ec)](0x1));try{let _0x552aab={'cloneFrom':_0x5d3839,'description':_0x4c3c60(-_0x41dc33._0x1087c0,-0x1e3,-0x1ae,-0x1c0)+_0x5d3839+'\x27'};await this[_0x4c3c60(-0x1b6,-_0x41dc33._0x42cbb2,-0x19b,-0x1c5)][_0x1acc36(0x3db,0x3ec,_0x41dc33._0x54a853,_0x41dc33._0x4ce8b6)](_0x129873,_0x552aab),console[_0x4c3c60(-_0x41dc33._0x929403,-0x1b7,-0x1b5,-0x1d5)](_0x1acc36(0x3be,0x3ea,_0x41dc33._0x4d395f,0x3da)+_0x129873+'\x27\x20created\x20successfully'),console[_0x1acc36(_0x41dc33._0x1d86ec,_0x41dc33._0x4643e7,0x3bb,0x3cc)](_0x1acc36(0x417,0x415,0x3fc,0x401)+_0x5d3839+'\x27)'),console[_0x1acc36(0x3b5,_0x41dc33._0x13d864,0x3d2,_0x41dc33._0x22fe39)](_0x1acc36(0x3d3,_0x41dc33._0x2cc6eb,0x3b2,_0x41dc33._0x3f8853)+this[_0x4c3c60(-0x1b6,-_0x41dc33._0x163861,-_0x41dc33._0x1fa63f,-0x196)][_0x1acc36(0x40a,_0x41dc33._0x6f6578,_0x41dc33._0x215dd8,_0x41dc33._0x16cf43)](_0x129873));}catch(_0x202e8e){console[_0x1acc36(_0x41dc33._0x1846bf,_0x41dc33._0xbefb36,_0x41dc33._0x6f6578,_0x41dc33._0x3be6a7)]('Failed\x20to\x20clone\x20profile:',_0x202e8e instanceof Error?_0x202e8e[_0x1acc36(0x40d,0x3e8,0x3e9,0x3ed)]:String(_0x202e8e)),process['exit'](0x1);}}['showHelp'](){const _0x371456={_0x7d7980:0x3c7,_0x4c9e42:0x3df},_0x5b0b79={_0x250bc4:0x6a,_0x496201:0xd0};function _0x3edb8f(_0x6296b6,_0x46b3b9,_0x19ad05,_0x467390){return _0x309479(_0x467390-_0x5b0b79._0x250bc4,_0x46b3b9-0x55,_0x19ad05-_0x5b0b79._0x496201,_0x46b3b9);}console['log'](_0x3edb8f(_0x371456._0x7d7980,0x3d5,0x3bc,_0x371456._0x4c9e42));}};export{a as ProfileCliHandler};
1
+ (function(_0x351cf7,_0x1acd85){const _0x43c85f={_0x4ec31f:0x372,_0xfb1518:0x325,_0x5b649d:0x34e,_0x1eccac:0x304,_0xe3f131:0x31b,_0x472927:0x338,_0x32ed02:0x43,_0x348a50:0x11,_0x2cb0a9:0x44,_0x41e665:0x40,_0x505e55:0x23,_0x18eff6:0x48,_0xa4b09d:0x326,_0x151cdd:0x328,_0x5a007e:0x34b,_0x223318:0x61,_0x527d96:0x337,_0x1bf552:0x323,_0x4e9675:0x339,_0x5ee4a4:0x44,_0x47aec7:0xd,_0x2d8e80:0x31,_0x2c08fa:0x57,_0x3d2e68:0x5d,_0x9f327e:0x23,_0x37288e:0x1a,_0x32a694:0x3f,_0x1dc3d4:0x38},_0x44f252={_0x2f4f40:0x235},_0x36427d=_0x351cf7();function _0x11182a(_0x532f91,_0x1b0dcd,_0x531565,_0x1d9750){return _0x1393(_0x531565- -_0x44f252._0x2f4f40,_0x1d9750);}function _0x3a950b(_0x4d9b5a,_0x302ef6,_0x3e82ca,_0x4675ba){return _0x1393(_0x4675ba-0x150,_0x4d9b5a);}while(!![]){try{const _0x1f8ceb=-parseInt(_0x3a950b(_0x43c85f._0x4ec31f,_0x43c85f._0xfb1518,0x341,_0x43c85f._0x5b649d))/0x1*(-parseInt(_0x3a950b(_0x43c85f._0x1eccac,0x33d,0x330,0x32c))/0x2)+-parseInt(_0x3a950b(_0x43c85f._0xe3f131,_0x43c85f._0x472927,0x32b,0x333))/0x3*(-parseInt(_0x11182a(-_0x43c85f._0x32ed02,-0x11,-0x2d,-_0x43c85f._0x348a50))/0x4)+parseInt(_0x11182a(-0x1d,-0x35,-_0x43c85f._0x2cb0a9,-0x4e))/0x5+-parseInt(_0x11182a(-0x9,-_0x43c85f._0x41e665,-0x30,-0x16))/0x6*(parseInt(_0x11182a(-0x1d,-_0x43c85f._0x505e55,-0x27,-_0x43c85f._0x18eff6))/0x7)+-parseInt(_0x3a950b(0x33c,_0x43c85f._0xa4b09d,_0x43c85f._0x151cdd,_0x43c85f._0x5a007e))/0x8*(-parseInt(_0x11182a(-_0x43c85f._0x223318,-0x4b,-0x40,-0x59))/0x9)+-parseInt(_0x3a950b(_0x43c85f._0x527d96,_0x43c85f._0x1bf552,0x346,_0x43c85f._0x4e9675))/0xa*(parseInt(_0x11182a(-_0x43c85f._0x5ee4a4,-_0x43c85f._0x47aec7,-_0x43c85f._0x2d8e80,-0x32))/0xb)+parseInt(_0x11182a(-0x7a,-0x42,-_0x43c85f._0x2c08fa,-_0x43c85f._0x3d2e68))/0xc*(parseInt(_0x11182a(-_0x43c85f._0x9f327e,-_0x43c85f._0x37288e,-_0x43c85f._0x32a694,-_0x43c85f._0x1dc3d4))/0xd);if(_0x1f8ceb===_0x1acd85)break;else _0x36427d['push'](_0x36427d['shift']());}catch(_0x256133){_0x36427d['push'](_0x36427d['shift']());}}}(_0x2549,0xb89b2));function _0x217595(_0x25493c,_0x40f837,_0x59e350,_0x5c0298){return _0x1393(_0x40f837- -0x45,_0x59e350);}function _0x48e4d1(_0x2e666e,_0x279f3c,_0x34ca8c,_0x3ce91d){return _0x1393(_0x34ca8c- -0x1aa,_0x2e666e);}import{a as _0x849315,b as _0x190f02}from'./chunk-3YTWOK4O.js';function _0x2549(){const _0x54747e=['icaGkgnSB25LzcbMCM9TicC','nJK2oda3nK1vsuPJtq','ls1KzxnJCMLWDgLVBG','rMfPBgvKihrVihnOB3CGChjVzMLSztO','Dg9mB2nHBgvtDhjPBMC','pt09pt09pt09pt09pt09pt09pq','mtjdELfHyu8','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','z2v0uhjVzMLSzufNzw50C0rPCG','C2HVD0HLBha','qwDLBNrZoIa','icbqyxrOoIa','mtm3nZq3nZbLsuT6rMO','AxnezwzHDwX0','q3jLyxrLzdOG','BgLZDa','zxHPDa','cKn1CNjLBNqGuhjVzMLSztO','zgvSzxrL','zgvZy3jPChrPB24','mtG3ndeXmhDis2TqDG','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','vxnHz2u6ig51DMLUihbYB2zPBguGzgvSzxrLidXUyw1LpIbBls1MB3jJzv0','4PYfifbYB2zPBguGjW','mJGYmZnYBMrQwfa','mtnzANrWA00','y3jLyxrLuhjVzMLSzq','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','jYbJCMvHDgvKihn1y2nLC3nMDwXSEq','rMfPBgvKihrVihn3AxrJAcbWCM9MAwXLoG','mZa5nKTSu2XKyW','z2v0qwn0AxzL','C3DPDgnOuhjVzMLSzq','ndy5vLfMB0jU','C2HVDW','BwvZC2fNzq','z2v0uhjVzMLSzurPCG','y2XVBMvgCM9T','tgfZDcb1C2vKoIa','mtfvqLLnug4','nKX3D2nItW','icaGugf0AdOG','BgfZDfvZzwq','ndy2ndCYCK9fEePP','qxzHAwXHyMXLihbYB2zPBgvZoG','y2XVBMu','C2HVD1bYB2zPBgu','C2XPy2u','AgfUzgXLuhjVzMLSzunVBw1HBMq','mZC0nJm1mxzYv05MvW','Bg9N','C3DPDgnO','BMfTzq','BgLZDfbYB2zPBgvZ','ls1OzwXW','DgHLBG','Aw5PDgLHBgL6zq','zxjYB3i','u2vZC2LVBNm6ia','y3jLyxrLza','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLihn3AxrJAca8BMfTzt4','y2XVBMvqCM9MAwXL','rgvZy3jPChrPB246ia','q29UzMLNoIa','AgvSCa','icbezxnJCMLWDgLVBJOG','y3jLyxrL','icbmyxn0ihvZzwq6ia','ChjVzMLSzu1HBMfNzxi','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignYzwf0zsa8BMfTzt4GwY0TzgvZy3jPChrPB24GiKrLC2nYAxb0Aw9UiL0GwY0Ty2XVBMuTzNjVBsa8C291CMnLpL0','rxjYB3i6iejVDgGGC291CMnLigfUzcb0yxjNzxqGChjVzMLSzsbUyw1LCYbHCMuGCMvXDwLYzwq','zMLUza','ifTbq1rjvKvD','ugf0AdOG','cKf2ywLSywjSzsbqCM9MAwXLCZO','vw5RBM93BIbWCM9MAwXLignVBw1HBMq6ia','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','z2v0uhjVzMLSzunVBMzPz1bHDgG','C29YDa','rMfPBgvKihrVigXPC3qGChjVzMLSzxm6','mtqWDLLJD0nl'];_0x2549=function(){return _0x54747e;};return _0x2549();}var a=class{constructor(){const _0x257d1b={_0xb6481:0x11b,_0x44ae67:0x16a},_0x485264={_0x39caa1:0xb5},_0x58846a={_0x1ad93c:0x26a};function _0x833099(_0x5aeda1,_0x3afc37,_0x18f395,_0xb906f1){return _0x1393(_0x3afc37- -_0x58846a._0x1ad93c,_0x18f395);}function _0x4f8ff5(_0x3d391c,_0x5c3136,_0x3771e3,_0x4fae9b){return _0x1393(_0x3771e3- -_0x485264._0x39caa1,_0x3d391c);}this[_0x4f8ff5(0x143,0x11d,_0x257d1b._0xb6481,0xf3)]=new _0x190f02(console[_0x4f8ff5(_0x257d1b._0x44ae67,0x145,0x15a,0x148)]);}async[_0x48e4d1(0x85,0x59,0x63,0x46)](_0x5a58ac,_0x49ca1a){const _0x9d1cd1={_0x57bd79:0x33e,_0x200196:0x366,_0x4b40b4:0x37a,_0x8a733f:0x37c,_0x504bed:0x33d,_0x24d903:0x36e,_0x3734b8:0x363,_0x2995c4:0x34b,_0x2a0ca5:0x346,_0x4d35d9:0x348,_0x595975:0x354,_0x257d41:0x364,_0x240ae4:0x368,_0x46899b:0x33d,_0x3c24bc:0x36d,_0x35a6bc:0x327,_0xc8d2c7:0x358,_0x18de71:0x389,_0x51aae7:0x36c,_0x42ef28:0x34e,_0x37549c:0x35b,_0x58a56f:0x350,_0x4e9078:0x349,_0x344926:0x35c,_0x51fbdd:0x351,_0xef95b4:0x32e,_0xacf459:0x305,_0x3a6716:0x371,_0x7a3b48:0x31f,_0x831990:0x328,_0x1f5ecd:0x347},_0x5b2f12={_0x22d221:0x111},_0xe05eab={_0x1ebb6b:0xda};function _0x58178c(_0x233692,_0x34df5a,_0xae4c3f,_0x140e0a){return _0x48e4d1(_0xae4c3f,_0x34df5a-0x195,_0x140e0a-0x306,_0x140e0a-_0xe05eab._0x1ebb6b);}await this[_0x58178c(0x30d,0x314,_0x9d1cd1._0x57bd79,0x32c)][_0x29b0b6(0x341,_0x9d1cd1._0x200196,_0x9d1cd1._0x4b40b4,_0x9d1cd1._0x8a733f)]();function _0x29b0b6(_0x50a877,_0x28edca,_0x4a7c5a,_0x46c70c){return _0x48e4d1(_0x4a7c5a,_0x28edca-_0x5b2f12._0x22d221,_0x28edca-0x2fb,_0x46c70c-0x5b);}let [_0x4f3fd5,..._0x1a6fe3]=_0x5a58ac;switch(_0x4f3fd5){case _0x29b0b6(0x323,_0x9d1cd1._0x504bed,0x314,0x346):await this[_0x29b0b6(_0x9d1cd1._0x24d903,_0x9d1cd1._0x3734b8,0x37b,_0x9d1cd1._0x2995c4)]();break;case _0x29b0b6(_0x9d1cd1._0x2a0ca5,0x31f,0x315,0x324):await this[_0x29b0b6(0x324,_0x9d1cd1._0x4d35d9,_0x9d1cd1._0x595975,0x32b)](_0x1a6fe3[0x0],_0x1a6fe3[_0x58178c(_0x9d1cd1._0x2a0ca5,_0x9d1cd1._0x257d41,0x34b,_0x9d1cd1._0x240ae4)](0x1));break;case _0x58178c(_0x9d1cd1._0x46899b,_0x9d1cd1._0x3c24bc,_0x9d1cd1._0x35a6bc,_0x9d1cd1._0x2995c4):await this['deleteProfile'](_0x1a6fe3[0x0],_0x1a6fe3[_0x29b0b6(0x36a,0x35d,0x373,_0x9d1cd1._0xc8d2c7)](0x1));break;case _0x58178c(_0x9d1cd1._0x4d35d9,_0x9d1cd1._0x18de71,0x363,_0x9d1cd1._0x51aae7):await this[_0x29b0b6(_0x9d1cd1._0x42ef28,_0x9d1cd1._0x42ef28,0x377,0x353)](_0x1a6fe3[0x0]);break;case _0x29b0b6(_0x9d1cd1._0x37549c,_0x9d1cd1._0x58a56f,0x340,_0x9d1cd1._0x4e9078):await this[_0x29b0b6(0x36d,_0x9d1cd1._0x344926,0x356,0x345)]();break;case _0x29b0b6(0x334,0x35b,0x37a,_0x9d1cd1._0x51fbdd):await this[_0x29b0b6(0x309,0x31a,_0x9d1cd1._0xef95b4,0x2f8)](_0x1a6fe3[0x0],_0x1a6fe3[0x1]);break;case _0x58178c(_0x9d1cd1._0xacf459,0x31a,0x32b,0x328):case _0x29b0b6(_0x9d1cd1._0x3a6716,_0x9d1cd1._0x257d41,0x389,_0x9d1cd1._0x344926):case'-h':this['showHelp']();break;default:_0x4f3fd5?(console['error'](_0x29b0b6(_0x9d1cd1._0x7a3b48,_0x9d1cd1._0x831990,_0x9d1cd1._0x1f5ecd,0x30b)+_0x4f3fd5),this['showHelp'](),process['exit'](0x1)):this['showHelp']();}}async['listProfiles'](){const _0x43ecb5={_0x33bb2a:0x160,_0x186869:0x166,_0x461fe2:0x15c,_0x3797cc:0x181,_0x2f9437:0x145,_0x5a4f53:0x121,_0x3e6b0a:0xfb,_0x462cc9:0x147,_0x2a5a0b:0x15c,_0x45e402:0x121,_0xfb2b0c:0x134,_0x52beae:0x156,_0x13eaf4:0x146,_0x51c668:0x10a,_0x2f485e:0x11f,_0xc22ae9:0x123,_0x429bdc:0x16f,_0x1029e8:0x12e,_0x43c053:0x121,_0x403459:0x121,_0x391a8c:0x100,_0x5339bc:0x135,_0x5630b5:0x104,_0x44000a:0x116,_0x1ca534:0x152,_0x3e565d:0x115,_0x56c880:0xea,_0x1dfbb8:0x113,_0x2895a2:0x13d,_0x37d24e:0x140,_0x5cbc80:0x14c,_0x14ff45:0x110,_0x24f0e0:0x13f,_0x5c7a37:0x16a,_0x1fa2bb:0x106,_0x58eeed:0xe2,_0x22d27c:0x14f,_0x3ca2a6:0x133,_0x549617:0x12b,_0x1fdcf0:0x129,_0x45fc15:0x131,_0x581377:0x100,_0x3941a1:0xd7,_0x299c1b:0xe8,_0x35a91d:0x109,_0x4b652d:0x107,_0x376e01:0x122,_0x211cce:0x127,_0x5ac08b:0x108,_0xf03d65:0x120,_0x5b3e2b:0x12f,_0x1d7d02:0x14e,_0x128ac8:0x13a,_0x1bc139:0x11a,_0x4dcfbd:0x11d,_0x149e35:0x131,_0x46b1fb:0xf1,_0x2b82d9:0x10d},_0x332cdb={_0x38e897:0x186,_0x19980c:0x8b};function _0x239e13(_0x2556f6,_0x4818a1,_0x443eb9,_0x378e6d){return _0x48e4d1(_0x443eb9,_0x4818a1-0x1cd,_0x4818a1- -_0x332cdb._0x38e897,_0x378e6d-_0x332cdb._0x19980c);}function _0x2213b0(_0x5a2b1b,_0x33b388,_0x19f2d3,_0x191096){return _0x48e4d1(_0x5a2b1b,_0x33b388-0x40,_0x191096-0xca,_0x191096-0x1e1);}try{let _0x2f8cf5=await this[_0x239e13(-0x150,-_0x43ecb5._0x33bb2a,-_0x43ecb5._0x186869,-_0x43ecb5._0x461fe2)]['list'](),_0x474060=await this[_0x239e13(-0x173,-_0x43ecb5._0x33bb2a,-_0x43ecb5._0x3797cc,-0x14b)]['getActive']();console[_0x239e13(-_0x43ecb5._0x2f9437,-_0x43ecb5._0x5a4f53,-_0x43ecb5._0x3e6b0a,-_0x43ecb5._0x462cc9)](_0x239e13(-0x140,-0x15a,-_0x43ecb5._0x3797cc,-_0x43ecb5._0x2a5a0b)),console[_0x239e13(-0x10a,-_0x43ecb5._0x45e402,-0x117,-0xfa)](_0x239e13(-_0x43ecb5._0xfb2b0c,-0x14e,-0x161,-0x142)),_0x2f8cf5[_0x239e13(-0x178,-_0x43ecb5._0x52beae,-0x155,-_0x43ecb5._0x13eaf4)]((_0x41c543,_0x303533)=>_0x41c543[_0x239e13(-0x130,-0x11f,-0x128,-0x12f)]===_0x849315?-0x1:_0x303533[_0x2213b0(0x136,0x14e,0x127,0x131)]===_0x849315?0x1:_0x41c543[_0x2213b0(0x11c,0x148,0x150,0x131)]['localeCompare'](_0x303533[_0x239e13(-0x10b,-0x11f,-0x107,-0x132)]));for(let _0x4aabf1 of _0x2f8cf5){let _0xa821ae=_0x4aabf1[_0x239e13(-_0x43ecb5._0x51c668,-_0x43ecb5._0x2f485e,-0x146,-_0x43ecb5._0xc22ae9)]===_0x474060?_0x239e13(-0x144,-0x15c,-_0x43ecb5._0x429bdc,-0x174):'';console[_0x239e13(-_0x43ecb5._0x1029e8,-_0x43ecb5._0x43c053,-_0x43ecb5._0x403459,-0x13b)]('\x0a'+_0x4aabf1[_0x239e13(-0x13a,-0x11f,-_0x43ecb5._0x391a8c,-_0x43ecb5._0x5339bc)]+_0xa821ae),_0x4aabf1[_0x2213b0(0x133,_0x43ecb5._0xfb2b0c,_0x43ecb5._0x5630b5,0x110)]&&console[_0x2213b0(_0x43ecb5._0x44000a,_0x43ecb5._0x1ca534,_0x43ecb5._0x3e565d,0x12f)](_0x2213b0(_0x43ecb5._0x56c880,0xed,_0x43ecb5._0x1dfbb8,0xed)+_0x4aabf1[_0x239e13(-_0x43ecb5._0x2895a2,-_0x43ecb5._0x37d24e,-0x12b,-0x12f)]),console[_0x2213b0(0x109,_0x43ecb5._0x5cbc80,_0x43ecb5._0x14ff45,0x12f)]('\x20\x20Created:\x20'+new Date(_0x4aabf1['created'])[_0x239e13(-_0x43ecb5._0x24f0e0,-0x14f,-0x155,-_0x43ecb5._0x5c7a37)]()),console['log'](_0x2213b0(_0x43ecb5._0x1fa2bb,0xd9,_0x43ecb5._0x58eeed,0xef)+new Date(_0x4aabf1[_0x2213b0(0x12f,_0x43ecb5._0x22d27c,0x13b,0x127)])[_0x239e13(-_0x43ecb5._0x3ca2a6,-0x14f,-0x15d,-0x16c)]()),this['profileManager'][_0x2213b0(0xe2,0x12c,_0x43ecb5._0x549617,0x10a)](_0x4aabf1[_0x2213b0(0x14c,_0x43ecb5._0x1fdcf0,0x139,_0x43ecb5._0x45fc15)])?console['log'](_0x2213b0(0x112,0xfd,_0x43ecb5._0x581377,0x108)+this[_0x2213b0(_0x43ecb5._0x3941a1,_0x43ecb5._0x299c1b,0xdb,0xf0)][_0x239e13(-_0x43ecb5._0x35a91d,-0x12f,-0x110,-0x134)](_0x4aabf1[_0x239e13(-0xf8,-0x11f,-0x113,-_0x43ecb5._0x4b652d)])):console[_0x239e13(-0x143,-0x121,-_0x43ecb5._0x376e01,-0x109)](_0x2213b0(0xfd,0xed,_0x43ecb5._0x211cce,_0x43ecb5._0x5ac08b)+this['profileManager'][_0x239e13(-_0x43ecb5._0xf03d65,-_0x43ecb5._0x5b3e2b,-0x121,-_0x43ecb5._0x1d7d02)](_0x4aabf1['name']));}console[_0x239e13(-_0x43ecb5._0x128ac8,-0x121,-0x104,-0xfb)]();}catch(_0x3863c7){console[_0x2213b0(0x144,_0x43ecb5._0x43c053,_0x43ecb5._0x1bc139,0x136)](_0x2213b0(0xf7,_0x43ecb5._0x4dcfbd,0xd7,0xfb),_0x3863c7 instanceof Error?_0x3863c7[_0x2213b0(0x123,0x148,0x12b,0x120)]:String(_0x3863c7)),process[_0x2213b0(_0x43ecb5._0x149e35,0x12c,_0x43ecb5._0x46b1fb,_0x43ecb5._0x2b82d9)](0x1);}}async[_0x217595(0x1c3,0x1b2,0x1a8,0x1a9)](_0x11660d,_0x2cb62a){const _0x509298={_0x228dbf:0x4cc,_0x427c7b:0x4e1,_0x3c7175:0x319,_0x58c241:0x4f4,_0x218eea:0x4f9,_0x455bbd:0x4df,_0x461ae6:0x4d2,_0x37b085:0x4d6,_0x4a95f2:0x4f6,_0x1972be:0x507,_0x17814e:0x4c6,_0x5bdc80:0x2e4,_0x1fbfaf:0x4ba,_0x32903d:0x4f1,_0x4d5ad4:0x4f0,_0x3af283:0x4e9,_0x551217:0x52a,_0x3b0d6d:0x525,_0x29a02b:0x2fe,_0xbab6ad:0x2a7,_0x14f54d:0x2df,_0x4bf55c:0x2c3,_0x5637f3:0x2f2,_0x29bd81:0x304,_0x4b2223:0x318,_0x5cbe3e:0x4f1,_0x5559ea:0x4f3,_0x271864:0x510,_0x4a9ea7:0x2f2,_0x38a47d:0x30b,_0x388362:0x2fb,_0x3affc4:0x2fc,_0xd71fbf:0x4f0,_0x578dae:0x520},_0x37691e={_0x592e52:0x29b},_0x392d6d={_0xa83f52:0x186};_0x11660d||(console['error'](_0x27a4ae(_0x509298._0x228dbf,0x4c8,_0x509298._0x427c7b,0x4d9)),console[_0x2d1bdd(0x2f9,0x300,_0x509298._0x3c7175,0x326)](_0x27a4ae(_0x509298._0x58c241,_0x509298._0x218eea,_0x509298._0x455bbd,_0x509298._0x461ae6)),process[_0x27a4ae(0x50d,_0x509298._0x37b085,_0x509298._0x4a95f2,0x4ee)](0x1));function _0x27a4ae(_0x294cb5,_0x2dbc03,_0x1f8b1a,_0x374044){return _0x217595(_0x294cb5-0xd0,_0x374044-0x346,_0x2dbc03,_0x374044-_0x392d6d._0xa83f52);}function _0x2d1bdd(_0x18e81a,_0x23430b,_0x47b464,_0x5e9687){return _0x48e4d1(_0x18e81a,_0x23430b-0x11d,_0x23430b-_0x37691e._0x592e52,_0x5e9687-0x4d);}try{let _0x3c94c4={};for(let _0xe3be19=0x0;_0xe3be19<_0x2cb62a['length'];_0xe3be19+=0x2){let _0x45261d=_0x2cb62a[_0xe3be19],_0x598ec4=_0x2cb62a[_0xe3be19+0x1];if(_0x598ec4)switch(_0x45261d){case _0x27a4ae(0x4bb,_0x509298._0x1972be,_0x509298._0x17814e,0x4e0):case'-d':_0x3c94c4[_0x2d1bdd(0x309,0x2e1,_0x509298._0x5bdc80,0x2e5)]=_0x598ec4;break;case'--clone-from':case'-c':_0x3c94c4['cloneFrom']=_0x598ec4;break;}}await this[_0x27a4ae(0x4f2,_0x509298._0x1fbfaf,_0x509298._0x32903d,0x4d1)]['create'](_0x11660d,_0x3c94c4),console[_0x27a4ae(0x534,0x52a,_0x509298._0x4d5ad4,0x510)]('✅\x20Profile\x20\x27'+_0x11660d+_0x27a4ae(0x4ed,0x505,_0x509298._0x3af283,0x4fa)),_0x3c94c4[_0x27a4ae(_0x509298._0x551217,0x4e8,_0x509298._0x3b0d6d,0x503)]&&console[_0x2d1bdd(_0x509298._0x29a02b,0x300,0x2f2,0x327)](_0x2d1bdd(_0x509298._0xbab6ad,0x2ce,_0x509298._0x14f54d,_0x509298._0x4bf55c)+_0x3c94c4[_0x2d1bdd(_0x509298._0x5637f3,0x2f3,_0x509298._0x29bd81,_0x509298._0x4b2223)]+'\x27)'),console[_0x27a4ae(0x516,_0x509298._0x5cbe3e,_0x509298._0x5559ea,_0x509298._0x271864)]('\x20\x20\x20Path:\x20'+this['profileManager'][_0x2d1bdd(0x2f6,_0x509298._0x4a9ea7,_0x509298._0x38a47d,_0x509298._0x388362)](_0x11660d));}catch(_0xec6f5b){console[_0x2d1bdd(0x30f,0x307,0x32e,_0x509298._0x3affc4)](_0x2d1bdd(0x2f8,0x2e9,0x2dd,0x2e9),_0xec6f5b instanceof Error?_0xec6f5b[_0x27a4ae(_0x509298._0xd71fbf,0x509,_0x509298._0x578dae,0x501)]:String(_0xec6f5b)),process['exit'](0x1);}}async['deleteProfile'](_0x253361,_0x5e6e6f){const _0x46907b={_0x21ed9a:0xdc,_0x529d37:0xfc,_0x54ebc3:0xa0,_0x27398c:0x91,_0x1ec11c:0x89,_0x4f9511:0xbd,_0x439e8b:0xe1,_0x4c6b60:0xff,_0x47b480:0xe2,_0x1ab302:0x100,_0x523fd9:0xa4,_0x494545:0xf7,_0x2f8c2f:0xb9,_0x48577b:0xaf,_0x32e22e:0xcb,_0x296a16:0x8e,_0x1b2d43:0x8c,_0xe5bb30:0x84,_0x7f62c0:0xa6,_0x2273af:0x88,_0x49d2c3:0xa4},_0x537c85={_0xdc4a9a:0x6e,_0x2f4463:0x4f},_0x4894ae={_0x1f6fe4:0x46};function _0x98f779(_0x417ee5,_0x3b4286,_0x3af9cb,_0x3cb567){return _0x217595(_0x417ee5-_0x4894ae._0x1f6fe4,_0x3cb567- -0x28b,_0x3af9cb,_0x3cb567-0x94);}_0x253361||(console[_0x98f779(-0xb7,-0xb9,-_0x46907b._0x21ed9a,-0xba)](_0x98f779(-0x119,-_0x46907b._0x529d37,-0x115,-0xf8)),console['log'](_0x292a10(-_0x46907b._0x54ebc3,-0x8d,-_0x46907b._0x27398c,-_0x46907b._0x1ec11c)),process[_0x98f779(-_0x46907b._0x4f9511,-0xd1,-0xd7,-0xe3)](0x1));function _0x292a10(_0x54489a,_0x5e010c,_0x102556,_0x5dc2b8){return _0x217595(_0x54489a-_0x537c85._0xdc4a9a,_0x54489a- -0x24e,_0x102556,_0x5dc2b8-_0x537c85._0x2f4463);}try{let _0x1ae5cd={'force':_0x5e6e6f['includes']('--force')||_0x5e6e6f['includes']('-f')};await this[_0x98f779(-_0x46907b._0x439e8b,-_0x46907b._0x4c6b60,-_0x46907b._0x47b480,-_0x46907b._0x1ab302)][_0x292a10(-_0x46907b._0x523fd9,-0xcd,-0xbd,-_0x46907b._0x4f9511)](_0x253361,_0x1ae5cd),console['log'](_0x98f779(-_0x46907b._0x494545,-_0x46907b._0x2f8c2f,-_0x46907b._0x47b480,-0xdc)+_0x253361+_0x292a10(-_0x46907b._0x48577b,-0xb2,-_0x46907b._0x32e22e,-0xcf));}catch(_0x1b7bb9){console[_0x292a10(-0x7d,-_0x46907b._0x296a16,-_0x46907b._0x1b2d43,-_0x46907b._0xe5bb30)]('Failed\x20to\x20delete\x20profile:',_0x1b7bb9 instanceof Error?_0x1b7bb9['message']:String(_0x1b7bb9)),process[_0x292a10(-_0x46907b._0x7f62c0,-0xbc,-_0x46907b._0x2273af,-_0x46907b._0x49d2c3)](0x1);}}async['switchProfile'](_0x2cc576){const _0x4104bd={_0x207873:0x45b,_0x15bbc4:0x46d,_0x4eb5a1:0x44d,_0x5aeb6c:0x24b,_0x229d95:0x228,_0x5ecbce:0x467,_0x13cddd:0x466,_0x1abcb9:0x48c,_0x3d041f:0x1ef,_0x50920b:0x262,_0x141e89:0x263,_0xd8ac95:0x25f,_0x43ce5e:0x460,_0x250cc8:0x483,_0x523543:0x264,_0x5f1953:0x250,_0x22ed17:0x287,_0x216c8a:0x262,_0x2c43f7:0x23e,_0x19b099:0x237,_0x2d8bb5:0x23d,_0x4d9f1b:0x409,_0x516863:0x401,_0x44b6c3:0x46e,_0x303294:0x47f,_0x4ab9bc:0x24f,_0xaac988:0x258,_0x1404b1:0x256,_0x235ecc:0x23f,_0xd11f0c:0x24c,_0x47419c:0x251,_0x5adb90:0x283,_0x3e942f:0x266,_0xa49cad:0x22d,_0x108b62:0x23f,_0x317583:0x23c,_0x4f9d33:0x444},_0x5b1890={_0x532915:0x29c,_0x147719:0x1f3},_0x552ca9={_0x415cf2:0x1fa,_0x1a8c52:0x15f};function _0x178135(_0x14b5a0,_0x1082c8,_0x111109,_0x3ef8c3){return _0x48e4d1(_0x1082c8,_0x1082c8-0x79,_0x3ef8c3-_0x552ca9._0x415cf2,_0x3ef8c3-_0x552ca9._0x1a8c52);}_0x2cc576||(console[_0x44fe46(_0x4104bd._0x207873,_0x4104bd._0x15bbc4,_0x4104bd._0x4eb5a1,0x46b)](_0x178135(0x209,0x200,_0x4104bd._0x5aeb6c,_0x4104bd._0x229d95)),console[_0x44fe46(_0x4104bd._0x5ecbce,_0x4104bd._0x13cddd,0x473,_0x4104bd._0x1abcb9)](_0x178135(_0x4104bd._0x3d041f,0x235,0x215,0x218)),console[_0x178135(0x237,_0x4104bd._0x50920b,_0x4104bd._0x141e89,_0x4104bd._0xd8ac95)](_0x44fe46(0x443,_0x4104bd._0x43ce5e,_0x4104bd._0x250cc8,0x473)),await this[_0x178135(_0x4104bd._0x523543,_0x4104bd._0x5f1953,_0x4104bd._0x22ed17,_0x4104bd._0x216c8a)](),process[_0x178135(0x216,_0x4104bd._0x2c43f7,_0x4104bd._0x19b099,_0x4104bd._0x2d8bb5)](0x1));function _0x44fe46(_0x201875,_0x213955,_0x425a71,_0x1c3ac6){return _0x217595(_0x201875-0x1a8,_0x213955-_0x5b1890._0x532915,_0x1c3ac6,_0x1c3ac6-_0x5b1890._0x147719);}try{await this[_0x44fe46(_0x4104bd._0x4d9f1b,0x427,0x424,_0x4104bd._0x516863)][_0x44fe46(0x486,0x467,_0x4104bd._0x44b6c3,0x454)](_0x2cc576),console['log']('✅\x20Switched\x20to\x20profile\x20\x27'+_0x2cc576+'\x27'),console[_0x44fe46(0x47b,0x466,_0x4104bd._0x303294,0x459)](_0x178135(_0x4104bd._0x4ab9bc,_0x4104bd._0x2d8bb5,_0x4104bd._0xaac988,_0x4104bd._0x1404b1)+this['profileManager'][_0x178135(_0x4104bd._0x235ecc,_0x4104bd._0xd11f0c,0x23a,_0x4104bd._0x47419c)](_0x2cc576));}catch(_0x516917){console[_0x178135(_0x4104bd._0x5adb90,0x24f,0x27c,_0x4104bd._0x3e942f)](_0x178135(0x240,0x26d,_0x4104bd._0xa49cad,0x24a),_0x516917 instanceof Error?_0x516917[_0x178135(_0x4104bd._0x108b62,0x271,_0x4104bd._0x317583,_0x4104bd._0x5f1953)]:String(_0x516917)),process[_0x44fe46(0x43a,_0x4104bd._0x4f9d33,0x44f,0x43f)](0x1);}}async[_0x217595(0x1d2,0x1c6,0x1ca,0x1dd)](){const _0x5e3e6b={_0x1183fd:0x33e,_0x8764cd:0x342,_0x5d8f85:0x349,_0x1510a8:0x325,_0xb713ed:0x1d8,_0x39d0cf:0x1e4,_0x26a70d:0x332,_0xbf9a7d:0x208,_0x223039:0x207,_0xb26517:0x1ed,_0x1a8849:0x228,_0x17b297:0x224,_0x24256c:0x33d,_0x32ab53:0x35f,_0x177ca0:0x34c,_0x2e4cb8:0x35c,_0x257a50:0x377,_0x39d8ac:0x372,_0x28c945:0x359,_0x40ef0c:0x31c,_0x2d5983:0x1d0,_0x1712d6:0x1f2,_0x12f3cf:0x1e3,_0x44e0d7:0x1ce,_0xcd270:0x202,_0x4f9b3e:0x204,_0x221b43:0x330,_0xe5b0e7:0x322,_0x144015:0x33e,_0x258fcc:0x33b,_0x1b586d:0x2f9,_0x16b7d7:0x345,_0x55fc57:0x318,_0x429a8c:0x337,_0x5e7c47:0x207,_0x42feeb:0x208,_0x381724:0x1e0,_0xb55ca0:0x350,_0x3a0f2f:0x1c8,_0xd4a5e:0x1cc,_0x29201f:0x1dc,_0xecca24:0x1c3,_0x1cf157:0x1b5,_0x2b3452:0x35c,_0x10e10e:0x317,_0x364044:0x301,_0x3ed1a0:0x1bc,_0x2a8070:0x20a,_0x5861a7:0x1f1,_0x293675:0x34d,_0x265d2d:0x334,_0xec58ac:0x312,_0x177f36:0x31d,_0x523949:0x1f1,_0x445ab7:0x1de,_0x26d705:0x214,_0x1dc479:0x31c,_0x225a6a:0x1e5,_0x608541:0x225,_0x262fcc:0x207,_0x4b6364:0x1bb,_0x32a716:0x1d5,_0x5acffa:0x1d1},_0xe220a5={_0x2229de:0x178,_0xeefa1d:0x192,_0x3d678a:0x55},_0x3c7129={_0x1bdf79:0x38,_0x4bf234:0x5c};function _0x2e7dfb(_0x28ed85,_0x1b8fbc,_0x4e8213,_0x34b935){return _0x217595(_0x28ed85-0x32,_0x4e8213-_0x3c7129._0x1bdf79,_0x34b935,_0x34b935-_0x3c7129._0x4bf234);}function _0x52f2e4(_0x439a64,_0x246dd3,_0x4fb583,_0x4688ff){return _0x217595(_0x439a64-_0xe220a5._0x2229de,_0x246dd3-_0xe220a5._0xeefa1d,_0x4688ff,_0x4688ff-_0xe220a5._0x3d678a);}try{let _0x1b61de=await this[_0x52f2e4(_0x5e3e6b._0x1183fd,0x31d,_0x5e3e6b._0x8764cd,0x33c)][_0x52f2e4(0x320,_0x5e3e6b._0x5d8f85,_0x5e3e6b._0x1510a8,0x336)](),_0x7de5f7=await this[_0x2e7dfb(0x1d6,_0x5e3e6b._0xb713ed,0x1c3,_0x5e3e6b._0x39d0cf)][_0x52f2e4(0x327,0x339,0x34f,_0x5e3e6b._0x26a70d)]()[_0x2e7dfb(_0x5e3e6b._0xbf9a7d,0x1e4,_0x5e3e6b._0x223039,_0x5e3e6b._0xb26517)](_0x13e96a=>_0x13e96a[_0x2e7dfb(0x1e7,0x1bb,0x1c6,0x1c7)](_0x43f2a0=>_0x43f2a0[_0x2e7dfb(0x21a,0x225,0x204,0x216)]===_0x1b61de));console[_0x2e7dfb(0x1f0,_0x5e3e6b._0x1a8849,0x202,_0x5e3e6b._0x17b297)](_0x52f2e4(_0x5e3e6b._0x24256c,0x33b,_0x5e3e6b._0x32ab53,_0x5e3e6b._0x177ca0)),console[_0x52f2e4(0x36d,_0x5e3e6b._0x2e4cb8,0x34a,0x35f)]('================'),console[_0x52f2e4(_0x5e3e6b._0x257a50,0x35c,_0x5e3e6b._0x39d8ac,0x37e)]('Name:\x20'+_0x1b61de),_0x7de5f7&&(_0x7de5f7[_0x52f2e4(_0x5e3e6b._0x28c945,_0x5e3e6b._0x24256c,0x349,0x343)]&&console['log'](_0x52f2e4(0x31b,0x317,0x2fe,_0x5e3e6b._0x40ef0c)+_0x7de5f7[_0x2e7dfb(_0x5e3e6b._0x2d5983,_0x5e3e6b._0x1712d6,_0x5e3e6b._0x12f3cf,_0x5e3e6b._0x44e0d7)]),console[_0x2e7dfb(0x200,0x1ee,_0x5e3e6b._0xcd270,_0x5e3e6b._0x4f9b3e)](_0x52f2e4(_0x5e3e6b._0x221b43,0x338,_0x5e3e6b._0xe5b0e7,_0x5e3e6b._0x144015)+new Date(_0x7de5f7[_0x52f2e4(_0x5e3e6b._0x258fcc,0x314,_0x5e3e6b._0x1b586d,0x32b)])[_0x52f2e4(_0x5e3e6b._0x16b7d7,0x32e,_0x5e3e6b._0x55fc57,_0x5e3e6b._0x429a8c)]()),console[_0x2e7dfb(_0x5e3e6b._0x5e7c47,_0x5e3e6b._0x42feeb,_0x5e3e6b._0xcd270,_0x5e3e6b._0x381724)](_0x52f2e4(0x361,_0x5e3e6b._0xb55ca0,0x32e,0x345)+new Date(_0x7de5f7['lastUsed'])['toLocaleString']())),console['log'](_0x2e7dfb(_0x5e3e6b._0x3a0f2f,0x1d5,0x1c8,_0x5e3e6b._0xd4a5e)+this[_0x2e7dfb(_0x5e3e6b._0x29201f,0x1ad,_0x5e3e6b._0xecca24,_0x5e3e6b._0x1cf157)]['getProfileDir'](_0x1b61de)),console[_0x52f2e4(0x368,_0x5e3e6b._0x2b3452,0x34b,0x374)](_0x52f2e4(0x2fc,0x318,0x318,0x314)+this[_0x52f2e4(0x33a,0x31d,_0x5e3e6b._0x10e10e,_0x5e3e6b._0x364044)][_0x2e7dfb(0x1da,_0x5e3e6b._0x3ed1a0,0x1cc,0x1a8)](_0x1b61de)),console[_0x2e7dfb(0x229,_0x5e3e6b._0x2a8070,_0x5e3e6b._0xcd270,_0x5e3e6b._0x5861a7)](_0x52f2e4(_0x5e3e6b._0x293675,_0x5e3e6b._0x265d2d,_0x5e3e6b._0xec58ac,0x357)+this[_0x52f2e4(0x345,_0x5e3e6b._0x177f36,0x33f,0x2f8)][_0x2e7dfb(_0x5e3e6b._0x523949,0x1d1,_0x5e3e6b._0xb713ed,0x1e4)](_0x1b61de)),console[_0x2e7dfb(_0x5e3e6b._0x445ab7,_0x5e3e6b._0x26d705,_0x5e3e6b._0xcd270,0x21e)](_0x52f2e4(_0x5e3e6b._0x1dc479,0x313,0x2ea,0x302)+this['profileManager'][_0x2e7dfb(0x1fb,0x1f6,_0x5e3e6b._0x225a6a,0x1ef)](_0x1b61de)),console[_0x2e7dfb(0x1fe,_0x5e3e6b._0x608541,_0x5e3e6b._0xcd270,0x1fb)]();}catch(_0x26b3b1){console[_0x2e7dfb(_0x5e3e6b._0x262fcc,0x1ea,0x209,0x1e3)](_0x52f2e4(0x34d,0x32d,0x339,_0x5e3e6b._0x40ef0c),_0x26b3b1 instanceof Error?_0x26b3b1['message']:String(_0x26b3b1)),process[_0x2e7dfb(_0x5e3e6b._0x4b6364,_0x5e3e6b._0x32a716,_0x5e3e6b._0x381724,_0x5e3e6b._0x5acffa)](0x1);}}async[_0x217595(0x185,0x184,0x18f,0x175)](_0x94aee9,_0x2b2177){const _0x80a9c3={_0x32cd06:0x14a,_0x3ff4f8:0x119,_0x145282:0x125,_0x2461d1:0x13a,_0x3e3593:0x13b,_0x5e588e:0x11d,_0x3716bf:0x14e,_0x48d8d4:0x12c,_0x102618:0x17a,_0xde929:0x19c,_0x1f2f5d:0x17d,_0xb72522:0x150,_0x2cd26f:0x136,_0x548377:0x13f,_0x4d2a83:0x142,_0x5cdd40:0x149,_0x211e41:0x11c,_0x15bf2b:0x165,_0x7fac2:0x141,_0x3f757e:0x177,_0x11d828:0x188,_0x2a271b:0x176,_0x4ac8ea:0x111,_0x5ef1cb:0x121,_0x2a589f:0x135,_0x3fb487:0x182,_0x4bcbac:0x167,_0x3ec745:0x165,_0x4eb6d3:0x16b,_0x209e38:0x11c,_0x4f6fb9:0x160,_0x398c42:0x155,_0xa7b2d7:0x160,_0x2fc5cd:0x156,_0x50b129:0x12f},_0x2f70de={_0x5e7361:0x14c,_0x571d44:0x2f6,_0x5ea10e:0x10e};function _0x2ea1ee(_0x208c22,_0x1a1932,_0x4917c8,_0x3eac98){return _0x217595(_0x208c22-_0x2f70de._0x5e7361,_0x3eac98- -_0x2f70de._0x571d44,_0x4917c8,_0x3eac98-_0x2f70de._0x5ea10e);}(!_0x94aee9||!_0x2b2177)&&(console[_0x2ea1ee(-_0x80a9c3._0x32cd06,-_0x80a9c3._0x3ff4f8,-0x11e,-_0x80a9c3._0x145282)](_0x3e31b0(_0x80a9c3._0x2461d1,_0x80a9c3._0x3e3593,_0x80a9c3._0x5e588e,0x118)),console[_0x2ea1ee(-0x12c,-0x138,-_0x80a9c3._0x3716bf,-_0x80a9c3._0x48d8d4)]('Usage:\x20nuvin-cli\x20profile\x20clone\x20<source>\x20<target>'),console['log']('Available\x20profiles:'),await this[_0x3e31b0(_0x80a9c3._0x102618,_0x80a9c3._0xde929,0x171,0x164)](),process[_0x3e31b0(0x155,_0x80a9c3._0x1f2f5d,_0x80a9c3._0xb72522,0x175)](0x1));function _0x3e31b0(_0x16ac22,_0x19f862,_0x1dc83e,_0x17e907){return _0x48e4d1(_0x1dc83e,_0x19f862-0x80,_0x16ac22-0x112,_0x17e907-0x172);}try{let _0x5c74a0={'cloneFrom':_0x94aee9,'description':'Clone\x20of\x20\x27'+_0x94aee9+'\x27'};await this['profileManager'][_0x3e31b0(_0x80a9c3._0x2cd26f,_0x80a9c3._0x548377,0x13d,0x142)](_0x2b2177,_0x5c74a0),console[_0x2ea1ee(-_0x80a9c3._0x4d2a83,-0x141,-0x130,-0x12c)]('✅\x20Profile\x20\x27'+_0x2b2177+_0x2ea1ee(-_0x80a9c3._0x5cdd40,-0x11f,-_0x80a9c3._0x211e41,-0x142)),console['log'](_0x3e31b0(0x145,0x165,_0x80a9c3._0x15bf2b,_0x80a9c3._0x7fac2)+_0x94aee9+'\x27)'),console[_0x3e31b0(_0x80a9c3._0x3f757e,0x178,_0x80a9c3._0x11d828,_0x80a9c3._0x2a271b)](_0x2ea1ee(-_0x80a9c3._0x4ac8ea,-0x11f,-_0x80a9c3._0x5ef1cb,-_0x80a9c3._0x2a589f)+this[_0x2ea1ee(-_0x80a9c3._0x3fb487,-_0x80a9c3._0x4bcbac,-_0x80a9c3._0x3ec745,-_0x80a9c3._0x4eb6d3)][_0x3e31b0(0x169,0x162,0x187,0x18f)](_0x2b2177));}catch(_0x1c8aac){console['error']('Failed\x20to\x20clone\x20profile:',_0x1c8aac instanceof Error?_0x1c8aac[_0x2ea1ee(-_0x80a9c3._0x209e38,-_0x80a9c3._0x4f6fb9,-0x12a,-0x13b)]:String(_0x1c8aac)),process[_0x3e31b0(_0x80a9c3._0x398c42,_0x80a9c3._0xa7b2d7,_0x80a9c3._0x2fc5cd,_0x80a9c3._0x50b129)](0x1);}}[_0x48e4d1(0x4b,0x62,0x3c,0x4f)](){const _0x1e16aa={_0x2c287d:0x333,_0x83e6e0:0x344,_0xe2a85:0x31d},_0x4a51d6={_0x4c5f93:0x170,_0x1a18d:0x146};function _0x5c958c(_0x1ce407,_0x1820a5,_0x33de7d,_0x481702){return _0x217595(_0x1ce407-_0x4a51d6._0x4c5f93,_0x1ce407-0x169,_0x1820a5,_0x481702-_0x4a51d6._0x1a18d);}console[_0x5c958c(_0x1e16aa._0x2c287d,_0x1e16aa._0x83e6e0,0x329,_0x1e16aa._0xe2a85)]('\x0aProfile\x20Management\x20Commands\x0a\x0aUsage:\x0a\x20\x20nuvin\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20profiles\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20new\x20profile\x0a\x20\x20delete\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20a\x20profile\x0a\x20\x20switch\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20show\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20current\x20profile\x20info\x0a\x20\x20clone\x20<source>\x20<target>\x20\x20\x20\x20\x20Clone\x20an\x20existing\x20profile\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x20message\x0a\x0aCreate\x20Options:\x0a\x20\x20--description,\x20-d\x20<text>\x20\x20\x20\x20\x20Profile\x20description\x0a\x20\x20--clone-from,\x20-c\x20<source>\x20\x20\x20\x20Clone\x20existing\x20profile\x0a\x0aDelete\x20Options:\x0a\x20\x20--force,\x20-f\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force\x20delete\x20even\x20if\x20active\x0a\x0aExamples:\x0a\x20\x20nuvin\x20profile\x20list\x0a\x20\x20nuvin\x20profile\x20create\x20work\x20--description\x20\x22Work\x20projects\x22\x0a\x20\x20nuvin\x20profile\x20switch\x20work\x0a\x20\x20nuvin\x20profile\x20clone\x20work\x20client-project\x0a\x20\x20nuvin\x20profile\x20delete\x20old-project\x20--force\x0a\x20\x20nuvin\x20profile\x20show\x0a\x0aNote:\x20The\x20\x27default\x27\x20profile\x20is\x20reserved\x20and\x20cannot\x20be\x20deleted.\x0aThe\x20default\x20profile\x20uses\x20the\x20root\x20~/.nuvin\x20directory.\x0a');}};function _0x1393(_0x2edd02,_0x3e2bea){_0x2edd02=_0x2edd02-0x1c6;const _0x254968=_0x2549();let _0x139390=_0x254968[_0x2edd02];if(_0x1393['VDPCjE']===undefined){var _0x383572=function(_0x3f2b8d){const _0x46fb6f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x849315='',_0x190f02='';for(let _0x5a58ac=0x0,_0x49ca1a,_0x4f3fd5,_0x1a6fe3=0x0;_0x4f3fd5=_0x3f2b8d['charAt'](_0x1a6fe3++);~_0x4f3fd5&&(_0x49ca1a=_0x5a58ac%0x4?_0x49ca1a*0x40+_0x4f3fd5:_0x4f3fd5,_0x5a58ac++%0x4)?_0x849315+=String['fromCharCode'](0xff&_0x49ca1a>>(-0x2*_0x5a58ac&0x6)):0x0){_0x4f3fd5=_0x46fb6f['indexOf'](_0x4f3fd5);}for(let _0x2f8cf5=0x0,_0x474060=_0x849315['length'];_0x2f8cf5<_0x474060;_0x2f8cf5++){_0x190f02+='%'+('00'+_0x849315['charCodeAt'](_0x2f8cf5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x190f02);};_0x1393['lwevhV']=_0x383572,_0x1393['SjyzWZ']={},_0x1393['VDPCjE']=!![];}const _0x2854ab=_0x254968[0x0],_0x574bb2=_0x2edd02+_0x2854ab,_0x330fd6=_0x1393['SjyzWZ'][_0x574bb2];return!_0x330fd6?(_0x139390=_0x1393['lwevhV'](_0x139390),_0x1393['SjyzWZ'][_0x574bb2]=_0x139390):_0x139390=_0x330fd6,_0x139390;}export{a as ProfileCliHandler};
@@ -1 +1 @@
1
- (function(_0x47a4ec,_0x1b20eb){var _0x52e33b={_0x3af244:0x2fd,_0x4d55a2:0x2fd,_0x4e90bb:0x301,_0x29a5eb:0x2fc,_0x16909d:0x2ff,_0x2f4953:0x2fb,_0x35fc40:0x362,_0x10d00d:0x367,_0x576348:0x2fa,_0x21bcb3:0x365,_0x46b9db:0x35f,_0x25f9a4:0x360,_0x54ac90:0x2f6,_0x297a31:0x2f1,_0x319633:0x2f1,_0x11573e:0x2f9,_0x4b2050:0x2f2,_0x3b39f1:0x363,_0x387de2:0x2f2,_0x1da333:0x2f7};function _0x1f0e78(_0x3df61f,_0x2dfacc,_0x32c67a,_0x37b2cd){return _0x39af(_0x3df61f- -0x371,_0x37b2cd);}function _0x102951(_0x3e8f09,_0x38c4d8,_0x1e839d,_0x2c66da){return _0x39af(_0x3e8f09-0x2e8,_0x38c4d8);}var _0x4330f5=_0x47a4ec();while(!![]){try{var _0x1d0876=parseInt(_0x1f0e78(-0x2fc,-0x2f7,-0x2fb,-0x2fa))/0x1+-parseInt(_0x1f0e78(-_0x52e33b._0x3af244,-_0x52e33b._0x4d55a2,-_0x52e33b._0x4e90bb,-0x2fc))/0x2*(-parseInt(_0x1f0e78(-0x2fb,-_0x52e33b._0x29a5eb,-_0x52e33b._0x16909d,-_0x52e33b._0x2f4953))/0x3)+parseInt(_0x1f0e78(-0x2fa,-0x2f7,-0x2fe,-0x2f5))/0x4*(parseInt(_0x102951(0x366,_0x52e33b._0x35fc40,_0x52e33b._0x10d00d,0x367))/0x5)+-parseInt(_0x1f0e78(-0x2f8,-_0x52e33b._0x576348,-0x2fe,-_0x52e33b._0x2f4953))/0x6+-parseInt(_0x102951(0x362,_0x52e33b._0x21bcb3,_0x52e33b._0x46b9db,_0x52e33b._0x25f9a4))/0x7+-parseInt(_0x1f0e78(-_0x52e33b._0x54ac90,-_0x52e33b._0x297a31,-_0x52e33b._0x319633,-_0x52e33b._0x11573e))/0x8*(-parseInt(_0x1f0e78(-0x2f5,-0x2f6,-_0x52e33b._0x4b2050,-0x2fa))/0x9)+-parseInt(_0x102951(_0x52e33b._0x25f9a4,0x365,_0x52e33b._0x3b39f1,0x360))/0xa*(-parseInt(_0x1f0e78(-0x2f4,-_0x52e33b._0x387de2,-_0x52e33b._0x1da333,-0x2f3))/0xb);if(_0x1d0876===_0x1b20eb)break;else _0x4330f5['push'](_0x4330f5['shift']());}catch(_0x4fce6c){_0x4330f5['push'](_0x4330f5['shift']());}}}(_0x1590,0x69a07));import{b as _0x51032c,c as _0x335309,d as _0x2168ae,e as _0x37951e,f as _0x271bb7,g as _0x17d5ac}from'./chunk-RY5MYNSA.js';function _0x1590(){var _0x2b3241=['nta0otmYBw1iqNbo','oduWnZboBMvVvLe','ntGZnJmYsxjHB1Pr','mtKYmdqZnKXYueLQqW','mtCZotyWv3Pnvg5P','mZzQDhngzMS','nJzIvMP3vgi','mtv3tM5HyvC','mtiXmJiYzK1Py3PA','mty2mZi0tM1orgzl','nK1kvejRAq'];_0x1590=function(){return _0x2b3241;};return _0x1590();}import'./chunk-BWIY46RS.js';import'./chunk-3YTWOK4O.js';function _0x39af(_0x4ff4be,_0xa034c3){_0x4ff4be=_0x4ff4be-0x74;var _0x15902c=_0x1590();var _0x39af2a=_0x15902c[_0x4ff4be];if(_0x39af['MkGUbM']===undefined){var _0x34f39d=function(_0x7aeb09){var _0x3fdd70='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x51032c='',_0x335309='';for(var _0x2168ae=0x0,_0x37951e,_0x271bb7,_0x17d5ac=0x0;_0x271bb7=_0x7aeb09['charAt'](_0x17d5ac++);~_0x271bb7&&(_0x37951e=_0x2168ae%0x4?_0x37951e*0x40+_0x271bb7:_0x271bb7,_0x2168ae++%0x4)?_0x51032c+=String['fromCharCode'](0xff&_0x37951e>>(-0x2*_0x2168ae&0x6)):0x0){_0x271bb7=_0x3fdd70['indexOf'](_0x271bb7);}for(var _0x23412d=0x0,_0x38da69=_0x51032c['length'];_0x23412d<_0x38da69;_0x23412d++){_0x335309+='%'+('00'+_0x51032c['charCodeAt'](_0x23412d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x335309);};_0x39af['cWpSNF']=_0x34f39d,_0x39af['ntrDHn']={},_0x39af['MkGUbM']=!![];}var _0x380fea=_0x15902c[0x0],_0x567b6d=_0x4ff4be+_0x380fea,_0x4c3f7b=_0x39af['ntrDHn'][_0x567b6d];return!_0x4c3f7b?(_0x39af2a=_0x39af['cWpSNF'](_0x39af2a),_0x39af['ntrDHn'][_0x567b6d]=_0x39af2a):_0x39af2a=_0x4c3f7b,_0x39af2a;}export{_0x335309 as createNewSession,_0x271bb7 as getSessionDir,_0x2168ae as loadHistoryFromFile,_0x37951e as loadSessionHistory,_0x51032c as scanAvailableSessions,_0x17d5ac as useSessionManagement};
1
+ (function(_0x2c6759,_0x4aab88){var _0x12670f={_0x5b3289:0x207,_0xaecebe:0x202,_0xd0cc6c:0x1ff,_0x3e2299:0x20a,_0x41c9fd:0x200,_0x27f14e:0x204,_0x11f979:0x1fe,_0x3a593f:0x1ff,_0x508702:0x4a,_0x3af7b8:0x4e,_0x56ab70:0x4d,_0x57a160:0x53,_0xc536fe:0x4e,_0x62d72b:0x4b,_0x2a9dfd:0x201,_0x5e26de:0x4f,_0x24d12c:0x4e,_0x58c727:0x55,_0x3eff5c:0x52,_0x3c1030:0x49,_0x4782b3:0x45},_0x2e5ff7={_0x28b0b5:0x130},_0x474d03=_0x2c6759();function _0x549daa(_0xd6c9a2,_0x2988f2,_0x14b778,_0x2c4099){return _0x16eb(_0x14b778-_0x2e5ff7._0x28b0b5,_0xd6c9a2);}function _0x43285e(_0x179e18,_0x160a13,_0x134f8a,_0x24cf5b){return _0x16eb(_0x179e18- -0x84,_0x160a13);}while(!![]){try{var _0x498c3e=parseInt(_0x549daa(0x208,0x20c,_0x12670f._0x5b3289,_0x12670f._0xaecebe))/0x1+parseInt(_0x549daa(_0x12670f._0xd0cc6c,0x20b,0x205,_0x12670f._0x3e2299))/0x2+-parseInt(_0x549daa(0x1fc,0x201,_0x12670f._0x41c9fd,_0x12670f._0x27f14e))/0x3*(parseInt(_0x549daa(_0x12670f._0x11f979,0x201,0x1ff,_0x12670f._0x3a593f))/0x4)+-parseInt(_0x43285e(_0x12670f._0x508702,0x4c,0x4d,0x46))/0x5*(-parseInt(_0x43285e(0x4d,0x51,_0x12670f._0x3af7b8,_0x12670f._0x56ab70))/0x6)+-parseInt(_0x43285e(0x52,0x55,_0x12670f._0x57a160,0x50))/0x7*(parseInt(_0x43285e(_0x12670f._0xc536fe,0x51,_0x12670f._0x62d72b,0x4e))/0x8)+-parseInt(_0x549daa(_0x12670f._0x2a9dfd,0x1fc,0x1fc,0x1f7))/0x9*(parseInt(_0x43285e(_0x12670f._0x5e26de,0x52,0x52,_0x12670f._0x24d12c))/0xa)+parseInt(_0x43285e(0x50,0x53,_0x12670f._0x58c727,_0x12670f._0x3eff5c))/0xb*(parseInt(_0x43285e(_0x12670f._0x3c1030,0x4d,_0x12670f._0x56ab70,_0x12670f._0x4782b3))/0xc);if(_0x498c3e===_0x4aab88)break;else _0x474d03['push'](_0x474d03['shift']());}catch(_0x10fd31){_0x474d03['push'](_0x474d03['shift']());}}}(_0x2b0a,0x36ca2));import{b as _0x456fc4,c as _0x5b8dcc,d as _0x28c730,e as _0x111ace,f as _0xb3d32,g as _0x5da9f9}from'./chunk-RY5MYNSA.js';import'./chunk-BWIY46RS.js';function _0x16eb(_0x2b0d9c,_0x3a1818){_0x2b0d9c=_0x2b0d9c-0xcc;var _0x2b0a81=_0x2b0a();var _0x16eba4=_0x2b0a81[_0x2b0d9c];if(_0x16eb['EnobDx']===undefined){var _0x44c0fc=function(_0x453361){var _0xc37cc2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x456fc4='',_0x5b8dcc='';for(var _0x28c730=0x0,_0x111ace,_0xb3d32,_0x5da9f9=0x0;_0xb3d32=_0x453361['charAt'](_0x5da9f9++);~_0xb3d32&&(_0x111ace=_0x28c730%0x4?_0x111ace*0x40+_0xb3d32:_0xb3d32,_0x28c730++%0x4)?_0x456fc4+=String['fromCharCode'](0xff&_0x111ace>>(-0x2*_0x28c730&0x6)):0x0){_0xb3d32=_0xc37cc2['indexOf'](_0xb3d32);}for(var _0xd312e6=0x0,_0x501a17=_0x456fc4['length'];_0xd312e6<_0x501a17;_0xd312e6++){_0x5b8dcc+='%'+('00'+_0x456fc4['charCodeAt'](_0xd312e6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5b8dcc);};_0x16eb['lBsvRc']=_0x44c0fc,_0x16eb['dATROT']={},_0x16eb['EnobDx']=!![];}var _0x1269b4=_0x2b0a81[0x0],_0x32744f=_0x2b0d9c+_0x1269b4,_0x387f6c=_0x16eb['dATROT'][_0x32744f];return!_0x387f6c?(_0x16eba4=_0x16eb['lBsvRc'](_0x16eba4),_0x16eb['dATROT'][_0x32744f]=_0x16eba4):_0x16eba4=_0x387f6c,_0x16eba4;}import'./chunk-3YTWOK4O.js';function _0x2b0a(){var _0xafd1e2=['mZa2mJrYuxrKqNa','mtiXodrzsMLqreO','mti5nJbstuvgugy','mtfRsLrlz3u','mZyXmZyWr0zSAgvH','mtu5nNPkCKHTvW','mZa1mtmXv3ftrKDI','mJu2nwjAz3vjyG','mta1mdG4otjIDhnoBg8','nvjewePLBG','mtmYAvr2u3Lu','mZG2otrOB3rrA0O'];_0x2b0a=function(){return _0xafd1e2;};return _0x2b0a();}export{_0x5b8dcc as createNewSession,_0xb3d32 as getSessionDir,_0x28c730 as loadHistoryFromFile,_0x111ace as loadSessionHistory,_0x456fc4 as scanAvailableSessions,_0x5da9f9 as useSessionManagement};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvin/nuvin-cli",
3
- "version": "1.36.0-rc.14",
3
+ "version": "1.36.0-rc.17",
4
4
  "private": false,
5
5
  "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
6
  "license": "Apache-2.0",
@@ -61,7 +61,7 @@
61
61
  "wrap-ansi": "^9.0.2",
62
62
  "yaml": "^2.8.2",
63
63
  "zod": "^4.2.1",
64
- "@nuvin/nuvin-core": "^1.19.0-rc.8",
64
+ "@nuvin/nuvin-core": "^1.19.0-rc.10",
65
65
  "ink": "npm:@nuvin/ink@6.6.4"
66
66
  },
67
67
  "devDependencies": {
@@ -91,7 +91,7 @@
91
91
  "build": "node scripts/build.js",
92
92
  "clean": "rm -rf dist",
93
93
  "dev": "tsup --watch",
94
- "run:dev": "npx tsx source/cli.tsx",
94
+ "run:dev": "npx tsx --import ./scripts/register-md-loader.js source/cli.tsx",
95
95
  "run:scroll": "npx tsx source/position-demo.tsx",
96
96
  "run:prod": "node dist/cli.js",
97
97
  "test": "vitest run",
@@ -1,60 +0,0 @@
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.
@@ -1,68 +0,0 @@
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.
@@ -1,62 +0,0 @@
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.
@@ -1,67 +0,0 @@
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.
@@ -1,55 +0,0 @@
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.