@nuvin/nuvin-cli 1.36.0-rc.14 → 1.36.0-rc.15

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(_0x30d6b6,_0x35585e){const _0x44d2df={_0x17ffe2:0x3e9,_0x1b6477:0x3c,_0x26f32b:0x38,_0x925d67:0x31,_0x2d6843:0x37,_0x5ba31f:0x1e,_0x3f1029:0x3d7,_0x30d0cc:0x3e8,_0x1fcf88:0x3db,_0x3fd493:0x3ce,_0x2b01b4:0x3df,_0x1ab303:0x3ec,_0x35dff5:0x3da,_0x2b9231:0x3ca,_0xff188b:0x3cb,_0x5d3771:0x3a,_0x146273:0x46,_0x290ae2:0x2a,_0x4d66b3:0x3cf,_0x523974:0x3c1,_0x32ebf7:0x3ca,_0x47fb65:0x3e3,_0x31b975:0x4e,_0x4fde8b:0x62,_0x34cb26:0x61},_0x3a619a={_0x1c1085:0x151};function _0x546b49(_0x490aab,_0x19be08,_0x272732,_0x3f1b6d){return _0x1013(_0x490aab- -_0x3a619a._0x1c1085,_0x3f1b6d);}function _0x41168f(_0x37c739,_0x37cdf8,_0x226933,_0x494454){return _0x1013(_0x37cdf8-0x24f,_0x226933);}const _0x4686ad=_0x30d6b6();while(!![]){try{const _0x5dbfc1=parseInt(_0x41168f(0x3de,0x3db,_0x44d2df._0x17ffe2,0x3d5))/0x1+-parseInt(_0x546b49(_0x44d2df._0x1b6477,_0x44d2df._0x26f32b,0x32,0x2a))/0x2+parseInt(_0x546b49(_0x44d2df._0x925d67,_0x44d2df._0x2d6843,0x2c,_0x44d2df._0x5ba31f))/0x3*(-parseInt(_0x41168f(_0x44d2df._0x3f1029,_0x44d2df._0x30d0cc,0x3e0,0x3f8))/0x4)+parseInt(_0x41168f(_0x44d2df._0x1fcf88,_0x44d2df._0x3fd493,0x3d0,_0x44d2df._0x2b01b4))/0x5*(parseInt(_0x41168f(0x3e0,0x3e4,_0x44d2df._0x1ab303,_0x44d2df._0x35dff5))/0x6)+parseInt(_0x41168f(_0x44d2df._0x1fcf88,_0x44d2df._0x2b9231,_0x44d2df._0xff188b,0x3d2))/0x7*(parseInt(_0x546b49(_0x44d2df._0x5d3771,0x43,_0x44d2df._0x146273,_0x44d2df._0x290ae2))/0x8)+parseInt(_0x41168f(0x3cb,_0x44d2df._0x4d66b3,0x3c2,_0x44d2df._0x523974))/0x9*(-parseInt(_0x41168f(_0x44d2df._0x32ebf7,0x3d0,_0x44d2df._0x47fb65,0x3cd))/0xa)+parseInt(_0x546b49(_0x44d2df._0x31b975,_0x44d2df._0x4fde8b,0x5d,_0x44d2df._0x34cb26))/0xb;if(_0x5dbfc1===_0x35585e)break;else _0x4686ad['push'](_0x4686ad['shift']());}catch(_0x840799){_0x4686ad['push'](_0x4686ad['shift']());}}}(_0x3a7c,0x59119));import{C as _0x111374,L as _0x5ade63,P as _0x39457e,R as _0x4cba6c,Y as _0x5ea074,ia as _0x3c4174,m as _0x2dc90b,q as _0x6135ba}from'./chunk-2JALC5EN.js';import{e as _0xf9dd69}from'./chunk-BCLZT6CC.js';function _0x1013(_0x25d4f7,_0x2ac978){_0x25d4f7=_0x25d4f7-0x17a;const _0x3a7cc5=_0x3a7c();let _0x101311=_0x3a7cc5[_0x25d4f7];if(_0x1013['OlOjHg']===undefined){var _0x5c3868=function(_0x15eec5){const _0x5a187c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x111374='',_0x5ade63='';for(let _0x39457e=0x0,_0x4cba6c,_0x5ea074,_0x3c4174=0x0;_0x5ea074=_0x15eec5['charAt'](_0x3c4174++);~_0x5ea074&&(_0x4cba6c=_0x39457e%0x4?_0x4cba6c*0x40+_0x5ea074:_0x5ea074,_0x39457e++%0x4)?_0x111374+=String['fromCharCode'](0xff&_0x4cba6c>>(-0x2*_0x39457e&0x6)):0x0){_0x5ea074=_0x5a187c['indexOf'](_0x5ea074);}for(let _0x2dc90b=0x0,_0x6135ba=_0x111374['length'];_0x2dc90b<_0x6135ba;_0x2dc90b++){_0x5ade63+='%'+('00'+_0x111374['charCodeAt'](_0x2dc90b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ade63);};_0x1013['ShHJTn']=_0x5c3868,_0x1013['OHWFpU']={},_0x1013['OlOjHg']=!![];}const _0x2bff2d=_0x3a7cc5[0x0],_0x1be88a=_0x25d4f7+_0x2bff2d,_0x45b3bb=_0x1013['OHWFpU'][_0x1be88a];return!_0x45b3bb?(_0x101311=_0x1013['ShHJTn'](_0x101311),_0x1013['OHWFpU'][_0x1be88a]=_0x101311):_0x101311=_0x45b3bb,_0x101311;}import'./chunk-NHBPZPAB.js';import'./chunk-RY5MYNSA.js';import'./chunk-BWIY46RS.js';import'./chunk-3YTWOK4O.js';function _0x3a7c(){const _0x5b6142=['y29Kzq','CM9Szq','EwvSBg93','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','AgLZDg9YEvbHDgG','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','zgvTBW','rxjYB3iGBg9HzgLUzYbKzw1VoIa','mtqYnJrduMHOuva','mJK1Bw9vALjb','nJaYnZC2qMP5zKLN','CgfYC2u','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','DxrMltG','Bg9N','ChvZAa','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','BgvUz3rO','mZi4oeHNwgLLta','Aw5Zzxj0','y2XLyxi','rgvTBYbnB2rL','mteZmZi0qxn4yLnR','ru5pru5u','zxjYB3i','y3DK','zxHPDa','C2LUz2XL','otG4ntCYmMfcquviDW','CNvU','BwvZC2fNzq','mJm3m3jeueP0yq','yxnZAxn0yw50','zgvMyxvSDa','mtaWjq','nJGWBNnkwNLu','owjhBw9mua','mJG4ndy3mgHmqLHhuq','nJz1q2DtB1u'];_0x3a7c=function(){return _0x5b6142;};return _0x3a7c();}import'./chunk-AJHDLTY3.js';import{useEffect as _0x5fadbd}from'react';import{render as _0x261137}from'ink';import{Box as _0x4c9945,Text as _0x1a109e,useApp as _0x5c4a7b}from'ink';import*as _0x3a1fdc from'fs/promises';import*as _0x2fe0ec from'path';import{jsx as _0x460196,jsxs as _0x150192}from'react/jsx-runtime';function N({messages:_0xabda14,messageCount:_0x4dc759}){const _0x68e3c8={_0x4b95d8:0x1ec,_0xb8f79c:0x1ec,_0x446724:0x1e1,_0x28062e:0x1cc,_0x426b68:0x19c,_0x48c289:0x1a9,_0x597fb2:0x1b6,_0x171b17:0x1a5,_0x1d4a48:0x1a6,_0x561a48:0x1ad,_0x2a5f48:0x191,_0x1d3663:0x1a3,_0x2141bd:0x1eb,_0x317d92:0x201,_0x5c5474:0x1db,_0x2a218d:0x1ce,_0x5731e8:0x1da},_0x3be639={_0x459428:0x341};function _0xceb10b(_0x323967,_0x523f17,_0x671563,_0x128e8f){return _0x1013(_0x323967- -0x373,_0x523f17);}let {exit:_0x2cc8b0}=_0x5c4a7b();function _0x46d9a0(_0x3484e5,_0x28ba96,_0x7aa7d8,_0x1b378b){return _0x1013(_0x1b378b- -_0x3be639._0x459428,_0x28ba96);}return _0x5fadbd(()=>{let _0x525e0a=setTimeout(()=>{_0x2cc8b0();},0x12c);return()=>clearTimeout(_0x525e0a);},[_0x2cc8b0]),_0x150192(_0x4c9945,{'flexDirection':'column','height':_0xceb10b(-0x1f5,-_0x68e3c8._0x4b95d8,-0x1e4,-_0x68e3c8._0xb8f79c),'width':_0xceb10b(-0x1f5,-0x1ec,-_0x68e3c8._0x446724,-0x1fb),'children':[_0x460196(_0x5ade63,{'messages':_0xabda14},_0x46d9a0(-0x1b7,-_0x68e3c8._0x28062e,-0x1c4,-0x1b8)),_0x460196(_0x5ea074,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x460196(_0x4cba6c,{'status':_0x46d9a0(-0x1bb,-_0x68e3c8._0x426b68,-0x1ad,-_0x68e3c8._0x48c289),'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x46d9a0(-_0x68e3c8._0x597fb2,-0x1a4,-0x1bb,-0x1ab),'workingDirectory':process[_0x46d9a0(-0x1b4,-0x198,-0x19d,-_0x68e3c8._0x171b17)]()}),_0x460196(_0x4c9945,{'paddingX':0x1,'borderStyle':_0x46d9a0(-_0x68e3c8._0x1d4a48,-_0x68e3c8._0x561a48,-_0x68e3c8._0x2a5f48,-_0x68e3c8._0x1d3663),'borderColor':_0xceb10b(-0x1ee,-_0x68e3c8._0x2141bd,-_0x68e3c8._0x317d92,-0x1f9),'marginTop':-0x1,'children':_0x150192(_0x1a109e,{'color':'yellow','children':[_0xceb10b(-0x1e0,-_0x68e3c8._0x5c5474,-_0x68e3c8._0x2a218d,-0x1d9),_0x4dc759,_0xceb10b(-0x1e4,-_0x68e3c8._0x5731e8,-0x1da,-0x1e8)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0xe1699e,metadata:_0x20c269,messageCount:_0x5575ba}){return _0x460196(_0x111374,{'children':_0x460196(_0x39457e,{'initialConfig':b,'children':_0x460196(_0x6135ba,{'children':_0x460196(_0x2dc90b,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x376f7f=>console['error'](_0x376f7f),'children':_0x460196(_0x3c4174,{'children':_0x460196(N,{'messages':_0xe1699e,'metadata':_0x20c269,'messageCount':_0x5575ba})})})})})});}var P=class{constructor(_0x40f1ea){const _0x2ae60d={_0x345358:0x110,_0x1263ce:0x104,_0x53a70e:0x106};function _0x3fbb48(_0x475780,_0x3e46a5,_0xfa4f7f,_0x4aaf80){return _0x1013(_0x4aaf80- -0x74,_0x475780);}this[_0x3fbb48(_0x2ae60d._0x345358,_0x2ae60d._0x1263ce,_0x2ae60d._0x53a70e,0x113)]=_0x40f1ea;}async[_0x58804e(0x57a,0x576,0x56c,0x56a)](){const _0x50952d={_0x3fb731:0x6,_0x5da144:0x4,_0x939dea:0x3,_0x6eb876:0xb,_0x183ee4:0x1d,_0x119662:0xc,_0x3c9927:0x4,_0x94a2a2:0x1f,_0x217e85:0x4ed,_0x4a64be:0x4ea,_0xe0b2a4:0x4fc,_0x72f259:0xc,_0x4c29e9:0x6,_0x542cb7:0x1a,_0x3edb78:0xa,_0x434694:0x17,_0x5b150f:0xf,_0x55a212:0x2,_0x1d6a4c:0xe,_0x4489f8:0x4de,_0x4f2d76:0x4e2,_0x154125:0x4e5,_0x36f957:0x4ec,_0x5d057e:0x4e8,_0x5ca7c9:0x4dd,_0x298e51:0x500,_0x1509be:0x4eb,_0x380bfd:0x13,_0x36f4c3:0x1,_0x4ba4ea:0x9,_0x31493b:0x4db,_0x3a2f98:0x4d3,_0x310e5c:0x4d1,_0x119b00:0x4da,_0x2e76db:0x4db,_0x3966fe:0x4bb,_0x15b9c6:0x4cd,_0x929d01:0x4ef,_0x3c7bd8:0x4dd,_0xa05b7:0x4e9,_0x259393:0x4de,_0x5e021c:0x4fd};function _0x46e462(_0x3e6168,_0x1566d2,_0x232b4c,_0x125e3f){return _0x58804e(_0x3e6168-0x3e,_0x232b4c,_0x232b4c-0x10a,_0x3e6168- -0x552);}function _0x496d00(_0x4846ab,_0x539883,_0x301cfc,_0x5c0828){return _0x58804e(_0x4846ab-0x10e,_0x4846ab,_0x301cfc-0x192,_0x301cfc- -0x76);}try{let _0x4f60d6=_0x2fe0ec['resolve'](this['historyPath']),_0x2f0d2a=await _0x3a1fdc['readFile'](_0x4f60d6,_0x46e462(0x8,0x0,-0x7,0x16)),_0x833caa=JSON[_0x46e462(_0x50952d._0x3fb731,-_0x50952d._0x5da144,0xf,_0x50952d._0x939dea)](_0x2f0d2a);(!_0x833caa['default']||_0x833caa[_0x46e462(-_0x50952d._0x6eb876,-_0x50952d._0x183ee4,-0x3,0x0)][_0x46e462(_0x50952d._0x119662,-_0x50952d._0x3c9927,0xd,_0x50952d._0x94a2a2)]===0x0)&&(console[_0x496d00(_0x50952d._0x217e85,_0x50952d._0x4a64be,0x4ef,_0x50952d._0xe0b2a4)]('Error:\x20No\x20messages\x20found\x20in\x20history\x20file'),process[_0x46e462(0x15,_0x50952d._0x72f259,0x1a,_0x50952d._0x4c29e9)](0x1));let _0x3c1b34=_0x833caa[_0x46e462(-0xb,-0x11,0x8,-_0x50952d._0x542cb7)],_0x399a88=[];for(let _0x1de0f6 of _0x3c1b34)_0x399a88[_0x46e462(_0x50952d._0x3edb78,_0x50952d._0x434694,-0x7,0x13)](..._0xf9dd69(_0x1de0f6));let _0x995de2=null;for(let _0x550d5c=_0x3c1b34['length']-0x1;_0x550d5c>=0x0;_0x550d5c--)if(_0x3c1b34[_0x550d5c][_0x46e462(-0x4,_0x50952d._0x5b150f,0x9,_0x50952d._0x55a212)]===_0x46e462(-0xc,-_0x50952d._0x55a212,-0x14,-_0x50952d._0x1d6a4c)){_0x995de2={'totalTokens':0x0};break;}console[_0x496d00(0x4ec,0x4e1,0x4eb,0x4ef)](),console[_0x496d00(_0x50952d._0x4489f8,_0x50952d._0x4f2d76,_0x50952d._0x154125,0x4d8)]('\x1bc');let {waitUntilExit:_0x2942e0}=_0x261137(_0x460196(S,{'messages':_0x399a88,'metadata':_0x995de2,'messageCount':_0x3c1b34[_0x496d00(_0x50952d._0x36f957,0x4ef,_0x50952d._0x5d057e,_0x50952d._0x5ca7c9)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x2942e0();}catch(_0x495779){if(_0x495779[_0x46e462(-0x5,0x5,0x0,-_0x50952d._0x6eb876)]===_0x496d00(0x4e2,_0x50952d._0x298e51,0x4ee,_0x50952d._0x1509be))console[_0x46e462(_0x50952d._0x380bfd,_0x50952d._0x36f4c3,0x3,0x27)](_0x46e462(0x0,0x7,-_0x50952d._0x4ba4ea,-_0x50952d._0x72f259)+this[_0x496d00(0x4e9,0x4ec,_0x50952d._0x31493b,_0x50952d._0x3a2f98)]);else{if(_0x495779 instanceof SyntaxError)console[_0x46e462(0x13,0xf,0x4,0x23)](_0x496d00(_0x50952d._0x3a2f98,_0x50952d._0x310e5c,_0x50952d._0x119b00,_0x50952d._0x2e76db)+this['historyPath']);else{let _0x5d221e=_0x495779 instanceof Error?_0x495779[_0x496d00(_0x50952d._0x3966fe,_0x50952d._0x15b9c6,0x4ce,_0x50952d._0x5ca7c9)]:String(_0x495779);console[_0x496d00(0x4e8,0x4ec,_0x50952d._0x929d01,_0x50952d._0x3c7bd8)](_0x496d00(_0x50952d._0xa05b7,_0x50952d._0x4a64be,_0x50952d._0x259393,0x4d8)+_0x5d221e);}}process[_0x496d00(0x4df,0x4f8,0x4f1,_0x50952d._0x5e021c)](0x1);}}};function _0x58804e(_0x30b86c,_0x38f23f,_0x128655,_0x506d81){const _0x327207={_0x11b773:0x3ca};return _0x1013(_0x506d81-_0x327207._0x11b773,_0x38f23f);}export{P as DemoMode};