@nuvin/nuvin-cli 1.23.1 → 1.24.1

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 +0,0 @@
1
- (function(_0x2892b5,_0x2aee7a){const _0x587645={_0x42394a:0x204,_0x4783ae:0x1f4,_0x2d6f5c:0x1e9,_0x11dfc1:0x1e1,_0x54d524:0x1e2,_0x2b8be7:0x1db,_0x481d09:0x1e3,_0x28c021:0x1d5,_0x2ecf43:0x1df,_0x2618d3:0x1d4,_0x4ce5ea:0x1d4,_0x367463:0x20f,_0x3eef2f:0x21c,_0x16371c:0x209,_0x553bf2:0x209,_0x9864b0:0x212,_0x1c2f88:0x216,_0x12e508:0x20a,_0x24c9ff:0x1fe,_0xda51b5:0x202,_0x29d5a2:0x1e9,_0x9c2e3d:0x1ee,_0x4551a5:0x1d5},_0xf3fc2d={_0x41a3e6:0x2fe},_0x1e54e4={_0x12419c:0xe3};function _0x3ee05a(_0x19f805,_0x2d2324,_0x758e9a,_0xf0e498){return _0x1389(_0x2d2324-_0x1e54e4._0x12419c,_0x758e9a);}function _0x468fae(_0x3c7831,_0x25c632,_0x4ac15d,_0x3e61a4){return _0x1389(_0x3c7831- -_0xf3fc2d._0x41a3e6,_0x3e61a4);}const _0x1edae9=_0x2892b5();while(!![]){try{const _0x283d6d=-parseInt(_0x3ee05a(_0x587645._0x42394a,_0x587645._0x4783ae,0x201,_0x587645._0x2d6f5c))/0x1+-parseInt(_0x468fae(-_0x587645._0x11dfc1,-_0x587645._0x54d524,-0x1de,-_0x587645._0x2b8be7))/0x2*(parseInt(_0x468fae(-_0x587645._0x481d09,-0x1e7,-0x1d4,-_0x587645._0x28c021))/0x3)+-parseInt(_0x468fae(-_0x587645._0x2ecf43,-_0x587645._0x2618d3,-_0x587645._0x4ce5ea,-0x1ee))/0x4+-parseInt(_0x3ee05a(0x1fe,_0x587645._0x367463,0x212,_0x587645._0x3eef2f))/0x5+-parseInt(_0x3ee05a(_0x587645._0x16371c,_0x587645._0x553bf2,_0x587645._0x9864b0,_0x587645._0x1c2f88))/0x6+parseInt(_0x3ee05a(0x1ff,0x1fa,_0x587645._0x12e508,_0x587645._0x24c9ff))/0x7*(-parseInt(_0x3ee05a(_0x587645._0xda51b5,0x1fd,0x1f7,0x20e))/0x8)+parseInt(_0x468fae(-0x1e5,-_0x587645._0x29d5a2,-_0x587645._0x9c2e3d,-_0x587645._0x4551a5))/0x9;if(_0x283d6d===_0x2aee7a)break;else _0x1edae9['push'](_0x1edae9['shift']());}catch(_0x4a3b12){_0x1edae9['push'](_0x1edae9['shift']());}}}(_0x3f14,0x6bedc));import{E as _0x21679d,I as _0x4364a4,K as _0xf3235f,P as _0x4935c4,_ as _0x340bb7,h as _0x32760b,n as _0x33767b,y as _0x2e345e}from'./chunk-ISIPLDYE.js';import{d as _0x31c2ae}from'./chunk-CIGVGDJE.js';import'./chunk-GVQW5RFW.js';import'./chunk-EL4T27CW.js';import'./chunk-AJHDLTY3.js';import'./chunk-M6KACDU7.js';import{useEffect as _0x460b52}from'react';import{render as _0x77d61e}from'ink';function _0x4b7f07(_0x13eb64,_0x10ebda,_0x32e982,_0x2c8c84){const _0x27f32f={_0x5b9182:0x246};return _0x1389(_0x10ebda- -_0x27f32f._0x5b9182,_0x32e982);}import{Box as _0x3d93d9,Text as _0x213d9d,useApp as _0x5e9636}from'ink';import*as _0x5bc113 from'fs/promises';import*as _0x2d1001 from'path';import{jsx as _0x10eb6c,jsxs as _0x149c9a}from'react/jsx-runtime';function N({messages:_0x4dda57,messageCount:_0x4f588a}){const _0x5604d4={_0x4cfdf2:0x10d,_0x49cd98:0x11d,_0x1c13ed:0x10a,_0x4a4ede:0xfd,_0x1f2638:0x109,_0x2f1b94:0x102,_0xdfb2c:0x10b,_0x3ddf28:0x33e,_0x154dec:0x354,_0x45712d:0x33f,_0x51267b:0x35e,_0x5003e6:0x359,_0x4cd0a2:0x357,_0x2c62d3:0x11c,_0x5f1454:0x113,_0x2d8aea:0x360,_0x407a18:0x366,_0x3c8ad7:0x352,_0x4d3bb1:0x116};let {exit:_0x3ce342}=_0x5e9636();function _0x4ca654(_0x319e05,_0xa9a89c,_0x5715cf,_0x1080dd){return _0x1389(_0x5715cf-0x231,_0x1080dd);}function _0x2ab379(_0x42e7b8,_0x72e57,_0x227951,_0x44b73a){return _0x1389(_0x72e57- -0x13,_0x44b73a);}return _0x460b52(()=>{let _0x1bcf96=setTimeout(()=>{_0x3ce342();},0x12c);return()=>clearTimeout(_0x1bcf96);},[_0x3ce342]),_0x149c9a(_0x3d93d9,{'flexDirection':_0x2ab379(_0x5604d4._0x4cfdf2,0x111,_0x5604d4._0x49cd98,_0x5604d4._0x1c13ed),'height':_0x2ab379(0x101,_0x5604d4._0x4a4ede,_0x5604d4._0x1f2638,_0x5604d4._0x2f1b94),'width':_0x2ab379(0xfb,_0x5604d4._0x4a4ede,_0x5604d4._0xdfb2c,0x10c),'children':[_0x10eb6c(_0x21679d,{'messages':_0x4dda57},_0x4ca654(_0x5604d4._0x3ddf28,0x34b,0x340,0x337)),_0x10eb6c(_0x4935c4,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x10eb6c(_0xf3235f,{'status':_0x4ca654(_0x5604d4._0x154dec,0x347,0x344,_0x5604d4._0x45712d),'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':'insert','workingDirectory':process['cwd']()}),_0x10eb6c(_0x3d93d9,{'paddingX':0x1,'borderStyle':_0x4ca654(_0x5604d4._0x51267b,_0x5604d4._0x5003e6,0x35b,_0x5604d4._0x4cd0a2),'borderColor':_0x2ab379(0x120,_0x5604d4._0x2c62d3,0x119,_0x5604d4._0x5f1454),'marginTop':-0x1,'children':_0x149c9a(_0x213d9d,{'color':_0x4ca654(_0x5604d4._0x2d8aea,_0x5604d4._0x407a18,_0x5604d4._0x2d8aea,_0x5604d4._0x3c8ad7),'children':['🎨\x20Demo\x20Mode\x20-\x20Loaded\x20',_0x4f588a,_0x2ab379(0x109,_0x5604d4._0x4d3bb1,0x119,0x11c)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x4a09fc,metadata:_0x231d17,messageCount:_0x993cf}){const _0x127a7d={_0x2d6210:0x14b};function _0x520dd4(_0x37fd0e,_0x4f8baf,_0x2fb863,_0x348648){return _0x1389(_0x348648- -_0x127a7d._0x2d6210,_0x2fb863);}return _0x10eb6c(_0x2e345e,{'children':_0x10eb6c(_0x4364a4,{'initialConfig':b,'children':_0x10eb6c(_0x33767b,{'children':_0x10eb6c(_0x32760b,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x72e2d=>console[_0x520dd4(-0x32,-0x4a,-0x38,-0x39)](_0x72e2d),'children':_0x10eb6c(_0x340bb7,{'children':_0x10eb6c(N,{'messages':_0x4a09fc,'metadata':_0x231d17,'messageCount':_0x993cf})})})})})});}var P=class{constructor(_0x199318){const _0x1ac5a9={_0x1f9f19:0x26b,_0x5656eb:0x26c,_0x7f0a2b:0x256};function _0x2a8024(_0x14e020,_0x85a07c,_0x5db3a2,_0x4cdd7a){return _0x1389(_0x14e020- -0x37a,_0x85a07c);}this[_0x2a8024(-0x265,-_0x1ac5a9._0x1f9f19,-_0x1ac5a9._0x5656eb,-_0x1ac5a9._0x7f0a2b)]=_0x199318;}async[_0x4b7f07(-0x12c,-0x12e,-0x12a,-0x133)](){const _0x1fe92a={_0x2d270c:0x1a9,_0x21e285:0x19f,_0x547ef0:0x1a2,_0x3549c1:0x192,_0x39bc35:0x193,_0x424890:0x1b7,_0x1af38b:0x19b,_0x4df59d:0x183,_0x2712bc:0x194,_0x18f9c8:0x1ab,_0x3754c9:0x1aa,_0x2c0678:0x1a7,_0x37f65b:0x1b3,_0x34651f:0x1ad,_0x5dd3c1:0x1aa,_0x2dc59f:0x39c,_0x54cd93:0x388,_0x6b6449:0x39c,_0x36ef62:0x36e,_0x3abccf:0x386,_0x580119:0x382,_0x44e0a3:0x38a,_0x58074f:0x199,_0x318334:0x1a7,_0x27089e:0x1b4,_0x2c71aa:0x196,_0x12ba1d:0x1a0,_0x3b3d49:0x376,_0x510466:0x186,_0xd1e467:0x19f,_0x567340:0x197,_0x449324:0x1a8,_0x660b5:0x1bb,_0x348389:0x1b0,_0x208e80:0x1ae,_0x1ee31b:0x374,_0x32401b:0x37b,_0x3aa0b5:0x374,_0x582eaf:0x36a,_0x8653b5:0x19e,_0x5a1e82:0x393,_0x523f26:0x394,_0x1209e9:0x397,_0x370080:0x392},_0x545e85={_0x2d3bcf:0x2c8,_0x3cdee6:0xa3},_0x5b9b3e={_0x2187b7:0x163};function _0x5a5b9f(_0xfb3182,_0x5f05a8,_0x23deb4,_0x29b831){return _0x4b7f07(_0xfb3182-0x1ac,_0x5f05a8-0x4af,_0xfb3182,_0x29b831-_0x5b9b3e._0x2187b7);}function _0x14405a(_0x57021a,_0x49594f,_0x1fed74,_0x4bcf53){return _0x4b7f07(_0x57021a-0x176,_0x49594f-_0x545e85._0x2d3bcf,_0x57021a,_0x4bcf53-_0x545e85._0x3cdee6);}try{let _0x490a2e=_0x2d1001['resolve'](this['historyPath']),_0x459039=await _0x5bc113[_0x14405a(0x1aa,_0x1fe92a._0x2d270c,_0x1fe92a._0x21e285,0x1aa)](_0x490a2e,_0x14405a(0x194,_0x1fe92a._0x547ef0,_0x1fe92a._0x3549c1,0x19f)),_0x3609e8=JSON[_0x14405a(0x197,0x1a0,_0x1fe92a._0x39bc35,0x19c)](_0x459039);(!_0x3609e8[_0x5a5b9f(0x388,0x396,0x39d,0x390)]||_0x3609e8['cli'][_0x14405a(_0x1fe92a._0x424890,0x1a7,_0x1fe92a._0x1af38b,0x1a9)]===0x0)&&(console[_0x14405a(_0x1fe92a._0x4df59d,_0x1fe92a._0x2712bc,0x1a3,0x1a2)](_0x14405a(_0x1fe92a._0x18f9c8,_0x1fe92a._0x3754c9,_0x1fe92a._0x2c0678,0x1b1)),process[_0x14405a(_0x1fe92a._0x37f65b,_0x1fe92a._0x34651f,_0x1fe92a._0x5dd3c1,0x19e)](0x1));let _0x1b37b8=_0x3609e8[_0x5a5b9f(_0x1fe92a._0x2dc59f,0x396,_0x1fe92a._0x54cd93,_0x1fe92a._0x6b6449)],_0x3112c0=[];for(let _0x388f46 of _0x1b37b8)_0x3112c0[_0x5a5b9f(0x377,0x37f,_0x1fe92a._0x36ef62,_0x1fe92a._0x3abccf)](..._0x31c2ae(_0x388f46));let _0x7dc6cb=null;for(let _0x3cb48e=_0x1b37b8['length']-0x1;_0x3cb48e>=0x0;_0x3cb48e--)if(_0x1b37b8[_0x3cb48e]['role']===_0x5a5b9f(_0x1fe92a._0x580119,_0x1fe92a._0x44e0a3,0x37d,0x37f)){_0x7dc6cb={'totalTokens':0x0};break;}console[_0x14405a(_0x1fe92a._0x58074f,0x1a4,0x1a1,0x197)](),console['log']('\x1bc');let {waitUntilExit:_0x1b4bbc}=_0x77d61e(_0x10eb6c(S,{'messages':_0x3112c0,'metadata':_0x7dc6cb,'messageCount':_0x1b37b8[_0x14405a(0x1a1,_0x1fe92a._0x318334,_0x1fe92a._0x27089e,0x1a7)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x1b4bbc();}catch(_0x358cbe){if(_0x358cbe['code']===_0x14405a(_0x1fe92a._0x2c0678,_0x1fe92a._0x2c71aa,_0x1fe92a._0x21e285,_0x1fe92a._0x12ba1d))console[_0x14405a(_0x1fe92a._0x4df59d,0x194,0x196,_0x1fe92a._0x58074f)](_0x5a5b9f(0x37d,0x38c,_0x1fe92a._0x44e0a3,_0x1fe92a._0x2dc59f)+this[_0x5a5b9f(_0x1fe92a._0x3abccf,0x37e,_0x1fe92a._0x54cd93,_0x1fe92a._0x3b3d49)]);else{if(_0x358cbe instanceof SyntaxError)console[_0x14405a(_0x1fe92a._0x510466,0x194,0x188,0x186)](_0x14405a(_0x1fe92a._0xd1e467,0x190,0x184,0x182)+this[_0x14405a(0x1a5,_0x1fe92a._0x567340,_0x1fe92a._0x449324,_0x1fe92a._0x1af38b)]);else{let _0x50ef47=_0x358cbe instanceof Error?_0x358cbe[_0x14405a(_0x1fe92a._0x660b5,_0x1fe92a._0x348389,_0x1fe92a._0x208e80,0x1ac)]:String(_0x358cbe);console[_0x5a5b9f(_0x1fe92a._0x1ee31b,_0x1fe92a._0x32401b,_0x1fe92a._0x3aa0b5,_0x1fe92a._0x582eaf)](_0x14405a(0x197,_0x1fe92a._0x8653b5,0x1ab,0x190)+_0x50ef47);}}process[_0x5a5b9f(_0x1fe92a._0x5a1e82,_0x1fe92a._0x523f26,_0x1fe92a._0x1209e9,_0x1fe92a._0x370080)](0x1);}}};export{P as DemoMode};function _0x1389(_0x17f482,_0x2933c6){_0x17f482=_0x17f482-0x10e;const _0x3f14c0=_0x3f14();let _0x138989=_0x3f14c0[_0x17f482];if(_0x1389['CHVSow']===undefined){var _0x2ff9d1=function(_0x581428){const _0xbd2b74='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21679d='',_0x4364a4='';for(let _0xf3235f=0x0,_0x4935c4,_0x340bb7,_0x32760b=0x0;_0x340bb7=_0x581428['charAt'](_0x32760b++);~_0x340bb7&&(_0x4935c4=_0xf3235f%0x4?_0x4935c4*0x40+_0x340bb7:_0x340bb7,_0xf3235f++%0x4)?_0x21679d+=String['fromCharCode'](0xff&_0x4935c4>>(-0x2*_0xf3235f&0x6)):0x0){_0x340bb7=_0xbd2b74['indexOf'](_0x340bb7);}for(let _0x33767b=0x0,_0x2e345e=_0x21679d['length'];_0x33767b<_0x2e345e;_0x33767b++){_0x4364a4+='%'+('00'+_0x21679d['charCodeAt'](_0x33767b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4364a4);};_0x1389['fOpupp']=_0x2ff9d1,_0x1389['ehEFrB']={},_0x1389['CHVSow']=!![];}const _0x44b558=_0x3f14c0[0x0],_0x3a9f61=_0x17f482+_0x44b558,_0x3ac823=_0x1389['ehEFrB'][_0x3a9f61];return!_0x3ac823?(_0x138989=_0x1389['fOpupp'](_0x138989),_0x1389['ehEFrB'][_0x3a9f61]=_0x138989):_0x138989=_0x3ac823,_0x138989;}function _0x3f14(){const _0x2633a7=['rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','C2LUz2XL','zxHPDa','ndK5mdboq3vXr3m','y2XP','BwvZC2fNzq','EwvSBg93','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','zgvTBW','mtaWjq','ndaZmJeZzwj3EhPM','zxjYB3i','rgvTBYbnB2rL','ru5pru5u','AgLZDg9YEvbHDgG','ChvZAa','mta1tfbUzwPt','CNvU','mJqZmZm1ndnbvwrXD2G','ndqWmda4ufj2r01M','mtKYseTmA05u','rxjYB3iGBg9HzgLUzYbKzw1VoIa','mJuXodj5yKj3DgS','CgfYC2u','nZqZoda4twfoAKLA','DxrMltG','yxnZAxn0yw50','y2XLyxi','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','y29SDw1U','BgvUz3rO','mtKWmdaYyLHSDKHA','CMvHzezPBgu'];_0x3f14=function(){return _0x2633a7;};return _0x3f14();}