@nuvin/nuvin-cli 1.32.0 β†’ 1.33.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/README.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # @nuvin/nuvin-cli
2
2
 
3
- Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
3
+ Interactive AI coding assistant for the terminal.
4
+ Your terminal, your choice of model, your rulesβ€”nothing hidden.
4
5
 
5
6
  ## Features
6
7
 
7
- - **πŸ€– Multi-Provider AI Support** - GitHub Models, OpenRouter, ZAI, Anthropic, and Echo providers
8
- - **πŸ‘₯ Multi-Agent System** - Delegate tasks to specialist agents (code reviewer, tester, architect, etc.)
9
- - **πŸ› οΈ Rich Toolset** - File operations, web search, bash execution, and MCP integration
10
- - **πŸ’¬ Memory Management** - Conversation history persistence and in-memory context
11
- - **πŸ”§ Configuration Management** - Layered config system with CLI overrides (global, local, explicit, env, direct)
12
- - **🎯 Tool Approval** - Optional manual approval before executing tools (sudo mode)
13
- - **πŸ“ Built-in Commands** - Session management, auth, history, agents, and more
14
- - **🎨 Theme System** - Customizable terminal themes
8
+ **Provider Freedom** β€” Use any LLM provider without lock-in. Supports OpenRouter, Anthropic, GitHub Models, DeepInfra, ZAI, Moonshot, Kimi, MiniMax out of the box. Switch models mid-conversation.
9
+
10
+ **Multi-Agent Delegation** β€” Spawn specialist agents for focused tasks like security audits or code investigation. Each agent runs in isolated context with session resumption support.
11
+
12
+ **Native Code Intelligence** β€” Built-in LSP integration for go-to-definition, find references, hover information, and real-time diagnostics. Understand your codebase, not just pattern match.
13
+
14
+ **Modern TUI** β€” React/Ink-based terminal interface with vim mode, virtualized rendering for large outputs, and session statistics.
15
+
16
+ **Configuration Profiles** β€” Maintain separate configurations for different projects, teams, or workflows. Layer global, workspace, and CLI settings.
17
+
18
+ **MCP Extensibility** β€” Extend capabilities with Model Context Protocol servers. Add custom tools without modifying core code.
19
+
20
+ **Session Persistence** β€” Resume previous conversations with full context. Export, browse, and manage conversation history.
21
+
22
+ **Controlled Execution** β€” Optional sudo mode for manual tool approval. Review and approve file edits, bash commands, and web requests before execution.
15
23
 
16
24
  ## Installation
17
25
 
