@nuvin/nuvin-cli 1.7.5 → 1.7.6
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.
- package/dist/UpdateChecker-XJMKNONT.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BJASH6JU.js +1 -1
- package/dist/chunk-NWZGLSYF.js +1 -1
- package/dist/chunk-VIXEXPPC.js +1 -0
- package/dist/chunk-XGCTN4XG.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-2C5JNKB7.js +1 -0
- package/dist/messageProcessor-6VTRO5TD.js +1 -1
- package/dist/profile-handler-3ZPYWI7G.js +1 -1
- package/dist/useSessionManagement-SUP6IBE2.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-UB2L3Q7C.js +0 -1
- package/dist/demo-mode-5O2LLA7D.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x20382d,_0x2baab8){const _0x3c2132={_0x62834b:0x1b8,_0x58a8e0:0x27a,_0x57f5bd:0x1ce,_0x69c864:0x1d7,_0x165722:0x1cc,_0x4e377c:0x280,_0x56fadd:0x1da,_0x13e21d:0x1d5,_0x2db3bd:0x1c9,_0x2574d9:0x1bc,_0x2f3ded:0x1c1,_0x49e3a4:0x2a7,_0x4a9df8:0x297,_0x547439:0x289,_0x470cd4:0x1c8,_0x9fc86a:0x1c2},_0x1cdd98={_0x9148d3:0xca};function _0x43a5ae(_0x4eac87,_0x53ba52,_0x313279,_0x2c6ce1){return _0x26e1(_0x53ba52-_0x1cdd98._0x9148d3,_0x313279);}const _0x30cb2e=_0x20382d();function _0x5c9155(_0x39f0e5,_0x469c7a,_0xf61e7f,_0x19b978){return _0x26e1(_0xf61e7f-0x195,_0x39f0e5);}while(!![]){try{const _0x55a4bc=parseInt(_0x43a5ae(0x1c2,0x1bf,_0x3c2132._0x62834b,0x1cf))/0x1+-parseInt(_0x5c9155(_0x3c2132._0x58a8e0,0x285,0x284,0x28b))/0x2+parseInt(_0x43a5ae(_0x3c2132._0x57f5bd,_0x3c2132._0x69c864,0x1e4,_0x3c2132._0x165722))/0x3+parseInt(_0x5c9155(0x288,0x27d,0x285,_0x3c2132._0x4e377c))/0x4*(-parseInt(_0x43a5ae(_0x3c2132._0x56fadd,_0x3c2132._0x13e21d,_0x3c2132._0x2db3bd,0x1c9))/0x5)+-parseInt(_0x43a5ae(0x1bb,_0x3c2132._0x2574d9,_0x3c2132._0x2f3ded,0x1c2))/0x6+parseInt(_0x5c9155(_0x3c2132._0x49e3a4,0x287,_0x3c2132._0x4a9df8,_0x3c2132._0x547439))/0x7+parseInt(_0x43a5ae(_0x3c2132._0x470cd4,0x1d0,_0x3c2132._0x9fc86a,0x1c3))/0x8;if(_0x55a4bc===_0x2baab8)break;else _0x30cb2e['push'](_0x30cb2e['shift']());}catch(_0x5318b0){_0x30cb2e['push'](_0x30cb2e['shift']());}}}(_0x3410,0x795e1));import{B as _0x3bb060,D as _0x4ade5c,H as _0x3bde74,T as _0x5238e2,d as _0x1ee5b6,k as _0x28cba5,v as _0xdceb5e,x as _0x76804}from'./chunk-UB2L3Q7C.js';function _0x5dc7ca(_0x257eeb,_0x2885ee,_0x4b6590,_0xcb9688){const _0x2f93fb={_0x1cf004:0x1f2};return _0x26e1(_0x4b6590-_0x2f93fb._0x1cf004,_0x257eeb);}import{d as _0xef5ba4}from'./chunk-NWZGLSYF.js';import'./chunk-XGCTN4XG.js';function _0x3410(){const _0x34d2b6=['zxHPDa','rxjYB3iGBg9HzgLUzYbKzw1VoIa','y3DK','y2XP','BgvUz3rO','nZC3mtq3rNvAsgXv','y29SDw1U','ChvZAa','zxjYB3i','mtyYotuXmJHsDeH6ufa','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','CM9Szq','CNvU','AgLZDg9YEvbHDgG','mtCWmZGWquTbDxnV','zgvTBW','mty2mJi3sNnIu1Lf','C2LUz2XL','Aw5Zzxj0','oty2mJy2uKTcrejQ','odrPv2vfrMy','rgvTBYbnB2rL','nti3nte1mLfqwMLiCG','EwvSBg93','BwvZC2fNzq','mZCXnZiXC0TSrvH4','mtaWjq','yxnZAxn0yw50','Bg9N','CgfYC2u','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','CMvHzezPBgu','DxrMltG'];_0x3410=function(){return _0x34d2b6;};return _0x3410();}import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x3182c2}from'react';import{render as _0x1da689}from'ink';import{Box as _0x17c11d,Text as _0x59e6ec,useApp as _0x2f794f}from'ink';import*as _0x34fc45 from'fs/promises';import*as _0x56c5cd from'path';function _0x26e1(_0x1f31b9,_0x5e4014){const _0x34104c=_0x3410();return _0x26e1=function(_0x26e16c,_0x1c81e3){_0x26e16c=_0x26e16c-0xed;let _0x1d7213=_0x34104c[_0x26e16c];if(_0x26e1['ffYdyU']===undefined){var _0x37df6a=function(_0x3bb060){const _0x4ade5c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3bde74='',_0x5238e2='';for(let _0x1ee5b6=0x0,_0x28cba5,_0xdceb5e,_0x76804=0x0;_0xdceb5e=_0x3bb060['charAt'](_0x76804++);~_0xdceb5e&&(_0x28cba5=_0x1ee5b6%0x4?_0x28cba5*0x40+_0xdceb5e:_0xdceb5e,_0x1ee5b6++%0x4)?_0x3bde74+=String['fromCharCode'](0xff&_0x28cba5>>(-0x2*_0x1ee5b6&0x6)):0x0){_0xdceb5e=_0x4ade5c['indexOf'](_0xdceb5e);}for(let _0xef5ba4=0x0,_0x3182c2=_0x3bde74['length'];_0xef5ba4<_0x3182c2;_0xef5ba4++){_0x5238e2+='%'+('00'+_0x3bde74['charCodeAt'](_0xef5ba4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5238e2);};_0x26e1['UiBViX']=_0x37df6a,_0x1f31b9=arguments,_0x26e1['ffYdyU']=!![];}const _0x429153=_0x34104c[0x0],_0x426d04=_0x26e16c+_0x429153,_0x5ccaeb=_0x1f31b9[_0x426d04];return!_0x5ccaeb?(_0x1d7213=_0x26e1['UiBViX'](_0x1d7213),_0x1f31b9[_0x426d04]=_0x1d7213):_0x1d7213=_0x5ccaeb,_0x1d7213;},_0x26e1(_0x1f31b9,_0x5e4014);}import{jsx as _0x3de8f1,jsxs as _0x5757bf}from'react/jsx-runtime';function N({messages:_0x1c0bc3,metadata:_0x45a29e,messageCount:_0x546aa7}){const _0x19b951={_0x53588d:0x263,_0x348ad2:0x25b,_0x2ab304:0x269,_0x59d537:0x6e,_0x4244b0:0x80,_0x31fb9b:0x73,_0x100150:0x86,_0x5395a5:0x80,_0x23cc9f:0x6d,_0x3dc403:0x71,_0x1ba92c:0x6a,_0x4ce49c:0x82,_0x5552ca:0x7c,_0x528c97:0x25f,_0x5c4909:0x26c,_0xb70f62:0x26b},_0x568e2d={_0x22e67c:0x169},_0x74e447={_0x24dbf7:0x35e};function _0x1d238f(_0x40728f,_0x2aa382,_0x109257,_0x49b650){return _0x26e1(_0x109257- -_0x74e447._0x24dbf7,_0x2aa382);}function _0x18b2ef(_0x1c7a65,_0x37fd28,_0x399864,_0x1ef0f9){return _0x26e1(_0x1ef0f9- -_0x568e2d._0x22e67c,_0x1c7a65);}let {exit:_0x51ae93}=_0x2f794f();return _0x3182c2(()=>{let _0x1d6249=setTimeout(()=>{_0x51ae93();},0x12c);return()=>clearTimeout(_0x1d6249);},[_0x51ae93]),_0x5757bf(_0x17c11d,{'flexDirection':_0x1d238f(-0x24b,-_0x19b951._0x53588d,-_0x19b951._0x348ad2,-_0x19b951._0x2ab304),'height':'100%','width':_0x18b2ef(-_0x19b951._0x59d537,-0x7a,-_0x19b951._0x4244b0,-_0x19b951._0x31fb9b),'children':[_0x3de8f1(_0x76804,{'messages':_0x1c0bc3},_0x18b2ef(-0x5d,-0x4e,-0x60,-0x5d)),_0x3de8f1(_0x3bde74,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x3de8f1(_0x4ade5c,{'status':_0x18b2ef(-0x69,-0x7c,-_0x19b951._0x100150,-0x78),'lastMetadata':_0x45a29e,'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x18b2ef(-_0x19b951._0x5395a5,-0x75,-_0x19b951._0x23cc9f,-0x7b),'workingDirectory':process[_0x18b2ef(-0x68,-0x69,-_0x19b951._0x3dc403,-_0x19b951._0x1ba92c)]()}),_0x3de8f1(_0x17c11d,{'paddingX':0x1,'borderStyle':_0x18b2ef(-0x80,-0x75,-_0x19b951._0x4ce49c,-_0x19b951._0x5552ca),'borderColor':_0x1d238f(-0x26a,-_0x19b951._0x528c97,-0x26b,-_0x19b951._0x5c4909),'marginTop':-0x1,'children':_0x5757bf(_0x59e6ec,{'color':_0x1d238f(-0x25d,-0x264,-_0x19b951._0xb70f62,-0x25e),'children':['🎨\x20Demo\x20Mode\x20-\x20Loaded\x20',_0x546aa7,'\x20messages\x20-\x20Auto-exiting\x20in\x203s...']})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x3e20fd,metadata:_0x2f41f0,messageCount:_0x4fe41a}){return _0x3de8f1(_0xdceb5e,{'children':_0x3de8f1(_0x3bb060,{'initialConfig':b,'children':_0x3de8f1(_0x28cba5,{'children':_0x3de8f1(_0x1ee5b6,{'requireToolApproval':!0x1,'onError':_0x2a577b=>console['error'](_0x2a577b),'children':_0x3de8f1(_0x5238e2,{'children':_0x3de8f1(N,{'messages':_0x3e20fd,'metadata':_0x2f41f0,'messageCount':_0x4fe41a})})})})})});}var P=class{constructor(_0x56f685){const _0x5f4e22={_0x3f2f30:0xb6,_0x40dfac:0xb4,_0x2d99d3:0xc2},_0x9a8a13={_0x2f9c8e:0x1be};function _0x2c5ef8(_0x654fbd,_0xe8abcf,_0x307a3a,_0x477210){return _0x26e1(_0x307a3a- -_0x9a8a13._0x2f9c8e,_0x477210);}this[_0x2c5ef8(-_0x5f4e22._0x3f2f30,-0xc1,-_0x5f4e22._0x40dfac,-_0x5f4e22._0x2d99d3)]=_0x56f685;}async[_0x5dc7ca(0x2ff,0x308,0x2fb,0x2f8)](){const _0x5d8508={_0x2653b6:0x3b5,_0x234d26:0x3b1,_0x4aed93:0x3b0,_0x447c3b:0x3b0,_0x369d47:0x3a7,_0x2d5a2d:0x3ad,_0x31ef97:0x3b5,_0x585bfa:0x3be,_0x4a5a8c:0x3a6,_0x1ac3d0:0x3c1,_0xcd5868:0x3bc,_0x187261:0x3a4,_0x252bb8:0x3b4,_0x45f3f6:0x3b8,_0x2d2bfb:0x3bc,_0x5ee97f:0x3a5,_0x33f9e9:0x3c8,_0x487c40:0x3b4,_0xdb2ea5:0x3bd,_0x33fc89:0x3ce,_0x38d643:0x3a3,_0x3e2bce:0x3ad,_0x143021:0x3a2,_0x15bd73:0x3a8,_0x1d99f:0x3a9,_0x169bb7:0x3b4,_0x3607fd:0x3af,_0x3f240c:0x3b3,_0x216534:0x3bd,_0x3b90b7:0x3b0,_0x1b0edf:0x3a9,_0x12f71d:0x3c7,_0x1ef59e:0x3ac,_0x58d556:0x3b1,_0x21a8a3:0x3b6,_0xcea43d:0x3a4,_0x3b63b0:0x3ae,_0x332139:0x3a9,_0xb64e5:0x3c0,_0x3c9e24:0x3b2,_0x40d724:0x3b2},_0x2d5f71={_0x21a1b0:0xc3},_0x81da5f={_0x28d77a:0x6e};function _0x5634ea(_0xf449ef,_0x2016a0,_0x39ec03,_0x337348){return _0x5dc7ca(_0xf449ef,_0x2016a0-_0x81da5f._0x28d77a,_0x337348-0xbe,_0x337348-0x10f);}function _0x4a2e40(_0x5078de,_0x43dea6,_0x283275,_0x36e097){return _0x5dc7ca(_0x36e097,_0x43dea6-0xc,_0x283275-_0x2d5f71._0x21a1b0,_0x36e097-0x1c1);}try{let _0x39e938=_0x56c5cd['resolve'](this['historyPath']),_0x6c83bb=await _0x34fc45[_0x4a2e40(_0x5d8508._0x2653b6,0x3bd,0x3b0,0x3c1)](_0x39e938,_0x4a2e40(0x3b5,0x3b1,_0x5d8508._0x234d26,0x3b4)),_0x31cc2b=JSON[_0x4a2e40(_0x5d8508._0x4aed93,0x3b9,0x3ae,_0x5d8508._0x447c3b)](_0x6c83bb);(!_0x31cc2b[_0x5634ea(_0x5d8508._0x369d47,0x3ae,0x3a1,_0x5d8508._0x447c3b)]||_0x31cc2b[_0x4a2e40(0x3af,_0x5d8508._0x2d5a2d,_0x5d8508._0x31ef97,_0x5d8508._0x585bfa)][_0x5634ea(_0x5d8508._0x4a5a8c,0x3ae,0x3a5,_0x5d8508._0x234d26)]===0x0)&&(console[_0x4a2e40(0x3b5,0x3bf,0x3ba,_0x5d8508._0x1ac3d0)](_0x4a2e40(0x3b4,0x3bb,_0x5d8508._0xcd5868,_0x5d8508._0x1ac3d0)),process[_0x4a2e40(_0x5d8508._0x187261,_0x5d8508._0x252bb8,0x3b2,0x3a2)](0x1));let _0x4ad44f=_0x31cc2b['cli'],_0x45b56d=[];for(let _0x2f5466 of _0x4ad44f)_0x45b56d[_0x5634ea(_0x5d8508._0x45f3f6,_0x5d8508._0x2d2bfb,_0x5d8508._0x5ee97f,0x3b4)](..._0xef5ba4(_0x2f5466));let _0xabbcdb=null;for(let _0x3f4179=_0x4ad44f['length']-0x1;_0x3f4179>=0x0;_0x3f4179--)if(_0x4ad44f[_0x3f4179][_0x4a2e40(_0x5d8508._0x33f9e9,_0x5d8508._0x487c40,_0x5d8508._0xdb2ea5,_0x5d8508._0x33fc89)]===_0x4a2e40(_0x5d8508._0x38d643,_0x5d8508._0x3e2bce,0x3ac,_0x5d8508._0x252bb8)){_0xabbcdb={'totalTokens':0x0};break;}console['clear'](),console[_0x5634ea(0x3a0,0x3a0,_0x5d8508._0x143021,_0x5d8508._0x15bd73)]('\x1bc');let {waitUntilExit:_0x2be835}=_0x1da689(_0x3de8f1(S,{'messages':_0x45b56d,'metadata':_0xabbcdb,'messageCount':_0x4ad44f[_0x5634ea(0x3a3,0x3b2,_0x5d8508._0x4aed93,0x3b1)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x2be835();}catch(_0x4145da){if(_0x4145da['code']==='ENOENT')console['error'](_0x4a2e40(_0x5d8508._0x1d99f,_0x5d8508._0x169bb7,_0x5d8508._0x3607fd,0x3bf)+this[_0x4a2e40(_0x5d8508._0x3f240c,_0x5d8508._0x216534,0x3bf,0x3be)]);else{if(_0x4145da instanceof SyntaxError)console[_0x5634ea(_0x5d8508._0x3b90b7,0x3bb,_0x5d8508._0x1b0edf,0x3b5)]('Error:\x20Invalid\x20JSON\x20in\x20history\x20file:\x20'+this[_0x4a2e40(0x3c5,_0x5d8508._0x12f71d,0x3bf,0x3b4)]);else{let _0x537e34=_0x4145da instanceof Error?_0x4145da[_0x5634ea(_0x5d8508._0x1ef59e,0x3b1,_0x5d8508._0x58d556,0x3a4)]:String(_0x4145da);console[_0x5634ea(0x3af,0x3aa,_0x5d8508._0x21a8a3,_0x5d8508._0x2653b6)](_0x5634ea(0x3a4,_0x5d8508._0x447c3b,_0x5d8508._0xcea43d,_0x5d8508._0x3b63b0)+_0x537e34);}}process[_0x4a2e40(_0x5d8508._0x332139,_0x5d8508._0xb64e5,_0x5d8508._0x3c9e24,_0x5d8508._0x40d724)](0x1);}}};export{P as DemoMode};
|