@nuvin/nuvin-cli 1.12.0 → 1.12.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(_0x5a1f66,_0x24418c){const _0x5da6f9={_0x24afdc:0x143,_0x19f80e:0x14b,_0x1250a1:0x191,_0x2d91ed:0x1a6,_0x606c39:0x1ab,_0xed858:0x1a1,_0x538fe4:0x151,_0x3441c0:0x144,_0x3f41f8:0x138,_0x2471c0:0x1b4,_0xfe1e20:0x142,_0x1844ca:0x148,_0x336797:0x139,_0x4b7115:0x1a6,_0x3bab33:0x18c,_0x58246a:0x19b,_0x33e7ef:0x135,_0x160a83:0x134,_0x16e53a:0x145},_0x2c9017={_0x371f2b:0x345},_0x4b086a={_0x94b1d8:0x5b},_0x1464fb=_0x5a1f66();function _0xdcc1c6(_0xfc960d,_0x225152,_0x4976f3,_0x5c0170){return _0x5886(_0x5c0170- -_0x4b086a._0x94b1d8,_0x4976f3);}function _0x4fcac9(_0xe653a4,_0x46fc9a,_0x23f2fe,_0x543fbb){return _0x5886(_0x46fc9a- -_0x2c9017._0x371f2b,_0x23f2fe);}while(!![]){try{const _0x15e8e2=parseInt(_0x4fcac9(-0x13f,-_0x5da6f9._0x24afdc,-0x13d,-_0x5da6f9._0x19f80e))/0x1+-parseInt(_0xdcc1c6(_0x5da6f9._0x1250a1,_0x5da6f9._0x2d91ed,_0x5da6f9._0x606c39,_0x5da6f9._0xed858))/0x2*(parseInt(_0x4fcac9(-0x15c,-0x14b,-0x14b,-_0x5da6f9._0x538fe4))/0x3)+parseInt(_0x4fcac9(-0x150,-_0x5da6f9._0x3441c0,-0x14f,-_0x5da6f9._0x3f41f8))/0x4*(parseInt(_0xdcc1c6(0x1b8,_0x5da6f9._0x2471c0,0x1bd,0x1ae))/0x5)+parseInt(_0x4fcac9(-_0x5da6f9._0xfe1e20,-_0x5da6f9._0x1844ca,-0x148,-0x139))/0x6+-parseInt(_0x4fcac9(-0x13d,-0x13f,-0x135,-_0x5da6f9._0x336797))/0x7*(-parseInt(_0xdcc1c6(_0x5da6f9._0xed858,0x1a4,0x18d,0x195))/0x8)+parseInt(_0xdcc1c6(0x1a9,_0x5da6f9._0x4b7115,_0x5da6f9._0x3bab33,_0x5da6f9._0x58246a))/0x9+-parseInt(_0x4fcac9(-_0x5da6f9._0x33e7ef,-0x13b,-_0x5da6f9._0x160a83,-_0x5da6f9._0x16e53a))/0xa;if(_0x15e8e2===_0x24418c)break;else _0x1464fb['push'](_0x1464fb['shift']());}catch(_0x55737d){_0x1464fb['push'](_0x1464fb['shift']());}}}(_0x5121,0xdd22b));import{D as _0x35c282,F as _0x279635,J as _0x4b0949,U as _0x5361ef,f as _0x387f90,m as _0x3873a4,x as _0x5b6195,z as _0x2d6b0e}from'./chunk-N2BMEXUF.js';import{d as _0xecf563}from'./chunk-NWZGLSYF.js';import'./chunk-WQKQPNY2.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x5dcc0d}from'react';import{render as _0x6f13f8}from'ink';import{Box as _0x3413e5,Text as _0x3488c3,useApp as _0x28b29d}from'ink';import*as _0x368e6e from'fs/promises';import*as _0x5816cc from'path';function _0x5ee9f2(_0x5cbc8f,_0x58fdc0,_0x1db898,_0x517ad0){const _0x5e88a1={_0xb4dd59:0x73};return _0x5886(_0x517ad0-_0x5e88a1._0xb4dd59,_0x5cbc8f);}import{jsx as _0x4b8fa5,jsxs as _0x3899b7}from'react/jsx-runtime';function N({messages:_0x5bf751,messageCount:_0xe52203}){const _0x5a3612={_0x5d5977:0x171,_0x33085a:0x178,_0x248dec:0x70,_0x401697:0x68,_0x3582bb:0x80,_0x323b7e:0x8b,_0x3881db:0x82,_0x552d46:0x77,_0x43e8ae:0x89,_0x789088:0x199,_0x150225:0x196,_0x2ae45b:0x185,_0x3d83ce:0x192,_0xdf4343:0x198,_0x2fd278:0x19b,_0x13627d:0x17a,_0x4d6bf1:0x179,_0x14c50a:0x17f,_0x44e7e8:0x18d,_0xc782bd:0x17e,_0x285c88:0x18b},_0x40ddea={_0x21b5cd:0x277};let {exit:_0x285383}=_0x28b29d();function _0x301162(_0x2d8169,_0x1599df,_0x5081e6,_0x39b313){return _0x5886(_0x39b313- -0x37d,_0x5081e6);}function _0xc8df5c(_0x3723d5,_0x15fa81,_0x4950c3,_0x2ce38d){return _0x5886(_0x3723d5- -_0x40ddea._0x21b5cd,_0x15fa81);}return _0x5dcc0d(()=>{let _0x10f012=setTimeout(()=>{_0x285383();},0x12c);return()=>clearTimeout(_0x10f012);},[_0x285383]),_0x3899b7(_0x3413e5,{'flexDirection':_0x301162(-_0x5a3612._0x5d5977,-0x171,-0x185,-_0x5a3612._0x33085a),'height':_0xc8df5c(-0x70,-0x81,-0x6d,-0x6a),'width':_0xc8df5c(-_0x5a3612._0x248dec,-_0x5a3612._0x401697,-0x70,-0x63),'children':[_0x4b8fa5(_0x2d6b0e,{'messages':_0x5bf751},'demo'),_0x4b8fa5(_0x4b0949,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x4b8fa5(_0x279635,{'status':'Demo\x20Mode','toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0xc8df5c(-_0x5a3612._0x3582bb,-0x8e,-_0x5a3612._0x323b7e,-_0x5a3612._0x3881db),'workingDirectory':process[_0xc8df5c(-0x7c,-0x83,-_0x5a3612._0x552d46,-_0x5a3612._0x43e8ae)]()}),_0x4b8fa5(_0x3413e5,{'paddingX':0x1,'borderStyle':_0x301162(-_0x5a3612._0x789088,-0x184,-_0x5a3612._0x150225,-0x190),'borderColor':_0x301162(-_0x5a3612._0x2ae45b,-0x188,-0x18f,-_0x5a3612._0x3d83ce),'marginTop':-0x1,'children':_0x3899b7(_0x3488c3,{'color':_0x301162(-_0x5a3612._0xdf4343,-0x196,-_0x5a3612._0x2fd278,-0x192),'children':[_0x301162(-0x175,-_0x5a3612._0x13627d,-_0x5a3612._0x4d6bf1,-0x17f),_0xe52203,_0x301162(-_0x5a3612._0x14c50a,-_0x5a3612._0x44e7e8,-_0x5a3612._0xc782bd,-_0x5a3612._0x285c88)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x3a6813,metadata:_0x35b13e,messageCount:_0x175335}){function _0x5b5e7d(_0x314658,_0x334653,_0x5f40c9,_0x42456f){return _0x5886(_0x5f40c9-0x172,_0x314658);}return _0x4b8fa5(_0x5b6195,{'children':_0x4b8fa5(_0x35c282,{'initialConfig':b,'children':_0x4b8fa5(_0x3873a4,{'children':_0x4b8fa5(_0x387f90,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x4cc6ad=>console[_0x5b5e7d(0x372,0x371,0x366,0x364)](_0x4cc6ad),'children':_0x4b8fa5(_0x5361ef,{'children':_0x4b8fa5(N,{'messages':_0x3a6813,'metadata':_0x35b13e,'messageCount':_0x175335})})})})})});}var P=class{constructor(_0x1733b2){this['historyPath']=_0x1733b2;}async[_0x5ee9f2(0x274,0x274,0x288,0x277)](){const _0x20544c={_0x39157d:0x320,_0x373430:0x315,_0x1b5dc9:0x1b3,_0x8ef5b2:0x1b1,_0x20ddc7:0x1bd,_0x76bfb7:0x1a0,_0x279739:0x191,_0x246204:0x193,_0x33d2bf:0x329,_0xd60c0c:0x32d,_0x588c57:0x341,_0x4fce81:0x1ae,_0x2db4e7:0x331,_0x57b3e1:0x322,_0x2dbcc1:0x32f,_0x48df10:0x19f,_0x308283:0x19d,_0xe4b5ed:0x19e,_0x3227cc:0x192,_0x3e3d3d:0x19c,_0x31fcc2:0x18c,_0x2dfea9:0x1a5,_0x1fdc55:0x1b1,_0x4283a1:0x1b3,_0x424c0a:0x1b1,_0x1f6e79:0x1b4,_0x351d92:0x1ab,_0x3460cc:0x19a,_0x30fa17:0x1a9,_0x3d3fb0:0x32a,_0x49c7ac:0x335,_0x56207f:0x1ab,_0x1fbfd0:0x1a7,_0x19860c:0x1aa,_0x3e7781:0x321,_0x19e0fe:0x332,_0x336aa0:0x1b1,_0x2e6d4e:0x1c2,_0x2c3aa2:0x332,_0x34ebd7:0x319,_0x2a6ee7:0x323},_0x3a1df3={_0xb223f:0x4c,_0x272938:0x1ee,_0xe4ee43:0x412},_0x39e5f4={_0xfda872:0x142};function _0x3ba20a(_0x122bce,_0x11debf,_0x3ef9be,_0x408ed4){return _0x5ee9f2(_0x3ef9be,_0x11debf-0x16,_0x3ef9be-_0x39e5f4._0xfda872,_0x11debf-0xba);}function _0x351cef(_0x896848,_0xcf4fe5,_0x189472,_0x3522af){return _0x5ee9f2(_0x3522af,_0xcf4fe5-_0x3a1df3._0xb223f,_0x189472-_0x3a1df3._0x272938,_0x896848- -_0x3a1df3._0xe4ee43);}try{let _0x3becf1=_0x5816cc[_0x3ba20a(0x310,_0x20544c._0x39157d,_0x20544c._0x373430,0x32b)](this[_0x351cef(-_0x20544c._0x1b5dc9,-_0x20544c._0x8ef5b2,-_0x20544c._0x20ddc7,-0x1ad)]),_0x203f5c=await _0x368e6e[_0x351cef(-_0x20544c._0x76bfb7,-_0x20544c._0x279739,-0x1ad,-_0x20544c._0x246204)](_0x3becf1,_0x3ba20a(_0x20544c._0x33d2bf,0x31c,0x30d,0x31a)),_0x4d9c98=JSON[_0x3ba20a(_0x20544c._0xd60c0c,0x338,0x343,_0x20544c._0x588c57)](_0x203f5c);(!_0x4d9c98['cli']||_0x4d9c98[_0x351cef(-_0x20544c._0x4fce81,-0x1a2,-0x1bd,-0x1be)]['length']===0x0)&&(console[_0x351cef(-0x1ab,-0x19a,-0x1ae,-0x19c)]('Error:\x20No\x20messages\x20found\x20in\x20history\x20file'),process['exit'](0x1));let _0x4e57b1=_0x4d9c98['cli'],_0x3e7570=[];for(let _0x49600b of _0x4e57b1)_0x3e7570['push'](..._0xecf563(_0x49600b));let _0x2e4db4=null;for(let _0x555904=_0x4e57b1['length']-0x1;_0x555904>=0x0;_0x555904--)if(_0x4e57b1[_0x555904][_0x3ba20a(0x336,0x339,0x336,0x341)]===_0x3ba20a(_0x20544c._0x2db4e7,_0x20544c._0x57b3e1,_0x20544c._0xd60c0c,_0x20544c._0x2dbcc1)){_0x2e4db4={'totalTokens':0x0};break;}console[_0x351cef(-_0x20544c._0x48df10,-_0x20544c._0x308283,-_0x20544c._0xe4b5ed,-_0x20544c._0x3227cc)](),console[_0x351cef(-_0x20544c._0x3e3d3d,-_0x20544c._0x31fcc2,-0x1a1,-0x1aa)]('\x1bc');let {waitUntilExit:_0x2628f8}=_0x6f13f8(_0x4b8fa5(S,{'messages':_0x3e7570,'metadata':_0x2e4db4,'messageCount':_0x4e57b1['length']}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x2628f8();}catch(_0x317717){if(_0x317717['code']==='ENOENT')console[_0x351cef(-0x1ab,-_0x20544c._0x2dfea9,-0x1bc,-_0x20544c._0x1fdc55)]('Error:\x20History\x20file\x20not\x20found:\x20'+this[_0x351cef(-_0x20544c._0x4283a1,-_0x20544c._0x424c0a,-0x1ae,-_0x20544c._0x1f6e79)]);else{if(_0x317717 instanceof SyntaxError)console[_0x351cef(-_0x20544c._0x351d92,-_0x20544c._0x3460cc,-0x19b,-_0x20544c._0x30fa17)](_0x3ba20a(_0x20544c._0x3d3fb0,_0x20544c._0x49c7ac,0x331,0x344)+this[_0x351cef(-0x1b3,-0x1b7,-_0x20544c._0x56207f,-0x1c3)]);else{let _0x12c606=_0x317717 instanceof Error?_0x317717[_0x351cef(-_0x20544c._0x1fbfd0,-_0x20544c._0x48df10,-_0x20544c._0x19860c,-0x1b2)]:String(_0x317717);console[_0x3ba20a(0x311,_0x20544c._0x3e7781,0x319,_0x20544c._0x19e0fe)](_0x351cef(-_0x20544c._0x336aa0,-_0x20544c._0x2e6d4e,-0x1a4,-0x1a6)+_0x12c606);}}process[_0x3ba20a(_0x20544c._0x2c3aa2,0x326,_0x20544c._0x34ebd7,_0x20544c._0x2a6ee7)](0x1);}}};function _0x5886(_0x596ea9,_0x456954){_0x596ea9=_0x596ea9-0x1eb;const _0x5121b7=_0x5121();let _0x58860d=_0x5121b7[_0x596ea9];if(_0x5886['skXZmb']===undefined){var _0x58ede6=function(_0x41c5b3){const _0x5ed88b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x35c282='',_0x279635='';for(let _0x4b0949=0x0,_0x5361ef,_0x387f90,_0x3873a4=0x0;_0x387f90=_0x41c5b3['charAt'](_0x3873a4++);~_0x387f90&&(_0x5361ef=_0x4b0949%0x4?_0x5361ef*0x40+_0x387f90:_0x387f90,_0x4b0949++%0x4)?_0x35c282+=String['fromCharCode'](0xff&_0x5361ef>>(-0x2*_0x4b0949&0x6)):0x0){_0x387f90=_0x5ed88b['indexOf'](_0x387f90);}for(let _0x5b6195=0x0,_0x2d6b0e=_0x35c282['length'];_0x5b6195<_0x2d6b0e;_0x5b6195++){_0x279635+='%'+('00'+_0x35c282['charCodeAt'](_0x5b6195)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x279635);};_0x5886['VGSSFi']=_0x58ede6,_0x5886['KziBBO']={},_0x5886['skXZmb']=!![];}const _0x48224a=_0x5121b7[0x0],_0x4d2973=_0x596ea9+_0x48224a,_0x1543d3=_0x5886['KziBBO'][_0x4d2973];return!_0x1543d3?(_0x58860d=_0x5886['VGSSFi'](_0x58860d),_0x5886['KziBBO'][_0x4d2973]=_0x58860d):_0x58860d=_0x1543d3,_0x58860d;}function _0x5121(){const _0x40cc49=['m0nswNvkBa','y3DK','mJqYmZC5ngfLqNvSzG','ntiZodi4oeH6wMDHsq','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','CMvHzezPBgu','y2XLyxi','ngDgAMznCW','ntKZmZH1AKjQsuu','Bg9N','CNvU','y29SDw1U','nZDTsgrwDLq','mtaWjq','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','otq0ndi1t29hyxz6','mta3odiXmtbJCNHvDem','CgfYC2u','CM9Szq','EwvSBg93','AgLZDg9YEvbHDgG','C2LUz2XL','rxjYB3iGBg9HzgLUzYbKzw1VoIa','DxrMltG','mJmXnJqWBwDMqwHo','y2XP','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','CMvZB2X2zq','zxjYB3i','yxnZAxn0yw50','mtu4mdq5mJDVAwH0shm','Aw5Zzxj0','BwvZC2fNzq','zxHPDa'];_0x5121=function(){return _0x40cc49;};return _0x5121();}export{P as DemoMode};