@nuvin/nuvin-cli 1.15.0 → 1.15.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 _0xd71f(_0x52dae5,_0x585939){_0x52dae5=_0x52dae5-0x129;const _0x21ea7f=_0x21ea();let _0xd71f97=_0x21ea7f[_0x52dae5];if(_0xd71f['PEAKxc']===undefined){var _0x3f2b8e=function(_0x354b54){const _0x4828c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2efb81='',_0x2604ff='';for(let _0x4eb459=0x0,_0x5d4b0e,_0x18829e,_0x505ff3=0x0;_0x18829e=_0x354b54['charAt'](_0x505ff3++);~_0x18829e&&(_0x5d4b0e=_0x4eb459%0x4?_0x5d4b0e*0x40+_0x18829e:_0x18829e,_0x4eb459++%0x4)?_0x2efb81+=String['fromCharCode'](0xff&_0x5d4b0e>>(-0x2*_0x4eb459&0x6)):0x0){_0x18829e=_0x4828c1['indexOf'](_0x18829e);}for(let _0x10fdd2=0x0,_0x4c97bf=_0x2efb81['length'];_0x10fdd2<_0x4c97bf;_0x10fdd2++){_0x2604ff+='%'+('00'+_0x2efb81['charCodeAt'](_0x10fdd2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2604ff);};_0xd71f['dMiQKk']=_0x3f2b8e,_0xd71f['WUlRwi']={},_0xd71f['PEAKxc']=!![];}const _0x4a2190=_0x21ea7f[0x0],_0x255850=_0x52dae5+_0x4a2190,_0x5f3ad1=_0xd71f['WUlRwi'][_0x255850];return!_0x5f3ad1?(_0xd71f97=_0xd71f['dMiQKk'](_0xd71f97),_0xd71f['WUlRwi'][_0x255850]=_0xd71f97):_0xd71f97=_0x5f3ad1,_0xd71f97;}(function(_0x251834,_0x2e9d43){const _0x101aa7={_0xfee1fa:0x316,_0xf20f3d:0x312,_0x3fe52e:0x4cf,_0x3232d5:0x4e0,_0x38aa77:0x4e0,_0x8e0dbc:0x4e0,_0x295a8a:0x4e5,_0x1e5fc4:0x4e3,_0x301dca:0x4eb,_0x262303:0x4fd,_0x17210c:0x310,_0x49b506:0x30c,_0x19596a:0x30e,_0x245055:0x30b,_0x1fbca5:0x313,_0x2efc1b:0x4e1},_0x290e48={_0xe5491c:0x3b5};function _0x144304(_0xc52c71,_0x42e247,_0x119300,_0x1e8e85){return _0xd71f(_0x42e247-0x1d6,_0xc52c71);}const _0x170baa=_0x251834();function _0x4a4b3d(_0x55fcd5,_0xf6487c,_0x5932fc,_0x2df92e){return _0xd71f(_0x2df92e-_0x290e48._0xe5491c,_0x55fcd5);}while(!![]){try{const _0x3fe789=parseInt(_0x144304(0x319,_0x101aa7._0xfee1fa,_0x101aa7._0xf20f3d,0x31b))/0x1+-parseInt(_0x4a4b3d(_0x101aa7._0x3fe52e,0x4e0,0x4da,0x4de))/0x2*(parseInt(_0x4a4b3d(0x4e7,_0x101aa7._0x3232d5,_0x101aa7._0x38aa77,_0x101aa7._0x8e0dbc))/0x3)+-parseInt(_0x4a4b3d(0x4f1,_0x101aa7._0x295a8a,0x4ef,_0x101aa7._0x1e5fc4))/0x4+-parseInt(_0x144304(0x314,0x31d,0x310,0x314))/0x5+parseInt(_0x4a4b3d(0x4f6,0x4f4,_0x101aa7._0x301dca,_0x101aa7._0x262303))/0x6*(parseInt(_0x144304(_0x101aa7._0x17210c,_0x101aa7._0x49b506,_0x101aa7._0x19596a,0x312))/0x7)+parseInt(_0x144304(0x311,_0x101aa7._0x245055,_0x101aa7._0x1fbca5,0x309))/0x8*(-parseInt(_0x4a4b3d(0x4e8,0x4e3,0x4db,_0x101aa7._0x2efc1b))/0x9)+parseInt(_0x144304(0x302,0x309,0x311,0x30a))/0xa;if(_0x3fe789===_0x2e9d43)break;else _0x170baa['push'](_0x170baa['shift']());}catch(_0x7f8561){_0x170baa['push'](_0x170baa['shift']());}}}(_0x21ea,0x92be9));import{D as _0x2efb81,F as _0x2604ff,J as _0x4eb459,U as _0x5d4b0e,f as _0x18829e,m as _0x505ff3,x as _0x10fdd2,z as _0x4c97bf}from'./chunk-P3DX73Z7.js';import{d as _0x5048d6}from'./chunk-CIGVGDJE.js';function _0x151818(_0x55e7ed,_0x9e78fd,_0x1692ea,_0x248c0d){return _0xd71f(_0x55e7ed-0x175,_0x9e78fd);}import'./chunk-OKIB4TPM.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x4f14da}from'react';import{render as _0x5bcb1a}from'ink';import{Box as _0x26b6fe,Text as _0x6336e5,useApp as _0x3458cf}from'ink';import*as _0x50dc3f from'fs/promises';import*as _0x48675b from'path';import{jsx as _0xe730c9,jsxs as _0x4a2924}from'react/jsx-runtime';function N({messages:_0x5eec3b,messageCount:_0x847f90}){const _0x44350f={_0x475171:0x2b0,_0x208809:0x2bf,_0x3a6396:0xda,_0x1de5e9:0xe8,_0x22612b:0xd7,_0x59bc63:0xd7,_0x6c5f39:0xc8,_0x564957:0xdc},_0x55dcdd={_0x5b86a6:0x17e};function _0x27660a(_0x1257c0,_0x77be6e,_0x2ff55e,_0x47be80){return _0xd71f(_0x77be6e- -0x56,_0x2ff55e);}let {exit:_0x252c35}=_0x3458cf();function _0x1c6177(_0x7b023c,_0x1ca3bf,_0x121c27,_0x3004a5){return _0xd71f(_0x3004a5-_0x55dcdd._0x5b86a6,_0x1ca3bf);}return _0x4f14da(()=>{let _0x1e4639=setTimeout(()=>{_0x252c35();},0x12c);return()=>clearTimeout(_0x1e4639);},[_0x252c35]),_0x4a2924(_0x26b6fe,{'flexDirection':'column','height':'100%','width':_0x1c6177(0x2a0,0x2b6,0x2ba,_0x44350f._0x475171),'children':[_0xe730c9(_0x4c97bf,{'messages':_0x5eec3b},'demo'),_0xe730c9(_0x4eb459,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0xe730c9(_0x2604ff,{'status':_0x1c6177(0x2ca,_0x44350f._0x208809,0x2d3,0x2c4),'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x27660a(0xd3,_0x44350f._0x3a6396,0xca,_0x44350f._0x1de5e9),'workingDirectory':process['cwd']()}),_0xe730c9(_0x26b6fe,{'paddingX':0x1,'borderStyle':_0x27660a(_0x44350f._0x22612b,0xde,0xd5,0xe0),'borderColor':_0x1c6177(0x2bb,0x2d8,0x2c5,0x2c9),'marginTop':-0x1,'children':_0x4a2924(_0x6336e5,{'color':'yellow','children':['🎨\x20Demo\x20Mode\x20-\x20Loaded\x20',_0x847f90,_0x27660a(0xe7,_0x44350f._0x59bc63,_0x44350f._0x6c5f39,_0x44350f._0x564957)]})})]});}function _0x21ea(){const _0x1dc110=['ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','mZa3mJi5nMjKD1LyrG','yxnZAxn0yw50','Aw5Zzxj0','y2XP','mtaWjq','mJGYmtC5mdbev0jRBgK','C2LUz2XL','mtCXnJHxyLfAzeG','ntu5mdLmvfHisu8','Bg9N','CgfYC2u','BwvZC2fNzq','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','CM9Szq','DxrMltG','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','AgLZDg9YEvbHDgG','CMvZB2X2zq','odqYmtGXANLpq2zu','CNvU','y29Kzq','zxjYB3i','zxHPDa','BgvUz3rO','rgvTBYbnB2rL','mJi0nZKWnu1IA3zcCa','mZKWy0Ltr3D4','rxjYB3iGBg9HzgLUzYbKzw1VoIa','ChvZAa','EwvSBg93','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','ntiWwNflu1n6','CMvHzezPBgu','mtm2mZHbCNrVt3q','ndK1ovPIvhvHAq'];_0x21ea=function(){return _0x1dc110;};return _0x21ea();}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x2bfa52,metadata:_0xe4db16,messageCount:_0x241346}){const _0xf46c92={_0x2bb2a5:0x14e};function _0x2f5b46(_0x15c706,_0x28168b,_0x784481,_0xabb38a){return _0xd71f(_0x784481-_0xf46c92._0x2bb2a5,_0xabb38a);}return _0xe730c9(_0x10fdd2,{'children':_0xe730c9(_0x2efb81,{'initialConfig':b,'children':_0xe730c9(_0x505ff3,{'children':_0xe730c9(_0x18829e,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x536fb9=>console[_0x2f5b46(0x28e,0x2a2,0x291,0x299)](_0x536fb9),'children':_0xe730c9(_0x5d4b0e,{'children':_0xe730c9(N,{'messages':_0x2bfa52,'metadata':_0xe4db16,'messageCount':_0x241346})})})})})});}var P=class{constructor(_0x219aee){const _0x1cde6a={_0x44ed1d:0x52,_0x4f4f48:0x5c,_0x5e8bde:0x64},_0xa629eb={_0x2da9a0:0xec};function _0x481ad4(_0x5ff6fd,_0x1f39fd,_0x2b9eba,_0x122525){return _0xd71f(_0x1f39fd- -_0xa629eb._0x2da9a0,_0x122525);}this[_0x481ad4(0x59,_0x1cde6a._0x44ed1d,_0x1cde6a._0x4f4f48,_0x1cde6a._0x5e8bde)]=_0x219aee;}async[_0x151818(0x2b6,0x2a6,0x2ab,0x2b9)](){const _0x20934b={_0x2ae9ed:0x176,_0x5885c8:0x16b,_0x3e3565:0x177,_0x3ae158:0x18a,_0x2ce60d:0x27c,_0x833345:0x288,_0x3d0fb3:0x285,_0x1bb66b:0x272,_0x518bef:0x282,_0xf0a748:0x28e,_0xbe3800:0x289,_0x34ddcf:0x172,_0x2a72f3:0x16e,_0x51b1ba:0x168,_0x2566ee:0x169,_0x844283:0x175,_0x62520c:0x17b,_0x5079a2:0x169,_0x29c37a:0x26a,_0x571eec:0x27d,_0x577112:0x287,_0x40be88:0x278,_0x2b6766:0x26c,_0x2f1302:0x26c,_0x2d4169:0x25b,_0x2d1782:0x17e,_0x374d7f:0x286,_0x408648:0x274,_0x5d32c4:0x167,_0x4f001e:0x181,_0x5c0c30:0x17a,_0x246a16:0x178,_0x10e523:0x189,_0x5a7c4b:0x183,_0x2e8439:0x26b,_0x41006c:0x26b,_0x139bc7:0x27d,_0x247e22:0x277,_0x442ebf:0x280,_0x16a263:0x281,_0x274a95:0x290,_0x135953:0x27b,_0x416075:0x170,_0x298215:0x183,_0x480c24:0x16c,_0x164631:0x271,_0x11d86f:0x289,_0x13bcfe:0x297,_0xa49299:0x283,_0x13d139:0x285},_0x2fe77b={_0x1f4f4d:0x42a,_0x5416ca:0x103},_0x200995={_0x448249:0x38,_0x5d8564:0xf0};function _0x48c6ac(_0x4b764d,_0x5ac620,_0x139634,_0x50be0e){return _0x151818(_0x5ac620- -_0x200995._0x448249,_0x139634,_0x139634-_0x200995._0x5d8564,_0x50be0e-0x105);}function _0x3f3278(_0x4d30f4,_0x15a783,_0x40058c,_0x182fe1){return _0x151818(_0x4d30f4- -_0x2fe77b._0x1f4f4d,_0x15a783,_0x40058c-0x38,_0x182fe1-_0x2fe77b._0x5416ca);}try{let _0x39c7fe=_0x48675b[_0x3f3278(-_0x20934b._0x2ae9ed,-_0x20934b._0x5885c8,-0x188,-0x16f)](this[_0x3f3278(-_0x20934b._0x3e3565,-0x173,-0x183,-0x176)]),_0x482fb6=await _0x50dc3f[_0x3f3278(-0x18b,-0x186,-0x197,-_0x20934b._0x3ae158)](_0x39c7fe,_0x48c6ac(_0x20934b._0x2ce60d,0x279,_0x20934b._0x833345,_0x20934b._0x3d0fb3)),_0x4f62ad=JSON[_0x3f3278(-0x17d,-0x18e,-_0x20934b._0x2ae9ed,-0x18c)](_0x482fb6);(!_0x4f62ad['cli']||_0x4f62ad['cli'][_0x48c6ac(_0x20934b._0x1bb66b,_0x20934b._0x518bef,_0x20934b._0xf0a748,_0x20934b._0xbe3800)]===0x0)&&(console[_0x3f3278(-_0x20934b._0x34ddcf,-_0x20934b._0x2a72f3,-0x166,-_0x20934b._0x51b1ba)](_0x3f3278(-_0x20934b._0x2566ee,-_0x20934b._0x34ddcf,-0x175,-_0x20934b._0x844283)),process[_0x3f3278(-0x171,-_0x20934b._0x62520c,-_0x20934b._0x5079a2,-0x16b)](0x1));let _0x428e58=_0x4f62ad[_0x48c6ac(0x26a,0x26e,_0x20934b._0x29c37a,0x27f)],_0xf8f49f=[];for(let _0xd2e18 of _0x428e58)_0xf8f49f[_0x48c6ac(_0x20934b._0x571eec,_0x20934b._0x577112,0x285,0x299)](..._0x5048d6(_0xd2e18));let _0x42cdb5=null;for(let _0x269a69=_0x428e58[_0x48c6ac(0x27e,_0x20934b._0x518bef,0x28b,0x289)]-0x1;_0x269a69>=0x0;_0x269a69--)if(_0x428e58[_0x269a69][_0x48c6ac(0x26c,_0x20934b._0x40be88,_0x20934b._0x2b6766,0x27d)]===_0x48c6ac(0x261,_0x20934b._0x2f1302,0x265,_0x20934b._0x2d4169)){_0x42cdb5={'totalTokens':0x0};break;}console['clear'](),console[_0x3f3278(-_0x20934b._0x2d1782,-0x172,-_0x20934b._0x62520c,-0x176)]('\x1bc');let {waitUntilExit:_0x30f605}=_0x5bcb1a(_0xe730c9(S,{'messages':_0xf8f49f,'metadata':_0x42cdb5,'messageCount':_0x428e58[_0x48c6ac(_0x20934b._0x374d7f,0x282,0x27a,_0x20934b._0x408648)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x30f605();}catch(_0xe9f974){if(_0xe9f974[_0x3f3278(-0x173,-_0x20934b._0x5d32c4,-0x169,-0x164)]==='ENOENT')console[_0x3f3278(-0x172,-_0x20934b._0x4f001e,-0x16d,-_0x20934b._0x5c0c30)](_0x3f3278(-_0x20934b._0x246a16,-_0x20934b._0x5079a2,-_0x20934b._0x10e523,-_0x20934b._0x5a7c4b)+this[_0x48c6ac(_0x20934b._0x2e8439,0x27b,_0x20934b._0x41006c,_0x20934b._0x139bc7)]);else{if(_0xe9f974 instanceof SyntaxError)console[_0x48c6ac(_0x20934b._0x247e22,_0x20934b._0x442ebf,_0x20934b._0x16a263,_0x20934b._0x274a95)](_0x48c6ac(0x271,_0x20934b._0x247e22,0x271,_0x20934b._0x135953)+this[_0x3f3278(-_0x20934b._0x3e3565,-_0x20934b._0x416075,-_0x20934b._0x298215,-_0x20934b._0x480c24)]);else{let _0x42dc8d=_0xe9f974 instanceof Error?_0xe9f974[_0x3f3278(-0x17c,-0x18c,-_0x20934b._0x246a16,-0x183)]:String(_0xe9f974);console[_0x48c6ac(_0x20934b._0x164631,0x280,0x284,0x280)](_0x48c6ac(_0x20934b._0x11d86f,0x286,_0x20934b._0x13bcfe,0x292)+_0x42dc8d);}}process[_0x48c6ac(_0x20934b._0xa49299,_0x20934b._0x16a263,_0x20934b._0x13d139,0x27f)](0x1);}}};export{P as DemoMode};