@nuvin/nuvin-cli 1.28.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- (function(_0x178e2a,_0x1af53c){const _0x2163b7={_0x30b7f5:0x1e7,_0xb64216:0x1d9,_0x2ab206:0x1ef,_0xcd57c3:0x1fc,_0x3d3d8d:0x202,_0x984459:0x207,_0x47ae72:0x20f,_0x35a367:0x1f2,_0x357fec:0x1ed,_0x4e9912:0x1ed,_0x48a112:0x206,_0x30e092:0x1f9,_0x3df526:0x1ee,_0x2d57ce:0x1f6,_0x5a4b5f:0x1f0,_0xd0469b:0x205,_0x5269a7:0x1db,_0x2f1a49:0x1f4},_0x2d8472={_0x3d8a5c:0x2ef},_0x4d8ab5=_0x178e2a();function _0x345f21(_0xdb4203,_0x58c3d3,_0x53eda1,_0x375b19){return _0x3c52(_0x58c3d3- -0x2d7,_0xdb4203);}function _0x249524(_0x1c26ae,_0x4935db,_0x111592,_0x565409){return _0x3c52(_0x4935db- -_0x2d8472._0x3d8a5c,_0x565409);}while(!![]){try{const _0x10df14=parseInt(_0x345f21(-_0x2163b7._0x30b7f5,-0x1e3,-_0x2163b7._0xb64216,-0x1e9))/0x1+parseInt(_0x249524(-_0x2163b7._0x2ab206,-_0x2163b7._0xcd57c3,-_0x2163b7._0x3d3d8d,-0x1fa))/0x2*(-parseInt(_0x249524(-0x218,-_0x2163b7._0x984459,-0x1ff,-_0x2163b7._0x47ae72))/0x3)+parseInt(_0x249524(-0x202,-0x1f8,-0x1ef,-_0x2163b7._0x35a367))/0x4*(-parseInt(_0x345f21(-0x1fa,-_0x2163b7._0x357fec,-0x1f8,-_0x2163b7._0x4e9912))/0x5)+-parseInt(_0x249524(-0x20e,-_0x2163b7._0x48a112,-0x1f7,-0x20c))/0x6+parseInt(_0x345f21(-_0x2163b7._0x30e092,-0x1f0,-_0x2163b7._0x3df526,-_0x2163b7._0x2d57ce))/0x7*(-parseInt(_0x249524(-_0x2163b7._0x5a4b5f,-0x1ec,-_0x2163b7._0x2ab206,-0x1f1))/0x8)+parseInt(_0x249524(-_0x2163b7._0xd0469b,-0x201,-0x1fb,-0x202))/0x9*(parseInt(_0x345f21(-0x1d9,-_0x2163b7._0x5269a7,-0x1cb,-0x1d4))/0xa)+parseInt(_0x249524(-0x1fd,-0x1fa,-_0x2163b7._0x2f1a49,-0x203))/0xb;if(_0x10df14===_0x1af53c)break;else _0x4d8ab5['push'](_0x4d8ab5['shift']());}catch(_0x1f50f7){_0x4d8ab5['push'](_0x4d8ab5['shift']());}}}(_0x2b90,0x56896));import{A as _0x586e11,H as _0x44a924,L as _0x290af9,N as _0x1d9543,R as _0xbbe33f,aa as _0x4a1a87,k as _0xb4a490,o as _0x2270b0}from'./chunk-EQMPUTQ2.js';import{e as _0x8ed201}from'./chunk-DRKSLC2I.js';import'./chunk-Q7MV7VYD.js';import'./chunk-EL4T27CW.js';import'./chunk-AJHDLTY3.js';import'./chunk-M6KACDU7.js';import{useEffect as _0xb2bc05}from'react';import{render as _0x294dd2}from'ink';import{Box as _0x445fa2,Text as _0x76ee92,useApp as _0x55fab9}from'ink';import*as _0x1759ce from'fs/promises';import*as _0x34ec58 from'path';import{jsx as _0x2c7d23,jsxs as _0x19300a}from'react/jsx-runtime';function N({messages:_0x2551cd,messageCount:_0x159671}){const _0x41997d={_0xc85a59:0x146,_0x55153d:0x154,_0x45f6cd:0x15a,_0x3384f3:0x149,_0x4bcc08:0x135,_0x4b60ed:0x245,_0x234cdb:0x245,_0x4f038f:0x24f,_0x18bb6f:0x247,_0x355a00:0x144,_0x2eae97:0x145},_0x3ecbd2={_0x275fcb:0x23d},_0x1716f7={_0x3cbd5e:0x156};function _0x570b3c(_0x4218dd,_0x5870ce,_0x2190d5,_0x11c2ca){return _0x3c52(_0x5870ce-_0x1716f7._0x3cbd5e,_0x2190d5);}function _0x36e77d(_0x2d600b,_0xf5243d,_0x2253bf,_0x2c254b){return _0x3c52(_0x2253bf- -_0x3ecbd2._0x275fcb,_0x2c254b);}let {exit:_0x5c32ee}=_0x55fab9();return _0xb2bc05(()=>{let _0x247c3a=setTimeout(()=>{_0x5c32ee();},0x12c);return()=>clearTimeout(_0x247c3a);},[_0x5c32ee]),_0x19300a(_0x445fa2,{'flexDirection':'column','height':'100%','width':_0x36e77d(-0x144,-0x142,-0x13f,-_0x41997d._0xc85a59),'children':[_0x2c7d23(_0x44a924,{'messages':_0x2551cd},_0x36e77d(-_0x41997d._0xc85a59,-_0x41997d._0x55153d,-0x14c,-_0x41997d._0x45f6cd)),_0x2c7d23(_0xbbe33f,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x2c7d23(_0x1d9543,{'status':_0x36e77d(-_0x41997d._0x3384f3,-_0x41997d._0x4bcc08,-0x142,-0x151),'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':'insert','workingDirectory':process['cwd']()}),_0x2c7d23(_0x445fa2,{'paddingX':0x1,'borderStyle':_0x570b3c(0x248,_0x41997d._0x4b60ed,0x23a,0x23c),'borderColor':_0x570b3c(_0x41997d._0x234cdb,_0x41997d._0x4f038f,_0x41997d._0x18bb6f,0x256),'marginTop':-0x1,'children':_0x19300a(_0x76ee92,{'color':_0x36e77d(-0x154,-0x147,-_0x41997d._0x355a00,-_0x41997d._0x2eae97),'children':['🎨\x20Demo\x20Mode\x20-\x20Loaded\x20',_0x159671,'\x20messages\x20-\x20Auto-exiting\x20in\x203s...']})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function _0x3c52(_0x4486fa,_0xdea69b){_0x4486fa=_0x4486fa-0xe6;const _0x2b90a9=_0x2b90();let _0x3c525f=_0x2b90a9[_0x4486fa];if(_0x3c52['PPrtra']===undefined){var _0x2aadc9=function(_0x1e9fa2){const _0x4027d3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x586e11='',_0x44a924='';for(let _0x290af9=0x0,_0x1d9543,_0xbbe33f,_0x4a1a87=0x0;_0xbbe33f=_0x1e9fa2['charAt'](_0x4a1a87++);~_0xbbe33f&&(_0x1d9543=_0x290af9%0x4?_0x1d9543*0x40+_0xbbe33f:_0xbbe33f,_0x290af9++%0x4)?_0x586e11+=String['fromCharCode'](0xff&_0x1d9543>>(-0x2*_0x290af9&0x6)):0x0){_0xbbe33f=_0x4027d3['indexOf'](_0xbbe33f);}for(let _0xb4a490=0x0,_0x2270b0=_0x586e11['length'];_0xb4a490<_0x2270b0;_0xb4a490++){_0x44a924+='%'+('00'+_0x586e11['charCodeAt'](_0xb4a490)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x44a924);};_0x3c52['HRCDRZ']=_0x2aadc9,_0x3c52['UTdMMG']={},_0x3c52['PPrtra']=!![];}const _0x5a9b34=_0x2b90a9[0x0],_0x2bb76a=_0x4486fa+_0x5a9b34,_0x3db245=_0x3c52['UTdMMG'][_0x2bb76a];return!_0x3db245?(_0x3c525f=_0x3c52['HRCDRZ'](_0x3c525f),_0x3c52['UTdMMG'][_0x2bb76a]=_0x3c525f):_0x3c525f=_0x3db245,_0x3c525f;}function S({messages:_0x4fd639,metadata:_0x2f0203,messageCount:_0x105ea4}){const _0x49b94a={_0x168a62:0xb9};function _0x373a72(_0x2b35cd,_0x31e083,_0xa40bb9,_0x202de8){return _0x3c52(_0x2b35cd-_0x49b94a._0x168a62,_0xa40bb9);}return _0x2c7d23(_0x586e11,{'children':_0x2c7d23(_0x290af9,{'initialConfig':b,'children':_0x2c7d23(_0x2270b0,{'children':_0x2c7d23(_0xb4a490,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x28579e=>console[_0x373a72(0x1a5,0x195,0x195,0x194)](_0x28579e),'children':_0x2c7d23(_0x4a1a87,{'children':_0x2c7d23(N,{'messages':_0x4fd639,'metadata':_0x2f0203,'messageCount':_0x105ea4})})})})})});}var P=class{constructor(_0x1de2ab){const _0x3fbed0={_0x257081:0x282};function _0x29091b(_0xc83584,_0x4b430d,_0x1ce6ff,_0x5d6a3b){return _0x3c52(_0x4b430d- -0x372,_0xc83584);}this[_0x29091b(-0x283,-0x282,-_0x3fbed0._0x257081,-0x27a)]=_0x1de2ab;}async[_0x159168(-0x61,-0x64,-0x71,-0x6e)](){const _0x599656={_0x36b56a:0xd6,_0x4f647f:0xd2,_0x1eea28:0xae,_0x4b56c9:0xad,_0x295ca1:0xa1,_0x2acafd:0x97,_0x47fdcc:0x86,_0x2c4bb5:0x8e,_0xaaaaf4:0xcf,_0x14afa6:0xd4,_0x36959a:0xd9,_0x283d8e:0xc6,_0xda6db3:0xb8,_0x72bb13:0xa9,_0x41fd89:0x8e,_0xdba63:0x95,_0x321ee4:0x92,_0x15116a:0xc1,_0x546285:0xb9,_0x5190d6:0xc4,_0x1b7eb6:0xc6,_0x6cf1db:0x9c,_0x72f557:0xa6,_0x458ce6:0xa7,_0x2fbec4:0xe5,_0x581e9b:0xcc,_0x32717e:0xc7,_0x3ebe07:0x97,_0x196d0c:0xa8,_0x184ba0:0x9f,_0x14a62d:0x9e,_0x3acbbd:0x9e,_0x173edb:0x93,_0x249d5c:0xae,_0x3e038d:0xc2,_0x32424b:0xbe,_0x37fcaf:0xe4,_0x1825d8:0xd7,_0x96435f:0xe7,_0x3eef36:0x9d},_0x52869c={_0x77dc81:0x1d7,_0x37671f:0x31};function _0x2534c7(_0x2c5664,_0x1f3567,_0xc1c5c,_0x439be1){return _0x159168(_0x1f3567- -0x43,_0x439be1,_0xc1c5c-0x6a,_0x439be1-0x68);}function _0xe3905f(_0xc1d5f2,_0x43590e,_0xa69753,_0x3e30e8){return _0x159168(_0xa69753-0x12d,_0xc1d5f2,_0xa69753-_0x52869c._0x77dc81,_0x3e30e8-_0x52869c._0x37671f);}try{let _0x1b3a1a=_0x34ec58[_0xe3905f(_0x599656._0x36b56a,0xd2,0xca,_0x599656._0x4f647f)](this[_0x2534c7(-0xb0,-_0x599656._0x1eea28,-_0x599656._0x4b56c9,-_0x599656._0x295ca1)]),_0x2df474=await _0x1759ce['readFile'](_0x1b3a1a,_0x2534c7(-0x9a,-_0x599656._0x2acafd,-_0x599656._0x47fdcc,-_0x599656._0x2c4bb5)),_0x19d23f=JSON[_0xe3905f(0xcd,0xcc,_0x599656._0xaaaaf4,_0x599656._0x14afa6)](_0x2df474);(!_0x19d23f[_0xe3905f(_0x599656._0x36959a,0xe3,0xd6,0xd5)]||_0x19d23f['default']['length']===0x0)&&(console['error'](_0xe3905f(0xb5,_0x599656._0x283d8e,_0x599656._0xda6db3,_0x599656._0x72bb13)),process[_0x2534c7(-0x9e,-0x9d,-0xa4,-_0x599656._0x41fd89)](0x1));let _0x31cd1e=_0x19d23f[_0x2534c7(-0x9d,-0x9a,-_0x599656._0xdba63,-_0x599656._0x321ee4)],_0x4cdb36=[];for(let _0x1c8d9c of _0x31cd1e)_0x4cdb36[_0x2534c7(-0xad,-0xb3,-_0x599656._0x15116a,-0xa3)](..._0x8ed201(_0x1c8d9c));let _0x12e904=null;for(let _0x1b0c3d=_0x31cd1e['length']-0x1;_0x1b0c3d>=0x0;_0x1b0c3d--)if(_0x31cd1e[_0x1b0c3d][_0xe3905f(0xd1,_0x599656._0x546285,_0x599656._0x5190d6,_0x599656._0x1b7eb6)]==='assistant'){_0x12e904={'totalTokens':0x0};break;}console[_0x2534c7(-_0x599656._0x6cf1db,-0x98,-_0x599656._0x72f557,-_0x599656._0x458ce6)](),console[_0xe3905f(_0x599656._0x2fbec4,_0x599656._0x581e9b,0xd4,0xcd)]('\x1bc');let {waitUntilExit:_0x28663b}=_0x294dd2(_0x2c7d23(S,{'messages':_0x4cdb36,'metadata':_0x12e904,'messageCount':_0x31cd1e[_0xe3905f(_0x599656._0x32717e,0xb5,0xbf,0xc1)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x28663b();}catch(_0x4eb854){if(_0x4eb854[_0x2534c7(-_0x599656._0x3ebe07,-_0x599656._0x196d0c,-0x97,-0xb4)]===_0x2534c7(-_0x599656._0x184ba0,-_0x599656._0x14a62d,-_0x599656._0x3acbbd,-0x91))console[_0xe3905f(0xb7,0xcf,0xbe,0xc6)](_0x2534c7(-_0x599656._0x1eea28,-0x9f,-0xaa,-_0x599656._0x173edb)+this[_0x2534c7(-0xa3,-_0x599656._0x249d5c,-0xbe,-0xb5)]);else{if(_0x4eb854 instanceof SyntaxError)console[_0x2534c7(-0xbe,-0xb2,-_0x599656._0x3e038d,-0xc1)]('Error:\x20Invalid\x20JSON\x20in\x20history\x20file:\x20'+this['historyPath']);else{let _0x1afbe1=_0x4eb854 instanceof Error?_0x4eb854['message']:String(_0x4eb854);console[_0x2534c7(-0xaf,-0xb2,-_0x599656._0x32424b,-0xab)](_0xe3905f(0xd1,_0x599656._0x37fcaf,_0x599656._0x1825d8,_0x599656._0x96435f)+_0x1afbe1);}}process[_0x2534c7(-0x95,-_0x599656._0x3eef36,-_0x599656._0x458ce6,-_0x599656._0x321ee4)](0x1);}}};function _0x159168(_0x25ece4,_0x1f80c1,_0x1dc40f,_0xd25657){const _0x30789c={_0x23387b:0x15b};return _0x3c52(_0x25ece4- -_0x30789c._0x23387b,_0x1f80c1);}export{P as DemoMode};function _0x2b90(){const _0x5a44ed=['mtaWjq','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','ru5pru5u','zxHPDa','Bg9N','ndC2ogjdu1nJCG','zgvMyxvSDa','rxjYB3iGBg9HzgLUzYbKzw1VoIa','y2XLyxi','DxrMltG','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','ndCXohndCeXMyG','ndq2mZD6sLviuuW','mtiZnti4A0Dxs2nX','mtu1nZi2mffSu1r6ua','ChvZAa','zxjYB3i','BgvUz3rO','mJyZnJfRANbSugq','C2LUz2XL','AgLZDg9YEvbHDgG','zgvTBW','CM9Szq','ndzMuMD1qva','oda3mdbZBNHksMG','mti4otiYnJrHsNHwqxK','y29Kzq','oeHhsMj5CW','CMvZB2X2zq','EwvSBg93','CNvU','rgvTBYbnB2rL','mty3mhD3zeDqAq','CgfYC2u'];_0x2b90=function(){return _0x5a44ed;};return _0x2b90();}