@nuvin/nuvin-cli 1.14.0 → 1.15.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(_0x7114d0,_0x521ae6){const _0x4107ef={_0x8b4277:0x466,_0x2232ce:0x454,_0x3e8bff:0x476,_0x1bc340:0x459,_0x43738c:0x213,_0x4c0d40:0x219,_0x39cbd1:0x214,_0x11768a:0x471,_0x30b91c:0x458,_0x3b70e2:0x452,_0x337fff:0x229,_0x228886:0x468,_0x5d83a6:0x46f,_0x10c34d:0x1fb,_0x555829:0x20a,_0x6691b1:0x201},_0x6268c2={_0x240a10:0x157},_0x3e3043={_0x2df220:0x39f},_0x40482a=_0x7114d0();function _0x16c15e(_0x1baee3,_0x52adb5,_0x1917a1,_0x1f48e4){return _0x2e7c(_0x1baee3-_0x3e3043._0x2df220,_0x52adb5);}function _0x4fe526(_0x435d8d,_0x1c09d2,_0x3574a4,_0x595ce5){return _0x2e7c(_0x1c09d2-_0x6268c2._0x240a10,_0x435d8d);}while(!![]){try{const _0x181d68=parseInt(_0x16c15e(_0x4107ef._0x8b4277,_0x4107ef._0x2232ce,_0x4107ef._0x3e8bff,0x46b))/0x1+parseInt(_0x16c15e(0x451,0x459,_0x4107ef._0x1bc340,0x447))/0x2+parseInt(_0x4fe526(0x20e,0x20d,0x20b,0x218))/0x3*(parseInt(_0x4fe526(_0x4107ef._0x43738c,0x210,_0x4107ef._0x4c0d40,_0x4107ef._0x39cbd1))/0x4)+-parseInt(_0x16c15e(0x464,_0x4107ef._0x11768a,_0x4107ef._0x30b91c,0x476))/0x5*(-parseInt(_0x16c15e(_0x4107ef._0x1bc340,_0x4107ef._0x3b70e2,0x468,0x452))/0x6)+parseInt(_0x4fe526(0x22c,_0x4107ef._0x337fff,0x234,0x230))/0x7*(-parseInt(_0x4fe526(0x209,0x205,0x20e,0x1f3))/0x8)+-parseInt(_0x16c15e(_0x4107ef._0x228886,_0x4107ef._0x5d83a6,0x46a,0x456))/0x9+-parseInt(_0x4fe526(_0x4107ef._0x10c34d,_0x4107ef._0x555829,_0x4107ef._0x6691b1,0x1f8))/0xa;if(_0x181d68===_0x521ae6)break;else _0x40482a['push'](_0x40482a['shift']());}catch(_0x11911f){_0x40482a['push'](_0x40482a['shift']());}}}(_0x45e9,0x9934e));import{D as _0x17274e,F as _0x6eedac,J as _0x2cc5d0,U as _0x10d79c,f as _0x20dcb4,m as _0x23b646,x as _0x1430cf,z as _0x31ffee}from'./chunk-PMTXH2GK.js';function _0x2e7c(_0x5b67a7,_0x3e995e){_0x5b67a7=_0x5b67a7-0xae;const _0x45e9ab=_0x45e9();let _0x2e7cf8=_0x45e9ab[_0x5b67a7];if(_0x2e7c['dFiypB']===undefined){var _0x37b85b=function(_0xff8b4f){const _0x132f5b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17274e='',_0x6eedac='';for(let _0x2cc5d0=0x0,_0x10d79c,_0x20dcb4,_0x23b646=0x0;_0x20dcb4=_0xff8b4f['charAt'](_0x23b646++);~_0x20dcb4&&(_0x10d79c=_0x2cc5d0%0x4?_0x10d79c*0x40+_0x20dcb4:_0x20dcb4,_0x2cc5d0++%0x4)?_0x17274e+=String['fromCharCode'](0xff&_0x10d79c>>(-0x2*_0x2cc5d0&0x6)):0x0){_0x20dcb4=_0x132f5b['indexOf'](_0x20dcb4);}for(let _0x1430cf=0x0,_0x31ffee=_0x17274e['length'];_0x1430cf<_0x31ffee;_0x1430cf++){_0x6eedac+='%'+('00'+_0x17274e['charCodeAt'](_0x1430cf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6eedac);};_0x2e7c['IrdbOU']=_0x37b85b,_0x2e7c['eratCq']={},_0x2e7c['dFiypB']=!![];}const _0x40c595=_0x45e9ab[0x0],_0x473012=_0x5b67a7+_0x40c595,_0x4f6fcc=_0x2e7c['eratCq'][_0x473012];return!_0x4f6fcc?(_0x2e7cf8=_0x2e7c['IrdbOU'](_0x2e7cf8),_0x2e7c['eratCq'][_0x473012]=_0x2e7cf8):_0x2e7cf8=_0x4f6fcc,_0x2e7cf8;}import{d as _0x3fde50}from'./chunk-CIGVGDJE.js';import'./chunk-OKIB4TPM.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0xfc4cb}from'react';function _0x2c8b3c(_0x582554,_0x5cefa0,_0x43d14c,_0x3bca0c){const _0x3f59d4={_0x21850d:0x3c3};return _0x2e7c(_0x3bca0c-_0x3f59d4._0x21850d,_0x582554);}import{render as _0x25f405}from'ink';import{Box as _0x334f71,Text as _0x570c46,useApp as _0x177234}from'ink';import*as _0x5a8c23 from'fs/promises';function _0x45e9(){const _0x2593bc=['BwvZC2fNzq','y2XP','n0D4werUvG','mJi2oty0meXYAK5wta','y29Kzq','y3DK','AgLZDg9YEvbHDgG','mtu0nde5nK9JtuLfvG','mJi4odmZodbrDuXuvNK','CgfYC2u','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','mJDUB1zwC2C','zgvTBW','zxjYB3i','mZC2ndy0uefxqNnJ','mJK3nLv2zeHcBa','rxjYB3iGBg9HzgLUzYbKzw1VoIa','CMvHzezPBgu','Bg9N','DxrMltG','BgvUz3rO','ru5pru5u','mtaWjq','y29SDw1U','CNvU','CMvZB2X2zq','odyZmenlD216wq','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','odaXnda4tezuC0P4','zxHPDa','nJKZnJiXru1hsNLA','ChvZAa','Aw5Zzxj0','y2XLyxi','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','EwvSBg93','yxnZAxn0yw50'];_0x45e9=function(){return _0x2593bc;};return _0x45e9();}import*as _0x487dc9 from'path';import{jsx as _0x29ca09,jsxs as _0x5ee5f6}from'react/jsx-runtime';function N({messages:_0x5503e1,messageCount:_0x147a1d}){const _0x3bda02={_0x22c86e:0x2ee,_0xf02b5e:0x2e8,_0x29a982:0x30c,_0x868bdc:0x2fa,_0xafdb34:0x2fe,_0x3de5cd:0x27b,_0x4fcd18:0x26c,_0x1398fc:0x26b,_0x334a09:0x314,_0x55f20f:0x2fd,_0x16799b:0x2df,_0x252d4c:0x30d,_0x3d0c14:0x30e,_0x173b12:0x2ed,_0xfde087:0x270},_0x46e6f3={_0x119e47:0x3bb};let {exit:_0x51a69b}=_0x177234();function _0x1f1b40(_0x1b6e53,_0x4c6919,_0x543bd2,_0x1a6abc){return _0x2e7c(_0x543bd2- -_0x46e6f3._0x119e47,_0x1b6e53);}function _0x575546(_0x5163d5,_0x535231,_0xd1563b,_0xf01d07){return _0x2e7c(_0xf01d07- -0x32c,_0xd1563b);}return _0xfc4cb(()=>{let _0x2efe3a=setTimeout(()=>{_0x51a69b();},0x12c);return()=>clearTimeout(_0x2efe3a);},[_0x51a69b]),_0x5ee5f6(_0x334f71,{'flexDirection':_0x1f1b40(-_0x3bda02._0x22c86e,-0x304,-0x2f9,-0x2ea),'height':_0x1f1b40(-_0x3bda02._0xf02b5e,-_0x3bda02._0x29a982,-_0x3bda02._0x868bdc,-_0x3bda02._0xafdb34),'width':_0x575546(-_0x3bda02._0x3de5cd,-_0x3bda02._0x4fcd18,-0x270,-_0x3bda02._0x1398fc),'children':[_0x29ca09(_0x31ffee,{'messages':_0x5503e1},_0x1f1b40(-0x309,-0x2fa,-0x304,-_0x3bda02._0x334a09)),_0x29ca09(_0x2cc5d0,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x29ca09(_0x6eedac,{'status':'Demo\x20Mode','toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x1f1b40(-_0x3bda02._0x55f20f,-0x2e3,-0x2f0,-_0x3bda02._0x16799b),'workingDirectory':process[_0x1f1b40(-0x30a,-_0x3bda02._0x252d4c,-0x30b,-_0x3bda02._0x3d0c14)]()}),_0x29ca09(_0x334f71,{'paddingX':0x1,'borderStyle':'single','borderColor':'yellow','marginTop':-0x1,'children':_0x5ee5f6(_0x570c46,{'color':_0x1f1b40(-0x2f4,-0x2e8,-_0x3bda02._0x173b12,-0x2ee),'children':[_0x575546(-0x26c,-0x27a,-_0x3bda02._0xfde087,-0x277),_0x147a1d,'\x20messages\x20-\x20Auto-exiting\x20in\x203s...']})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x4ccb6c,metadata:_0x50a7c9,messageCount:_0x2a55a6}){const _0x254d8b={_0x50fc65:0x352};function _0x12af10(_0x28a4d2,_0x28223c,_0x21111c,_0x37d467){return _0x2e7c(_0x21111c-_0x254d8b._0x50fc65,_0x37d467);}return _0x29ca09(_0x1430cf,{'children':_0x29ca09(_0x17274e,{'initialConfig':b,'children':_0x29ca09(_0x23b646,{'children':_0x29ca09(_0x20dcb4,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x3cf429=>console[_0x12af10(0x401,0x41a,0x40a,0x3ff)](_0x3cf429),'children':_0x29ca09(_0x10d79c,{'children':_0x29ca09(N,{'messages':_0x4ccb6c,'metadata':_0x50a7c9,'messageCount':_0x2a55a6})})})})})});}var P=class{constructor(_0x3a07e1){this['historyPath']=_0x3a07e1;}async[_0x2c8b3c(0x48e,0x487,0x47e,0x486)](){const _0x5a758a={_0x2a4fd0:0x18c,_0x4cb698:0x7a,_0x3303ed:0x8d,_0xc27a2a:0x89,_0x4f3c55:0x177,_0xb4a3ee:0x168,_0x1797f8:0x179,_0x1531c7:0x173,_0x120a2d:0x94,_0x2724f4:0x86,_0x15521f:0x76,_0x32fe29:0x58,_0x33fe19:0x69,_0x52379f:0x160,_0x3629e8:0x16d,_0x5614b1:0x182,_0x398483:0x18a,_0x115e64:0x66,_0x3617ff:0x7d,_0x395fa8:0x61,_0x15d5f9:0x72,_0x30dd5c:0x183,_0x549df9:0x16f,_0x1d125e:0x17d,_0x4db945:0x184,_0x4cb30b:0x192,_0x210bfd:0x182,_0x20f87c:0x181,_0xa61549:0x18f,_0x4c7e8e:0x83,_0x2aa684:0x86,_0x236411:0x7d,_0x29f520:0x76,_0x459d0c:0x158,_0x50ccf8:0x164,_0x6ba275:0x151,_0x4e205c:0x82,_0x1fe559:0x7a,_0x341a82:0x175,_0x3a7268:0x171,_0x39c4b0:0x16f,_0x630f0a:0x189,_0x2706c3:0x80,_0x3a44c4:0x8a,_0x22dfcc:0x6c,_0x5a4540:0x7f,_0x4e4229:0x185},_0x53e824={_0x1bf387:0x16b};function _0x3cbfdf(_0x401f5c,_0x4e91e6,_0x5d57fd,_0x1535f3){return _0x2c8b3c(_0x4e91e6,_0x4e91e6-_0x53e824._0x1bf387,_0x5d57fd-0x114,_0x1535f3- -0x4fd);}function _0x30ff7a(_0x370c0a,_0x104b77,_0x3fe406,_0x573554){return _0x2c8b3c(_0x573554,_0x104b77-0x90,_0x3fe406-0xa4,_0x3fe406- -0x30e);}try{let _0x3b52b3=_0x487dc9[_0x30ff7a(0x172,_0x5a758a._0x2a4fd0,0x179,0x183)](this[_0x3cbfdf(-_0x5a758a._0x4cb698,-_0x5a758a._0x3303ed,-0x92,-_0x5a758a._0xc27a2a)]),_0x3357c0=await _0x5a8c23[_0x30ff7a(0x161,_0x5a758a._0x4f3c55,0x171,_0x5a758a._0xb4a3ee)](_0x3b52b3,_0x30ff7a(0x185,_0x5a758a._0x1797f8,_0x5a758a._0x1531c7,0x171)),_0xf52dc7=JSON[_0x3cbfdf(-0x90,-_0x5a758a._0x120a2d,-_0x5a758a._0x3303ed,-_0x5a758a._0x2724f4)](_0x3357c0);(!_0xf52dc7['cli']||_0xf52dc7[_0x3cbfdf(-_0x5a758a._0x15521f,-_0x5a758a._0x32fe29,-0x74,-_0x5a758a._0x33fe19)]['length']===0x0)&&(console[_0x30ff7a(_0x5a758a._0x52379f,0x17d,_0x5a758a._0x3629e8,0x167)](_0x30ff7a(0x18b,_0x5a758a._0x2a4fd0,_0x5a758a._0x5614b1,_0x5a758a._0x398483)),process[_0x3cbfdf(-_0x5a758a._0x115e64,-_0x5a758a._0x3617ff,-_0x5a758a._0x395fa8,-_0x5a758a._0x15d5f9)](0x1));let _0x1bfc0e=_0xf52dc7[_0x30ff7a(0x17c,0x175,0x186,_0x5a758a._0x30dd5c)],_0x364ad5=[];for(let _0x4cdc57 of _0x1bfc0e)_0x364ad5[_0x30ff7a(_0x5a758a._0x549df9,0x183,0x17f,0x16c)](..._0x3fde50(_0x4cdc57));let _0x1adc70=null;for(let _0x48e21b=_0x1bfc0e['length']-0x1;_0x48e21b>=0x0;_0x48e21b--)if(_0x1bfc0e[_0x48e21b]['role']===_0x30ff7a(0x197,_0x5a758a._0x1d125e,_0x5a758a._0x4db945,_0x5a758a._0x4cb30b)){_0x1adc70={'totalTokens':0x0};break;}console[_0x30ff7a(0x17d,_0x5a758a._0x210bfd,_0x5a758a._0x20f87c,_0x5a758a._0xa61549)](),console[_0x3cbfdf(-0x8a,-_0x5a758a._0x4c7e8e,-_0x5a758a._0x2aa684,-_0x5a758a._0x236411)]('\x1bc');let {waitUntilExit:_0xb72aa2}=_0x25f405(_0x29ca09(S,{'messages':_0x364ad5,'metadata':_0x1adc70,'messageCount':_0x1bfc0e[_0x3cbfdf(-0x6f,-0x70,-_0x5a758a._0x29f520,-0x7b)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0xb72aa2();}catch(_0x1210db){if(_0x1210db[_0x30ff7a(0x15f,_0x5a758a._0x459d0c,_0x5a758a._0x50ccf8,_0x5a758a._0x6ba275)]===_0x3cbfdf(-_0x5a758a._0x2724f4,-0x6b,-_0x5a758a._0x4e205c,-_0x5a758a._0x1fe559))console['error']('Error:\x20History\x20file\x20not\x20found:\x20'+this[_0x30ff7a(0x16c,0x172,0x166,0x15c)]);else{if(_0x1210db instanceof SyntaxError)console['error'](_0x30ff7a(0x17f,0x179,0x17b,_0x5a758a._0x341a82)+this[_0x30ff7a(_0x5a758a._0x3a7268,_0x5a758a._0x39c4b0,0x166,0x15d)]);else{let _0x4de0d0=_0x1210db instanceof Error?_0x1210db[_0x30ff7a(0x196,0x18f,0x185,_0x5a758a._0x630f0a)]:String(_0x1210db);console['error'](_0x3cbfdf(-_0x5a758a._0x2706c3,-_0x5a758a._0x3a44c4,-_0x5a758a._0x22dfcc,-_0x5a758a._0x5a4540)+_0x4de0d0);}}process[_0x30ff7a(0x16b,0x176,_0x5a758a._0x1d125e,_0x5a758a._0x4e4229)](0x1);}}};export{P as DemoMode};