@@ -1 +1 @@
1
- function _0x185ea5(_0x46c81f,_0x4f530a,_0x1c8b3f,_0x230443){return _0x4451(_0x4f530a- -0x333,_0x46c81f);}(function(_0x40324d,_0x3f9eb5){const _0x1891b6={_0xddfdc4:0x215,_0x345cb1:0x20a,_0x515140:0x208,_0x188dc7:0x4cf,_0x589850:0x4d5,_0x145c75:0x4c7,_0x1761fd:0x1ec,_0x40cc4d:0x1fd,_0x3836e2:0x1ff,_0x38735f:0x1fa,_0x2154f0:0x4de,_0x381784:0x4ce,_0x406681:0x4d3,_0x116266:0x4b9,_0x393827:0x20a,_0x4dd0de:0x202,_0x10d85b:0x1f2,_0x583150:0x207,_0x32301b:0x200,_0x5bf703:0x1ee,_0x176ddb:0x20b,_0xb21424:0x214,_0x56fac3:0x20c},_0x5565ce={_0x5e97be:0x3c6};function _0x22416e(_0x3b5103,_0x2ac198,_0x47352c,_0x1dd6f1){return _0x4451(_0x2ac198-0x305,_0x1dd6f1);}const _0x178ca7=_0x40324d();function _0x4396bc(_0x62a37d,_0x58a567,_0x5e780e,_0x10d3ad){return _0x4451(_0x5e780e- -_0x5565ce._0x5e97be,_0x62a37d);}while(!![]){try{const _0x98bdb8=parseInt(_0x4396bc(-0x20e,-0x20c,-0x202,-_0x1891b6._0xddfdc4))/0x1*(-parseInt(_0x4396bc(-0x1f9,-_0x1891b6._0x345cb1,-_0x1891b6._0x515140,-0x207))/0x2)+-parseInt(_0x22416e(_0x1891b6._0x188dc7,_0x1891b6._0x589850,_0x1891b6._0x145c75,0x4e3))/0x3*(parseInt(_0x4396bc(-_0x1891b6._0x1761fd,-_0x1891b6._0x40cc4d,-_0x1891b6._0x3836e2,-_0x1891b6._0x38735f))/0x4)+-parseInt(_0x22416e(0x4d6,0x4d7,_0x1891b6._0x2154f0,_0x1891b6._0x381784))/0x5+parseInt(_0x22416e(_0x1891b6._0x406681,0x4c2,0x4b9,_0x1891b6._0x116266))/0x6*(parseInt(_0x4396bc(-_0x1891b6._0x393827,-_0x1891b6._0x3836e2,-0x205,-0x1f6))/0x7)+-parseInt(_0x4396bc(-_0x1891b6._0x4dd0de,-0x201,-_0x1891b6._0x10d85b,-0x1ef))/0x8+-parseInt(_0x4396bc(-0x1f0,-_0x1891b6._0x583150,-_0x1891b6._0x32301b,-_0x1891b6._0x5bf703))/0x9+parseInt(_0x4396bc(-_0x1891b6._0x176ddb,-_0x1891b6._0xb21424,-_0x1891b6._0x56fac3,-0x204))/0xa;if(_0x98bdb8===_0x3f9eb5)break;else _0x178ca7['push'](_0x178ca7['shift']());}catch(_0x5335be){_0x178ca7['push'](_0x178ca7['shift']());}}}(_0x29f4,0x5cebb));import{exec as _0x49d436,spawn as _0x3dc1fc}from'child_process';function _0x4451(_0x19201c,_0x5983f3){_0x19201c=_0x19201c-0x1b4;const _0x29f48f=_0x29f4();let _0x44519c=_0x29f48f[_0x19201c];if(_0x4451['fLxtMO']===undefined){var _0x3785a5=function(_0xa4c519){const _0x2adb0f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49d436='',_0x3dc1fc='';for(let _0x16228b=0x0,_0x16b68e,_0x5eb806,_0x37f503=0x0;_0x5eb806=_0xa4c519['charAt'](_0x37f503++);~_0x5eb806&&(_0x16b68e=_0x16228b%0x4?_0x16b68e*0x40+_0x5eb806:_0x5eb806,_0x16228b++%0x4)?_0x49d436+=String['fromCharCode'](0xff&_0x16b68e>>(-0x2*_0x16228b&0x6)):0x0){_0x5eb806=_0x2adb0f['indexOf'](_0x5eb806);}for(let _0xcb8afb=0x0,_0x15953b=_0x49d436['length'];_0xcb8afb<_0x15953b;_0xcb8afb++){_0x3dc1fc+='%'+('00'+_0x49d436['charCodeAt'](_0xcb8afb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3dc1fc);};_0x4451['VDZZsC']=_0x3785a5,_0x4451['hTsaAM']={},_0x4451['fLxtMO']=!![];}const _0x31ee53=_0x29f48f[0x0],_0x2a754b=_0x19201c+_0x31ee53,_0x1d0a8b=_0x4451['hTsaAM'][_0x2a754b];return!_0x1d0a8b?(_0x44519c=_0x4451['VDZZsC'](_0x44519c),_0x4451['hTsaAM'][_0x2a754b]=_0x44519c):_0x44519c=_0x1d0a8b,_0x44519c;}import{promisify as _0x16228b}from'util';function _0x29f4(){const _0x42b64c=['ndeXyKr6q0DO','EwfYBG','ndC0nJbQwwT6ugy','B25vCgrHDgvdB21WBgv0zwq','mtG5ndCYogHcweHiqq','lY55yxjUlW','l25WBs8','EwfYBIbNBg9IywWGBgLZDcaTlxbHDhrLCM4Gqg51DMLUl251DMLUlwnSAsaYpI9KzxyVBNvSBa','AwDUB3jL','Cg5WBsbHzgqGlwCG','ywXS','l3LHCM4V','BwvZC2fNzq','B25vCgrHDgvbDMfPBgfIBgu','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','CMvHzgXPBMSGiG','mtG5otu3nZb3r21hv20','B25vCgrHDgvtDgfYDgvK','qg51DMLUl251DMLUlwnSAq','mZziD1LMAMe','odK4Aur2Bu9i','y2HLy2TgB3jvCgrHDgu','lI9vCgrHDgvdAgvJA2vYltjmqu0Zutu2lMPZ','nJm2nZqXuKzAv3fO','BNbT','B25fCNjVCG','mtuYm0DxBxjWDa','Cg5WBq','nJuWmZy5n2jwCKjHra','mtiWmJHZr0XoshO','Dw5Yzwy','y2HLy2TbBMrvCgrHDgu','zxjYB3i','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','DhjPBq','Aw5JBhvKzxm','BNbTigLUC3rHBgWGlwCG','l3bUCg0V'];_0x29f4=function(){return _0x42b64c;};return _0x29f4();}var v=_0x16228b(_0x49d436),d=_0x185ea5(-0x176,-0x177,-0x166,-0x177);async function a(_0x16b68e,_0x5eb806){const _0x86ac6f={_0x4a3951:0x193,_0x55993e:0x196,_0x1f5163:0x19f},_0x120f90={_0x5b065:0x2a,_0x1a35ae:0x15c,_0x2f28ea:0x2b};function _0x154b16(_0x42cc19,_0x12454c,_0x272332,_0x22acbf){return _0x185ea5(_0x42cc19,_0x22acbf- -_0x120f90._0x5b065,_0x272332-_0x120f90._0x1a35ae,_0x22acbf-_0x120f90._0x2f28ea);}try{let {stdout:_0x37f503}=await v(_0x16b68e,{'timeout':_0x5eb806});return _0x37f503[_0x154b16(-_0x86ac6f._0x4a3951,-_0x86ac6f._0x55993e,-_0x86ac6f._0x1f5163,-0x191)]();}catch{return null;}}var h;(_0xcb8afb=>{const _0x357045={_0x1e0a3d:0x117},_0x3163ad={_0x4fe25f:0xba,_0x125fb3:0xbc,_0x4a2fd0:0x3f8,_0x432f62:0x3e3,_0x340504:0xca,_0x45ca2a:0xad,_0x2df199:0x3f2,_0x5d4b0e:0x403,_0x274644:0x406,_0x31a527:0x410,_0x31e357:0xb3,_0xfea920:0xb7,_0x5b8b2e:0x3f6,_0x179912:0x3fd,_0x4bd0e3:0x406,_0x4f1f72:0x405,_0x4c0332:0x401},_0x5678a1={_0x207691:0x16e,_0x149e81:0x175,_0x44b2c9:0x188,_0x365385:0x43f,_0x1cb83b:0x435},_0x57702d={_0x105ed2:0x4f,_0x243576:0x7c},_0x977659={_0xbeabde:0x1be,_0x263794:0x1d1,_0x1b8844:0x1b6,_0x3d5d2f:0x1b6,_0x394ea0:0x1c7,_0xcb7721:0x1b3,_0xbc09e4:0x1a3,_0xf02c4f:0x1b4},_0x271970={_0x5af07b:0x1b},_0x2dca03={_0x4ee7f4:0x18f,_0x122110:0xee,_0x3bdffa:0xeb,_0x199c7b:0xf0,_0x2c757e:0xf4,_0x47886c:0x103,_0x2e5fb0:0xfa,_0x4e29d0:0xf2,_0x2e3f6e:0xf7,_0x5aa5ae:0x19c,_0x15a41a:0x187,_0x49cbe9:0x189,_0x3e6061:0xfe,_0x88c8fa:0x101,_0x49b064:0x181,_0x250cbd:0x181,_0x26de12:0x194,_0x320895:0x189,_0x15ba63:0xed,_0x45be3b:0xf0,_0x4cd04d:0xe9,_0x5f562b:0x179,_0x21d06f:0xec,_0x296f69:0xf3,_0x28926d:0xfc,_0x16731f:0xf7,_0x33224c:0xe4,_0x3d364d:0x192,_0x1d10c6:0x175,_0x3c3bd4:0xfd,_0xa343c9:0xf6,_0x392414:0xea,_0x3f8220:0x1b5,_0x3653f3:0x190,_0x3f34ec:0x1a2,_0x42cd57:0xf0,_0x21303b:0x16f,_0x168b75:0x17f,_0x2f128b:0xfe,_0x2aaeff:0x18b,_0x2a8c57:0x188,_0x309fef:0xe3,_0x1ea7fe:0xe1,_0x28b1dd:0xea,_0x241cc4:0xe2,_0x859908:0xde},_0x1ecb36={_0x90ea4f:0xdb};async function _0x15953b(){const _0x370feb={_0x10759e:0x356};let _0x18d196=await a('which\x20nuvin',0xbb8);function _0x50592e(_0x2a5ff2,_0xf6e430,_0x1cdc60,_0x3d1c21){return _0x4451(_0xf6e430- -_0x1ecb36._0x90ea4f,_0x1cdc60);}if(_0x18d196){let _0x27e445=await a(_0x524340(-0x193,-_0x2dca03._0x4ee7f4,-0x1ae,-0x19d)+_0x18d196+'\x22',0xbb8);if(_0x27e445){if(_0x27e445[_0x50592e(_0x2dca03._0x122110,0xf2,_0x2dca03._0x3bdffa,_0x2dca03._0x199c7b)](_0x50592e(0xe2,_0x2dca03._0x2c757e,0x106,_0x2dca03._0x47886c))||_0x27e445[_0x50592e(_0x2dca03._0x2e5fb0,_0x2dca03._0x4e29d0,_0x2dca03._0x2e3f6e,0xec)]('/.pnpm/'))return _0x524340(-0x17f,-0x186,-_0x2dca03._0x5aa5ae,-0x191);if(_0x27e445[_0x524340(-0x183,-0x18a,-_0x2dca03._0x15a41a,-_0x2dca03._0x49cbe9)]('/yarn/')||_0x27e445[_0x50592e(_0x2dca03._0x3e6061,_0x2dca03._0x4e29d0,0xf9,_0x2dca03._0x88c8fa)](_0x524340(-0x180,-_0x2dca03._0x49b064,-0x192,-_0x2dca03._0x250cbd)))return _0x50592e(0x103,0xf6,0xe5,0xfb);if(_0x27e445[_0x524340(-_0x2dca03._0x26de12,-0x179,-0x181,-_0x2dca03._0x320895)](_0x50592e(_0x2dca03._0x15ba63,0xfb,_0x2dca03._0x45be3b,_0x2dca03._0x4cd04d))||_0x27e445[_0x524340(-0x184,-_0x2dca03._0x5f562b,-0x18f,-0x189)]('node_modules'))return'npm';}else{if(_0x18d196['includes'](_0x50592e(0xf6,0xf4,_0x2dca03._0x21d06f,_0x2dca03._0x296f69))||_0x18d196['includes']('/.pnpm/'))return'pnpm';if(_0x18d196[_0x50592e(_0x2dca03._0x28926d,0xf2,_0x2dca03._0x16731f,0xe0)](_0x50592e(0xeb,0xda,0xe9,_0x2dca03._0x33224c))||_0x18d196['includes'](_0x524340(-_0x2dca03._0x3d364d,-_0x2dca03._0x5f562b,-_0x2dca03._0x1d10c6,-0x181)))return _0x50592e(_0x2dca03._0x3c3bd4,_0x2dca03._0xa343c9,_0x2dca03._0x392414,0xee);}}function _0x524340(_0x402b81,_0x58517d,_0x54c1aa,_0x283a17){return _0x4451(_0x283a17- -_0x370feb._0x10759e,_0x58517d);}let [_0x3e2887,_0x3239ff,_0x59ea7e]=await Promise[_0x524340(-_0x2dca03._0x3f8220,-0x1b4,-_0x2dca03._0x3653f3,-_0x2dca03._0x3f34ec)]([a('npm\x20list\x20-g\x20@nuvin/nuvin-cli\x20--depth=0\x202>/dev/null',0x1388),a(_0x50592e(0xe2,_0x2dca03._0x42cd57,0xe4,0xe4),0x1388),a(_0x524340(-0x178,-0x16f,-_0x2dca03._0x21303b,-_0x2dca03._0x168b75),0x1388)]);return _0x3e2887?.[_0x50592e(0xef,0xf2,_0x2dca03._0x2f128b,0x105)](_0x50592e(0xee,0xe1,0xdf,0xe5))?_0x524340(-0x1a5,-0x19a,-0x195,-_0x2dca03._0x26de12):_0x3239ff?.[_0x524340(-_0x2dca03._0x2aaeff,-_0x2dca03._0x2a8c57,-0x191,-0x189)](_0x50592e(_0x2dca03._0x309fef,_0x2dca03._0x1ea7fe,_0x2dca03._0x4e29d0,_0x2dca03._0x4cd04d))?'pnpm':_0x59ea7e?.[_0x50592e(0xf0,0xf2,_0x2dca03._0x28b1dd,_0x2dca03._0x241cc4)](_0x50592e(_0x2dca03._0x241cc4,0xe1,0xe1,_0x2dca03._0x859908))?'yarn':'npm';}function _0x25f8ff(_0x412044,_0x5a8f2e){const _0x117f2a={_0x4ab7b0:0x248};function _0x187861(_0x44cf15,_0x1226e0,_0x52d666,_0x53d09a){return _0x4451(_0x1226e0-_0x117f2a._0x4ab7b0,_0x52d666);}let _0x498453=_0x5a8f2e?d+'@'+_0x5a8f2e:d+'@latest';function _0x4a4907(_0x507ef2,_0xc3ce1d,_0x264ff6,_0x263f66){return _0x4451(_0x507ef2- -_0x271970._0x5af07b,_0x264ff6);}switch(_0x412044){case'pnpm':return _0x4a4907(_0x977659._0xbeabde,0x1bd,0x1c6,_0x977659._0x263794)+_0x498453;case _0x4a4907(_0x977659._0x1b8844,0x1c4,_0x977659._0x3d5d2f,_0x977659._0x394ea0):return'yarn\x20global\x20add\x20'+_0x498453;default:return _0x4a4907(_0x977659._0xcb7721,_0x977659._0xbc09e4,0x1be,_0x977659._0xf02c4f)+_0x498453;}}function _0x1e8e83(_0x5cc4e9,_0x6b402a,_0x3754c0,_0x1b07df){return _0x185ea5(_0x3754c0,_0x5cc4e9-_0x57702d._0x105ed2,_0x3754c0-0xca,_0x1b07df-_0x57702d._0x243576);}async function _0x3e97ba(_0x17adfa){const _0x1cee71={_0xb5a149:0x1b0,_0x4a331d:0x19e,_0x4cc157:0x1a8},_0x312fb7={_0x47d1fe:0x7f},_0x2fc951={_0x3ddbba:0x192,_0x45e191:0x4b,_0x4749c2:0x56b},_0x5e94e2={_0x550d14:0x25},_0x3d8bb7={_0x2ac178:0x23e};let {UpdateChecker:_0x1ba8e3}=await import(_0xa30565(-_0x3163ad._0x4fe25f,-0xbd,-_0x3163ad._0x125fb3,-0xc5));function _0x1d94d0(_0x5967a0,_0x340a20,_0xdcd9c6,_0x3cb9b7){return _0x4451(_0xdcd9c6-_0x3d8bb7._0x2ac178,_0x3cb9b7);}function _0xa30565(_0x383a4f,_0x1805cf,_0xdfe6df,_0x444e6c){return _0x4451(_0xdfe6df- -0x27c,_0x383a4f);}try{let _0x3697d7=await _0x1ba8e3[_0xa30565(-0xc6,-0xb3,-0xbd,-0xb4)]({'onUpdateAvailable':_0x17adfa?.[_0x1d94d0(_0x3163ad._0x4a2fd0,0x3e2,0x3f5,_0x3163ad._0x432f62)],'onError':_0x17adfa?.[_0xa30565(-0xb9,-_0x3163ad._0x340504,-0xb9,-_0x3163ad._0x45ca2a)]});if(!_0x3697d7['hasUpdate'])return!0x1;_0x17adfa?.[_0x1d94d0(0x3f5,0x3fe,0x3f9,0x3ee)]&&_0x17adfa[_0x1d94d0(_0x3163ad._0x2df199,0x3f0,0x3f9,_0x3163ad._0x5d4b0e)]();let _0x204ae6=await _0x15953b(),_0x641361=_0x25f8ff(_0x204ae6,_0x3697d7['latest']),_0x2368e6=_0x3dc1fc('sh',['-c',_0x641361],{'detached':!0x0,'stdio':_0x1d94d0(_0x3163ad._0x274644,0x425,0x416,_0x3163ad._0x31a527)});return _0x2368e6['on']('exit',_0x10a67b=>{function _0x349300(_0x17cf1b,_0x48d21e,_0x5e008c,_0x4eb1a1){return _0x1d94d0(_0x17cf1b-0xcb,_0x48d21e-0x12,_0x17cf1b-_0x5e94e2._0x550d14,_0x48d21e);}function _0x19717f(_0x3c4924,_0x55c33b,_0x52e6fb,_0x54e6df){return _0x1d94d0(_0x3c4924-_0x2fc951._0x3ddbba,_0x55c33b-_0x2fc951._0x45e191,_0x52e6fb- -_0x2fc951._0x4749c2,_0x55c33b);}if(_0x17adfa?.['onUpdateCompleted']){let _0x7558c3=_0x10a67b===0x0,_0x2239b1=_0x7558c3?'Update\x20to\x20v'+_0x3697d7['latest']+_0x19717f(-0x178,-_0x5678a1._0x207691,-_0x5678a1._0x149e81,-_0x5678a1._0x44b2c9):'Update\x20failed.\x20Please\x20try\x20manually.';_0x17adfa[_0x349300(0x436,_0x5678a1._0x365385,0x439,_0x5678a1._0x1cb83b)](_0x7558c3,_0x2239b1);}}),_0x2368e6['on'](_0xa30565(-_0x3163ad._0x31e357,-0xbf,-0xb2,-_0x3163ad._0xfea920),_0x5a3639=>{function _0x1ff35c(_0xa8be90,_0x27f6c3,_0x20a1c5,_0x22c334){return _0xa30565(_0x20a1c5,_0x27f6c3-_0x312fb7._0x47d1fe,_0x22c334-0x33a,_0x22c334-0x44);}function _0x4cdb9d(_0x58a694,_0x573b74,_0x6aab9d,_0x2e149e){return _0x1d94d0(_0x58a694-0x6,_0x573b74-0x13d,_0x58a694- -0x256,_0x6aab9d);}_0x17adfa?.[_0x4cdb9d(0x1bb,_0x1cee71._0xb5a149,0x1b8,0x1ac)]&&_0x17adfa['onUpdateCompleted'](!0x1,'Update\x20failed:\x20'+_0x5a3639[_0x4cdb9d(_0x1cee71._0x4a331d,0x1a6,0x19d,_0x1cee71._0x4cc157)]);}),_0x2368e6[_0x1d94d0(0x419,0x3f3,0x406,0x3fe)](),!0x0;}catch(_0x2abac6){return _0x17adfa?.[_0x1d94d0(_0x3163ad._0x5b8b2e,0x404,0x401,_0x3163ad._0x179912)]&&_0x17adfa[_0x1d94d0(_0x3163ad._0x4bd0e3,_0x3163ad._0x4f1f72,_0x3163ad._0x4c0332,0x401)](_0x2abac6 instanceof Error?_0x2abac6:new Error(String(_0x2abac6))),!0x1;}}_0xcb8afb[_0x1e8e83(-0x11b,-0x113,-0x11a,-_0x357045._0x1e0a3d)]=_0x3e97ba;})(h||={});export{h as AutoUpdater};
1
+ (function(_0x591bd1,_0x555b98){const _0x1e21ec={_0x322218:0x8f,_0x1cf0f1:0x84,_0x14a6d6:0xa2,_0x440646:0x91,_0x5114fb:0x98,_0x490e9b:0xab,_0x66b0be:0x9d,_0xef9845:0x9c,_0x5abbe7:0x3b0,_0x47ff09:0x393,_0x477263:0xa9,_0x37d63e:0x3b7,_0x8ee86d:0x3b9,_0x3c1370:0x39a,_0x294aca:0x94,_0x334667:0x7d,_0x22957b:0x89,_0x3c90fd:0x3b4,_0x3acdcd:0x39e,_0x54dd4a:0x3b8,_0x1a02de:0x3d4,_0x4b6ad4:0x3c0,_0x229285:0x3b3},_0x52ec15={_0x3a7f32:0x129};function _0x2e6c37(_0x4bdc2d,_0x23b97b,_0x3fd3c7,_0x588065){return _0x5708(_0x23b97b- -_0x52ec15._0x3a7f32,_0x3fd3c7);}const _0x4e17b4=_0x591bd1();function _0x1ebf44(_0x593e76,_0x2ad606,_0x49d207,_0x353337){return _0x5708(_0x2ad606-0x32d,_0x593e76);}while(!![]){try{const _0x4b9c06=parseInt(_0x2e6c37(-_0x1e21ec._0x322218,-0x9a,-_0x1e21ec._0x1cf0f1,-0x93))/0x1*(-parseInt(_0x2e6c37(-0x94,-_0x1e21ec._0x14a6d6,-0xb1,-0x8f))/0x2)+-parseInt(_0x2e6c37(-_0x1e21ec._0x440646,-_0x1e21ec._0x5114fb,-0x8b,-_0x1e21ec._0x490e9b))/0x3+parseInt(_0x2e6c37(-_0x1e21ec._0x66b0be,-_0x1e21ec._0xef9845,-0x98,-0x9f))/0x4*(parseInt(_0x1ebf44(_0x1e21ec._0x5abbe7,0x3a5,0x3a4,_0x1e21ec._0x47ff09))/0x5)+-parseInt(_0x2e6c37(-0xb9,-0xb3,-_0x1e21ec._0x490e9b,-_0x1e21ec._0x477263))/0x6+parseInt(_0x1ebf44(_0x1e21ec._0x37d63e,0x3aa,_0x1e21ec._0x8ee86d,_0x1e21ec._0x3c1370))/0x7*(parseInt(_0x2e6c37(-_0x1e21ec._0x294aca,-0x9b,-0x8e,-0x8a))/0x8)+-parseInt(_0x2e6c37(-_0x1e21ec._0x334667,-0x90,-_0x1e21ec._0x22957b,-0xa6))/0x9+-parseInt(_0x1ebf44(_0x1e21ec._0x3c90fd,0x3b2,_0x1e21ec._0x3acdcd,_0x1e21ec._0x54dd4a))/0xa*(-parseInt(_0x1ebf44(_0x1e21ec._0x1a02de,_0x1e21ec._0x4b6ad4,_0x1e21ec._0x229285,0x3c0))/0xb);if(_0x4b9c06===_0x555b98)break;else _0x4e17b4['push'](_0x4e17b4['shift']());}catch(_0x213ccb){_0x4e17b4['push'](_0x4e17b4['shift']());}}}(_0x5996,0x5c3f8));function _0x5708(_0x1a2b7b,_0x542d9a){_0x1a2b7b=_0x1a2b7b-0x70;const _0x599633=_0x5996();let _0x570864=_0x599633[_0x1a2b7b];if(_0x5708['AtYZWq']===undefined){var _0x1704ee=function(_0x5e030c){const _0x13cb8e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x511cac='',_0x422edf='';for(let _0x58bbf2=0x0,_0x3a5a1c,_0x242a81,_0x1b0d07=0x0;_0x242a81=_0x5e030c['charAt'](_0x1b0d07++);~_0x242a81&&(_0x3a5a1c=_0x58bbf2%0x4?_0x3a5a1c*0x40+_0x242a81:_0x242a81,_0x58bbf2++%0x4)?_0x511cac+=String['fromCharCode'](0xff&_0x3a5a1c>>(-0x2*_0x58bbf2&0x6)):0x0){_0x242a81=_0x13cb8e['indexOf'](_0x242a81);}for(let _0x2be3d8=0x0,_0x46958f=_0x511cac['length'];_0x2be3d8<_0x46958f;_0x2be3d8++){_0x422edf+='%'+('00'+_0x511cac['charCodeAt'](_0x2be3d8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x422edf);};_0x5708['bDrQIG']=_0x1704ee,_0x5708['aWkRxV']={},_0x5708['AtYZWq']=!![];}const _0x1f19a2=_0x599633[0x0],_0x1b8556=_0x1a2b7b+_0x1f19a2,_0x354643=_0x5708['aWkRxV'][_0x1b8556];return!_0x354643?(_0x570864=_0x5708['bDrQIG'](_0x570864),_0x5708['aWkRxV'][_0x1b8556]=_0x570864):_0x570864=_0x354643,_0x570864;}function _0x20652b(_0x3ee5c5,_0x222650,_0x1e21c5,_0x389e37){const _0x5178d7={_0x39b642:0x247};return _0x5708(_0x222650- -_0x5178d7._0x39b642,_0x3ee5c5);}import{exec as _0x511cac,spawn as _0x422edf}from'child_process';import{promisify as _0x58bbf2}from'util';var v=_0x58bbf2(_0x511cac),d=_0x20652b(-0x1cd,-0x1d5,-0x1c1,-0x1cd);async function a(_0x3a5a1c,_0x242a81){const _0x3e11ce={_0xadfaeb:0x274},_0x246c79={_0x5dde52:0x183};function _0x3b770e(_0x4ca24d,_0x3721e8,_0x1b3fae,_0x2c2585){return _0x20652b(_0x1b3fae,_0x2c2585- -0xa6,_0x1b3fae-0x1f,_0x2c2585-_0x246c79._0x5dde52);}try{let {stdout:_0x1b0d07}=await v(_0x3a5a1c,{'timeout':_0x242a81});return _0x1b0d07[_0x3b770e(-0x282,-0x274,-_0x3e11ce._0xadfaeb,-0x26d)]();}catch{return null;}}var h;function _0x5996(){const _0x1783d3=['D2HPy2GGBNv2Aw4','Dw5Yzwy','nduYCfPvsfPV','mJq1nJyXnNHzsuHKua','m3PSwMXfDW','EwfYBIbNBg9IywWGBgLZDcaTlxbHDhrLCM4Gqg51DMLUl251DMLUlwnSAsaYpI9KzxyVBNvSBa','mtG5mtG3ofbzEvndwG','BwvZC2fNzq','oty0odiYmufzA0D0qq','BM9Kzv9TB2r1BgvZ','l3bUCg0V','CMvHzgXPBMSGiG','Bgf0zxn0','qgXHDgvZDa','mZq3mdG0mwrtAMX3Aa','Cg5WBq','B25vCgrHDgvdB21WBgv0zwq','Cg5WBsbHzgqGlwCG','qg51DMLUl251DMLUlwnSAq','Aw5JBhvKzxm','zxHPDa','BNbT','mti5otaWB2T3CLbA','l3LHCM4V','mJm0mdbdALDwzgi','BNbTigLUC3rHBgWGlwCG','B25vCgrHDgvbDMfPBgfIBgu','EwfYBG','B25vCgrHDgvtDgfYDgvK','mtr2AuvZs2q','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','AgfZvxbKyxrL','DhjPBq','ywXS','lY55yxjUlW','l25WBs8','B25fCNjVCG','mtbMCePlAvm','zxjYB3i','ndaYodG4CNPxqMzw','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','lY5WBNbTlW'];_0x5996=function(){return _0x1783d3;};return _0x5996();}(_0x2be3d8=>{const _0x4c8bb9={_0x23dfb3:0x2a3,_0x25d4a3:0x2b2,_0x1ac752:0x2a0,_0x293f06:0x293,_0x1d2325:0x2a5,_0x26fcb6:0x2a9,_0x229e43:0x28e,_0x3677a3:0x3c8,_0x39674b:0x3c2,_0x40da95:0x3c0,_0x377ca8:0x2ae,_0x1ee7a6:0x2c0,_0x1fd9ca:0x2b2,_0x2112e2:0x3c9,_0x4b9684:0x2a4,_0x3f1904:0x2aa},_0x1a35ab={_0x5bff5a:0x90,_0x41ade0:0xae,_0x186d65:0xb1,_0x271e02:0xa2,_0x4c9a3f:0x91,_0x308f5d:0x79,_0x4fdab2:0x80},_0x418c1f={_0x22c3b4:0xa7,_0x9ded29:0x96,_0x321c8e:0xb3,_0x45ca84:0x2,_0x51da7c:0x5,_0x3c349c:0x6,_0x1dd1ee:0x80,_0x1d1ddd:0x82,_0x48f209:0x80,_0x24eaf0:0xe},_0x1dd0f1={_0x1e0f9f:0xbf,_0x4a0829:0xd4,_0x1e8e28:0xb3,_0x1fdd50:0x1f6,_0x41bdcf:0x1e5,_0x1b0608:0xb0,_0x20028c:0xcc,_0x2f9722:0xaf,_0x108f3f:0xaa,_0x4d0ae1:0x205,_0x17b6bc:0x1f3,_0xbbbb4b:0x201,_0x594028:0xd6,_0xc79be2:0xd6,_0x1df88d:0x218,_0x48cd19:0x21d,_0xfd47d3:0xb1,_0x285340:0xc8,_0x52fb0b:0x1fe,_0x25457c:0x1fb,_0xee1ad2:0x217,_0x5394ae:0x1eb,_0x539a30:0x1fc,_0x497b7c:0x1ef,_0x4fa333:0xa1,_0x242c2b:0x205,_0x44b6b3:0x20c,_0x1d62f3:0x20c,_0x1a26de:0xdb,_0x3c1e11:0xbc,_0x157fb2:0xc6,_0x50031c:0x1e5,_0x5cbbe:0x216,_0x2e3da3:0x207,_0x50655f:0x1f7,_0x35e473:0x20c,_0x310f79:0x210,_0x55d492:0x1ec,_0x24cc51:0x20f,_0x1ad81b:0xb0,_0x26f382:0xc7,_0x249386:0x204,_0x475a21:0x200,_0x340758:0xa2,_0x130304:0xae,_0x34a7d5:0xa8,_0xbea1a:0xab,_0x4016b3:0xae,_0xe5eba3:0x209,_0x40db97:0x203,_0x2faabe:0x20d,_0x26ca19:0x9e},_0x4df5dd={_0x43b9cc:0x27f};async function _0x46958f(){let _0x1353ab=await a(_0xbc798(_0x1dd0f1._0x1e0f9f,_0x1dd0f1._0x4a0829,0xc7,_0x1dd0f1._0x1e8e28),0xbb8);function _0xbc798(_0x1f9660,_0x14c23d,_0x4e8948,_0x177ba3){return _0x5708(_0x4e8948-0x3c,_0x1f9660);}if(_0x1353ab){let _0x5a0805=await a(_0x40e188(-_0x1dd0f1._0x1fdd50,-_0x1dd0f1._0x41bdcf,-0x1eb,-0x1e9)+_0x1353ab+'\x22',0xbb8);if(_0x5a0805){if(_0x5a0805[_0xbc798(0xa8,_0x1dd0f1._0x1b0608,0xaf,_0x1dd0f1._0x1e8e28)](_0xbc798(0xc2,_0x1dd0f1._0x20028c,0xd1,0xe3))||_0x5a0805[_0xbc798(0xc2,0xa6,_0x1dd0f1._0x2f9722,_0x1dd0f1._0x108f3f)](_0x40e188(-_0x1dd0f1._0x4d0ae1,-_0x1dd0f1._0x17b6bc,-_0x1dd0f1._0xbbbb4b,-0x1f5)))return _0xbc798(0xcd,0xe2,_0x1dd0f1._0x594028,_0x1dd0f1._0xc79be2);if(_0x5a0805[_0x40e188(-_0x1dd0f1._0x1df88d,-_0x1dd0f1._0x48cd19,-0x212,-0x20c)](_0x40e188(-0x211,-0x1fe,-0x204,-0x208))||_0x5a0805['includes']('/.yarn/'))return _0xbc798(0xb8,_0x1dd0f1._0xfd47d3,0xb7,_0x1dd0f1._0x285340);if(_0x5a0805[_0x40e188(-_0x1dd0f1._0x52fb0b,-_0x1dd0f1._0x25457c,-_0x1dd0f1._0xee1ad2,-0x20c)](_0x40e188(-_0x1dd0f1._0x5394ae,-0x1ee,-0x1e8,-_0x1dd0f1._0x539a30))||_0x5a0805['includes'](_0x40e188(-_0x1dd0f1._0x1fdd50,-0x1e9,-_0x1dd0f1._0x497b7c,-_0x1dd0f1._0x5394ae)))return _0xbc798(0x9c,0xc0,0xb1,_0x1dd0f1._0x4fa333);}else{if(_0x1353ab[_0x40e188(-_0x1dd0f1._0x242c2b,-0x1fb,-0x203,-_0x1dd0f1._0x44b6b3)]('/pnpm/')||_0x1353ab[_0x40e188(-0x209,-0x219,-0x206,-_0x1dd0f1._0x1d62f3)](_0xbc798(_0x1dd0f1._0x1a26de,_0x1dd0f1._0x3c1e11,_0x1dd0f1._0x157fb2,0xb6)))return _0x40e188(-0x1ec,-0x1e7,-0x1da,-_0x1dd0f1._0x50031c);if(_0x1353ab['includes'](_0x40e188(-_0x1dd0f1._0x5cbbe,-_0x1dd0f1._0x2e3da3,-0x1f9,-0x208))||_0x1353ab[_0x40e188(-0x1fa,-0x205,-_0x1dd0f1._0x50655f,-_0x1dd0f1._0x35e473)](_0x40e188(-_0x1dd0f1._0x539a30,-_0x1dd0f1._0x310f79,-0x203,-0x1fd)))return'yarn';}}function _0x40e188(_0x187c75,_0x35f690,_0xc42c7,_0x21df44){return _0x5708(_0x21df44- -_0x4df5dd._0x43b9cc,_0xc42c7);}let [_0x5a4000,_0x49a49b,_0x3bd149]=await Promise[_0x40e188(-_0x1dd0f1._0x55d492,-_0x1dd0f1._0x24cc51,-0x213,-_0x1dd0f1._0x52fb0b)]([a('npm\x20list\x20-g\x20@nuvin/nuvin-cli\x20--depth=0\x202>/dev/null',0x1388),a(_0xbc798(_0x1dd0f1._0x1ad81b,0xc3,0xc4,_0x1dd0f1._0x26f382),0x1388),a(_0x40e188(-_0x1dd0f1._0x25457c,-_0x1dd0f1._0x249386,-_0x1dd0f1._0x475a21,-0x1ef),0x1388)]);return _0x5a4000?.['includes'](_0xbc798(0xab,_0x1dd0f1._0x340758,_0x1dd0f1._0x130304,_0x1dd0f1._0x34a7d5))?'npm':_0x49a49b?.['includes'](_0xbc798(_0x1dd0f1._0xbea1a,0xa7,_0x1dd0f1._0x4016b3,0x9e))?'pnpm':_0x3bd149?.['includes'](_0x40e188(-_0x1dd0f1._0xe5eba3,-_0x1dd0f1._0x40db97,-0x223,-_0x1dd0f1._0x2faabe))?_0xbc798(0xb3,_0x1dd0f1._0x4016b3,0xb7,0xc8):_0xbc798(0xc2,_0x1dd0f1._0x26ca19,_0x1dd0f1._0xfd47d3,0xc0);}function _0x310922(_0x8be2e2,_0x2392cd){let _0xc28702=_0x2392cd?d+'@'+_0x2392cd:d+_0x10bfd3(_0x418c1f._0x22c3b4,_0x418c1f._0x9ded29,0xbb,_0x418c1f._0x321c8e);function _0x577d83(_0x32867,_0x25b665,_0x120591,_0x111ef1){return _0x5708(_0x32867- -0x98,_0x111ef1);}function _0x10bfd3(_0x1411af,_0x4f06eb,_0x5a815f,_0x4cd627){return _0x5708(_0x1411af-0xf,_0x4f06eb);}switch(_0x8be2e2){case _0x577d83(_0x418c1f._0x45ca84,-_0x418c1f._0x51da7c,-_0x418c1f._0x3c349c,0x17):return _0x10bfd3(_0x418c1f._0x1dd1ee,_0x418c1f._0x1d1ddd,0x87,_0x418c1f._0x48f209)+_0xc28702;case _0x577d83(-0x1d,-_0x418c1f._0x24eaf0,-0x30,-0x16):return'yarn\x20global\x20add\x20'+_0xc28702;default:return _0x10bfd3(0x88,0x91,0x97,0x83)+_0xc28702;}}async function _0x272742(_0x2c55a8){const _0x2a073d={_0x34e838:0x153,_0x2f4dfc:0x141},_0x5e151b={_0xf15d4f:0x110,_0x275962:0x7e,_0x58ce6e:0x456},_0x5e79f9={_0x2fe3f9:0x1e7,_0x27aece:0x1f5,_0x3b9cd2:0x1e1,_0x5b9b47:0x429,_0x143a05:0x43d,_0x46c6a8:0x434,_0x4c033a:0x443,_0x16dbc4:0x448,_0x3b3455:0x41f},_0x56169c={_0x28216b:0x13d,_0x289f25:0xf1,_0x402f25:0x67};function _0x32a199(_0x36f2b5,_0x243a0e,_0x31d844,_0x4349cd){return _0x5708(_0x4349cd-0x344,_0x243a0e);}function _0x2d62df(_0x5e83be,_0x49c6ad,_0x54aba7,_0x2ea90f){return _0x5708(_0x2ea90f-0x226,_0x54aba7);}let {UpdateChecker:_0x4cce02}=await import('./UpdateChecker-2LAM3Q56.js');try{let _0x179f38=await _0x4cce02['checkForUpdate']({'onUpdateAvailable':_0x2c55a8?.[_0x2d62df(_0x4c8bb9._0x23dfb3,_0x4c8bb9._0x25d4a3,0x2a7,_0x4c8bb9._0x1ac752)],'onError':_0x2c55a8?.['onError']});if(!_0x179f38[_0x2d62df(0x2a6,_0x4c8bb9._0x293f06,0x2a7,_0x4c8bb9._0x1d2325)])return!0x1;_0x2c55a8?.[_0x2d62df(_0x4c8bb9._0x26fcb6,0x2b5,0x2b7,0x2a2)]&&_0x2c55a8[_0x2d62df(_0x4c8bb9._0x229e43,0x2b2,0x29a,0x2a2)]();let _0x3bf683=await _0x46958f(),_0x301f84=_0x310922(_0x3bf683,_0x179f38[_0x32a199(_0x4c8bb9._0x3677a3,0x3e5,0x3d2,0x3db)]),_0xc72cba=_0x422edf('sh',['-c',_0x301f84],{'detached':!0x0,'stdio':'ignore'});return _0xc72cba['on'](_0x32a199(_0x4c8bb9._0x39674b,_0x4c8bb9._0x40da95,0x3c2,0x3b8),_0x581c39=>{function _0x340935(_0x423ca2,_0x4ab2d7,_0x5ab482,_0x49ffe4){return _0x32a199(_0x423ca2-0x108,_0x4ab2d7,_0x5ab482-0x132,_0x5ab482- -0x1d3);}function _0x2a6696(_0x1cd55f,_0x40c49b,_0x21d528,_0xb6c00a){return _0x32a199(_0x1cd55f-_0x56169c._0x28216b,_0x21d528,_0x21d528-_0x56169c._0x289f25,_0x1cd55f-_0x56169c._0x402f25);}if(_0x2c55a8?.[_0x340935(_0x5e79f9._0x2fe3f9,_0x5e79f9._0x27aece,_0x5e79f9._0x3b9cd2,0x1eb)]){let _0x2b3d21=_0x581c39===0x0,_0x402aa5=_0x2b3d21?'Update\x20to\x20v'+_0x179f38['latest']+_0x2a6696(_0x5e79f9._0x5b9b47,_0x5e79f9._0x143a05,0x43b,0x421):_0x2a6696(_0x5e79f9._0x46c6a8,_0x5e79f9._0x4c033a,_0x5e79f9._0x16dbc4,_0x5e79f9._0x3b3455);_0x2c55a8['onUpdateCompleted'](_0x2b3d21,_0x402aa5);}}),_0xc72cba['on'](_0x2d62df(0x2aa,_0x4c8bb9._0x377ca8,0x299,0x2ac),_0x4ef4d8=>{function _0x56add1(_0x4f0c18,_0x414fab,_0x424b25,_0x25dbf3){return _0x32a199(_0x4f0c18-_0x5e151b._0xf15d4f,_0x414fab,_0x424b25-_0x5e151b._0x275962,_0x25dbf3- -_0x5e151b._0x58ce6e);}function _0x233012(_0x47f218,_0x230057,_0x4ca8b2,_0x77c489){return _0x2d62df(_0x47f218-_0x2a073d._0x34e838,_0x230057-_0x2a073d._0x2f4dfc,_0x77c489,_0x4ca8b2- -0x2c6);}_0x2c55a8?.[_0x56add1(-_0x1a35ab._0x5bff5a,-_0x1a35ab._0x41ade0,-_0x1a35ab._0x186d65,-_0x1a35ab._0x271e02)]&&_0x2c55a8['onUpdateCompleted'](!0x1,'Update\x20failed:\x20'+_0x4ef4d8[_0x56add1(-0x6b,-_0x1a35ab._0x4c9a3f,-_0x1a35ab._0x308f5d,-_0x1a35ab._0x4fdab2)]);}),_0xc72cba[_0x2d62df(0x2b3,0x2c8,_0x4c8bb9._0x1ee7a6,_0x4c8bb9._0x1fd9ca)](),!0x0;}catch(_0x47360e){return _0x2c55a8?.[_0x32a199(0x3c7,0x3d0,_0x4c8bb9._0x2112e2,0x3c8)]&&_0x2c55a8[_0x2d62df(0x29d,_0x4c8bb9._0x4b9684,0x2b8,_0x4c8bb9._0x3f1904)](_0x47360e instanceof Error?_0x47360e:new Error(String(_0x47360e))),!0x1;}}_0x2be3d8['checkAndUpdate']=_0x272742;})(h||={});export{h as AutoUpdater};
package/dist/README.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # @nuvin/nuvin-cli
2
2
 
3
- Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
3
+ Interactive AI coding assistant for the terminal.
4
+ Your terminal, your choice of model, your rulesβ€”nothing hidden.
4
5
 
5
6
  ## Features
6
7
 
7
- - **πŸ€– Multi-Provider AI Support** - GitHub Models, OpenRouter, ZAI, Anthropic, and Echo providers
8
- - **πŸ‘₯ Multi-Agent System** - Delegate tasks to specialist agents (code reviewer, tester, architect, etc.)
9
- - **πŸ› οΈ Rich Toolset** - File operations, web search, bash execution, and MCP integration
10
- - **πŸ’¬ Memory Management** - Conversation history persistence and in-memory context
11
- - **πŸ”§ Configuration Management** - Layered config system with CLI overrides (global, local, explicit, env, direct)
12
- - **🎯 Tool Approval** - Optional manual approval before executing tools (sudo mode)
13
- - **πŸ“ Built-in Commands** - Session management, auth, history, agents, and more
14
- - **🎨 Theme System** - Customizable terminal themes
8
+ **Provider Freedom** β€” Use any LLM provider without lock-in. Supports OpenRouter, Anthropic, GitHub Models, DeepInfra, ZAI, Moonshot, Kimi, MiniMax out of the box. Switch models mid-conversation.
9
+
10
+ **Multi-Agent Delegation** β€” Spawn specialist agents for focused tasks like security audits or code investigation. Each agent runs in isolated context with session resumption support.
11
+
12
+ **Native Code Intelligence** β€” Built-in LSP integration for go-to-definition, find references, hover information, and real-time diagnostics. Understand your codebase, not just pattern match.
13
+
14
+ **Modern TUI** β€” React/Ink-based terminal interface with vim mode, virtualized rendering for large outputs, and session statistics.
15
+
16
+ **Configuration Profiles** β€” Maintain separate configurations for different projects, teams, or workflows. Layer global, workspace, and CLI settings.
17
+
18
+ **MCP Extensibility** β€” Extend capabilities with Model Context Protocol servers. Add custom tools without modifying core code.
19
+
20
+ **Session Persistence** β€” Resume previous conversations with full context. Export, browse, and manage conversation history.
21
+
22
+ **Controlled Execution** β€” Optional sudo mode for manual tool approval. Review and approve file edits, bash commands, and web requests before execution.
15
23
 
16
24
  ## Installation
17
25
 
@@ -1 +1 @@
1
- function _0x2df6(){const _0x1a2918=['mZiWnJG0mg5lDwPwCW','C3rHDhvZq29Kzq','Aw5JBhvKzxm','zgf0yq','mtb1v2D1z3a','BwfW','nZa4ndGZwxD3vuPi','DMvYC2LVBG','zxjYB3i','zgvZDhjVEq','mtaYodG5oePywM9kzG','l2XHDgvZDa','CMvXDwvZDa','CMvWBgfJzq','zw5K','r0vu','oduWnJC2q2jorgfm','nxvSwurLyW','ntm3mZLrq3DezwW','C3bSAxq','y2HLy2TgB3jvCgrHDgu','BgvUz3rO','B25vCgrHDgvbDMfPBgfIBgu','mZzVBg1gBee','Bwf4','yxbWBgLJyxrPB24VANnVBG','ndq2mJLktgPZs20','otmYndy0og9As2XIAW','uMvXDwvZDcb0Aw1LB3v0','sfruuca','B25fCNjVCG'];_0x2df6=function(){return _0x1a2918;};return _0x2df6();}(function(_0x512b0f,_0x2b6d28){const _0xb8d971={_0x4925ee:0x3bb,_0x280c66:0x3c3,_0xf8ef2b:0x3af,_0x58e4cb:0x3b8,_0xf12131:0x3be,_0x496468:0x3b1,_0x439f82:0x3a5,_0x11d934:0xd1,_0x531342:0xcf,_0x28fa53:0xdd,_0x257a4f:0xd5,_0x509cc0:0xf5,_0x52ec02:0xee,_0x3d83ea:0xe7,_0xd4ae40:0x3a5,_0x481c4f:0x3b5,_0x3a92c9:0x396},_0x3a3506={_0x6b2474:0x19b},_0x5df3ac={_0xf3bb3b:0x2ed},_0x3313a8=_0x512b0f();function _0x50bb32(_0x27a2d,_0x5ca806,_0x38480f,_0x3edf92){return _0x5a13(_0x27a2d-_0x5df3ac._0xf3bb3b,_0x5ca806);}function _0xaac134(_0x4dfb51,_0x36340e,_0x169ea3,_0x634456){return _0x5a13(_0x634456- -_0x3a3506._0x6b2474,_0x36340e);}while(!![]){try{const _0x1397ac=parseInt(_0x50bb32(_0xb8d971._0x4925ee,0x3b4,_0xb8d971._0x280c66,_0xb8d971._0xf8ef2b))/0x1*(-parseInt(_0x50bb32(_0xb8d971._0x58e4cb,_0xb8d971._0xf12131,0x3b3,0x3c1))/0x2)+parseInt(_0x50bb32(0x3a7,0x399,0x3ac,0x3a3))/0x3+parseInt(_0x50bb32(_0xb8d971._0x496468,0x3a4,_0xb8d971._0x439f82,0x3a7))/0x4*(parseInt(_0xaac134(-0xcb,-0xd3,-_0xb8d971._0x11d934,-0xd6))/0x5)+parseInt(_0xaac134(-0xd3,-0xe0,-_0xb8d971._0x531342,-_0xb8d971._0x28fa53))/0x6+parseInt(_0xaac134(-0xd8,-0xcd,-0xd4,-_0xb8d971._0x257a4f))/0x7+-parseInt(_0xaac134(-_0xb8d971._0x509cc0,-_0xb8d971._0x52ec02,-_0xb8d971._0x28fa53,-_0xb8d971._0x3d83ea))/0x8+parseInt(_0x50bb32(0x39d,0x39b,0x3a4,0x3a9))/0x9*(parseInt(_0x50bb32(_0xb8d971._0xd4ae40,_0xb8d971._0x481c4f,_0xb8d971._0x3a92c9,0x3a8))/0xa);if(_0x1397ac===_0x2b6d28)break;else _0x3313a8['push'](_0x3313a8['shift']());}catch(_0x355edf){_0x3313a8['push'](_0x3313a8['shift']());}}}(_0x2df6,0x7046d));import{a as _0x30e849}from'./chunk-AJHDLTY3.js';import _0x2f77e5 from'https';function _0x5a13(_0x58584c,_0x5e894b){_0x58584c=_0x58584c-0xb0;const _0x2df61f=_0x2df6();let _0x5a1321=_0x2df61f[_0x58584c];if(_0x5a13['KIKxzT']===undefined){var _0x3fa688=function(_0xfa0f00){const _0x2a743a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30e849='',_0x2f77e5='';for(let _0x9fe3a4=0x0,_0x3eb1ed,_0x3a8824,_0x3c07cf=0x0;_0x3a8824=_0xfa0f00['charAt'](_0x3c07cf++);~_0x3a8824&&(_0x3eb1ed=_0x9fe3a4%0x4?_0x3eb1ed*0x40+_0x3a8824:_0x3a8824,_0x9fe3a4++%0x4)?_0x30e849+=String['fromCharCode'](0xff&_0x3eb1ed>>(-0x2*_0x9fe3a4&0x6)):0x0){_0x3a8824=_0x2a743a['indexOf'](_0x3a8824);}for(let _0x3406df=0x0,_0x37dd3f=_0x30e849['length'];_0x3406df<_0x37dd3f;_0x3406df++){_0x2f77e5+='%'+('00'+_0x30e849['charCodeAt'](_0x3406df)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f77e5);};_0x5a13['mtCHyR']=_0x3fa688,_0x5a13['EXoPPB']={},_0x5a13['KIKxzT']=!![];}const _0x3ef1f3=_0x2df61f[0x0],_0x383115=_0x58584c+_0x3ef1f3,_0x34d026=_0x5a13['EXoPPB'][_0x383115];return!_0x34d026?(_0x5a1321=_0x5a13['mtCHyR'](_0x5a1321),_0x5a13['EXoPPB'][_0x383115]=_0x5a1321):_0x5a1321=_0x34d026,_0x5a1321;}var d='registry.npmjs.org',m='@nuvin/nuvin-cli',f=0x1388,h;(_0x9fe3a4=>{const _0x40ef63={_0x3e2f07:0x36c,_0x46920a:0x36b},_0x4ac6c3={_0x10d358:0x3b1,_0x15dff7:0x3b1,_0x1d7f98:0x3a7,_0x269fd6:0x6a,_0x75265d:0x79,_0x420196:0x76,_0x283290:0x72,_0x13794d:0x64,_0x5a7187:0x7a,_0x49c4e4:0x3c0,_0x4874d0:0x3d1,_0x27901f:0x7b,_0x52c638:0x7b,_0x42f038:0x78},_0x379418={_0x230548:0x1ee,_0x5c1ce9:0x1fb,_0x4ba2e4:0x205,_0x501bba:0x204,_0x45bb7e:0x1f7,_0x29e5d0:0x2b,_0x16631d:0x33,_0x4564a9:0x1f4,_0x52dc20:0x1f7,_0x364860:0x1fa,_0x52481f:0x1ff,_0x13ec0b:0x1fe,_0x305060:0x209},_0x34c708={_0x4a82c5:0x35a,_0x28e499:0x364,_0x27b076:0x87,_0x28d50b:0x86,_0x35ee15:0x85},_0x16fdf0={_0x2b4768:0x2a4};async function _0x3eb1ed(_0x3406df){function _0x4f90f9(_0x47f0f2,_0x28c330,_0x4e03dc,_0x477528){return _0x5a13(_0x47f0f2-_0x16fdf0._0x2b4768,_0x4e03dc);}let _0x37dd3f=_0x30e849();function _0x83ca4a(_0x37cb41,_0x4f9e59,_0x194509,_0xcf78ef){return _0x5a13(_0xcf78ef- -0x14f,_0x194509);}try{let _0x5c31c4=await _0x3a8824();if(_0x5c31c4[_0x4f90f9(_0x34c708._0x4a82c5,0x359,0x362,_0x34c708._0x28e499)]('-'))return{'current':_0x37dd3f,'latest':_0x5c31c4,'hasUpdate':!0x1};let _0x5f28f7=_0x3c07cf(_0x37dd3f,_0x5c31c4)<0x0,_0x23b273={'current':_0x37dd3f,'latest':_0x5c31c4,'hasUpdate':_0x5f28f7};return _0x5f28f7&&_0x3406df?.[_0x83ca4a(-0x8a,-_0x34c708._0x27b076,-0x92,-0x85)]&&_0x3406df[_0x83ca4a(-_0x34c708._0x28d50b,-0x7f,-0x7e,-_0x34c708._0x35ee15)](_0x23b273),_0x23b273;}catch(_0x34feca){return _0x3406df?.[_0x83ca4a(-0xa0,-0xa8,-0xa8,-0x9c)]&&_0x3406df['onError'](_0x34feca instanceof Error?_0x34feca:new Error(String(_0x34feca))),{'current':_0x37dd3f,'latest':_0x37dd3f,'hasUpdate':!0x1};}}function _0x17156b(_0x38584c,_0x1f9781,_0x687c9a,_0xbce4eb){return _0x5a13(_0x1f9781-0x2a4,_0x38584c);}_0x9fe3a4[_0x17156b(0x35d,_0x40ef63._0x3e2f07,_0x40ef63._0x46920a,0x36c)]=_0x3eb1ed;function _0x3a8824(){const _0x30732f={_0xa16662:0x391,_0x10842c:0x394,_0x583b3a:0x467,_0x4e03dd:0x46f,_0x496c74:0x474},_0x1af8f3={_0x54d5eb:0x39a,_0x3fbc02:0x38d,_0x128d20:0x198,_0x6a11f9:0x184};return new Promise((_0x289968,_0xdcf985)=>{const _0x1e7a35={_0x4cf2e8:0x16f},_0x17935f={_0x57e983:0x48,_0x45a6f4:0x589},_0x77d403={_0x501d05:0xf8},_0x32b5ed={_0x16797b:0x18b,_0x2d67bf:0x18b,_0x3fbb24:0x18d,_0x4f5fdc:0x142,_0x51fcc0:0x14d,_0x5991dc:0x156,_0x13a248:0x180},_0x4fc125={_0x32d6ff:0x2ba};function _0xd21037(_0x5408eb,_0x2fa0af,_0x2a0cea,_0x451be3){return _0x5a13(_0x2a0cea- -_0x4fc125._0x32d6ff,_0x451be3);}let _0xc4bd5d={'hostname':d,'path':'/'+encodeURIComponent(m)+_0xd21037(-_0x379418._0x230548,-0x1f3,-_0x379418._0x5c1ce9,-_0x379418._0x4ba2e4),'method':_0xd21037(-0x1f4,-_0x379418._0x501bba,-_0x379418._0x45bb7e,-0x1f9),'headers':{'Accept':_0x1e6788(-0x25,-0x2c,-_0x379418._0x29e5d0,-_0x379418._0x16631d)},'timeout':f},_0x4f7d08=_0x2f77e5[_0xd21037(-_0x379418._0x4564a9,-_0x379418._0x52dc20,-_0x379418._0x364860,-_0x379418._0x52481f)](_0xc4bd5d,_0x4121ab=>{const _0x21f07c={_0x28bf94:0x131,_0x437b86:0x516},_0x4cd988={_0xe20ad1:0x10,_0x2ef295:0xb8,_0x3b68aa:0x6a};function _0x18a140(_0x4649e5,_0x445371,_0x3b4e24,_0x26ba92){return _0xd21037(_0x4649e5-_0x4cd988._0xe20ad1,_0x445371-_0x4cd988._0x2ef295,_0x3b4e24-_0x4cd988._0x3b68aa,_0x445371);}function _0x24c38f(_0x3f0c9d,_0x1d69ea,_0x42a329,_0x4a3bed){return _0x1e6788(_0x3f0c9d,_0x1d69ea-0x13f,_0x4a3bed-0x3ce,_0x4a3bed-0x11e);}let _0x2069c6='';_0x4121ab['on'](_0x24c38f(0x390,_0x1af8f3._0x54d5eb,0x37d,_0x1af8f3._0x3fbc02),_0x5ba31b=>{_0x2069c6+=_0x5ba31b;}),_0x4121ab['on'](_0x18a140(-_0x1af8f3._0x128d20,-_0x1af8f3._0x6a11f9,-0x18e,-0x198),()=>{const _0xb17c91={_0x20ea50:0x1da};function _0x2b8740(_0x255b9c,_0x42dd85,_0x46468c,_0x5c72b0){return _0x18a140(_0x255b9c-0x18a,_0x42dd85,_0x46468c-0x48,_0x5c72b0-_0xb17c91._0x20ea50);}function _0x2f856f(_0x3113a0,_0x4975fb,_0x830a94,_0x15bbca){return _0x24c38f(_0x4975fb,_0x4975fb-0x1a4,_0x830a94-_0x21f07c._0x28bf94,_0x830a94- -_0x21f07c._0x437b86);}try{if(_0x4121ab[_0x2f856f(-_0x32b5ed._0x16797b,-0x18c,-_0x32b5ed._0x2d67bf,-_0x32b5ed._0x3fbb24)]===0xc8){let _0x51113e=JSON['parse'](_0x2069c6);_0x289968(_0x51113e[_0x2b8740(-_0x32b5ed._0x4f5fdc,-0x145,-_0x32b5ed._0x51fcc0,-_0x32b5ed._0x5991dc)]);}else _0xdcf985(new Error(_0x2f856f(-_0x32b5ed._0x13a248,-0x188,-0x18e,-0x19e)+_0x4121ab['statusCode']));}catch(_0x468c1b){_0xdcf985(_0x468c1b);}});});function _0x1e6788(_0x834c55,_0x4b771e,_0x3bdebd,_0x518d1e){return _0x5a13(_0x3bdebd- -_0x77d403._0x501d05,_0x834c55);}_0x4f7d08['on'](_0xd21037(-0x207,-0x20c,-_0x379418._0x13ec0b,-_0x379418._0x305060),_0xdcf985),_0x4f7d08['on']('timeout',()=>{function _0x2b941f(_0x2821cf,_0x1f8280,_0x2d27bc,_0x4e2cf4){return _0xd21037(_0x2821cf-_0x17935f._0x57e983,_0x1f8280-0x9c,_0x4e2cf4-_0x17935f._0x45a6f4,_0x2d27bc);}function _0x5183a1(_0x5e4d87,_0xe0fdb8,_0x3edfab,_0x226724){return _0x1e6788(_0xe0fdb8,_0xe0fdb8-_0x1e7a35._0x4cf2e8,_0x226724-0x4bb,_0x226724-0x194);}_0x4f7d08[_0x2b941f(0x384,_0x30732f._0xa16662,_0x30732f._0x10842c,0x38c)](),_0xdcf985(new Error(_0x5183a1(_0x30732f._0x583b3a,_0x30732f._0x4e03dd,0x466,_0x30732f._0x496c74)));}),_0x4f7d08['end']();});}function _0x3c07cf(_0x4c91cb,_0x2a6fb5){const _0x415bf3={_0x380f82:0x54,_0x26714c:0x9a},_0x20896c={_0x76a87e:0x1,_0x7a4224:0x177};let _0x2f7d2a=_0x2adad8=>_0x2adad8[_0x3c3745(0x6c,0x73,0x80,0x65)](/^v/,'')[_0x3c3745(0x7b,0x79,0x6d,0x6a)]('-')[0x0],_0xa07be3=_0x2f7d2a(_0x4c91cb)['split']('.')[_0x1da2c9(_0x4ac6c3._0x10d358,0x3be,_0x4ac6c3._0x15dff7,_0x4ac6c3._0x1d7f98)](Number),_0x132e38=_0x2f7d2a(_0x2a6fb5)[_0x3c3745(_0x4ac6c3._0x269fd6,_0x4ac6c3._0x75265d,_0x4ac6c3._0x420196,_0x4ac6c3._0x283290)]('.')[_0x3c3745(_0x4ac6c3._0x13794d,0x6b,_0x4ac6c3._0x5a7187,0x67)](Number);function _0x3c3745(_0x2c2fc5,_0x580371,_0x44243e,_0x2a017e){return _0x17156b(_0x2c2fc5,_0x580371- -0x2f2,_0x44243e-_0x20896c._0x76a87e,_0x2a017e-_0x20896c._0x7a4224);}for(let _0x49820e=0x0;_0x49820e<Math[_0x1da2c9(_0x4ac6c3._0x49c4e4,_0x4ac6c3._0x4874d0,0x3c4,0x3c5)](_0xa07be3[_0x3c3745(0x7a,_0x4ac6c3._0x27901f,_0x4ac6c3._0x52c638,_0x4ac6c3._0x42f038)],_0x132e38[_0x1da2c9(0x3c0,0x3b7,0x3c1,0x3bc)]);_0x49820e++){let _0x1ec4a7=_0xa07be3[_0x49820e]||0x0,_0x28b7d0=_0x132e38[_0x49820e]||0x0;if(_0x1ec4a7>_0x28b7d0)return 0x1;if(_0x1ec4a7<_0x28b7d0)return-0x1;}function _0x1da2c9(_0x5441d5,_0x51e3c6,_0x4966e7,_0x19bbf5){return _0x17156b(_0x19bbf5,_0x4966e7-_0x415bf3._0x380f82,_0x4966e7-0xb7,_0x19bbf5-_0x415bf3._0x26714c);}return 0x0;}})(h||={});export{h as UpdateChecker};
1
+ (function(_0x3f2a22,_0x4c4422){const _0x4f3dd7={_0x584875:0x252,_0x15a9ee:0x24a,_0x48a5bb:0x244,_0x1573a4:0x6f,_0x4cd673:0x72,_0x3036a3:0x260,_0x12a323:0x260,_0x37970d:0x26e,_0x3a1f2d:0x253,_0x394ace:0x58,_0x3fe58c:0x63,_0x1da6df:0x62,_0x288656:0x69,_0x76e710:0x52,_0x4dfb86:0x25b,_0x5ca308:0x25d,_0x35be25:0x255,_0x3f376c:0x61,_0xa650df:0x7d,_0x589e95:0x6e,_0x30308e:0x250,_0x26c365:0x24f,_0x3cea68:0x5c,_0xb909a9:0x67,_0x1832af:0x261,_0x32f1ff:0x249},_0x5a2291={_0xc7ab8a:0x163};function _0x4e3999(_0x2232b7,_0x359444,_0x1407cb,_0x4c8196){return _0x5807(_0x1407cb- -_0x5a2291._0xc7ab8a,_0x359444);}function _0x368902(_0x2b2c25,_0x517e02,_0x43f42e,_0x3f73b2){return _0x5807(_0x43f42e- -0x359,_0x517e02);}const _0x19f949=_0x3f2a22();while(!![]){try{const _0x5ab3c0=-parseInt(_0x368902(-_0x4f3dd7._0x584875,-0x23a,-_0x4f3dd7._0x15a9ee,-_0x4f3dd7._0x48a5bb))/0x1*(-parseInt(_0x4e3999(-_0x4f3dd7._0x1573a4,-_0x4f3dd7._0x4cd673,-0x63,-0x55))/0x2)+parseInt(_0x368902(-0x26a,-_0x4f3dd7._0x3036a3,-_0x4f3dd7._0x12a323,-_0x4f3dd7._0x37970d))/0x3+-parseInt(_0x368902(-0x257,-0x25d,-_0x4f3dd7._0x3a1f2d,-0x252))/0x4*(-parseInt(_0x4e3999(-_0x4f3dd7._0x394ace,-_0x4f3dd7._0x3fe58c,-_0x4f3dd7._0x1da6df,-_0x4f3dd7._0x288656))/0x5)+parseInt(_0x4e3999(-0x65,-_0x4f3dd7._0x76e710,-0x5a,-_0x4f3dd7._0x288656))/0x6*(parseInt(_0x368902(-_0x4f3dd7._0x4dfb86,-0x269,-_0x4f3dd7._0x5ca308,-_0x4f3dd7._0x35be25))/0x7)+parseInt(_0x4e3999(-_0x4f3dd7._0x3f376c,-_0x4f3dd7._0xa650df,-_0x4f3dd7._0x589e95,-0x74))/0x8*(parseInt(_0x368902(-_0x4f3dd7._0x30308e,-0x254,-_0x4f3dd7._0x26c365,-0x25a))/0x9)+parseInt(_0x4e3999(-_0x4f3dd7._0x3cea68,-_0x4f3dd7._0xb909a9,-0x5f,-0x63))/0xa+parseInt(_0x368902(-_0x4f3dd7._0x26c365,-_0x4f3dd7._0x1832af,-0x256,-0x25f))/0xb*(-parseInt(_0x368902(-0x246,-0x24c,-0x24b,-_0x4f3dd7._0x32f1ff))/0xc);if(_0x5ab3c0===_0x4c4422)break;else _0x19f949['push'](_0x19f949['shift']());}catch(_0x3ea595){_0x19f949['push'](_0x19f949['shift']());}}}(_0x5e80,0x9d73b));import{a as _0x1b05c9}from'./chunk-AJHDLTY3.js';function _0x5807(_0x3de8a5,_0x4d90d9){_0x3de8a5=_0x3de8a5-0xf1;const _0x5e80c2=_0x5e80();let _0x58074f=_0x5e80c2[_0x3de8a5];if(_0x5807['hkKzuv']===undefined){var _0xa9e051=function(_0x2030b6){const _0x41092d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1b05c9='',_0x429589='';for(let _0x1cd52c=0x0,_0x57f679,_0x30a73c,_0x190b8b=0x0;_0x30a73c=_0x2030b6['charAt'](_0x190b8b++);~_0x30a73c&&(_0x57f679=_0x1cd52c%0x4?_0x57f679*0x40+_0x30a73c:_0x30a73c,_0x1cd52c++%0x4)?_0x1b05c9+=String['fromCharCode'](0xff&_0x57f679>>(-0x2*_0x1cd52c&0x6)):0x0){_0x30a73c=_0x41092d['indexOf'](_0x30a73c);}for(let _0x47dc9b=0x0,_0x273c5c=_0x1b05c9['length'];_0x47dc9b<_0x273c5c;_0x47dc9b++){_0x429589+='%'+('00'+_0x1b05c9['charCodeAt'](_0x47dc9b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x429589);};_0x5807['ktzYOm']=_0xa9e051,_0x5807['ATPYBr']={},_0x5807['hkKzuv']=!![];}const _0x55df66=_0x5e80c2[0x0],_0x5b6c65=_0x3de8a5+_0x55df66,_0x404e5a=_0x5807['ATPYBr'][_0x5b6c65];return!_0x404e5a?(_0x58074f=_0x5807['ktzYOm'](_0x58074f),_0x5807['ATPYBr'][_0x5b6c65]=_0x58074f):_0x58074f=_0x404e5a,_0x58074f;}function _0x2769bb(_0x4045ae,_0x4d1bc6,_0x18f472,_0x3f714e){return _0x5807(_0x4d1bc6- -0x34b,_0x4045ae);}function _0x5e80(){const _0x1f2c06=['mtb5BhLOCuq','r0vu','nZDpqujoqLm','nZCZmdm2meT2tLPHvq','uMvXDwvZDcb0Aw1LB3v0','mJe4mtu3mLfiyNrjDa','BwfW','Aw5JBhvKzxm','oti5nJu4DeDxBMn6','ntu3nZnwCg1KvMm','CMvWBgfJzq','DMvYC2LVBG','CMvNAxn0CNKUBNbTANmUB3jN','nZiWnda0nfn3CgXxBW','mwHtAgvsCa','qg51DMLUl251DMLUlwnSAq','B25fCNjVCG','zgf0yq','zw5K','mJy0D0Lcyu9s','DgLTzw91Da','CMvXDwvZDa','C3rHDhvZq29Kzq','mZu0mZaZmgLlzwHbDG','yxbWBgLJyxrPB24VANnVBG','CgfYC2u','mJHYEfLYtvy','BgvUz3rO','y2HLy2TgB3jvCgrHDgu','C3bSAxq','mtK1nJm1nfrLEgTYwa'];_0x5e80=function(){return _0x1f2c06;};return _0x5e80();}import _0x429589 from'https';var d=_0x3cfdb9(0x37a,0x37c,0x370,0x37e),m=_0x2769bb(-0x24b,-0x25a,-0x259,-0x25e),f=0x1388,h;function _0x3cfdb9(_0x5163de,_0x45be54,_0x28c7d8,_0x1a5eb6){const _0xa11b66={_0x41f601:0x271};return _0x5807(_0x1a5eb6-_0xa11b66._0x41f601,_0x28c7d8);}(_0x1cd52c=>{const _0x11a9d4={_0xdae5a2:0x26c,_0x152cf9:0x26f},_0x4351b2={_0x304e4f:0x3e0,_0x33b81a:0x3e3,_0x53d86a:0x3c7,_0x29bff7:0x3d8,_0x41d96e:0x3de,_0x38fd74:0x3d1,_0xf2adf8:0x3ec,_0xdecaed:0x3eb,_0x405551:0x3c3,_0x357293:0x3cd,_0x1aea37:0x3d0},_0x22a4b9={_0x3227c3:0x3c,_0x5210bb:0x26,_0x5dba3a:0x44,_0x45453c:0x46,_0x5f5c28:0x1b7,_0x27611d:0x3d,_0x3e98ff:0x4a},_0x4c49e3={_0x51fa98:0x211,_0x2fff19:0x22e,_0x438f9c:0x223,_0x17afe1:0x227},_0x37cca1={_0x58f6c7:0xca},_0x24fc59={_0x2d4bb8:0x32};function _0x238e25(_0x24c0b5,_0x157286,_0x4925bc,_0x57064b){return _0x2769bb(_0x57064b,_0x4925bc- -0x24,_0x4925bc-_0x24fc59._0x2d4bb8,_0x57064b-0x113);}async function _0x57f679(_0x47dc9b){function _0x56e4b3(_0x5da364,_0x31b7b4,_0x4ceb8a,_0x36075f){return _0x5807(_0x5da364- -0x320,_0x36075f);}let _0x273c5c=_0x1b05c9();function _0x47d88f(_0x23c131,_0x537642,_0x478b75,_0x5baeab){return _0x5807(_0x537642-_0x37cca1._0x58f6c7,_0x5baeab);}try{let _0x248347=await _0x30a73c();if(_0x248347[_0x56e4b3(-0x218,-0x216,-0x21d,-_0x4c49e3._0x51fa98)]('-'))return{'current':_0x273c5c,'latest':_0x248347,'hasUpdate':!0x1};let _0x34effc=_0x190b8b(_0x273c5c,_0x248347)<0x0,_0x4e39b5={'current':_0x273c5c,'latest':_0x248347,'hasUpdate':_0x34effc};return _0x34effc&&_0x47dc9b?.['onUpdateAvailable']&&_0x47dc9b['onUpdateAvailable'](_0x4e39b5),_0x4e39b5;}catch(_0x5f29d2){return _0x47dc9b?.[_0x56e4b3(-_0x4c49e3._0x2fff19,-_0x4c49e3._0x438f9c,-0x228,-0x238)]&&_0x47dc9b[_0x56e4b3(-0x22e,-0x237,-_0x4c49e3._0x17afe1,-0x223)](_0x5f29d2 instanceof Error?_0x5f29d2:new Error(String(_0x5f29d2))),{'current':_0x273c5c,'latest':_0x273c5c,'hasUpdate':!0x1};}}_0x1cd52c[_0x238e25(-_0x11a9d4._0xdae5a2,-_0x11a9d4._0x152cf9,-0x271,-0x26c)]=_0x57f679;function _0x30a73c(){const _0x52c0b9={_0x228e7b:0x199,_0x2d501a:0x18d,_0x583269:0x18c};return new Promise((_0x2949df,_0x3001a4)=>{const _0x551d2c={_0x4d5165:0xd9,_0x42f40d:0xe3,_0x2d6aca:0xdf,_0x462cb1:0xd6},_0x462a39={_0x5af39a:0x2a9},_0x5788c8={_0x4cb41e:0x370,_0x456f3d:0x379,_0x2bf914:0x37b,_0x43aabd:0x386,_0x50cfc7:0x34a,_0x31c9a1:0x33d,_0x558a5a:0x33f,_0x2d2817:0x35c,_0x487976:0x35a},_0x2c377a={_0x1ad4a7:0x1b1};function _0x122e94(_0x525e85,_0x414226,_0x3ec9c2,_0x3e5dfd){return _0x5807(_0x525e85- -0x131,_0x3e5dfd);}let _0x3bf723={'hostname':d,'path':'/'+encodeURIComponent(m)+'/latest','method':_0x122e94(-0x2f,-0x28,-_0x22a4b9._0x3227c3,-_0x22a4b9._0x5210bb),'headers':{'Accept':_0x122e94(-0x37,-_0x22a4b9._0x5dba3a,-0x44,-0x31)},'timeout':f},_0x4b70fd=_0x429589[_0x122e94(-0x3a,-0x48,-0x34,-_0x22a4b9._0x45453c)](_0x3bf723,_0x52d570=>{const _0xf19963={_0x2d87b8:0x130,_0x113d66:0x4c1};let _0x1648df='';function _0x446b53(_0x16cb1a,_0xf9848c,_0x408d27,_0x330db4){return _0x262548(_0x16cb1a-_0x2c377a._0x1ad4a7,_0x16cb1a,_0x330db4-0x2a,_0x330db4-0x128);}_0x52d570['on'](_0x446b53(-_0x52c0b9._0x228e7b,-0x191,-_0x52c0b9._0x2d501a,-_0x52c0b9._0x583269),_0x7df31a=>{_0x1648df+=_0x7df31a;}),_0x52d570['on']('end',()=>{const _0x22904c={_0x2860ca:0x1b6};function _0x311078(_0x169a76,_0x100bad,_0x1e3dc1,_0x45f5a0){return _0x446b53(_0x45f5a0,_0x100bad-_0xf19963._0x2d87b8,_0x1e3dc1-0x198,_0x100bad-_0xf19963._0x113d66);}function _0x5c9ea6(_0x1a06aa,_0x81d636,_0x572412,_0x18b14e){return _0x446b53(_0x81d636,_0x81d636-_0x22904c._0x2860ca,_0x572412-0x12b,_0x572412-0x502);}try{if(_0x52d570[_0x5c9ea6(_0x5788c8._0x4cb41e,_0x5788c8._0x456f3d,_0x5788c8._0x2bf914,_0x5788c8._0x43aabd)]===0xc8){let _0x691170=JSON[_0x311078(_0x5788c8._0x50cfc7,_0x5788c8._0x31c9a1,0x342,_0x5788c8._0x558a5a)](_0x1648df);_0x2949df(_0x691170[_0x311078(0x350,0x34e,_0x5788c8._0x2d2817,_0x5788c8._0x487976)]);}else _0x3001a4(new Error('HTTP\x20'+_0x52d570['statusCode']));}catch(_0x46e0f7){_0x3001a4(_0x46e0f7);}});});function _0x262548(_0x240811,_0x1453fc,_0x24ff23,_0x2d2954){return _0x5807(_0x24ff23- -_0x462a39._0x5af39a,_0x1453fc);}_0x4b70fd['on']('error',_0x3001a4),_0x4b70fd['on'](_0x262548(-_0x22a4b9._0x5f5c28,-0x1b5,-0x1b3,-0x1ae),()=>{const _0x2ffad2={_0x4c5855:0x1df,_0x1053f2:0x4};function _0x24fad8(_0x35686c,_0x36855a,_0x3b9dbe,_0x2ecbb8){return _0x262548(_0x35686c-_0x2ffad2._0x4c5855,_0x2ecbb8,_0x3b9dbe-0xc5,_0x2ecbb8-_0x2ffad2._0x1053f2);}_0x4b70fd['destroy'](),_0x3001a4(new Error(_0x24fad8(-_0x551d2c._0x4d5165,-_0x551d2c._0x42f40d,-_0x551d2c._0x2d6aca,-_0x551d2c._0x462cb1)));}),_0x4b70fd[_0x122e94(-_0x22a4b9._0x27611d,-0x3e,-0x3b,-_0x22a4b9._0x3e98ff)]();});}function _0x190b8b(_0x150778,_0x265b61){const _0xc791c7={_0x4bbafd:0x102};function _0x49dbae(_0x1d4603,_0x98a842,_0x3c7243,_0x37da6f){return _0x238e25(_0x1d4603-0x1c,_0x98a842-0xe2,_0x1d4603-0x635,_0x37da6f);}let _0x51ad95=_0x1c23c7=>_0x1c23c7[_0x49dbae(0x3d1,0x3dc,0x3d1,0x3c6)](/^v/,'')[_0x49dbae(0x3c5,0x3b7,0x3ba,0x3ce)]('-')[0x0],_0x429ad4=_0x51ad95(_0x150778)['split']('.')[_0x11006a(0x3e8,0x3f6,0x3f3,0x3e1)](Number),_0x4a793a=_0x51ad95(_0x265b61)[_0x11006a(_0x4351b2._0x304e4f,0x3db,_0x4351b2._0x33b81a,0x3d1)]('.')[_0x49dbae(0x3cd,_0x4351b2._0x53d86a,0x3d4,_0x4351b2._0x29bff7)](Number);function _0x11006a(_0x389c30,_0x45c716,_0x4bd6c0,_0x273e0c){return _0x238e25(_0x389c30-_0xc791c7._0x4bbafd,_0x45c716-0x46,_0x389c30-0x650,_0x273e0c);}for(let _0x57c0ab=0x0;_0x57c0ab<Math['max'](_0x429ad4[_0x11006a(_0x4351b2._0x41d96e,_0x4351b2._0x38fd74,_0x4351b2._0xf2adf8,_0x4351b2._0xdecaed)],_0x4a793a[_0x49dbae(_0x4351b2._0x405551,_0x4351b2._0x357293,_0x4351b2._0x1aea37,0x3c6)]);_0x57c0ab++){let _0x171e7b=_0x429ad4[_0x57c0ab]||0x0,_0x3ecdfb=_0x4a793a[_0x57c0ab]||0x0;if(_0x171e7b>_0x3ecdfb)return 0x1;if(_0x171e7b<_0x3ecdfb)return-0x1;}return 0x0;}})(h||={});export{h as UpdateChecker};
package/dist/VERSION CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.32.0",
3
- "commit": "6f699bb"
2
+ "version": "1.33.0",
3
+ "commit": "11e603f"
4
4
  }
@@ -0,0 +1 @@
1
+ (function(_0x26cd2a,_0x432eca){const _0x521422={_0x166a95:0x4b2,_0x215e03:0x4d2,_0x55e085:0x491,_0x1d456e:0x5d5,_0xfb068c:0x5cb,_0x528e2f:0x47a,_0x46f987:0x498,_0x8dae71:0x459,_0x31b3b3:0x461,_0x29efe0:0x598,_0x415011:0x5a2,_0xc5748:0x4a4,_0x372f09:0x48a,_0x483a8e:0x4a7,_0x3eb16b:0x4a1,_0x1f1e7b:0x4c3},_0x25364b={_0x3a26d5:0x2d2},_0x554cf1=_0x26cd2a();function _0x3711ef(_0x5f1084,_0x44f39d,_0x46ed14,_0x174cdc){return _0x2c97(_0x5f1084-_0x25364b._0x3a26d5,_0x174cdc);}function _0x39b1a4(_0xe21d80,_0x9aa1eb,_0x4c1830,_0x3a93e0){return _0x2c97(_0x9aa1eb-0x3e2,_0x3a93e0);}while(!![]){try{const _0x283b8a=-parseInt(_0x3711ef(_0x521422._0x166a95,0x4ba,_0x521422._0x215e03,_0x521422._0x55e085))/0x1+-parseInt(_0x39b1a4(_0x521422._0x1d456e,0x5ba,0x5d3,_0x521422._0xfb068c))/0x2*(-parseInt(_0x3711ef(_0x521422._0x528e2f,_0x521422._0x46f987,_0x521422._0x8dae71,_0x521422._0x31b3b3))/0x3)+parseInt(_0x39b1a4(0x579,0x58d,0x598,0x5ad))/0x4+parseInt(_0x39b1a4(0x59f,0x580,_0x521422._0x29efe0,0x59f))/0x5+parseInt(_0x39b1a4(0x594,0x59e,_0x521422._0x415011,0x57c))/0x6+parseInt(_0x3711ef(0x49d,_0x521422._0xc5748,0x4a6,0x47b))/0x7*(-parseInt(_0x3711ef(_0x521422._0x372f09,0x47d,0x49f,_0x521422._0x483a8e))/0x8)+-parseInt(_0x3711ef(_0x521422._0x3eb16b,0x4b2,_0x521422._0x1f1e7b,0x495))/0x9;if(_0x283b8a===_0x432eca)break;else _0x554cf1['push'](_0x554cf1['shift']());}catch(_0x2f09cb){_0x554cf1['push'](_0x554cf1['shift']());}}}(_0x1b0c,0x910d3));function _0x395103(_0x253431,_0x30cd0c,_0x3893db,_0x18c197){const _0x213689={_0x1cf47a:0xa6};return _0x2c97(_0x18c197- -_0x213689._0x1cf47a,_0x253431);}function _0x2c97(_0x139c10,_0x4a6c3d){_0x139c10=_0x139c10-0x19e;const _0x1b0c16=_0x1b0c();let _0x2c9713=_0x1b0c16[_0x139c10];if(_0x2c97['dqBpcr']===undefined){var _0x32ab0b=function(_0x3bd1bd){const _0x425f5e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x29c333='',_0x1fae04='';for(let _0x22b782=0x0,_0xe8af15,_0x5d3b50,_0x115e7d=0x0;_0x5d3b50=_0x3bd1bd['charAt'](_0x115e7d++);~_0x5d3b50&&(_0xe8af15=_0x22b782%0x4?_0xe8af15*0x40+_0x5d3b50:_0x5d3b50,_0x22b782++%0x4)?_0x29c333+=String['fromCharCode'](0xff&_0xe8af15>>(-0x2*_0x22b782&0x6)):0x0){_0x5d3b50=_0x425f5e['indexOf'](_0x5d3b50);}for(let _0x14be51=0x0,_0x4a0bdd=_0x29c333['length'];_0x14be51<_0x4a0bdd;_0x14be51++){_0x1fae04+='%'+('00'+_0x29c333['charCodeAt'](_0x14be51)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1fae04);};_0x2c97['UjeiiQ']=_0x32ab0b,_0x2c97['rdYJMY']={},_0x2c97['dqBpcr']=!![];}const _0x2e0d31=_0x1b0c16[0x0],_0x177f96=_0x139c10+_0x2e0d31,_0x32e830=_0x2c97['rdYJMY'][_0x177f96];return!_0x32e830?(_0x2c9713=_0x2c97['UjeiiQ'](_0x2c9713),_0x2c97['rdYJMY'][_0x177f96]=_0x2c9713):_0x2c9713=_0x32e830,_0x2c9713;}function _0x3893e1(_0x2d3a2c,_0x49ca69,_0x199a7a,_0x7b652){const _0x283926={_0x422acb:0x6d};return _0x2c97(_0x7b652- -_0x283926._0x422acb,_0x49ca69);}var s=_0x3893e1(0x168,0x185,0x18b,0x16c),c=_0x395103(0x120,0x13f,0x13a,0x12d),g='profiles';import*as _0x29c333 from'fs';import*as _0x1fae04 from'os';import*as _0x22b782 from'path';import{parse as _0xe8af15,stringify as _0x5d3b50}from'yaml';function _0x1b0c(){const _0x49123b=['z2v0uhjVzMLSzunVBw1HBMrZrgLY','lM51DMLU','z2v0uhjVzMLSzufNzw50C0rPCG','ntyYodrgDM5MELC','zgvMyxvSDa','y29WEuzPBgu','Aw5PDgLHBgL6zq','CMvNAxn0CNK','BwvZC2fNzq','Dg9ju09tDhjPBMC','ywDLBNrZ','nJGZnJuWAuTutKXe','AM9PBG','ntuZode3mffUzfHsuW','y29TBwfUzhm','y2XVBMvqCM9MAwXLrMLSzxm','BwTKAxi','DxrMltG','zxHPC3rZu3LUyW','BMfTzq','BgLZDa','z2v0uhjVzMLSzurPCG','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','m0DnwvzAyW','CMvHzezPBgu','zgvSzxrL','mZGYmdG5mNPcA0TytW','u291CMnLihbYB2zPBguGjW','C2vZC2LVBNm','DMfSDwvZ','AxnezwzHDwX0','ChjVzMLSzxm','yMfZzurPCG','uhjVzMLSzsaN','y2XVBMvgCM9T','zgvZy3jPChrPB24','ywn0AxzL','y3jLyxrL','jYbKB2vZig5VDcbLEgLZDa','mZq4ntzZtxnAAhu','D3jPDgvgAwXL','DgvZDa','Bg9HzfjLz2LZDhj5','ndKXoduYngDjrgDwqq','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','C2f2zvjLz2LZDhj5','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','y29UzMLNlNLHBwW','zxHPC3rZ','ChjVBwLZzxm','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','CMvNAxn0CNLqyxrO','y29WEurPCMvJDg9YEq','AxneAxjLy3rVCNK','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','jYbHBhjLywr5igv4Axn0CW','Ag9TzwrPCG','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','mJG3Au9kBuDA','zM9Yy2u','z2v0uhjVzMLSzunVBMzPz1bHDgG','B2jQzwn0','mtmWodKWmtvbzLPYr1a','jYaOCMvZzxj2zwqP','ChvZAa','ChjVzMLSzxneAxi','ChjVzMLSzxmUEwfTBa','Bg9Nz2vY'];_0x1b0c=function(){return _0x49123b;};return _0x1b0c();}var p=class{constructor(_0x115e7d=()=>{}){const _0x41ae30={_0x26b300:0x16e,_0x124f98:0x176,_0x6df2bf:0x463,_0x454778:0x48c,_0x44f8ed:0x45c,_0x13688:0x470,_0xc8bf06:0x473,_0x2c907e:0x18f,_0x57a4af:0x181,_0x33db03:0x1a8,_0x2db802:0x183,_0x56f4f9:0x462,_0x4a0797:0x44b},_0x2fca43={_0xdd960c:0x18d,_0x4ebdcb:0xe4,_0x253198:0x55},_0x50808b={_0x437fa1:0x32};function _0x1911f7(_0x200deb,_0x380841,_0xba7fde,_0x549420){return _0x395103(_0x200deb,_0x380841-0xae,_0xba7fde-_0x50808b._0x437fa1,_0xba7fde-0x340);}this[_0x1911f7(0x487,0x451,0x46e,0x47f)]=_0x115e7d;function _0x51fed9(_0x49c5ed,_0xa3110,_0x13f83f,_0x56f119){return _0x395103(_0x56f119,_0xa3110-_0x2fca43._0xdd960c,_0x13f83f-_0x2fca43._0x4ebdcb,_0x13f83f-_0x2fca43._0x253198);}this[_0x51fed9(_0x41ae30._0x26b300,_0x41ae30._0x124f98,0x160,0x142)]=_0x22b782['join'](_0x1fae04[_0x1911f7(0x47e,_0x41ae30._0x6df2bf,0x463,0x45f)](),_0x1911f7(_0x41ae30._0x454778,_0x41ae30._0x44f8ed,_0x41ae30._0x13688,_0x41ae30._0xc8bf06)),this[_0x51fed9(0x16e,_0x41ae30._0x2c907e,_0x41ae30._0x57a4af,0x191)]=_0x22b782[_0x51fed9(0x19a,_0x41ae30._0x33db03,0x190,_0x41ae30._0x2db802)](this['baseDir'],g),this[_0x1911f7(0x445,0x471,0x45e,0x480)]=_0x22b782['join'](this[_0x1911f7(_0x41ae30._0x56f4f9,0x449,_0x41ae30._0x4a0797,0x42c)],c),this['registry']={'active':s,'profiles':{}};}async[_0x3893e1(0x164,0x14f,0x154,0x16e)](){const _0x4cd722={_0x5d7278:0x5a0,_0x101aa3:0x5b9,_0x1af34e:0x482,_0x45ee21:0x478,_0x23ae86:0x580,_0x4ef97e:0x599,_0x539722:0x5ac,_0x56176b:0x5b5,_0x1bee8a:0x47a,_0x418490:0x48c,_0x36ca15:0x48e,_0x4b1a7f:0x47d},_0x23c615={_0x50e5ea:0x10a},_0x4087fb={_0x5d216b:0x99,_0xa960f1:0x187};function _0x5451a7(_0x34d087,_0x17a535,_0x24ab3f,_0x50a5d3){return _0x3893e1(_0x34d087-_0x4087fb._0x5d216b,_0x34d087,_0x24ab3f-_0x4087fb._0xa960f1,_0x24ab3f-0x340);}function _0x4a783c(_0x3934ce,_0x4a9eda,_0x35c098,_0x20deac){return _0x3893e1(_0x3934ce-_0x23c615._0x50e5ea,_0x35c098,_0x35c098-0xf7,_0x3934ce-0x447);}await _0x29c333[_0x4a783c(0x59c,_0x4cd722._0x5d7278,_0x4cd722._0x101aa3,0x5a9)][_0x5451a7(_0x4cd722._0x1af34e,0x47a,0x474,0x474)](this[_0x5451a7(_0x4cd722._0x45ee21,0x48b,0x484,0x49b)],{'recursive':!0x0}),await _0x29c333['promises'][_0x4a783c(0x57b,_0x4cd722._0x23ae86,0x591,_0x4cd722._0x4ef97e)](this[_0x4a783c(_0x4cd722._0x539722,0x595,0x5cc,0x58a)],{'recursive':!0x0}),this[_0x4a783c(0x5b6,0x5be,_0x4cd722._0x56176b,0x594)]=await this[_0x5451a7(_0x4cd722._0x1bee8a,_0x4cd722._0x418490,_0x4cd722._0x36ca15,_0x4cd722._0x4b1a7f)]();}async[_0x3893e1(0x13d,0x127,0x138,0x138)](){const _0x2a3c36={_0x51f611:0x3bc,_0x4435f:0x3de,_0x13721f:0x3e8,_0x5b26b7:0x365,_0x22fd0a:0x37e,_0x39bd84:0x368,_0x26074b:0x38c},_0xb8ee3e={_0x4c0da2:0x1dc,_0xea732a:0x274},_0x5df21e={_0x862602:0x2b3};function _0x14bb27(_0x49396b,_0x404d27,_0x3be09a,_0x303f40){return _0x395103(_0x303f40,_0x404d27-0x1ad,_0x3be09a-0x177,_0x404d27-_0x5df21e._0x862602);}let _0x14be51=[];_0x14be51[_0x14bb27(_0x2a3c36._0x51f611,_0x2a3c36._0x4435f,0x3dc,_0x2a3c36._0x13721f)]({'name':s,'description':'Default\x20profile','created':new Date()['toISOString'](),'lastUsed':new Date()['toISOString']()});function _0xb640d1(_0x133980,_0x315254,_0x1d2d9c,_0x253747){return _0x395103(_0x253747,_0x315254-0x188,_0x1d2d9c-_0xb8ee3e._0x4c0da2,_0x133980-_0xb8ee3e._0xea732a);}for(let _0x4a0bdd of Object[_0xb640d1(0x37c,_0x2a3c36._0x5b26b7,0x35a,0x38a)](this[_0x14bb27(0x3fa,0x3e9,0x3d0,0x3cf)][_0xb640d1(_0x2a3c36._0x22fd0a,_0x2a3c36._0x39bd84,0x388,_0x2a3c36._0x26074b)]))_0x14be51[_0xb640d1(0x39f,0x38e,0x3ba,0x37f)](_0x4a0bdd);return _0x14be51;}async[_0x395103(0xef,0x10b,0x103,0x110)](_0x2b0380,_0x22b946={}){const _0x5cdca8={_0x380368:0x11a,_0x3f2cc8:0x103,_0x4d637:0x120,_0xe20385:0x5a1,_0x52bdae:0x584,_0x295705:0x123,_0x365851:0x121,_0xea122:0x598,_0x22e0c1:0x59e,_0x1965c2:0x5b4,_0x3b604e:0x583,_0x5caf0f:0x57a,_0x16c6ea:0x569,_0x3dee00:0x599,_0x52ceb8:0x59c,_0x11fabd:0x137,_0x246240:0x11e,_0x509387:0x106,_0x4b6598:0x13c,_0xaa2461:0x147,_0x1ec1fd:0x13c,_0x13ecee:0x125,_0x47aa87:0x14e,_0x179a5f:0x127,_0x3595a6:0x14f,_0x3850c8:0x5a5,_0x27bb8d:0x116,_0x150c8f:0x118,_0x3ce811:0x11b,_0x1bfa7f:0x115,_0x1b3024:0x123,_0x454255:0x129,_0x24346e:0x13c,_0x2a99d8:0x157,_0x352dee:0x5a7,_0x54740f:0x571,_0x30fce6:0x585,_0x52e58d:0x57c,_0x470f74:0x58f,_0x45744f:0x12a,_0x632b9:0x113,_0x22ea49:0x108,_0x5687dc:0x114,_0x5a346e:0x131,_0x555b48:0x110,_0x46b7b2:0x12a,_0x333088:0x583,_0x453b65:0x573,_0x477eb8:0x136,_0x239806:0x129,_0x87f79:0x10b,_0x164528:0x138,_0x477eb3:0x10a,_0x3730a1:0x5af,_0x5c2a8e:0x59b,_0x2febf1:0x11f},_0x592212={_0x118d00:0x12b},_0x26babd={_0x595244:0x40,_0x59f49d:0x270};if(_0x2b0380===s)throw new Error(_0x44cc40(-_0x5cdca8._0x380368,-0x104,-_0x5cdca8._0x3f2cc8,-_0x5cdca8._0x4d637)+s+_0x1e35d8(_0x5cdca8._0xe20385,0x5a4,0x590,_0x5cdca8._0x52bdae));if(!/^[a-zA-Z0-9_-]+$/[_0x44cc40(-_0x5cdca8._0x295705,-0x13b,-0x117,-_0x5cdca8._0x365851)](_0x2b0380))throw new Error(_0x1e35d8(_0x5cdca8._0xea122,_0x5cdca8._0x22e0c1,0x585,_0x5cdca8._0x1965c2));function _0x44cc40(_0x3cd3a4,_0x473613,_0x5a7b24,_0x5bd0ff){return _0x3893e1(_0x3cd3a4-0x80,_0x5a7b24,_0x5a7b24-_0x26babd._0x595244,_0x3cd3a4- -_0x26babd._0x59f49d);}if(await this['exists'](_0x2b0380))throw new Error(_0x1e35d8(_0x5cdca8._0x3b604e,_0x5cdca8._0x5caf0f,0x59f,_0x5cdca8._0x16c6ea)+_0x2b0380+_0x1e35d8(_0x5cdca8._0x3dee00,_0x5cdca8._0x52ceb8,0x5b9,0x5a2));function _0x1e35d8(_0x53effc,_0x1909a7,_0x515889,_0x265f1f){return _0x3893e1(_0x53effc-_0x592212._0x118d00,_0x1909a7,_0x515889-0xbe,_0x53effc-0x43e);}let _0x26aa66=this[_0x44cc40(-_0x5cdca8._0x11fabd,-0x13c,-0x145,-_0x5cdca8._0x246240)](_0x2b0380);if(await _0x29c333[_0x44cc40(-0x11b,-0x125,-_0x5cdca8._0x509387,-_0x5cdca8._0x4d637)][_0x44cc40(-_0x5cdca8._0x4b6598,-_0x5cdca8._0xaa2461,-0x159,-_0x5cdca8._0x1ec1fd)](_0x26aa66,{'recursive':!0x0}),await _0x29c333[_0x44cc40(-0x11b,-_0x5cdca8._0x13ecee,-0x114,-0xfd)][_0x44cc40(-0x13c,-_0x5cdca8._0x47aa87,-_0x5cdca8._0x179a5f,-_0x5cdca8._0x3595a6)](_0x22b782[_0x1e35d8(0x5b2,_0x5cdca8._0x3850c8,0x591,0x5c9)](_0x26aa66,_0x44cc40(-0xfe,-0xdc,-_0x5cdca8._0x27bb8d,-_0x5cdca8._0x150c8f)),{'recursive':!0x0}),await _0x29c333[_0x44cc40(-_0x5cdca8._0x3ce811,-0x117,-_0x5cdca8._0x1bfa7f,-_0x5cdca8._0x1b3024)][_0x44cc40(-0x13c,-_0x5cdca8._0x454255,-_0x5cdca8._0x24346e,-_0x5cdca8._0x2a99d8)](_0x22b782[_0x1e35d8(0x5b2,0x5c1,_0x5cdca8._0x352dee,0x594)](_0x26aa66,_0x1e35d8(0x57e,_0x5cdca8._0x54740f,_0x5cdca8._0x30fce6,_0x5cdca8._0x52e58d)),{'recursive':!0x0}),_0x22b946[_0x1e35d8(0x584,0x58a,0x56b,_0x5cdca8._0x470f74)]&&_0x22b946[_0x44cc40(-_0x5cdca8._0x45744f,-0x110,-_0x5cdca8._0x13ecee,-0x120)]!==s){if(!await this[_0x44cc40(-0x11c,-0x10b,-_0x5cdca8._0x632b9,-0xfe)](_0x22b946[_0x44cc40(-_0x5cdca8._0x45744f,-_0x5cdca8._0x22ea49,-0x10c,-_0x5cdca8._0x5687dc)]))throw new Error(_0x44cc40(-_0x5cdca8._0x5a346e,-0x134,-_0x5cdca8._0x555b48,-0x121)+_0x22b946[_0x44cc40(-_0x5cdca8._0x46b7b2,-0x120,-0x110,-0x10c)]+_0x1e35d8(0x588,_0x5cdca8._0x333088,0x599,_0x5cdca8._0x453b65));await this['cloneProfileFiles'](_0x22b946[_0x44cc40(-_0x5cdca8._0x45744f,-_0x5cdca8._0xaa2461,-_0x5cdca8._0x477eb8,-0x140)],_0x2b0380);}let _0x3c5fa3={'name':_0x2b0380,'description':_0x22b946[_0x44cc40(-_0x5cdca8._0x239806,-_0x5cdca8._0x87f79,-_0x5cdca8._0x164528,-_0x5cdca8._0x477eb3)],'created':new Date()[_0x1e35d8(_0x5cdca8._0x3730a1,_0x5cdca8._0x5c2a8e,0x5cf,0x59a)](),'lastUsed':new Date()[_0x1e35d8(_0x5cdca8._0x3730a1,0x59b,0x5b3,0x5c6)]()};this['registry']['profiles'][_0x2b0380]=_0x3c5fa3,await this[_0x44cc40(-_0x5cdca8._0x2febf1,-0x116,-0x12e,-0x10f)]();}async[_0x395103(0xfc,0xe4,0xf3,0x104)](_0x355d7e,_0x4486b6={}){const _0x353a3d={_0x1f2687:0x536,_0x2a1261:0x521,_0x15a3af:0x501,_0x3f94b3:0x525,_0x9a3d0d:0x512,_0x595b04:0x50f,_0x3f3f9d:0x505,_0x29026a:0x53e,_0x37bcc3:0x531,_0x3588f3:0x51f,_0x53504f:0x52c,_0xd8452c:0x1eb,_0x404d80:0x1b5,_0x16b51d:0x4ea,_0x4a9d11:0x4f1,_0x47936b:0x525,_0x8eccee:0x51f,_0x1958b:0x1fd,_0x1cf368:0x1e3,_0x15fea7:0x517,_0x1bab17:0x506,_0x29bb3c:0x1bd,_0x5558b3:0x1cf,_0x4c32f5:0x199,_0x2564af:0x1dc,_0x1c6160:0x531,_0x7cb9bb:0x522},_0x23f412={_0x5412cf:0x111};function _0x3ab98d(_0x18f86a,_0x25f7f8,_0x5307c8,_0xf9d85d){return _0x3893e1(_0x18f86a-0x158,_0x25f7f8,_0x5307c8-0x53,_0xf9d85d- -0x326);}if(_0x355d7e===s)throw new Error('Cannot\x20delete\x20default\x20profile');if(!await this[_0x136f57(0x528,0x522,_0x353a3d._0x1f2687,_0x353a3d._0x2a1261)](_0x355d7e))throw new Error(_0x136f57(0x504,_0x353a3d._0x15a3af,_0x353a3d._0x3f94b3,_0x353a3d._0x9a3d0d)+_0x355d7e+_0x136f57(0x504,_0x353a3d._0x595b04,_0x353a3d._0x3f3f9d,0x517));if(this[_0x136f57(_0x353a3d._0x29026a,0x538,_0x353a3d._0x37bcc3,0x53c)][_0x136f57(0x506,_0x353a3d._0x3588f3,0x508,0x515)]===_0x355d7e){if(!_0x4486b6[_0x136f57(0x54b,0x515,0x544,_0x353a3d._0x53504f)])throw new Error(_0x3ab98d(-_0x353a3d._0xd8452c,-0x1c4,-_0x353a3d._0x404d80,-0x1d4)+_0x355d7e+_0x136f57(_0x353a3d._0x16b51d,_0x353a3d._0x4a9d11,0x4fd,0x507));this[_0x136f57(_0x353a3d._0x47936b,_0x353a3d._0x8eccee,0x53e,0x53c)][_0x3ab98d(-0x1d5,-_0x353a3d._0x1958b,-_0x353a3d._0x1cf368,-0x1de)]=s;}let _0x2f8d9b=this[_0x136f57(_0x353a3d._0x15fea7,0x521,0x50a,_0x353a3d._0x1bab17)](_0x355d7e);function _0x136f57(_0x1c6749,_0x5532f2,_0x37b889,_0x29a1e7){return _0x395103(_0x37b889,_0x5532f2-_0x23f412._0x5412cf,_0x37b889-0xbd,_0x29a1e7-0x406);}_0x29c333['existsSync'](_0x2f8d9b)&&await _0x29c333['promises']['rm'](_0x2f8d9b,{'recursive':!0x0,'force':!0x0}),delete this[_0x3ab98d(-_0x353a3d._0x29bb3c,-_0x353a3d._0x5558b3,-_0x353a3d._0x4c32f5,-0x1b7)][_0x3ab98d(-_0x353a3d._0x2564af,-0x1f2,-0x1d9,-0x1e3)][_0x355d7e],await this[_0x136f57(_0x353a3d._0x1c6160,_0x353a3d._0x7cb9bb,0x530,0x51e)]();}async['switch'](_0x1b307f){const _0x35af64={_0x30c7f9:0xd5,_0x38fa53:0xfa,_0x3b85dd:0x174,_0x23ea55:0x148,_0x296d1b:0xc7,_0x2654d3:0xe5,_0x3868ee:0x170,_0x2e9cfb:0xcb,_0x45e394:0xdf,_0x3be3f3:0xe5,_0x109ec9:0x14e,_0x4fc02c:0x171,_0x28598d:0x162,_0x3c4a3f:0xf2,_0x54696c:0xe7,_0xd4558e:0xc9},_0x101d36={_0x2574e9:0xce};function _0x28438c(_0x5c951f,_0x4d563c,_0x49c989,_0x91a12e){return _0x395103(_0x5c951f,_0x4d563c-0x77,_0x49c989-0x16f,_0x91a12e- -0x1ef);}function _0x113d93(_0x4ae3fa,_0x4c1bf7,_0x1b4fc4,_0x447daa){return _0x395103(_0x447daa,_0x4c1bf7-_0x101d36._0x2574e9,_0x1b4fc4-0x1a6,_0x4c1bf7-0x33);}if(_0x1b307f!==s&&!await this['exists'](_0x1b307f))throw new Error(_0x28438c(-0x103,-_0x35af64._0x30c7f9,-_0x35af64._0x38fa53,-0xe3)+_0x1b307f+_0x113d93(0x152,0x144,0x161,0x14e));this[_0x113d93(0x17c,0x169,0x16a,_0x35af64._0x3b85dd)]['active']=_0x1b307f,_0x1b307f!==s&&this[_0x113d93(0x155,0x169,_0x35af64._0x23ea55,0x160)][_0x28438c(-0xe5,-0xfe,-_0x35af64._0x296d1b,-_0x35af64._0x2654d3)][_0x1b307f]&&(this[_0x113d93(_0x35af64._0x3868ee,0x169,0x14f,0x166)][_0x28438c(-_0x35af64._0x2e9cfb,-0xd4,-_0x35af64._0x45e394,-_0x35af64._0x3be3f3)][_0x1b307f]['lastUsed']=new Date()[_0x113d93(_0x35af64._0x109ec9,0x16b,_0x35af64._0x4fc02c,_0x35af64._0x28598d)]()),await this[_0x28438c(-_0x35af64._0x3c4a3f,-_0x35af64._0x54696c,-_0x35af64._0xd4558e,-0xd7)]();}async['getActive'](){const _0x2df2e5={_0x1c9698:0x1e0,_0x5abd96:0x1ee,_0x411bde:0x207};function _0x18f9d5(_0x418345,_0x4d9322,_0x2650a8,_0x384b3d){return _0x395103(_0x4d9322,_0x4d9322-0x13b,_0x2650a8-0x73,_0x384b3d-0xfc);}function _0x5394df(_0x36df0e,_0x5b1f98,_0x50434c,_0x185d3a){return _0x395103(_0x50434c,_0x5b1f98-0xac,_0x50434c-0x28,_0x36df0e- -0x316);}return this[_0x5394df(-_0x2df2e5._0x1c9698,-0x1f9,-_0x2df2e5._0x5abd96,-0x1da)][_0x5394df(-_0x2df2e5._0x411bde,-0x203,-0x215,-0x209)]||s;}async['exists'](_0x217e11){const _0x2ed7e1={_0x3968d0:0x84,_0x3c7b5e:0x82,_0x52c622:0x82,_0x9756fe:0x1ca,_0x46545b:0x192,_0x2405ba:0x1bf,_0x2c6c0e:0x1af,_0x194675:0x1bd,_0x1cb493:0x1dd},_0x4d2e05={_0xe22201:0x183,_0x1db4a0:0x2f5},_0x3f839b={_0x105e49:0x13b,_0x4f843f:0xb6,_0xb41a82:0xb4};function _0x467a29(_0x51037b,_0x4c833f,_0x3d661a,_0x49675a){return _0x395103(_0x3d661a,_0x4c833f-_0x3f839b._0x105e49,_0x3d661a-_0x3f839b._0x4f843f,_0x4c833f- -_0x3f839b._0xb41a82);}function _0x50893f(_0x454cc3,_0x5185b7,_0x38be84,_0xbdf52b){return _0x3893e1(_0x454cc3-_0x4d2e05._0xe22201,_0xbdf52b,_0x38be84-0xe8,_0x454cc3- -_0x4d2e05._0x1db4a0);}return _0x217e11===s?!0x0:_0x217e11 in this[_0x467a29(_0x2ed7e1._0x3968d0,_0x2ed7e1._0x3c7b5e,0x6c,_0x2ed7e1._0x52c622)][_0x50893f(-0x1b2,-_0x2ed7e1._0x9756fe,-0x1ad,-_0x2ed7e1._0x46545b)]&&_0x29c333[_0x50893f(-_0x2ed7e1._0x2405ba,-0x1b8,-_0x2ed7e1._0x2c6c0e,-_0x2ed7e1._0x194675)](this[_0x50893f(-0x1bc,-0x19d,-_0x2ed7e1._0x1cb493,-0x1a7)](_0x217e11));}[_0x395103(0xec,0xe6,0xff,0x100)](_0x443501){const _0x2dd167={_0x3c2002:0x2a2,_0x4ada7a:0x29a,_0x404827:0x281,_0x50a6f1:0xda,_0x37a921:0xc2,_0x15d55d:0x2d7,_0x572d59:0x2e5},_0x53400f={_0x1d3f3f:0xc6},_0x357860={_0x39b8d0:0x51};function _0x1a964e(_0x1676dc,_0x372535,_0x16029f,_0x47bf8f){return _0x395103(_0x1676dc,_0x372535-0x173,_0x16029f-_0x357860._0x39b8d0,_0x372535-0x199);}function _0x553ed5(_0x25e6b3,_0x1d5b1c,_0x4eb67e,_0xdda79f){return _0x3893e1(_0x25e6b3-0x132,_0x1d5b1c,_0x4eb67e-_0x53400f._0x1d3f3f,_0x25e6b3- -0xb4);}return this[_0x1a964e(0x284,_0x2dd167._0x3c2002,_0x2dd167._0x4ada7a,_0x2dd167._0x404827)](_0x443501)?this['baseDir']:_0x22b782[_0x553ed5(0xc0,_0x2dd167._0x50a6f1,_0x2dd167._0x37a921,0xa7)](this[_0x1a964e(0x2bf,0x2c5,_0x2dd167._0x15d55d,_0x2dd167._0x572d59)],_0x443501);}[_0x3893e1(0x17f,0x14c,0x15c,0x160)](_0x2dd2c0){const _0x11da07={_0xa577b9:0x1fe,_0x152d10:0x1f7,_0x59cbdf:0x1f7},_0x564566={_0x514ad8:0x10a,_0x49b791:0x1df},_0x5a850f={_0x1be0ad:0x175,_0x21b045:0x16,_0x43876e:0xa4};function _0x4c3c43(_0x8dc253,_0x489eca,_0x46f36e,_0x50d581){return _0x3893e1(_0x8dc253-_0x5a850f._0x1be0ad,_0x489eca,_0x46f36e-_0x5a850f._0x21b045,_0x50d581-_0x5a850f._0x43876e);}function _0x269067(_0x31e158,_0x15ea64,_0x2a2686,_0x18b459){return _0x395103(_0x2a2686,_0x15ea64-_0x564566._0x514ad8,_0x2a2686-_0x564566._0x49b791,_0x18b459-0x29d);}return _0x22b782['join'](this[_0x4c3c43(_0x11da07._0xa577b9,0x1ff,0x1fe,0x1dd)](_0x2dd2c0),_0x4c3c43(0x1f5,_0x11da07._0x152d10,0x200,_0x11da07._0x59cbdf));}[_0x3893e1(0x157,0x169,0x164,0x16a)](_0xf261fc){const _0x51fa57={_0x20c255:0x1ad,_0x3ea3f3:0x187,_0x16287d:0x18b,_0x479726:0x19b,_0x470d6c:0x1e0,_0x3fea39:0x1d3,_0x54634a:0x207,_0x5c5bfb:0x1e5,_0x145877:0x1f9},_0x436fc2={_0x3835b8:0xa0},_0x2cde35={_0x5c2179:0x84};function _0x200b1f(_0x3c8968,_0x4d7423,_0x3b8143,_0x426735){return _0x395103(_0x4d7423,_0x4d7423-_0x2cde35._0x5c2179,_0x3b8143-0x77,_0x3b8143- -0x2c6);}function _0x4c7113(_0x108c2c,_0x129eb3,_0x442bbf,_0xf94bef){return _0x395103(_0x442bbf,_0x129eb3-_0x436fc2._0x3835b8,_0x442bbf-0x1a2,_0xf94bef-0xc0);}return _0x22b782[_0x200b1f(-_0x51fa57._0x20c255,-_0x51fa57._0x3ea3f3,-_0x51fa57._0x16287d,-_0x51fa57._0x479726)](this[_0x200b1f(-_0x51fa57._0x470d6c,-_0x51fa57._0x3fea39,-0x1c6,-0x1a8)](_0xf261fc),_0x4c7113(0x208,_0x51fa57._0x54634a,_0x51fa57._0x5c5bfb,_0x51fa57._0x145877));}[_0x395103(0x12c,0x10c,0x138,0x124)](_0x2d67fe){const _0x3338cd={_0x3290d7:0x3,_0x1f73b8:0x1e,_0x5b448a:0x42,_0x41c238:0x52},_0x184ebc={_0x578536:0x48},_0xeebdab={_0x26c023:0x14f,_0x3d5dcb:0xfb,_0x3b2390:0x64};function _0x3b7c95(_0x5876a6,_0x562152,_0x23207e,_0x45899a){return _0x3893e1(_0x5876a6-_0xeebdab._0x26c023,_0x45899a,_0x23207e-_0xeebdab._0x3d5dcb,_0x5876a6-_0xeebdab._0x3b2390);}function _0x2e6f8d(_0x152ea1,_0x5aa4b5,_0x5d244e,_0x46e605){return _0x395103(_0x152ea1,_0x5aa4b5-_0x184ebc._0x578536,_0x5d244e-0x17a,_0x46e605- -0x159);}return _0x22b782[_0x2e6f8d(_0x3338cd._0x3290d7,-0xe,-0x20,-_0x3338cd._0x1f73b8)](this['getProfileDir'](_0x2d67fe),_0x2e6f8d(-0x3d,-0x50,-_0x3338cd._0x5b448a,-_0x3338cd._0x41c238));}[_0x3893e1(0x155,0x157,0x174,0x168)](_0x3cf319){const _0x4ab311={_0x3b5bf1:0x45,_0x1537f1:0x5c,_0x1d3ebe:0x40,_0x2a4f5b:0x12c,_0x3d819a:0x159,_0x4aa13a:0x8e,_0x270cf6:0x7e,_0x346bd7:0x87,_0x330ec7:0x82},_0x599ec1={_0x528dec:0x190},_0x8f1843={_0x3b935b:0xbf};function _0x4ec869(_0x8b9ffe,_0x551cfa,_0x4e48a1,_0x355430){return _0x395103(_0x551cfa,_0x551cfa-0x17a,_0x4e48a1-_0x8f1843._0x3b935b,_0x355430- -0x17b);}function _0x50cb8c(_0x1507e5,_0x4a50eb,_0x5eb4ae,_0x4894f9){return _0x3893e1(_0x1507e5-0x1db,_0x4a50eb,_0x5eb4ae-_0x599ec1._0x528dec,_0x4894f9- -0x274);}return _0x22b782[_0x4ec869(-_0x4ab311._0x3b5bf1,-0x51,-_0x4ab311._0x1537f1,-_0x4ab311._0x1d3ebe)](this[_0x50cb8c(-_0x4ab311._0x2a4f5b,-0x132,-_0x4ab311._0x3d819a,-0x13b)](_0x3cf319),_0x4ec869(-_0x4ab311._0x4aa13a,-_0x4ab311._0x270cf6,-_0x4ab311._0x346bd7,-_0x4ab311._0x330ec7));}['isDefault'](_0x1b5d9e){return _0x1b5d9e===s;}async[_0x3893e1(0x16b,0x16e,0x148,0x14e)](){const _0x467b39={_0x2a5feb:0x214,_0x18b265:0x1e9,_0x350336:0x39,_0x4b7b4e:0x1e4,_0x49eff3:0x3c,_0x4dc584:0x1c3,_0x398808:0x1d3,_0x24d148:0x20,_0x5da09e:0x1dc,_0x2e4b2e:0x1f1,_0x5c3b42:0x1e6,_0x4a1cd7:0x33,_0x533a70:0x3b,_0x3aaf44:0x1f2,_0x163bf2:0x1ff,_0x49bec2:0x1ec,_0x405595:0x1db,_0x5d4c55:0x1aa},_0x3f4353={_0x3f6f13:0x18a,_0x3a7283:0xcf},_0x2df11a={_0x538b67:0x334};function _0x2065f7(_0x2b2a75,_0x5793ab,_0x5548a5,_0x14bbf4){return _0x3893e1(_0x2b2a75-0x1cf,_0x14bbf4,_0x5548a5-0x85,_0x5548a5- -_0x2df11a._0x538b67);}function _0x4cb3a5(_0x149b74,_0x407841,_0x128620,_0x2c6bb5){return _0x395103(_0x2c6bb5,_0x407841-0x129,_0x128620-_0x3f4353._0x3f6f13,_0x128620- -_0x3f4353._0x3a7283);}if(!_0x29c333[_0x2065f7(-_0x467b39._0x2a5feb,-_0x467b39._0x18b265,-0x1fe,-0x200)](this['registryPath']))return{'active':s,'profiles':{}};try{let _0x3ae899=await _0x29c333[_0x4cb3a5(_0x467b39._0x350336,0x48,0x4d,0x48)][_0x2065f7(-_0x467b39._0x4b7b4e,-0x1dd,-0x1f8,-0x1eb)](this['registryPath'],_0x4cb3a5(_0x467b39._0x49eff3,0x47,0x2d,0x40)),_0x3fdff4=_0xe8af15(_0x3ae899);if(!_0x3fdff4||typeof _0x3fdff4!=_0x2065f7(-0x1e7,-_0x467b39._0x4dc584,-_0x467b39._0x398808,-0x1ce))return{'active':s,'profiles':{}};let _0xfbfeb=_0x3fdff4;return(!_0xfbfeb[_0x4cb3a5(0x53,_0x467b39._0x24d148,0x3b,0x3c)]||typeof _0xfbfeb[_0x2065f7(-0x205,-_0x467b39._0x5da09e,-_0x467b39._0x2e4b2e,-_0x467b39._0x5c3b42)]!='object')&&(_0xfbfeb[_0x4cb3a5(0x3e,_0x467b39._0x4a1cd7,_0x467b39._0x533a70,0x3c)]={}),_0xfbfeb[_0x2065f7(-0x1e8,-_0x467b39._0x3aaf44,-0x1ec,-0x1fe)]||(_0xfbfeb[_0x2065f7(-0x200,-_0x467b39._0x163bf2,-_0x467b39._0x49bec2,-0x1ef)]=s),_0xfbfeb;}catch(_0x298a48){return this['logger']('Failed\x20to\x20load\x20profiles\x20registry:\x20'+(_0x298a48 instanceof Error?_0x298a48[_0x2065f7(-_0x467b39._0x405595,-0x1c5,-0x1c4,-_0x467b39._0x5d4c55)]:String(_0x298a48))),{'active':s,'profiles':{}};}}async[_0x3893e1(0x15e,0x14e,0x12f,0x151)](){const _0x3cfd4f={_0x9afd70:0x4f3,_0x187014:0x4d4,_0x52b228:0x4df,_0x63f7ac:0x4c1,_0x250f7c:0x4bf,_0x486991:0x1c,_0x245554:0x29,_0x40d021:0x4aa,_0x16ca82:0x481,_0x2d9784:0x49f,_0x5606a4:0x4d8,_0x386cf5:0x25,_0x359d60:0x24},_0x21f468={_0x369dd7:0x22},_0x4905f9={_0x1f4065:0x6,_0x2b883e:0x31,_0x36c7b7:0x36a};function _0x6f60c4(_0x5ada5e,_0x40af3b,_0x56c3c8,_0x120917){return _0x3893e1(_0x5ada5e-_0x4905f9._0x1f4065,_0x40af3b,_0x56c3c8-_0x4905f9._0x2b883e,_0x56c3c8-_0x4905f9._0x36c7b7);}function _0xc3296e(_0xb7482f,_0x59dab8,_0x1345b4,_0x71bb08){return _0x3893e1(_0xb7482f-_0x21f468._0x369dd7,_0x1345b4,_0x1345b4-0xec,_0x59dab8- -0x173);}try{let _0x482adc=_0x5d3b50(this[_0x6f60c4(_0x3cfd4f._0x9afd70,_0x3cfd4f._0x187014,0x4d9,_0x3cfd4f._0x52b228)]);await _0x29c333[_0x6f60c4(0x4c8,_0x3cfd4f._0x63f7ac,_0x3cfd4f._0x250f7c,0x4dc)][_0x6f60c4(0x4a7,0x4d6,0x4b6,0x4c3)](this[_0xc3296e(-0x30,-_0x3cfd4f._0x486991,-_0x3cfd4f._0x245554,-0x24)],_0x482adc,_0x6f60c4(_0x3cfd4f._0x40d021,_0x3cfd4f._0x16ca82,_0x3cfd4f._0x2d9784,0x482));}catch(_0x18258c){throw this['logger'](_0x6f60c4(_0x3cfd4f._0x5606a4,0x4a7,0x4ba,0x4c5)+(_0x18258c instanceof Error?_0x18258c[_0xc3296e(-_0x3cfd4f._0x386cf5,-0x3,-_0x3cfd4f._0x359d60,0x13)]:String(_0x18258c))),_0x18258c;}}async[_0x395103(0x109,0x119,0x110,0xfa)](_0x2ab569,_0x1bf07a){const _0x486865={_0x494ba6:0xcd,_0x48a226:0xe2,_0x5129f2:0xe3,_0x5c0816:0x1e8,_0x5107fe:0x1ed,_0x1e37f6:0x1ff,_0xbb86b0:0x1ac,_0x213e3b:0x1c9,_0x428dd3:0x1d9,_0x31c83e:0xca,_0x4f28fd:0xd5,_0x415fe1:0xdb,_0xa0d667:0x1ce,_0x13ad2c:0x1dc,_0x4e2bd0:0x208,_0x310635:0x1df,_0x50a2e8:0x1e6,_0x5bd3c4:0x1f9,_0x24d278:0x110,_0x77d975:0xf5,_0x596935:0x105},_0x40c289={_0x203183:0x33};let _0x2c2625=this[_0xe10c72(_0x486865._0x494ba6,0xe7,_0x486865._0x48a226,_0x486865._0x5129f2)](_0x2ab569),_0x193b34=this['getProfileDir'](_0x1bf07a),_0x4072e3=_0x22b782[_0x53c9f3(0x1fa,_0x486865._0x5c0816,_0x486865._0x5107fe,_0x486865._0x1e37f6)](_0x2c2625,'config.yaml'),_0x2d0be2=_0x22b782['join'](_0x193b34,_0x53c9f3(_0x486865._0xbb86b0,_0x486865._0x213e3b,0x1cc,_0x486865._0x428dd3));function _0xe10c72(_0x3e5bb6,_0x549d46,_0x2eb775,_0xc611c5){return _0x395103(_0xc611c5,_0x549d46-0x10a,_0x2eb775-0xcf,_0x3e5bb6- -_0x40c289._0x203183);}function _0x53c9f3(_0xb1363,_0x364272,_0x7c48a5,_0x282461){return _0x3893e1(_0xb1363-0x5d,_0xb1363,_0x7c48a5-0x9f,_0x7c48a5-0x79);}_0x29c333[_0xe10c72(_0x486865._0x31c83e,_0x486865._0x4f28fd,_0x486865._0x415fe1,0xc2)](_0x4072e3)&&await _0x29c333[_0x53c9f3(0x1b8,0x1b9,_0x486865._0xa0d667,_0x486865._0x13ad2c)][_0x53c9f3(_0x486865._0x4e2bd0,_0x486865._0x310635,_0x486865._0x50a2e8,0x1d6)](_0x4072e3,_0x2d0be2);let _0x5b4dda=_0x22b782['join'](_0x2c2625,_0x53c9f3(0x1ff,0x1d5,0x1eb,_0x486865._0x5bd3c4)),_0x1eb0ea=_0x22b782[_0xe10c72(0x108,0xf2,_0x486865._0x24d278,0x11f)](_0x193b34,_0xe10c72(0x106,0xf0,_0x486865._0x77d975,_0x486865._0x596935));_0x29c333['existsSync'](_0x5b4dda)&&await this['copyDirectory'](_0x5b4dda,_0x1eb0ea);}async[_0x3893e1(0x146,0x169,0x14c,0x158)](_0x552917,_0x26bacc){const _0xf941e4={_0xb42430:0x2ad,_0x4a2cb5:0x2cf,_0x342fd0:0x28c,_0x391b10:0x298,_0x5cc75e:0x271,_0x17c4fd:0x90,_0x1f2f41:0x8f,_0x10e76a:0x2cc,_0x17ad8e:0x2b3,_0x4a9520:0x2e4,_0x42b9f3:0x28f,_0x4ee352:0x271,_0x46b2fb:0x272,_0x15c09c:0x2b0,_0x1997fe:0x9b,_0xbe7df1:0xad,_0x244963:0x87,_0xe726b8:0x8b,_0x4e3a72:0x2b7,_0x4619db:0x2ad,_0x4f3442:0x2b7,_0x57a897:0x2b0,_0x235bc3:0x2c5},_0x3cd2b5={_0x4203cb:0x191},_0x36e0c7={_0x3754a5:0x6a,_0x326941:0xe9};await _0x29c333[_0x4316aa(_0xf941e4._0xb42430,0x2cb,_0xf941e4._0x4a2cb5,0x2ca)][_0x4316aa(_0xf941e4._0x342fd0,_0xf941e4._0x391b10,0x2a1,_0xf941e4._0x5cc75e)](_0x26bacc,{'recursive':!0x0});let _0x5329dd=await _0x29c333[_0x57d700(-0x9d,-_0xf941e4._0x17c4fd,-0x86,-_0xf941e4._0x1f2f41)]['readdir'](_0x552917,{'withFileTypes':!0x0});function _0x57d700(_0x5b91ac,_0x5372b2,_0x3f2194,_0x1b2fa4){return _0x3893e1(_0x5b91ac-_0x36e0c7._0x3754a5,_0x3f2194,_0x3f2194-_0x36e0c7._0x326941,_0x1b2fa4- -0x1e4);}function _0x4316aa(_0x44f8eb,_0x57e302,_0x2a23c4,_0x1d8c55){return _0x395103(_0x2a23c4,_0x57e302-0xaf,_0x2a23c4-0x7c,_0x44f8eb-_0x3cd2b5._0x4203cb);}for(let _0x4e68e9 of _0x5329dd){let _0x2e70fd=_0x22b782[_0x4316aa(_0xf941e4._0x10e76a,0x2c8,_0xf941e4._0x17ad8e,_0xf941e4._0x4a9520)](_0x552917,_0x4e68e9[_0x4316aa(_0xf941e4._0x42b9f3,0x26d,_0xf941e4._0x4ee352,_0xf941e4._0x46b2fb)]),_0x5c76e7=_0x22b782[_0x4316aa(0x2cc,0x2e2,_0xf941e4._0x15c09c,0x2e5)](_0x26bacc,_0x4e68e9[_0x57d700(-0xc9,-0xab,-_0xf941e4._0x1997fe,-_0xf941e4._0xbe7df1)]);_0x4e68e9[_0x57d700(-_0xf941e4._0x244963,-0x78,-0x6e,-_0xf941e4._0xe726b8)]()?await this[_0x4316aa(_0xf941e4._0x15c09c,0x2b8,0x2cd,_0xf941e4._0x4e3a72)](_0x2e70fd,_0x5c76e7):await _0x29c333[_0x4316aa(_0xf941e4._0x4619db,0x2ca,_0xf941e4._0x4f3442,_0xf941e4._0x57a897)][_0x4316aa(_0xf941e4._0x235bc3,0x2ae,0x2e4,0x2e3)](_0x2e70fd,_0x5c76e7);}}};export{s as a,p as b};