@nuvin/nuvin-cli 1.9.2 → 1.10.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-AJHDLTY3.js +1 -1
- package/dist/chunk-BJASH6JU.js +1 -1
- package/dist/chunk-CVZ34Z6X.js +1 -0
- package/dist/chunk-IBBR3QGZ.js +1 -0
- package/dist/chunk-NWZGLSYF.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-MW54IF33.js +1 -0
- package/dist/messageProcessor-6VTRO5TD.js +1 -1
- package/dist/profile-handler-Q2IML5ME.js +1 -1
- package/dist/useSessionManagement-HOAUUUWR.js +1 -0
- package/package.json +2 -2
- package/dist/chunk-LVUEHBHE.js +0 -1
- package/dist/chunk-XPU55FDM.js +0 -1
- package/dist/demo-mode-QC6RZX7G.js +0 -1
- package/dist/useSessionManagement-PNTXHKVN.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x1401d6,_0x552f22){const _0x1c59f2={_0x1aa418:0x22d,_0x36d78f:0x230,_0x10ee89:0x18a,_0x2bb1df:0x179,_0x68dd30:0x21e,_0x5ead8a:0x21d,_0x21f1f3:0x213,_0x368262:0x167,_0x45c125:0x174,_0x208db4:0x165,_0x126d04:0x15e,_0x5869bc:0x189,_0xe84614:0x181,_0x5e5f77:0x189,_0x1a14b2:0x231,_0x27d1a0:0x221,_0x111810:0x23b,_0x551cf8:0x238,_0x38176d:0x234,_0x495fc7:0x240,_0x5883d3:0x229,_0x52d84a:0x229},_0x1b5bc8={_0x58c319:0x356},_0x248c5e={_0x24509e:0x4e};function _0x4cd136(_0x2521b8,_0x18e7b1,_0x30686b,_0x3443c5){return _0x108e(_0x2521b8-_0x248c5e._0x24509e,_0x30686b);}const _0x16e887=_0x1401d6();function _0xe43fbe(_0x2565fc,_0xb9d307,_0xe1ca63,_0x591f23){return _0x108e(_0xe1ca63- -_0x1b5bc8._0x58c319,_0x2565fc);}while(!![]){try{const _0xf85c1c=-parseInt(_0x4cd136(0x234,0x23e,_0x1c59f2._0x1aa418,_0x1c59f2._0x36d78f))/0x1*(-parseInt(_0xe43fbe(-_0x1c59f2._0x10ee89,-_0x1c59f2._0x2bb1df,-0x186,-0x17d))/0x2)+-parseInt(_0x4cd136(0x222,0x226,_0x1c59f2._0x68dd30,0x212))/0x3+parseInt(_0xe43fbe(-0x188,-0x17c,-0x17d,-0x176))/0x4+-parseInt(_0x4cd136(_0x1c59f2._0x5ead8a,0x21c,_0x1c59f2._0x21f1f3,0x22b))/0x5*(parseInt(_0xe43fbe(-_0x1c59f2._0x368262,-_0x1c59f2._0x45c125,-0x16d,-_0x1c59f2._0x208db4))/0x6)+parseInt(_0xe43fbe(-0x175,-_0x1c59f2._0x126d04,-0x16a,-0x170))/0x7+-parseInt(_0xe43fbe(-_0x1c59f2._0x5869bc,-0x185,-_0x1c59f2._0xe84614,-_0x1c59f2._0x5e5f77))/0x8*(parseInt(_0x4cd136(_0x1c59f2._0x1a14b2,0x235,0x224,_0x1c59f2._0x27d1a0))/0x9)+parseInt(_0x4cd136(_0x1c59f2._0x111810,_0x1c59f2._0x551cf8,_0x1c59f2._0x38176d,_0x1c59f2._0x495fc7))/0xa*(parseInt(_0x4cd136(_0x1c59f2._0x551cf8,_0x1c59f2._0x5883d3,_0x1c59f2._0x52d84a,0x232))/0xb);if(_0xf85c1c===_0x552f22)break;else _0x16e887['push'](_0x16e887['shift']());}catch(_0x1a9ffe){_0x16e887['push'](_0x16e887['shift']());}}}(_0x2a7d,0x2f0bb));function _0x2a7d(){const _0x5cd75e=['oxvUwfbeva','CMvZB2X2zq','EwvSBg93','mJaXmdCXu0DKzvnA','CMvHzezPBgu','DxrMltG','mta4nLjxy0PhCG','mtfKCfPVqvi','y29Kzq','mJq3mtu5nvPeuefVEG','mtm4mty0mgL6wM14wq','AgLZDg9YEvbHDgG','C2LUz2XL','zgvTBW','ntiXmeDKzfLVvG','mMnRANvQDW','CgfYC2u','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','y29SDw1U','ntqZmZC4DNv2uuPN','mtC4nJu0ne5iChbdwq','mtaWjq','y2XLyxi','CM9Szq','mZCZnZaWy2PRCeLM','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','ChvZAa','y2XP','BwvZC2fNzq','BgvUz3rO','zxHPDa','ru5pru5u','zxjYB3i','Aw5Zzxj0'];_0x2a7d=function(){return _0x5cd75e;};return _0x2a7d();}import{D as _0x2f2cfb,F as _0x32376a,J as _0x1837cb,V as _0x26c190,f as _0x3b71fa,m as _0x3ef659,x as _0x1004e5,z as _0x37c6bf}from'./chunk-XPU55FDM.js';import{d as _0x30d605}from'./chunk-NWZGLSYF.js';import'./chunk-LVUEHBHE.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';import{useEffect as _0x7840a}from'react';import{render as _0x2bf548}from'ink';import{Box as _0x22603b,Text as _0x574e3e,useApp as _0x4b80f5}from'ink';function _0x108e(_0x4e30b7,_0x3da5be){const _0x2a7d42=_0x2a7d();return _0x108e=function(_0x108efb,_0x4ca685){_0x108efb=_0x108efb-0x1ce;let _0x51d032=_0x2a7d42[_0x108efb];if(_0x108e['nYnjTE']===undefined){var _0x26ec37=function(_0x2f2cfb){const _0x32376a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1837cb='',_0x26c190='';for(let _0x3b71fa=0x0,_0x3ef659,_0x1004e5,_0x37c6bf=0x0;_0x1004e5=_0x2f2cfb['charAt'](_0x37c6bf++);~_0x1004e5&&(_0x3ef659=_0x3b71fa%0x4?_0x3ef659*0x40+_0x1004e5:_0x1004e5,_0x3b71fa++%0x4)?_0x1837cb+=String['fromCharCode'](0xff&_0x3ef659>>(-0x2*_0x3b71fa&0x6)):0x0){_0x1004e5=_0x32376a['indexOf'](_0x1004e5);}for(let _0x30d605=0x0,_0x7840a=_0x1837cb['length'];_0x30d605<_0x7840a;_0x30d605++){_0x26c190+='%'+('00'+_0x1837cb['charCodeAt'](_0x30d605)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26c190);};_0x108e['HLjtps']=_0x26ec37,_0x4e30b7=arguments,_0x108e['nYnjTE']=!![];}const _0x895d2e=_0x2a7d42[0x0],_0x44ab5b=_0x108efb+_0x895d2e,_0x2b335f=_0x4e30b7[_0x44ab5b];return!_0x2b335f?(_0x51d032=_0x108e['HLjtps'](_0x51d032),_0x4e30b7[_0x44ab5b]=_0x51d032):_0x51d032=_0x2b335f,_0x51d032;},_0x108e(_0x4e30b7,_0x3da5be);}import*as _0x5cfec6 from'fs/promises';import*as _0x16f2d1 from'path';import{jsx as _0x1b248f,jsxs as _0x9692f6}from'react/jsx-runtime';function N({messages:_0x2e9318,messageCount:_0x1dd291}){const _0x3aeeb1={_0x56e0fd:0x53d,_0x2e1dab:0x53b,_0x48028b:0x530,_0x15923f:0x1b3,_0x35e6f4:0x1bd,_0x2fb35f:0x1b9,_0x4b34d8:0x1ae,_0x17e892:0x1b4,_0x79d8f9:0x193,_0x5e87be:0x1b0,_0x33f614:0x542,_0x5e2e41:0x54a,_0x45e381:0x528},_0x50c29a={_0x182df8:0x35d};function _0x31366c(_0x1c60f7,_0x36d92a,_0x204d57,_0x29c126){return _0x108e(_0x1c60f7- -0x390,_0x29c126);}let {exit:_0x423153}=_0x4b80f5();function _0x352019(_0xe39192,_0x4e3198,_0x4cc4cf,_0x57c742){return _0x108e(_0x4cc4cf-_0x50c29a._0x182df8,_0xe39192);}return _0x7840a(()=>{let _0x2190ca=setTimeout(()=>{_0x423153();},0x12c);return()=>clearTimeout(_0x2190ca);},[_0x423153]),_0x9692f6(_0x22603b,{'flexDirection':_0x352019(_0x3aeeb1._0x56e0fd,_0x3aeeb1._0x2e1dab,_0x3aeeb1._0x48028b,0x532),'height':_0x31366c(-0x1ba,-_0x3aeeb1._0x15923f,-0x1c6,-_0x3aeeb1._0x35e6f4),'width':_0x31366c(-0x1ba,-_0x3aeeb1._0x2fb35f,-0x1ac,-0x1b8),'children':[_0x1b248f(_0x37c6bf,{'messages':_0x2e9318},_0x352019(0x536,0x538,0x52b,0x51c)),_0x1b248f(_0x1837cb,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x1b248f(_0x32376a,{'status':'Demo\x20Mode','toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x31366c(-_0x3aeeb1._0x4b34d8,-_0x3aeeb1._0x17e892,-0x1bd,-0x1a7),'workingDirectory':process['cwd']()}),_0x1b248f(_0x22603b,{'paddingX':0x1,'borderStyle':_0x31366c(-0x1a1,-_0x3aeeb1._0x79d8f9,-0x1ae,-_0x3aeeb1._0x5e87be),'borderColor':'yellow','marginTop':-0x1,'children':_0x9692f6(_0x574e3e,{'color':_0x352019(0x53c,0x542,_0x3aeeb1._0x33f614,_0x3aeeb1._0x5e2e41),'children':['🎨\x20Demo\x20Mode\x20-\x20Loaded\x20',_0x1dd291,_0x352019(0x52d,_0x3aeeb1._0x45e381,0x537,0x540)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x43f60b,metadata:_0x57c38f,messageCount:_0xf6386}){const _0x5b9705={_0x11f170:0x226};function _0x62d201(_0x276ac7,_0x52244f,_0x9b9a03,_0x840935){return _0x108e(_0x840935- -_0x5b9705._0x11f170,_0x9b9a03);}return _0x1b248f(_0x1004e5,{'children':_0x1b248f(_0x2f2cfb,{'initialConfig':b,'children':_0x1b248f(_0x3ef659,{'children':_0x1b248f(_0x3b71fa,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x4987ae=>console[_0x62d201(-0x37,-0x46,-0x36,-0x45)](_0x4987ae),'children':_0x1b248f(_0x26c190,{'children':_0x1b248f(N,{'messages':_0x43f60b,'metadata':_0x57c38f,'messageCount':_0xf6386})})})})})});}var P=class{constructor(_0x332414){const _0x50a3c3={_0x46f048:0x3ba,_0x3ac425:0x3b7},_0x11d1d5={_0xdb38ba:0x1c9};function _0x2f7387(_0x4960d4,_0xa082d2,_0x14a025,_0x45da1b){return _0x108e(_0xa082d2-_0x11d1d5._0xdb38ba,_0x14a025);}this[_0x2f7387(_0x50a3c3._0x46f048,_0x50a3c3._0x3ac425,0x3be,0x3a6)]=_0x332414;}async['run'](){const _0x4db602={_0x167706:0x4f3,_0x552c32:0x4e5,_0x1f1b1b:0x55e,_0x533a7b:0x4f6,_0x507cc0:0x4f9,_0x3afe76:0x4f6,_0x400aee:0x54d,_0x471263:0x551,_0x4474d0:0x4e0,_0xbfd9a4:0x4e5,_0x21b51a:0x4eb,_0x277f44:0x4f1,_0xdb6f83:0x4f4,_0x5d9407:0x543,_0x5c2e66:0x535,_0x5322af:0x54c,_0x22076c:0x541,_0x1543fb:0x546,_0x51b559:0x538,_0x449c86:0x541,_0x1cd6d0:0x544,_0x7e7a63:0x4ee,_0x363de1:0x4ee,_0x416656:0x53c,_0x4b3d48:0x53b,_0xbd5fb8:0x4fc,_0x5352dc:0x54d,_0x5635db:0x554,_0x198a00:0x4fc,_0xbd7b4f:0x4ef,_0x1cb5c1:0x553,_0x112ba8:0x53e,_0x452eea:0x52f,_0x5e6377:0x535,_0x480df8:0x4fd,_0x47998a:0x4ec,_0x572fb4:0x4e7,_0x41c1b9:0x4de,_0x1cb5c3:0x4e2,_0x1e058d:0x4dd,_0x10b193:0x4e4},_0x3d0dff={_0x49712a:0x365};function _0x550e01(_0x59a473,_0xfecfa2,_0x5cd558,_0x10b3b5){return _0x108e(_0x59a473-0x30f,_0xfecfa2);}function _0x5e9489(_0x235223,_0x495dec,_0x16bb58,_0x563954){return _0x108e(_0x235223-_0x3d0dff._0x49712a,_0x495dec);}try{let _0x3013c3=_0x16f2d1[_0x550e01(_0x4db602._0x167706,_0x4db602._0x552c32,0x4f9,0x4e6)](this[_0x5e9489(0x553,0x54c,_0x4db602._0x1f1b1b,0x559)]),_0x39abb4=await _0x5cfec6[_0x550e01(_0x4db602._0x533a7b,0x4ed,_0x4db602._0x507cc0,_0x4db602._0x3afe76)](_0x3013c3,_0x5e9489(_0x4db602._0x400aee,_0x4db602._0x471263,0x541,0x544)),_0x4be5b3=JSON[_0x550e01(_0x4db602._0x4474d0,0x4d1,_0x4db602._0xbfd9a4,0x4dd)](_0x39abb4);(!_0x4be5b3[_0x550e01(_0x4db602._0x21b51a,_0x4db602._0x277f44,_0x4db602._0xdb6f83,0x4e2)]||_0x4be5b3['cli'][_0x5e9489(_0x4db602._0x5d9407,_0x4db602._0x5c2e66,_0x4db602._0x5322af,_0x4db602._0x471263)]===0x0)&&(console['error']('Error:\x20No\x20messages\x20found\x20in\x20history\x20file'),process['exit'](0x1));let _0x5325c9=_0x4be5b3[_0x5e9489(_0x4db602._0x22076c,_0x4db602._0x1543fb,_0x4db602._0x51b559,0x540)],_0x565bf1=[];for(let _0x179414 of _0x5325c9)_0x565bf1[_0x5e9489(0x540,0x54a,0x530,0x54c)](..._0x30d605(_0x179414));let _0x424580=null;for(let _0x52d4af=_0x5325c9[_0x5e9489(0x543,_0x4db602._0x449c86,_0x4db602._0x1cd6d0,0x54e)]-0x1;_0x52d4af>=0x0;_0x52d4af--)if(_0x5325c9[_0x52d4af][_0x550e01(0x4e7,0x4e8,_0x4db602._0x7e7a63,_0x4db602._0x363de1)]==='assistant'){_0x424580={'totalTokens':0x0};break;}console[_0x5e9489(_0x4db602._0x416656,0x53d,0x543,_0x4db602._0x4b3d48)](),console['log']('\x1bc');let {waitUntilExit:_0x41947b}=_0x2bf548(_0x1b248f(S,{'messages':_0x565bf1,'metadata':_0x424580,'messageCount':_0x5325c9[_0x550e01(0x4ed,0x4df,_0x4db602._0xbd5fb8,0x4f6)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x41947b();}catch(_0x96543b){if(_0x96543b[_0x5e9489(0x550,0x54d,0x551,_0x4db602._0x5352dc)]===_0x5e9489(0x545,_0x4db602._0x5635db,0x54d,0x53d))console[_0x550e01(0x4f0,_0x4db602._0x198a00,_0x4db602._0xbd7b4f,0x4f6)]('Error:\x20History\x20file\x20not\x20found:\x20'+this[_0x5e9489(_0x4db602._0x1cb5c1,0x54b,_0x4db602._0x5322af,_0x4db602._0x5d9407)]);else{if(_0x96543b instanceof SyntaxError)console[_0x5e9489(0x546,0x553,_0x4db602._0x112ba8,0x539)](_0x5e9489(0x537,_0x4db602._0x452eea,_0x4db602._0x5e6377,_0x4db602._0x5c2e66)+this[_0x550e01(0x4fd,0x4ec,0x4f8,_0x4db602._0x480df8)]);else{let _0x4651ca=_0x96543b instanceof Error?_0x96543b[_0x550e01(_0x4db602._0x47998a,0x4e4,_0x4db602._0x572fb4,_0x4db602._0x41c1b9)]:String(_0x96543b);console[_0x5e9489(0x546,0x550,0x54b,0x553)]('Error\x20loading\x20demo:\x20'+_0x4651ca);}}process[_0x550e01(0x4ee,_0x4db602._0x1cb5c3,_0x4db602._0x1e058d,_0x4db602._0x10b193)](0x1);}}};export{P as DemoMode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x14ce1c,_0xa90a05){var _0xbce336={_0x378923:0x3ac,_0x1e8682:0x3ae,_0xe5fb:0x3b0,_0x1c647f:0x3b0,_0xee72f7:0x3b3,_0x21a691:0x3a9,_0x57a494:0x3ae,_0x49257e:0x3ad,_0x2900f4:0x3ab,_0xd25c40:0x3a9,_0xbef708:0x38c,_0x5347bd:0x386,_0x25f735:0x38c,_0x4341c4:0x38f,_0x16887d:0x38d,_0x327d0f:0x38d},_0x49b958={_0x54b867:0x21a};function _0x5e07dc(_0x19719c,_0xdd3fa,_0x1c481f,_0x126fc3){return _0x39ff(_0x126fc3-_0x49b958._0x54b867,_0xdd3fa);}function _0x51c6c3(_0x2042e3,_0x54c6cd,_0x3e9c58,_0x3fc1e0){return _0x39ff(_0x2042e3-0x23e,_0x3e9c58);}var _0x130fb5=_0x14ce1c();while(!![]){try{var _0x512516=parseInt(_0x51c6c3(_0xbce336._0x378923,0x3ac,0x3b0,0x3ab))/0x1+parseInt(_0x51c6c3(_0xbce336._0x1e8682,_0xbce336._0x1e8682,0x3aa,0x3aa))/0x2*(-parseInt(_0x51c6c3(_0xbce336._0xe5fb,_0xbce336._0x1c647f,0x3ae,0x3ad))/0x3)+-parseInt(_0x51c6c3(0x3ad,_0xbce336._0xee72f7,0x3ad,_0xbce336._0x21a691))/0x4*(-parseInt(_0x5e07dc(0x390,0x389,0x390,0x38b))/0x5)+-parseInt(_0x51c6c3(0x3b2,_0xbce336._0x57a494,_0xbce336._0x49257e,0x3b2))/0x6+parseInt(_0x51c6c3(_0xbce336._0x2900f4,_0xbce336._0xd25c40,0x3a7,0x3ae))/0x7*(-parseInt(_0x5e07dc(_0xbce336._0xbef708,0x389,0x38a,_0xbce336._0x5347bd))/0x8)+-parseInt(_0x51c6c3(0x3a9,0x3ae,0x3a9,0x3a5))/0x9*(parseInt(_0x5e07dc(_0xbce336._0x25f735,0x395,0x393,0x38f))/0xa)+parseInt(_0x5e07dc(_0xbce336._0x4341c4,_0xbce336._0x16887d,0x38a,_0xbce336._0x327d0f))/0xb;if(_0x512516===_0xa90a05)break;else _0x130fb5['push'](_0x130fb5['shift']());}catch(_0x1d85d8){_0x130fb5['push'](_0x130fb5['shift']());}}}(_0x3cfa,0x57f27));import{a,b,c,d,e,f}from'./chunk-LVUEHBHE.js';function _0x39ff(_0x26c386,_0x3099c9){var _0x3cfaa3=_0x3cfa();return _0x39ff=function(_0x39ff0d,_0x2432f0){_0x39ff0d=_0x39ff0d-0x16b;var _0x2569f2=_0x3cfaa3[_0x39ff0d];if(_0x39ff['qMNhXO']===undefined){var _0x2e8873=function(_0x1b94f2){var _0x436ea0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1bdc86='',_0x5445db='';for(var _0x12b065=0x0,_0x105c8a,_0x28aea3,_0x8975c6=0x0;_0x28aea3=_0x1b94f2['charAt'](_0x8975c6++);~_0x28aea3&&(_0x105c8a=_0x12b065%0x4?_0x105c8a*0x40+_0x28aea3:_0x28aea3,_0x12b065++%0x4)?_0x1bdc86+=String['fromCharCode'](0xff&_0x105c8a>>(-0x2*_0x12b065&0x6)):0x0){_0x28aea3=_0x436ea0['indexOf'](_0x28aea3);}for(var _0x33f244=0x0,_0x505d5b=_0x1bdc86['length'];_0x33f244<_0x505d5b;_0x33f244++){_0x5445db+='%'+('00'+_0x1bdc86['charCodeAt'](_0x33f244)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5445db);};_0x39ff['heIQJO']=_0x2e8873,_0x26c386=arguments,_0x39ff['qMNhXO']=!![];}var _0x1bab76=_0x3cfaa3[0x0],_0x44bbcd=_0x39ff0d+_0x1bab76,_0x36d5c7=_0x26c386[_0x44bbcd];return!_0x36d5c7?(_0x2569f2=_0x39ff['heIQJO'](_0x2569f2),_0x26c386[_0x44bbcd]=_0x2569f2):_0x2569f2=_0x36d5c7,_0x2569f2;},_0x39ff(_0x26c386,_0x3099c9);}export{b as createNewSession,e as getSessionDir,c as loadHistoryFromFile,d as loadSessionHistory,a as scanAvailableSessions,f as useSessionManagement};function _0x3cfa(){var _0x33d271=['mJyYotiXmKLjENzAza','nti5mZuWyuTIugjJ','mtHrDhjAy3i','odq3mKnnBxfrsa','mZeYouLWCKDQyG','mJK4mZqWqunOvfP5','mteWntyZmMDrENrjzW','mtK5nZm0A3zTtMXt','mtbqww1vz0S','ouvxu2r2qq','ota4nZmZmxLsuMLMsG'];_0x3cfa=function(){return _0x33d271;};return _0x3cfa();}
|