@nuvin/nuvin-cli 1.11.3 → 1.12.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(_0x3f7dbe,_0x28dfce){const _0x436592={_0x345330:0x327,_0x4d1372:0x337,_0x1e3889:0x32e,_0x16e158:0x344,_0x14b1a8:0x557,_0xb4f14e:0x32b,_0x388836:0x343,_0x516491:0x341,_0x42129d:0x338,_0x5e9354:0x32c,_0x36d1b8:0x356,_0x4ed57e:0x33f,_0x588beb:0x34e,_0x427af9:0x33a,_0x39f892:0x33f,_0x1d6bc5:0x334,_0x4c3248:0x56e,_0x4e7d11:0x565,_0x526fc4:0x560},_0x11f819={_0x32d33c:0x141};function _0x26ea4f(_0x221ddd,_0x5e2b17,_0x3206d0,_0x368c51){return _0x5ce4(_0x368c51-_0x11f819._0x32d33c,_0x5e2b17);}const _0x210028=_0x3f7dbe();function _0x5a82bd(_0x5728af,_0x1ab61d,_0x41b7fa,_0x4bc4c0){return _0x5ce4(_0x4bc4c0-0x352,_0x1ab61d);}while(!![]){try{const _0x4be924=-parseInt(_0x26ea4f(0x336,_0x436592._0x345330,0x330,_0x436592._0x4d1372))/0x1+-parseInt(_0x26ea4f(_0x436592._0x1e3889,0x33c,_0x436592._0x16e158,0x33e))/0x2+parseInt(_0x5a82bd(_0x436592._0x14b1a8,0x566,0x566,0x55e))/0x3+-parseInt(_0x26ea4f(_0x436592._0xb4f14e,_0x436592._0x388836,_0x436592._0x516491,_0x436592._0x42129d))/0x4+parseInt(_0x26ea4f(0x335,0x332,_0x436592._0x5e9354,0x335))/0x5+parseInt(_0x26ea4f(_0x436592._0x36d1b8,_0x436592._0x4ed57e,0x34b,_0x436592._0x588beb))/0x6+parseInt(_0x26ea4f(_0x436592._0x427af9,0x324,_0x436592._0x39f892,_0x436592._0x1d6bc5))/0x7*(parseInt(_0x5a82bd(0x569,_0x436592._0x4c3248,_0x436592._0x4e7d11,_0x436592._0x526fc4))/0x8);if(_0x4be924===_0x28dfce)break;else _0x210028['push'](_0x210028['shift']());}catch(_0x77e63b){_0x210028['push'](_0x210028['shift']());}}}(_0x512c,0xab433));import{D as _0x42cb0b,F as _0x147482,J as _0x399200,U as _0x5abf83,f as _0x27a0b7,m as _0x349bef,x as _0xa0f8f5,z as _0x67aac8}from'./chunk-EU6AT6OW.js';import{d as _0x2b62fc}from'./chunk-NWZGLSYF.js';import'./chunk-63FEQAKE.js';function _0x512c(){const _0x50be16=['CgfYC2u','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','y29SDw1U','mZi5D1H5txvJ','nduWota2nxjhv0HTtq','ChvZAa','nZGZmduXDMPUvu5g','nte5ndaXnNzYruPjDW','BgvUz3rO','y2XLyxi','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','y2XP','y29Kzq','ndG2oty4s1PqzLbW','CM9Szq','y3DK','C2LUz2XL','AgLZDg9YEvbHDgG','CMvHzezPBgu','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','yxnZAxn0yw50','ru5pru5u','zxHPDa','zgvTBW','Bg9N','zxjYB3i','EwvSBg93','rxjYB3iGBg9HzgLUzYbKzw1VoIa','mtKWmtyXmgXoBezltW','mZGWodq1mKr5shvIqG','mtq1nZiWvuXLD2f4','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG'];_0x512c=function(){return _0x50be16;};return _0x512c();}import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x393ec9}from'react';import{render as _0x56c75f}from'ink';import{Box as _0x37ce56,Text as _0x4091fe,useApp as _0x3d65bb}from'ink';import*as _0x535f7d from'fs/promises';import*as _0xa765cb from'path';import{jsx as _0x33f39c,jsxs as _0x294c8f}from'react/jsx-runtime';function N({messages:_0x49f612,messageCount:_0x5d0803}){const _0x4694af={_0x5091a6:0xbf,_0x5dc34d:0x161,_0xd05219:0x158,_0x669507:0x155,_0x5948b1:0x149,_0x7c44a2:0x15d,_0xd7668e:0x160,_0x156f44:0x166,_0x7a92d9:0xaf,_0x294aec:0xc7,_0x499508:0xb7,_0x533155:0x153,_0x2e70f2:0x14d,_0x54ee17:0x13d,_0x350a19:0xbb,_0x2eaae7:0xc8},_0x5d9e87={_0x3a33fa:0x35c};function _0xaf1df4(_0xc99ee8,_0x13846,_0x16c6c5,_0x357261){return _0x5ce4(_0x16c6c5- -_0x5d9e87._0x3a33fa,_0x13846);}function _0x36c015(_0x58ae4c,_0x24bc35,_0x5c88b0,_0x413daf){return _0x5ce4(_0x413daf- -0x2c1,_0x24bc35);}let {exit:_0x444c39}=_0x3d65bb();return _0x393ec9(()=>{let _0x531222=setTimeout(()=>{_0x444c39();},0x12c);return()=>clearTimeout(_0x531222);},[_0x444c39]),_0x294c8f(_0x37ce56,{'flexDirection':_0x36c015(-0xc5,-0xcd,-_0x4694af._0x5091a6,-0xcf),'height':'100%','width':'100%','children':[_0x33f39c(_0x67aac8,{'messages':_0x49f612},_0xaf1df4(-_0x4694af._0x5dc34d,-_0x4694af._0xd05219,-_0x4694af._0x669507,-_0x4694af._0x5948b1)),_0x33f39c(_0x399200,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x33f39c(_0x147482,{'status':'Demo\x20Mode','toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':'insert','workingDirectory':process[_0xaf1df4(-0x160,-0x166,-_0x4694af._0x7c44a2,-_0x4694af._0xd7668e)]()}),_0x33f39c(_0x37ce56,{'paddingX':0x1,'borderStyle':_0xaf1df4(-_0x4694af._0x669507,-_0x4694af._0x156f44,-0x15c,-0x163),'borderColor':_0x36c015(-0xaa,-_0x4694af._0x7a92d9,-0xc6,-0xb7),'marginTop':-0x1,'children':_0x294c8f(_0x4091fe,{'color':_0x36c015(-0xb1,-_0x4694af._0x294aec,-0xc5,-_0x4694af._0x499508),'children':[_0xaf1df4(-0x14e,-_0x4694af._0x533155,-_0x4694af._0x2e70f2,-_0x4694af._0x54ee17),_0x5d0803,_0x36c015(-0xc6,-_0x4694af._0x350a19,-_0x4694af._0x2eaae7,-0xbe)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function _0x5ce4(_0x2aaa95,_0x6ad44c){_0x2aaa95=_0x2aaa95-0x1f1;const _0x512cb7=_0x512c();let _0x5ce481=_0x512cb7[_0x2aaa95];if(_0x5ce4['ouqHzM']===undefined){var _0x10f7a6=function(_0x1dc8c9){const _0x514294='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42cb0b='',_0x147482='';for(let _0x399200=0x0,_0x5abf83,_0x27a0b7,_0x349bef=0x0;_0x27a0b7=_0x1dc8c9['charAt'](_0x349bef++);~_0x27a0b7&&(_0x5abf83=_0x399200%0x4?_0x5abf83*0x40+_0x27a0b7:_0x27a0b7,_0x399200++%0x4)?_0x42cb0b+=String['fromCharCode'](0xff&_0x5abf83>>(-0x2*_0x399200&0x6)):0x0){_0x27a0b7=_0x514294['indexOf'](_0x27a0b7);}for(let _0xa0f8f5=0x0,_0x67aac8=_0x42cb0b['length'];_0xa0f8f5<_0x67aac8;_0xa0f8f5++){_0x147482+='%'+('00'+_0x42cb0b['charCodeAt'](_0xa0f8f5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x147482);};_0x5ce4['knAizE']=_0x10f7a6,_0x5ce4['Txzqtt']={},_0x5ce4['ouqHzM']=!![];}const _0x41acd2=_0x512cb7[0x0],_0x54eef3=_0x2aaa95+_0x41acd2,_0x48587d=_0x5ce4['Txzqtt'][_0x54eef3];return!_0x48587d?(_0x5ce481=_0x5ce4['knAizE'](_0x5ce481),_0x5ce4['Txzqtt'][_0x54eef3]=_0x5ce481):_0x5ce481=_0x48587d,_0x5ce481;}function S({messages:_0x26636b,metadata:_0x2a0628,messageCount:_0x4dcbde}){const _0xbc695d={_0x3cce37:0x387};function _0x530ef4(_0x50cfe5,_0x416722,_0x57ba8f,_0x184758){return _0x5ce4(_0x57ba8f- -_0xbc695d._0x3cce37,_0x416722);}return _0x33f39c(_0xa0f8f5,{'children':_0x33f39c(_0x42cb0b,{'initialConfig':b,'children':_0x33f39c(_0x349bef,{'children':_0x33f39c(_0x27a0b7,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x32ed73=>console[_0x530ef4(-0x17e,-0x17f,-0x17e,-0x17c)](_0x32ed73),'children':_0x33f39c(_0x5abf83,{'children':_0x33f39c(N,{'messages':_0x26636b,'metadata':_0x2a0628,'messageCount':_0x4dcbde})})})})})});}var P=class{constructor(_0x5aa80f){const _0x3184cc={_0xfa1b22:0x13a,_0x3f3be8:0x12b},_0xb85b7c={_0x3c7a6d:0xcc};function _0x4d682e(_0x39c6ec,_0x4808aa,_0xdc880a,_0x4a3188){return _0x5ce4(_0x4a3188- -_0xb85b7c._0x3c7a6d,_0x39c6ec);}this[_0x4d682e(_0x3184cc._0xfa1b22,_0x3184cc._0x3f3be8,0x140,0x135)]=_0x5aa80f;}async['run'](){const _0x3e7076={_0x49c58e:0x2f0,_0x2152bc:0x2f1,_0x471c48:0x2e3,_0x3b2b42:0x2f0,_0x5aa49a:0x30a,_0x4e1987:0x2fd,_0x4a44a5:0x1c2,_0x324dbb:0x1b6,_0x1afaf7:0x1bb,_0x183ce0:0x2e7,_0x5aedca:0x1a8,_0x5dcff5:0x1b2,_0x2ff91d:0x1a1,_0x3e9f08:0x1c7,_0x2db568:0x1c7,_0x3a0610:0x1a7,_0xd21608:0x2fb,_0x2dd944:0x2f5,_0x5a2e50:0x301,_0x2f747c:0x2db,_0x4a5f16:0x2ef,_0x4e3f6d:0x2f2,_0x120e8f:0x2ea,_0x3d99d3:0x2e4,_0xdc79e6:0x2e2,_0x2e1e34:0x2fc,_0x417eae:0x2fa,_0x308f43:0x2ed,_0x5362b7:0x2ec,_0x575fd8:0x1ad,_0x1e7054:0x1b4,_0x146e46:0x1a4,_0x22eb69:0x2e8,_0x59b65b:0x1b3,_0x595d67:0x19c,_0xa7e01e:0x2f0,_0x539a72:0x1b5,_0x50daca:0x2f4,_0x52b73e:0x2e9,_0xf3f075:0x2e0,_0x69a4ff:0x2d7,_0x3435c2:0x1b2,_0x43c669:0x198,_0x283345:0x1b1,_0x1f07b9:0x2e1,_0x32f768:0x1b3,_0x4abc51:0x1a6,_0xe1191:0x2ff};function _0x4331f8(_0x145d0d,_0x2430d4,_0x5b872d,_0x249add){return _0x5ce4(_0x2430d4- -0x3b1,_0x249add);}function _0x105e36(_0x2b34b8,_0x5220b0,_0x40fc7a,_0x517e02){return _0x5ce4(_0x40fc7a-0xef,_0x2b34b8);}try{let _0x81c8e7=_0xa765cb['resolve'](this[_0x105e36(0x2f7,0x2ed,_0x3e7076._0x49c58e,0x2e8)]),_0x23ef9c=await _0x535f7d[_0x105e36(0x2e6,0x2f5,_0x3e7076._0x2152bc,_0x3e7076._0x471c48)](_0x81c8e7,'utf-8'),_0x2cad22=JSON[_0x105e36(_0x3e7076._0x3b2b42,_0x3e7076._0x5aa49a,0x2ff,_0x3e7076._0x4e1987)](_0x23ef9c);(!_0x2cad22[_0x4331f8(-_0x3e7076._0x4a44a5,-0x1b6,-0x1bf,-0x1c1)]||_0x2cad22[_0x4331f8(-0x1bc,-_0x3e7076._0x324dbb,-0x1c2,-_0x3e7076._0x1afaf7)][_0x105e36(0x2e0,0x2f2,_0x3e7076._0x183ce0,0x2f0)]===0x0)&&(console[_0x4331f8(-0x1a6,-_0x3e7076._0x5aedca,-_0x3e7076._0x5dcff5,-_0x3e7076._0x2ff91d)](_0x4331f8(-_0x3e7076._0x3e9f08,-0x1b7,-_0x3e7076._0x2db568,-_0x3e7076._0x3a0610)),process[_0x105e36(_0x3e7076._0xd21608,0x2ed,_0x3e7076._0x2dd944,_0x3e7076._0x5a2e50)](0x1));let _0x5c28af=_0x2cad22[_0x105e36(0x2eb,_0x3e7076._0x2f747c,0x2ea,_0x3e7076._0x4a5f16)],_0x1de5a5=[];for(let _0xd8beb8 of _0x5c28af)_0x1de5a5[_0x105e36(_0x3e7076._0x4e3f6d,_0x3e7076._0x120e8f,_0x3e7076._0x3d99d3,_0x3e7076._0xdc79e6)](..._0x2b62fc(_0xd8beb8));let _0x355624=null;for(let _0x5dde31=_0x5c28af['length']-0x1;_0x5dde31>=0x0;_0x5dde31--)if(_0x5c28af[_0x5dde31][_0x105e36(_0x3e7076._0x2e1e34,_0x3e7076._0x417eae,_0x3e7076._0x308f43,_0x3e7076._0x5362b7)]===_0x4331f8(-0x1a0,-_0x3e7076._0x575fd8,-_0x3e7076._0x1e7054,-_0x3e7076._0x146e46)){_0x355624={'totalTokens':0x0};break;}console[_0x105e36(0x2ef,0x2f4,_0x3e7076._0x22eb69,_0x3e7076._0x183ce0)](),console[_0x4331f8(-0x1b3,-0x1a9,-_0x3e7076._0x59b65b,-_0x3e7076._0x595d67)]('\x1bc');let {waitUntilExit:_0x9089b4}=_0x56c75f(_0x33f39c(S,{'messages':_0x1de5a5,'metadata':_0x355624,'messageCount':_0x5c28af[_0x105e36(_0x3e7076._0xa7e01e,0x2d9,_0x3e7076._0x183ce0,0x2ea)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x9089b4();}catch(_0xc0e0c5){if(_0xc0e0c5[_0x4331f8(-0x1c5,-_0x3e7076._0x539a72,-0x1b5,-_0x3e7076._0x575fd8)]===_0x105e36(0x2ea,0x2e4,_0x3e7076._0x50daca,0x2e8))console['error'](_0x105e36(_0x3e7076._0x52b73e,0x2d8,_0x3e7076._0xf3f075,_0x3e7076._0x69a4ff)+this[_0x4331f8(-0x1ab,-0x1b0,-0x1a7,-_0x3e7076._0x3435c2)]);else{if(_0xc0e0c5 instanceof SyntaxError)console[_0x4331f8(-0x19a,-_0x3e7076._0x5aedca,-_0x3e7076._0x43c669,-_0x3e7076._0x283345)]('Error:\x20Invalid\x20JSON\x20in\x20history\x20file:\x20'+this[_0x105e36(0x2ed,_0x3e7076._0x1f07b9,0x2f0,_0x3e7076._0xf3f075)]);else{let _0xe13c0e=_0xc0e0c5 instanceof Error?_0xc0e0c5['message']:String(_0xc0e0c5);console[_0x4331f8(-0x1b2,-_0x3e7076._0x5aedca,-_0x3e7076._0x32f768,-0x198)](_0x4331f8(-0x1aa,-_0x3e7076._0x4abc51,-0x198,-0x19e)+_0xe13c0e);}}process[_0x105e36(_0x3e7076._0xe1191,0x2fb,0x2f5,0x2e5)](0x1);}}};export{P as DemoMode};
@@ -1 +0,0 @@
1
- function _0x2666(_0x49140c,_0xeb7c36){_0x49140c=_0x49140c-0x87;var _0xa45f18=_0xa45f();var _0x266694=_0xa45f18[_0x49140c];if(_0x2666['ylAdeR']===undefined){var _0x1b246a=function(_0x2215e5){var _0x18d04b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x48f825='',_0x4e91ac='';for(var _0x53f34c=0x0,_0x423785,_0x19600f,_0x1dd299=0x0;_0x19600f=_0x2215e5['charAt'](_0x1dd299++);~_0x19600f&&(_0x423785=_0x53f34c%0x4?_0x423785*0x40+_0x19600f:_0x19600f,_0x53f34c++%0x4)?_0x48f825+=String['fromCharCode'](0xff&_0x423785>>(-0x2*_0x53f34c&0x6)):0x0){_0x19600f=_0x18d04b['indexOf'](_0x19600f);}for(var _0x4998bf=0x0,_0x3f9119=_0x48f825['length'];_0x4998bf<_0x3f9119;_0x4998bf++){_0x4e91ac+='%'+('00'+_0x48f825['charCodeAt'](_0x4998bf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4e91ac);};_0x2666['utMgwH']=_0x1b246a,_0x2666['SLPPkl']={},_0x2666['ylAdeR']=!![];}var _0x5c6a4f=_0xa45f18[0x0],_0x854a4b=_0x49140c+_0x5c6a4f,_0x31b37d=_0x2666['SLPPkl'][_0x854a4b];return!_0x31b37d?(_0x266694=_0x2666['utMgwH'](_0x266694),_0x2666['SLPPkl'][_0x854a4b]=_0x266694):_0x266694=_0x31b37d,_0x266694;}function _0xa45f(){var _0x5e5544=['mZu5odyWnu1mEfP1AW','ndm1ufDYA1Pq','odG4mJHUvgD1ugK','ntmWntuZmurLvunLwq','mtm4ntiYme1OAKLTvW','mtzowhzsDMC','mJnVuhrlzMG','nZCXmZmZm2DqtgjjBG','mJGXodb5sLr5yxi','ote1mdm2nLD2rhrJvW'];_0xa45f=function(){return _0x5e5544;};return _0xa45f();}(function(_0x445430,_0x1b63f9){var _0x17b815={_0x48cd45:0xee,_0x5f41c2:0x2d2,_0x18b949:0x2d0,_0x1e27ed:0x2ce,_0x461630:0x2c9,_0x5cd5d3:0x2d6,_0x27c0c2:0x2d7,_0x2a8389:0x2cc,_0x2b216:0xe4,_0x1c0da1:0xed,_0x43af62:0xea,_0x4bd352:0x2d1,_0x5d0e20:0x2d5,_0x4fbcea:0x2da,_0x4654d2:0x2d2},_0x13e40a={_0x159dda:0x246},_0x48cdb0={_0x503dd1:0x5f},_0x47146a=_0x445430();function _0x691132(_0xcd2faf,_0x3df17a,_0x4999d7,_0x456925){return _0x2666(_0x456925-_0x48cdb0._0x503dd1,_0x3df17a);}function _0x4d2db5(_0x4ed39c,_0x48dab9,_0x22f516,_0x4d4ebe){return _0x2666(_0x48dab9-_0x13e40a._0x159dda,_0x4d4ebe);}while(!![]){try{var _0x158bce=-parseInt(_0x691132(0xf2,_0x17b815._0x48cd45,_0x17b815._0x48cd45,0xed))/0x1*(-parseInt(_0x4d2db5(_0x17b815._0x5f41c2,_0x17b815._0x18b949,_0x17b815._0x18b949,0x2cd))/0x2)+parseInt(_0x4d2db5(0x2cd,_0x17b815._0x1e27ed,_0x17b815._0x461630,0x2d0))/0x3+-parseInt(_0x4d2db5(0x2da,_0x17b815._0x5cd5d3,0x2d1,_0x17b815._0x27c0c2))/0x4*(-parseInt(_0x4d2db5(0x2d3,0x2cf,_0x17b815._0x2a8389,_0x17b815._0x1e27ed))/0x5)+-parseInt(_0x691132(_0x17b815._0x2b216,0xe2,0xeb,0xe6))/0x6+-parseInt(_0x691132(_0x17b815._0x1c0da1,0xe6,0xe9,_0x17b815._0x43af62))/0x7*(parseInt(_0x4d2db5(0x2d2,0x2d3,0x2cf,_0x17b815._0x4bd352))/0x8)+parseInt(_0x4d2db5(0x2d7,_0x17b815._0x5d0e20,0x2d2,_0x17b815._0x4fbcea))/0x9+parseInt(_0x4d2db5(_0x17b815._0x4bd352,_0x17b815._0x4654d2,0x2d5,0x2d6))/0xa;if(_0x158bce===_0x1b63f9)break;else _0x47146a['push'](_0x47146a['shift']());}catch(_0x5b477a){_0x47146a['push'](_0x47146a['shift']());}}}(_0xa45f,0xc087c));import{a,b,c,d,e,f}from'./chunk-63FEQAKE.js';export{b as createNewSession,e as getSessionDir,c as loadHistoryFromFile,d as loadSessionHistory,a as scanAvailableSessions,f as useSessionManagement};