@nuvin/nuvin-cli 1.8.0 → 1.9.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.
- package/dist/AutoUpdater-RY55SRHZ.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-6COO2YWW.js +1 -0
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BJASH6JU.js +1 -1
- package/dist/chunk-NWZGLSYF.js +1 -1
- package/dist/chunk-XGCTN4XG.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-CLERJR7E.js +1 -0
- package/dist/messageProcessor-6VTRO5TD.js +1 -1
- package/dist/profile-handler-Q2IML5ME.js +1 -1
- package/dist/useSessionManagement-SUP6IBE2.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-XXEJW6QP.js +0 -1
- package/dist/demo-mode-XY5TWQ3C.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x4e62e8,_0x515ebf){const _0x4d938d={_0x2a2a75:0xe8,_0xc9a78b:0xea,_0x58b996:0xf8,_0x302421:0xe1,_0x34e402:0xfc,_0x311d5f:0xef,_0x1b71a5:0xf2,_0x148f4b:0xef,_0x89e9d:0xf1,_0x59ba7b:0xe3,_0x58e247:0xea,_0x4679b4:0x39,_0x5c21cb:0x44,_0x177c07:0xf3,_0x1d49d1:0xf3};function _0x4d87db(_0x51a3f9,_0x3cff24,_0x51bafa,_0xb999e1){return _0x28f9(_0x51bafa- -0x171,_0x3cff24);}const _0x1e43c0=_0x4e62e8();function _0x38baa3(_0x595769,_0x5c438c,_0x36cd75,_0x556de4){return _0x28f9(_0x556de4- -0x42,_0x595769);}while(!![]){try{const _0x2a15aa=-parseInt(_0x38baa3(_0x4d938d._0x2a2a75,_0x4d938d._0xc9a78b,0xdb,0xe2))/0x1+-parseInt(_0x38baa3(0xeb,0xe4,_0x4d938d._0x58b996,0xf1))/0x2+parseInt(_0x38baa3(0xe1,_0x4d938d._0x302421,_0x4d938d._0x34e402,_0x4d938d._0x311d5f))/0x3+-parseInt(_0x38baa3(_0x4d938d._0x1b71a5,_0x4d938d._0x148f4b,0xf6,0xf0))/0x4+-parseInt(_0x38baa3(_0x4d938d._0x89e9d,_0x4d938d._0x59ba7b,0xf2,_0x4d938d._0x58e247))/0x5+parseInt(_0x4d87db(-0x46,-0x35,-_0x4d938d._0x4679b4,-0x3f))/0x6+parseInt(_0x4d87db(-0x4c,-_0x4d938d._0x5c21cb,-0x49,-0x4f))/0x7*(parseInt(_0x38baa3(0xfa,_0x4d938d._0x177c07,0xe7,_0x4d938d._0x1d49d1))/0x8);if(_0x2a15aa===_0x515ebf)break;else _0x1e43c0['push'](_0x1e43c0['shift']());}catch(_0xdfd10f){_0x1e43c0['push'](_0x1e43c0['shift']());}}}(_0x2361,0x90061));import{B as _0x493ce4,D as _0x322ae6,H as _0x3ebac9,T as _0x22e46e,d as _0x1f440a,k as _0x217998,v as _0x348449,x as _0x28296b}from'./chunk-XXEJW6QP.js';import{d as _0x51a8e2}from'./chunk-NWZGLSYF.js';import'./chunk-XGCTN4XG.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x456c42}from'react';function _0x28f9(_0x28d5fa,_0x1c490c){const _0x2361f1=_0x2361();return _0x28f9=function(_0x28f97f,_0x3bea67){_0x28f97f=_0x28f97f-0x11f;let _0x4f203c=_0x2361f1[_0x28f97f];if(_0x28f9['GZgDRo']===undefined){var _0x54257e=function(_0x493ce4){const _0x322ae6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ebac9='',_0x22e46e='';for(let _0x1f440a=0x0,_0x217998,_0x348449,_0x28296b=0x0;_0x348449=_0x493ce4['charAt'](_0x28296b++);~_0x348449&&(_0x217998=_0x1f440a%0x4?_0x217998*0x40+_0x348449:_0x348449,_0x1f440a++%0x4)?_0x3ebac9+=String['fromCharCode'](0xff&_0x217998>>(-0x2*_0x1f440a&0x6)):0x0){_0x348449=_0x322ae6['indexOf'](_0x348449);}for(let _0x51a8e2=0x0,_0x456c42=_0x3ebac9['length'];_0x51a8e2<_0x456c42;_0x51a8e2++){_0x22e46e+='%'+('00'+_0x3ebac9['charCodeAt'](_0x51a8e2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22e46e);};_0x28f9['fMxdUi']=_0x54257e,_0x28d5fa=arguments,_0x28f9['GZgDRo']=!![];}const _0x44b672=_0x2361f1[0x0],_0x58a209=_0x28f97f+_0x44b672,_0x4faff8=_0x28d5fa[_0x58a209];return!_0x4faff8?(_0x4f203c=_0x28f9['fMxdUi'](_0x4f203c),_0x28d5fa[_0x58a209]=_0x4f203c):_0x4f203c=_0x4faff8,_0x4f203c;},_0x28f9(_0x28d5fa,_0x1c490c);}import{render as _0x49ad68}from'ink';function _0x2361(){const _0x4e41b4=['rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','y2XP','ChvZAa','CgfYC2u','mtqWndG0AfDPq0Td','mZC5ntmYquffy3LZ','nda4mJeYv09IufbN','mtaWjq','mZa0DfnPsfDy','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','EwvSBg93','mJyXmtC5nfHvuKjlCW','AgLZDg9YEvbHDgG','zxjYB3i','BwvZC2fNzq','BgvUz3rO','CM9Szq','rgvTBYbnB2rL','rxjYB3iGBg9HzgLUzYbKzw1VoIa','ndqWnZK5rhPQtLjd','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','CMvHzezPBgu','C2LUz2XL','mZa0nJq3zfrou3bT','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','y2XLyxi','y29Kzq','ndaZmta4mfvlr1nnyq'];_0x2361=function(){return _0x4e41b4;};return _0x2361();}import{Box as _0x2c2ca2,Text as _0x472309,useApp as _0x51314b}from'ink';import*as _0x2caca5 from'fs/promises';import*as _0x5c128d from'path';import{jsx as _0x3309f9,jsxs as _0x5e25c6}from'react/jsx-runtime';function N({messages:_0x26b963,metadata:_0x15137a,messageCount:_0x4298aa}){const _0x4d6e2f={_0x5d9b37:0x282,_0x532a78:0x288,_0x6c4b4c:0x28a,_0x1487d0:0x294,_0x4b2be0:0x30e,_0xc2b511:0x318,_0x4c09c1:0x31b,_0x2639d6:0x282,_0x5c4518:0x28d,_0x3a2a21:0x296,_0x48c99f:0x280,_0x3f5073:0x28c,_0x10115e:0x276,_0x2d2bf7:0x28a},_0x1da7c5={_0x37038f:0x156};let {exit:_0xc6d254}=_0x51314b();function _0x51b149(_0x4b6667,_0x11cb26,_0x5a6271,_0x53d3c5){return _0x28f9(_0x4b6667-0x1f6,_0x53d3c5);}function _0x3a2b57(_0x164b4c,_0x5491f1,_0x419b3b,_0x4e056b){return _0x28f9(_0x4e056b-_0x1da7c5._0x37038f,_0x164b4c);}return _0x456c42(()=>{let _0x59db93=setTimeout(()=>{_0xc6d254();},0x12c);return()=>clearTimeout(_0x59db93);},[_0xc6d254]),_0x5e25c6(_0x2c2ca2,{'flexDirection':'column','height':_0x3a2b57(_0x4d6e2f._0x5d9b37,0x290,_0x4d6e2f._0x532a78,_0x4d6e2f._0x6c4b4c),'width':_0x3a2b57(_0x4d6e2f._0x1487d0,0x292,0x289,_0x4d6e2f._0x6c4b4c),'children':[_0x3309f9(_0x28296b,{'messages':_0x26b963},'demo'),_0x3309f9(_0x3ebac9,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x3309f9(_0x322ae6,{'status':_0x51b149(0x318,0x31e,0x31e,_0x4d6e2f._0x4b2be0),'lastMetadata':_0x15137a,'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':'insert','workingDirectory':process['cwd']()}),_0x3309f9(_0x2c2ca2,{'paddingX':0x1,'borderStyle':_0x51b149(0x31d,0x327,_0x4d6e2f._0xc2b511,_0x4d6e2f._0x4c09c1),'borderColor':'yellow','marginTop':-0x1,'children':_0x5e25c6(_0x472309,{'color':_0x3a2b57(_0x4d6e2f._0x2639d6,0x285,0x295,_0x4d6e2f._0x5c4518),'children':[_0x3a2b57(_0x4d6e2f._0x3a2a21,_0x4d6e2f._0x48c99f,0x280,_0x4d6e2f._0x3f5073),_0x4298aa,_0x3a2b57(_0x4d6e2f._0x10115e,_0x4d6e2f._0x2d2bf7,0x280,0x27f)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x14e625,metadata:_0xd3621d,messageCount:_0x52e1ac}){function _0x46f18c(_0x842322,_0x39d483,_0x1009d4,_0x58ca47){return _0x28f9(_0x842322- -0x226,_0x1009d4);}return _0x3309f9(_0x348449,{'children':_0x3309f9(_0x493ce4,{'initialConfig':b,'children':_0x3309f9(_0x217998,{'children':_0x3309f9(_0x1f440a,{'requireToolApproval':!0x1,'onError':_0x318485=>console[_0x46f18c(-0xec,-0xf2,-0xf2,-0xdf)](_0x318485),'children':_0x3309f9(_0x22e46e,{'children':_0x3309f9(N,{'messages':_0x14e625,'metadata':_0xd3621d,'messageCount':_0x52e1ac})})})})})});}var P=class{constructor(_0x139f14){const _0x4f6ddb={_0x1b1531:0x479},_0x4976cc={_0x3708f4:0x336};function _0x49da17(_0x712848,_0x265b08,_0x1992f1,_0x4a9c77){return _0x28f9(_0x265b08-_0x4976cc._0x3708f4,_0x1992f1);}this[_0x49da17(0x46d,0x46f,0x468,_0x4f6ddb._0x1b1531)]=_0x139f14;}async['run'](){const _0x19cb6b={_0x28d59d:0x70,_0x5277c4:0x1eb,_0x4f2e35:0x1f5,_0x95e758:0x1fe,_0x1da9ef:0x203,_0x5ac23f:0x1fb,_0x3eea0b:0x20a,_0xda9132:0x1fd,_0x135414:0x1f7,_0x4bfbc5:0x1ed,_0x2918d4:0x86,_0x3e0774:0x1e4,_0x25452b:0x1fd,_0xc3e0c4:0x7e,_0x10d389:0x1ff,_0x853d5c:0x1f3,_0x34238e:0x1f1,_0xee31c4:0x70,_0x22ba8c:0x62,_0x57d283:0x66,_0x48281b:0x8a,_0x3a551b:0x8b,_0x33b3b5:0x6f,_0x4f5b15:0x67,_0x205525:0x77,_0x42292a:0x87,_0x50e1ad:0x7a,_0x5cb8bd:0x79},_0x216ede={_0x4efee3:0xc5},_0x61a491={_0x484640:0x1a9};function _0x38e128(_0x3b4e94,_0x5e04e1,_0x164765,_0x1db240){return _0x28f9(_0x5e04e1- -_0x61a491._0x484640,_0x3b4e94);}function _0x1ff4c8(_0x33bc4e,_0x59eb21,_0xafa3dd,_0x2927d3){return _0x28f9(_0x33bc4e-_0x216ede._0x4efee3,_0xafa3dd);}try{let _0x4fa233=_0x5c128d['resolve'](this[_0x38e128(-0x71,-_0x19cb6b._0x28d59d,-0x6b,-0x69)]),_0x183c2e=await _0x2caca5[_0x1ff4c8(_0x19cb6b._0x5277c4,0x1e1,0x1f4,0x1ec)](_0x4fa233,'utf-8'),_0x1152b2=JSON[_0x1ff4c8(_0x19cb6b._0x4f2e35,_0x19cb6b._0x95e758,_0x19cb6b._0x1da9ef,_0x19cb6b._0x5ac23f)](_0x183c2e);(!_0x1152b2[_0x1ff4c8(0x1f3,0x1f3,0x1e8,0x1e9)]||_0x1152b2[_0x38e128(-0x70,-0x7b,-0x7e,-0x71)]['length']===0x0)&&(console[_0x1ff4c8(0x1ff,_0x19cb6b._0x3eea0b,0x201,_0x19cb6b._0xda9132)](_0x1ff4c8(0x1f2,_0x19cb6b._0xda9132,_0x19cb6b._0x4f2e35,0x1ed)),process['exit'](0x1));let _0x568d4c=_0x1152b2['cli'],_0x2224e4=[];for(let _0x57fba3 of _0x568d4c)_0x2224e4[_0x1ff4c8(0x1f4,_0x19cb6b._0x135414,0x1f8,0x1eb)](..._0x51a8e2(_0x57fba3));let _0x2dbb9b=null;for(let _0x5b8bc3=_0x568d4c[_0x1ff4c8(0x1e5,0x1ef,0x1ee,_0x19cb6b._0x4bfbc5)]-0x1;_0x5b8bc3>=0x0;_0x5b8bc3--)if(_0x568d4c[_0x5b8bc3][_0x38e128(-0x87,-0x88,-0x7f,-_0x19cb6b._0x2918d4)]==='assistant'){_0x2dbb9b={'totalTokens':0x0};break;}console[_0x1ff4c8(0x1ef,0x1fd,_0x19cb6b._0x3e0774,_0x19cb6b._0x25452b)](),console['log']('\x1bc');let {waitUntilExit:_0x316598}=_0x49ad68(_0x3309f9(S,{'messages':_0x2224e4,'metadata':_0x2dbb9b,'messageCount':_0x568d4c['length']}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x316598();}catch(_0x4368e6){if(_0x4368e6[_0x38e128(-_0x19cb6b._0xc3e0c4,-0x7e,-0x7a,-_0x19cb6b._0x28d59d)]==='ENOENT')console[_0x1ff4c8(_0x19cb6b._0x10d389,0x1f5,_0x19cb6b._0x853d5c,_0x19cb6b._0x34238e)](_0x1ff4c8(0x1ea,0x1f3,_0x19cb6b._0x853d5c,0x1ed)+this[_0x38e128(-0x65,-_0x19cb6b._0xee31c4,-_0x19cb6b._0x22ba8c,-_0x19cb6b._0x57d283)]);else{if(_0x4368e6 instanceof SyntaxError)console['error']('Error:\x20Invalid\x20JSON\x20in\x20history\x20file:\x20'+this['historyPath']);else{let _0x2aa534=_0x4368e6 instanceof Error?_0x4368e6[_0x38e128(-0x84,-_0x19cb6b._0x48281b,-0x80,-_0x19cb6b._0x3a551b)]:String(_0x4368e6);console[_0x38e128(-0x6a,-_0x19cb6b._0x33b3b5,-_0x19cb6b._0x4f5b15,-_0x19cb6b._0x205525)](_0x38e128(-_0x19cb6b._0x42292a,-0x86,-_0x19cb6b._0x50e1ad,-_0x19cb6b._0x5cb8bd)+_0x2aa534);}}process['exit'](0x1);}}};export{P as DemoMode};
|