@nuvin/nuvin-cli 1.31.0 → 1.32.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(_0x1d067d,_0x5ac40c){const _0x3c9b1c={_0x903250:0x123,_0xbc46cc:0x135,_0x359173:0x110,_0x165c07:0x121,_0x1366f5:0x139,_0x92be55:0x13b,_0x24e930:0x65,_0xfb6f5c:0x67,_0x433607:0x6b,_0x2b9ef6:0x12a,_0x1bee93:0x11c,_0xdd7e2c:0x132,_0x2a8eb7:0x12e,_0x524c83:0x77},_0x2c19ef={_0x3fe96f:0x14a},_0x56c25f={_0x203f25:0x210};function _0xbc022c(_0x22f948,_0x4b0a5a,_0x5e498e,_0x4cde4d){return _0x1074(_0x5e498e- -_0x56c25f._0x203f25,_0x4cde4d);}const _0x55f347=_0x1d067d();function _0x3790a8(_0x38cd55,_0x16a05e,_0x2dd655,_0x3b19a9){return _0x1074(_0x16a05e- -_0x2c19ef._0x3fe96f,_0x38cd55);}while(!![]){try{const _0x4ef418=parseInt(_0xbc022c(-_0x3c9b1c._0x903250,-0x11e,-0x123,-0x127))/0x1*(parseInt(_0xbc022c(-_0x3c9b1c._0xbc46cc,-0x13c,-0x138,-0x12a))/0x2)+-parseInt(_0xbc022c(-0x120,-_0x3c9b1c._0x359173,-0x11f,-_0x3c9b1c._0x165c07))/0x3+parseInt(_0xbc022c(-_0x3c9b1c._0x1366f5,-0x141,-0x135,-_0x3c9b1c._0x92be55))/0x4+parseInt(_0x3790a8(-0x64,-_0x3c9b1c._0x24e930,-_0x3c9b1c._0xfb6f5c,-_0x3c9b1c._0x433607))/0x5*(-parseInt(_0xbc022c(-0x129,-0x12f,-_0x3c9b1c._0x2b9ef6,-_0x3c9b1c._0x1bee93))/0x6)+parseInt(_0xbc022c(-0x126,-_0x3c9b1c._0xdd7e2c,-_0x3c9b1c._0x2a8eb7,-0x137))/0x7+parseInt(_0x3790a8(-_0x3c9b1c._0x524c83,-0x71,-0x75,-0x7f))/0x8+-parseInt(_0xbc022c(-0x130,-0x120,-0x12c,-_0x3c9b1c._0x1366f5))/0x9;if(_0x4ef418===_0x5ac40c)break;else _0x55f347['push'](_0x55f347['shift']());}catch(_0x40a469){_0x55f347['push'](_0x55f347['shift']());}}}(_0x296e,0xbd455));import{B as _0x4c9a5d,K as _0x3322e6,O as _0x55b0f2,Q as _0x29e286,V as _0x4c68d1,fa as _0x5bb962,l as _0x11072a,p as _0x2fb457}from'./chunk-D7A6JACF.js';import{e as _0x45b74f}from'./chunk-5U64NOGG.js';import'./chunk-5NTOEYLR.js';import'./chunk-EL4T27CW.js';import'./chunk-AJHDLTY3.js';import'./chunk-M6KACDU7.js';import{useEffect as _0x4b50d0}from'react';import{render as _0x4a0a93}from'ink';function _0x296e(){const _0x13dee1=['mtHzzK5UugW','Aw5Zzxj0','CMvHzezPBgu','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','zgvMyxvSDa','CM9Szq','y3DK','mZK0nMHSrgPbrG','ru5pru5u','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','rxjYB3iGBg9HzgLUzYbKzw1VoIa','mtaYnZy5mNPWquruqG','zxjYB3i','y29SDw1U','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','AgLZDg9YEvbHDgG','Bg9N','mZaYyu1uwvbn','mZKZmJGWD2fJBg9T','zgvTBW','otK3mty0ywXjww9q','y2XLyxi','mtaWjq','CgfYC2u','yxnZAxn0yw50','zxHPDa','BgvUz3rO','odu4mJC3n1DTAg5Izq','C2LUz2XL','ndy1nJa5nMrVCeXRDW','oda4nZq1wurPse9T'];_0x296e=function(){return _0x13dee1;};return _0x296e();}import{Box as _0x5cc751,Text as _0x59a284,useApp as _0x1a2c36}from'ink';import*as _0x5cc4b6 from'fs/promises';import*as _0x30ff42 from'path';import{jsx as _0x6d83dc,jsxs as _0x353793}from'react/jsx-runtime';function N({messages:_0x4348bf,messageCount:_0x22a666}){const _0x1cd8d4={_0x3d4b20:0x1ee,_0x41e0c2:0x1fc,_0x1342b6:0x487,_0x3fe3cb:0x493,_0x12b480:0x493,_0x2f6a25:0x1df,_0x434dba:0x1d5,_0x3026bc:0x49d,_0x57f867:0x49c,_0x43429c:0x48e,_0x27000e:0x1f2,_0x3f8b5e:0x1f6,_0x18d546:0x499,_0x1163e9:0x1f6,_0x10813c:0x1f8,_0x21f21c:0x4a5},_0x326205={_0x25c777:0x3b6},_0x2258fe={_0x4ded91:0x106};function _0x107967(_0x3ef3b1,_0x3e1c1d,_0x96d685,_0x59e552){return _0x1074(_0x3ef3b1-_0x2258fe._0x4ded91,_0x96d685);}let {exit:_0x25e89f}=_0x1a2c36();function _0x2c0afa(_0x5dc25d,_0x40daf6,_0xa270a8,_0x1fd15f){return _0x1074(_0x5dc25d-_0x326205._0x25c777,_0x40daf6);}return _0x4b50d0(()=>{let _0x4eb389=setTimeout(()=>{_0x25e89f();},0x12c);return()=>clearTimeout(_0x4eb389);},[_0x25e89f]),_0x353793(_0x5cc751,{'flexDirection':_0x107967(0x1f9,0x1f7,_0x1cd8d4._0x3d4b20,_0x1cd8d4._0x41e0c2),'height':_0x2c0afa(0x493,_0x1cd8d4._0x1342b6,0x490,0x49e),'width':_0x2c0afa(_0x1cd8d4._0x3fe3cb,_0x1cd8d4._0x3fe3cb,0x48c,_0x1cd8d4._0x12b480),'children':[_0x6d83dc(_0x3322e6,{'messages':_0x4348bf},_0x107967(0x1e0,_0x1cd8d4._0x2f6a25,0x1e6,_0x1cd8d4._0x434dba)),_0x6d83dc(_0x4c68d1,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x6d83dc(_0x29e286,{'status':'Demo\x20Mode','toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x2c0afa(_0x1cd8d4._0x3026bc,_0x1cd8d4._0x57f867,_0x1cd8d4._0x43429c,0x4a0),'workingDirectory':process[_0x107967(_0x1cd8d4._0x27000e,_0x1cd8d4._0x3f8b5e,0x1f6,0x1f8)]()}),_0x6d83dc(_0x5cc751,{'paddingX':0x1,'borderStyle':_0x2c0afa(_0x1cd8d4._0x18d546,0x4a3,0x490,_0x1cd8d4._0x3026bc),'borderColor':'yellow','marginTop':-0x1,'children':_0x353793(_0x59a284,{'color':'yellow','children':[_0x107967(0x1fa,_0x1cd8d4._0x1163e9,0x1fa,_0x1cd8d4._0x10813c),_0x22a666,_0x2c0afa(_0x1cd8d4._0x21f21c,0x4a1,0x49e,0x4ac)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x411420,metadata:_0x5f3f68,messageCount:_0x24bd1a}){const _0x29313c={_0x5c314c:0x36c};function _0x1a2ec2(_0x251fa0,_0x20caf3,_0x393f2f,_0x4e8515){return _0x1074(_0x251fa0- -_0x29313c._0x5c314c,_0x20caf3);}return _0x6d83dc(_0x4c9a5d,{'children':_0x6d83dc(_0x55b0f2,{'initialConfig':b,'children':_0x6d83dc(_0x2fb457,{'children':_0x6d83dc(_0x11072a,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x59aaa5=>console[_0x1a2ec2(-0x27a,-0x283,-0x27c,-0x279)](_0x59aaa5),'children':_0x6d83dc(_0x5bb962,{'children':_0x6d83dc(N,{'messages':_0x411420,'metadata':_0x5f3f68,'messageCount':_0x24bd1a})})})})})});}var P=class{constructor(_0x14d0ee){this['historyPath']=_0x14d0ee;}async['run'](){const _0x2490e8={_0x3237e5:0x2a5,_0x17df7c:0x2ac,_0x26795e:0x2b4,_0x458112:0x2ab,_0x1179dd:0x2b7,_0x352668:0x2a9,_0x530c07:0x2b9,_0x445a2b:0x2be,_0x2c4c16:0x2b9,_0x433fd4:0x2b4,_0x4a0d73:0x2b7,_0x1eb153:0x2bd,_0x1c1e1c:0x2c5,_0x1dfd9f:0x2b8,_0x1d2f07:0x2be,_0x2482f9:0x2a0,_0x31ba90:0x2b0,_0xf48cba:0x2c8,_0x2c4009:0x22e,_0x341cff:0x237,_0xe4656a:0x227,_0x45582f:0x239,_0x24239d:0x23b,_0x1e8e31:0x226,_0x41f2f9:0x2c9,_0x4a93e2:0x2b6,_0x21c8aa:0x2aa,_0x24c9cc:0x2ca,_0xa1b600:0x2d1,_0x418b77:0x224,_0x735755:0x230,_0x20c68a:0x22f,_0x2f74c7:0x232,_0x108ffd:0x236,_0x3db26a:0x228,_0x655115:0x2af,_0xd0f614:0x2b1,_0x5c4914:0x2bf,_0x12cc12:0x22d,_0xceebb5:0x223};function _0x367298(_0x3e19a4,_0x5ebc48,_0x2fa6d6,_0x4ac74c){return _0x1074(_0x4ac74c-0x1cf,_0x5ebc48);}function _0x134340(_0x5f4f69,_0x16e5bd,_0x3639e9,_0xb25b55){return _0x1074(_0x5f4f69- -0x30d,_0xb25b55);}try{let _0x51a1af=_0x30ff42['resolve'](this[_0x367298(0x29a,0x29b,0x299,_0x2490e8._0x3237e5)]),_0x50a403=await _0x5cc4b6[_0x367298(_0x2490e8._0x17df7c,_0x2490e8._0x26795e,_0x2490e8._0x458112,_0x2490e8._0x1179dd)](_0x51a1af,'utf-8'),_0x4a2879=JSON[_0x367298(0x2b4,_0x2490e8._0x352668,_0x2490e8._0x530c07,0x2ad)](_0x50a403);(!_0x4a2879[_0x367298(0x2bf,_0x2490e8._0x445a2b,0x2b3,_0x2490e8._0x530c07)]||_0x4a2879[_0x367298(0x2b3,0x2b8,0x2c1,_0x2490e8._0x2c4c16)][_0x367298(_0x2490e8._0x433fd4,0x2af,_0x2490e8._0x4a0d73,0x2b0)]===0x0)&&(console[_0x367298(_0x2490e8._0x1eb153,0x2c5,_0x2490e8._0x1c1e1c,0x2c1)]('Error:\x20No\x20messages\x20found\x20in\x20history\x20file'),process[_0x367298(_0x2490e8._0x1dfd9f,_0x2490e8._0x1d2f07,0x29f,0x2af)](0x1));let _0x266660=_0x4a2879['default'],_0x56d5e0=[];for(let _0x4129df of _0x266660)_0x56d5e0['push'](..._0x45b74f(_0x4129df));let _0x2c94ec=null;for(let _0x1fffed=_0x266660[_0x367298(0x2b8,_0x2490e8._0x2482f9,0x2ae,_0x2490e8._0x31ba90)]-0x1;_0x1fffed>=0x0;_0x1fffed--)if(_0x266660[_0x1fffed][_0x367298(_0x2490e8._0xf48cba,0x2b3,0x2b1,0x2ba)]===_0x134340(-_0x2490e8._0x2c4009,-_0x2490e8._0x341cff,-0x235,-_0x2490e8._0xe4656a)){_0x2c94ec={'totalTokens':0x0};break;}console[_0x367298(0x29c,0x2a3,0x29e,0x2ab)](),console[_0x134340(-0x236,-_0x2490e8._0x45582f,-0x22d,-_0x2490e8._0x45582f)]('\x1bc');let {waitUntilExit:_0x1ca1c4}=_0x4a0a93(_0x6d83dc(S,{'messages':_0x56d5e0,'metadata':_0x2c94ec,'messageCount':_0x266660[_0x134340(-0x22c,-_0x2490e8._0x24239d,-_0x2490e8._0x1e8e31,-_0x2490e8._0x45582f)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x1ca1c4();}catch(_0x59b68f){if(_0x59b68f['code']===_0x367298(0x2c7,_0x2490e8._0x41f2f9,0x2b3,0x2bd))console[_0x367298(0x2b4,0x2b8,_0x2490e8._0x4a93e2,0x2c1)]('Error:\x20History\x20file\x20not\x20found:\x20'+this[_0x367298(0x2a4,0x2ad,_0x2490e8._0x21c8aa,0x2a5)]);else{if(_0x59b68f instanceof SyntaxError)console[_0x367298(_0x2490e8._0x24c9cc,0x2bc,_0x2490e8._0xa1b600,0x2c1)](_0x134340(-_0x2490e8._0x418b77,-_0x2490e8._0x735755,-_0x2490e8._0x20c68a,-_0x2490e8._0x2f74c7)+this[_0x134340(-_0x2490e8._0x341cff,-0x22a,-_0x2490e8._0x108ffd,-0x23c)]);else{let _0x3cdafe=_0x59b68f instanceof Error?_0x59b68f['message']:String(_0x59b68f);console[_0x134340(-0x21b,-_0x2490e8._0x3db26a,-0x20d,-_0x2490e8._0x1e8e31)](_0x367298(_0x2490e8._0x31ba90,_0x2490e8._0x655115,_0x2490e8._0xd0f614,_0x2490e8._0x5c4914)+_0x3cdafe);}}process[_0x134340(-_0x2490e8._0x12cc12,-0x224,-_0x2490e8._0xceebb5,-0x22d)](0x1);}}};function _0x1074(_0x5e7af9,_0x31b941){_0x5e7af9=_0x5e7af9-0xd6;const _0x296ea0=_0x296e();let _0x10744e=_0x296ea0[_0x5e7af9];if(_0x1074['IwoHdB']===undefined){var _0x2b4528=function(_0x39e4dd){const _0x429c33='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c9a5d='',_0x3322e6='';for(let _0x55b0f2=0x0,_0x29e286,_0x4c68d1,_0x5bb962=0x0;_0x4c68d1=_0x39e4dd['charAt'](_0x5bb962++);~_0x4c68d1&&(_0x29e286=_0x55b0f2%0x4?_0x29e286*0x40+_0x4c68d1:_0x4c68d1,_0x55b0f2++%0x4)?_0x4c9a5d+=String['fromCharCode'](0xff&_0x29e286>>(-0x2*_0x55b0f2&0x6)):0x0){_0x4c68d1=_0x429c33['indexOf'](_0x4c68d1);}for(let _0x11072a=0x0,_0x2fb457=_0x4c9a5d['length'];_0x11072a<_0x2fb457;_0x11072a++){_0x3322e6+='%'+('00'+_0x4c9a5d['charCodeAt'](_0x11072a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3322e6);};_0x1074['RdraGt']=_0x2b4528,_0x1074['HEQYvJ']={},_0x1074['IwoHdB']=!![];}const _0x1fcb56=_0x296ea0[0x0],_0x2e2868=_0x5e7af9+_0x1fcb56,_0x43f9e4=_0x1074['HEQYvJ'][_0x2e2868];return!_0x43f9e4?(_0x10744e=_0x1074['RdraGt'](_0x10744e),_0x1074['HEQYvJ'][_0x2e2868]=_0x10744e):_0x10744e=_0x43f9e4,_0x10744e;}export{P as DemoMode};