@nuvin/nuvin-cli 1.20.1 → 1.21.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 +70 -13
- package/dist/AutoUpdater-B3B4RLR4.js +1 -1
- package/dist/README.md +70 -13
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-CIGVGDJE.js +1 -1
- package/dist/chunk-LSQZ2FJN.js +1 -0
- package/dist/chunk-M6KACDU7.js +1 -1
- package/dist/chunk-PC75UOLY.js +1 -1
- package/dist/chunk-WIGFOWBJ.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-OZBCOEQB.js +1 -0
- package/dist/mcp-handler-EMT3B64H.js +1 -1
- package/dist/messageProcessor-6LZZDCBX.js +1 -1
- package/dist/profile-handler-YJGREJDI.js +1 -1
- package/dist/useSessionManagement-4KJ55VBF.js +1 -1
- package/package.json +2 -3
- package/dist/chunk-2U3P6AHV.js +0 -1
- package/dist/demo-mode-ZKUW24V3.js +0 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @nuvin/cli
|
|
1
|
+
# @nuvin/nuvin-cli
|
|
2
2
|
|
|
3
3
|
Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
|
|
4
4
|
|
|
@@ -19,11 +19,17 @@ Interactive AI coding assistant CLI powered by Nuvin core. Transform your natura
|
|
|
19
19
|
# Install globally
|
|
20
20
|
npm install --global @nuvin/nuvin-cli
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# Use with npx (no installation required)
|
|
23
23
|
npx @nuvin/nuvin-cli
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Install in project as dependency
|
|
26
|
+
npm install @nuvin/nuvin-cli
|
|
27
|
+
|
|
28
|
+
# Or with pnpm
|
|
26
29
|
pnpm add @nuvin/nuvin-cli
|
|
30
|
+
|
|
31
|
+
# Or with yarn
|
|
32
|
+
yarn add @nuvin/nuvin-cli
|
|
27
33
|
```
|
|
28
34
|
|
|
29
35
|
## Quick Start
|
|
@@ -32,26 +38,34 @@ pnpm add @nuvin/nuvin-cli
|
|
|
32
38
|
# Start with default provider
|
|
33
39
|
nuvin
|
|
34
40
|
|
|
35
|
-
# Use OpenRouter
|
|
41
|
+
# Use OpenRouter with a free model
|
|
36
42
|
nuvin --provider openrouter --model minimax/minimax-m2:free
|
|
37
43
|
|
|
38
|
-
# Use Anthropic Claude
|
|
44
|
+
# Use Anthropic Claude (requires API key)
|
|
39
45
|
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
40
46
|
|
|
41
|
-
# Use GitHub Models
|
|
47
|
+
# Use GitHub Models (requires GitHub token)
|
|
42
48
|
nuvin --provider github --model claude-sonnet-4.5
|
|
43
49
|
|
|
44
|
-
# Use configuration file
|
|
50
|
+
# Use configuration file for persistent settings
|
|
45
51
|
nuvin --config ./my-config.yaml
|
|
52
|
+
|
|
53
|
+
# List available commands
|
|
54
|
+
nuvin --help
|
|
55
|
+
|
|
56
|
+
# Check version
|
|
57
|
+
nuvin --version
|
|
46
58
|
```
|
|
47
59
|
|
|
48
60
|
## CLI Usage
|
|
49
61
|
|
|
62
|
+
### Basic Commands
|
|
63
|
+
|
|
50
64
|
```bash
|
|
51
|
-
# Start with default provider
|
|
65
|
+
# Start interactive mode with default provider
|
|
52
66
|
nuvin
|
|
53
67
|
|
|
54
|
-
# Use
|
|
68
|
+
# Use specific provider and model
|
|
55
69
|
nuvin --provider openrouter --model openai/gpt-4o
|
|
56
70
|
|
|
57
71
|
# Use Anthropic Claude
|
|
@@ -60,11 +74,24 @@ nuvin --provider anthropic --model claude-sonnet-4-5
|
|
|
60
74
|
# Use GitHub Models
|
|
61
75
|
nuvin --provider github --model claude-sonnet-4.5
|
|
62
76
|
|
|
63
|
-
#
|
|
64
|
-
nuvin --
|
|
77
|
+
# Use Echo mode for testing
|
|
78
|
+
nuvin --provider echo --model echo
|
|
65
79
|
|
|
66
|
-
#
|
|
80
|
+
# Load configuration from file
|
|
67
81
|
nuvin --config ./my-config.yaml
|
|
82
|
+
|
|
83
|
+
# Show help and all options
|
|
84
|
+
nuvin --help
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Advanced Usage
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Combine multiple options
|
|
91
|
+
nuvin --provider openrouter --model openai/gpt-4o --config ./config.yaml
|
|
92
|
+
|
|
93
|
+
# Use ZAI provider
|
|
94
|
+
nuvin --provider zai --model glm-4.7
|
|
68
95
|
```
|
|
69
96
|
|
|
70
97
|
## Environment Variables
|
|
@@ -105,7 +132,37 @@ export GOOGLE_CSE_CX=your_search_engine_id
|
|
|
105
132
|
- **[MCP Integration](docs/mcp-integration.md)** - Model Context Protocol setup and usage
|
|
106
133
|
- **[Specialist Agents](docs/agents.md)** - Multi-agent system and delegation guide
|
|
107
134
|
- **[Development Guide](docs/development.md)** - Contributing and development workflow
|
|
135
|
+
- **[Tool Approval Renderers](docs/tool-approval-renderers.md)** - Tool approval system and custom renderers
|
|
136
|
+
|
|
137
|
+
## Troubleshooting
|
|
138
|
+
|
|
139
|
+
### Common Issues
|
|
140
|
+
|
|
141
|
+
**Installation problems**
|
|
142
|
+
- Ensure Node.js 18+ is installed: `node --version`
|
|
143
|
+
- Clear npm cache: `npm cache clean --force`
|
|
144
|
+
- Use specific version: `npm install -g @nuvin/nuvin-cli@latest`
|
|
145
|
+
|
|
146
|
+
**Provider authentication issues**
|
|
147
|
+
- Check API keys are set correctly as environment variables
|
|
148
|
+
- Verify keys have proper permissions for the provider
|
|
149
|
+
- Test with free models first before upgrading
|
|
150
|
+
|
|
151
|
+
**Configuration file issues**
|
|
152
|
+
- Validate YAML syntax (use online validator)
|
|
153
|
+
- Check file paths are correct
|
|
154
|
+
- Use absolute paths if relative paths fail
|
|
155
|
+
|
|
156
|
+
**Performance issues**
|
|
157
|
+
- Close other memory-intensive applications
|
|
158
|
+
- Increase Node.js memory limit: `node --max-old-space-size=4096`
|
|
159
|
+
- Use lighter models for faster responses
|
|
160
|
+
|
|
161
|
+
**Getting help**
|
|
162
|
+
- Run `nuvin --help` for command options
|
|
163
|
+
- Check [GitHub Issues](https://github.com/marschhuynh/nuvin-cli/issues) for known problems
|
|
164
|
+
- Enable debug mode (if available) for detailed logs
|
|
108
165
|
|
|
109
166
|
## License
|
|
110
167
|
|
|
111
|
-
|
|
168
|
+
Apache-2.0 © Marsch Huynh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x27deed,_0x1c006d){const _0xc4c325={_0x1da252:0x13d,_0x3f2207:0x134,_0x5bddea:0x12b,_0x6dc89e:0x1d3,_0x13b7b7:0x1de,_0x13ba70:0x1df,_0x137ad4:0x128,_0x207cb9:0x124,_0x1c084f:0x136,_0x35e184:0x1f5,_0x2f9e14:0x1f6,_0xe0ee9a:0x1e4,_0x4541fa:0x11b,_0x1ee009:0x127,_0x2a0a88:0x12a,_0x1fbfa5:0x1e1},_0x526c14={_0x33e591:0x3e1},_0x10c650={_0xb1af4e:0x337},_0x40c031=_0x27deed();function _0x28f893(_0x3d32ef,_0x31c67c,_0x243a8c,_0x3ceb45){return _0x51bd(_0x3ceb45- -_0x10c650._0xb1af4e,_0x3d32ef);}function _0x1ba194(_0x27b824,_0x403803,_0xfc0cd,_0x407ea1){return _0x51bd(_0x407ea1- -_0x526c14._0x33e591,_0xfc0cd);}while(!![]){try{const _0x1daec5=parseInt(_0x28f893(-_0xc4c325._0x1da252,-0x119,-_0xc4c325._0x3f2207,-_0xc4c325._0x5bddea))/0x1+-parseInt(_0x1ba194(-0x1be,-0x1e0,-0x1e1,-0x1d0))/0x2+parseInt(_0x1ba194(-_0xc4c325._0x6dc89e,-0x1d8,-_0xc4c325._0x13b7b7,-_0xc4c325._0x13ba70))/0x3+parseInt(_0x28f893(-_0xc4c325._0x137ad4,-0x138,-_0xc4c325._0x207cb9,-_0xc4c325._0x1c084f))/0x4+parseInt(_0x1ba194(-_0xc4c325._0x35e184,-0x1e6,-_0xc4c325._0x2f9e14,-_0xc4c325._0xe0ee9a))/0x5*(-parseInt(_0x28f893(-0x116,-_0xc4c325._0x4541fa,-0x136,-_0xc4c325._0x1ee009))/0x6)+parseInt(_0x28f893(-0x142,-_0xc4c325._0x2a0a88,-0x12c,-0x131))/0x7+-parseInt(_0x1ba194(-0x1e7,-0x1ea,-_0xc4c325._0x1fbfa5,-0x1dc))/0x8;if(_0x1daec5===_0x1c006d)break;else _0x40c031['push'](_0x40c031['shift']());}catch(_0x74091e){_0x40c031['push'](_0x40c031['shift']());}}}(_0x1077,0x438f8));import{exec as _0x4a302a,spawn as _0x461dea}from'child_process';import{promisify as _0x24a604}from'util';function _0x1077(){const _0x5e0347=['ndi2mdy5rfDwzLb1','l25WBs8','EwfYBIbNBg9IywWGywrKia','lY5WBNbTlW','EwfYBG','BM9Kzv9TB2r1BgvZ','nduWotC2rvnHs3v3','Cg5WBsbHzgqGlwCG','Aw5JBhvKzxm','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','mta4tKr2rhfn','ndm1mJHVwKHNz3e','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','vxbKyxrLigzHAwXLzdOG','l3bUCg0V','BwvZC2fNzq','B25vCgrHDgvdB21WBgv0zwq','Cg5WBq','Dw5Yzwy','BNbT','Bgf0zxn0','qg51DMLUl251DMLUlwnSAq','D2HPy2GGBNv2Aw4','B25vCgrHDgvtDgfYDgvK','qgXHDgvZDa','B25fCNjVCG','lY55yxjUlW','nJC5odv0sePdAxG','CMvHzgXPBMSGiG','l3LHCM4V','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','mtu0mZm2ngLVCM9TEG','mteYoty3n0z2sNrAyW','y2HLy2TbBMrvCgrHDgu','B25vCgrHDgvbDMfPBgfIBgu','ntG0oda0mhDvtNPkDq'];_0x1077=function(){return _0x5e0347;};return _0x1077();}var v=_0x24a604(_0x4a302a),d='@nuvin/nuvin-cli';async function a(_0x5e7fa3,_0x2a11f3){try{let {stdout:_0x35545f}=await v(_0x5e7fa3,{'timeout':_0x2a11f3});return _0x35545f['trim']();}catch{return null;}}function _0x51bd(_0x14c909,_0x51dc8f){_0x14c909=_0x14c909-0x1f1;const _0x107795=_0x1077();let _0x51bde9=_0x107795[_0x14c909];if(_0x51bd['DZsBbO']===undefined){var _0x223c93=function(_0x34e92b){const _0x432294='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a302a='',_0x461dea='';for(let _0x24a604=0x0,_0x5e7fa3,_0x2a11f3,_0x35545f=0x0;_0x2a11f3=_0x34e92b['charAt'](_0x35545f++);~_0x2a11f3&&(_0x5e7fa3=_0x24a604%0x4?_0x5e7fa3*0x40+_0x2a11f3:_0x2a11f3,_0x24a604++%0x4)?_0x4a302a+=String['fromCharCode'](0xff&_0x5e7fa3>>(-0x2*_0x24a604&0x6)):0x0){_0x2a11f3=_0x432294['indexOf'](_0x2a11f3);}for(let _0x4d7a9f=0x0,_0x3bc076=_0x4a302a['length'];_0x4d7a9f<_0x3bc076;_0x4d7a9f++){_0x461dea+='%'+('00'+_0x4a302a['charCodeAt'](_0x4d7a9f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x461dea);};_0x51bd['ROnSfa']=_0x223c93,_0x51bd['QyRQQB']={},_0x51bd['DZsBbO']=!![];}const _0x4e9863=_0x107795[0x0],_0x4be23b=_0x14c909+_0x4e9863,_0x485228=_0x51bd['QyRQQB'][_0x4be23b];return!_0x485228?(_0x51bde9=_0x51bd['ROnSfa'](_0x51bde9),_0x51bd['QyRQQB'][_0x4be23b]=_0x51bde9):_0x51bde9=_0x485228,_0x51bde9;}var h;(_0x4d7a9f=>{const _0x4bf8cd={_0x5dd009:0x252,_0xc8f71f:0x251,_0x5b3ec5:0x231},_0x2c07e6={_0x8e217d:0x428,_0x280e0b:0x41a,_0x289b00:0x425,_0x904dbd:0x108,_0x24f32b:0x11e,_0x265d41:0x10d,_0x2d1cf9:0xfa,_0xa4617:0x118,_0x70eae8:0x102,_0x46bd95:0x111,_0x3928fb:0x105},_0x314ca2={_0x5aa632:0x1f6,_0x463a49:0x1e8,_0xfa67ae:0x205,_0x362a14:0x48e,_0x5a4e22:0x4a2,_0x1815da:0x49f,_0x18ad0e:0x4a4,_0x1cf3b5:0x49e},_0x25883f={_0x31d93c:0x313,_0x45d311:0x2f4,_0x3f51a8:0x2f7,_0x56d0f5:0x309,_0x4cff7e:0x2f7,_0x16107f:0x324,_0x46dbae:0x326,_0x24048d:0x310},_0xa166da={_0x3e9963:0x1f0,_0x5f3812:0x41c,_0x252cf5:0x413,_0x46beba:0x41b,_0x398f30:0x419,_0x566fc3:0x428,_0x57bc93:0x41a},_0x46ea21={_0x2197e3:0x3d9},_0x2da2c4={_0xaa6e06:0x1c4,_0x481e08:0x1c0,_0x292d56:0x1b0,_0xf48c47:0x1e3,_0x1ead86:0x1f4,_0x34e8c9:0x204,_0x3a49cc:0x1a9,_0x3b07be:0x1b1,_0x589376:0x1c7,_0x4c0115:0x1c5,_0x4eb415:0x1c6,_0x267b8a:0x19e,_0x517bff:0x1aa,_0x182b03:0x1b4,_0x5ad09f:0x1b8,_0x234ffa:0x1ee,_0x52c052:0x1d3,_0x35b52f:0x1e9,_0x207a30:0x1ea,_0x503ece:0x1a0,_0x590f81:0x1bf,_0x1e22b8:0x1bd,_0x2fa460:0x1a3,_0x2fc452:0x1ac,_0x9b6dd1:0x1da,_0x1d9c42:0x1de,_0x3946ba:0x203,_0x15113a:0x1f6,_0x53df21:0x205,_0x90202b:0x1c5,_0x2d4122:0x1bb,_0x15aab1:0x1c8,_0x223f91:0x1aa,_0x5d05d8:0x1e1,_0x1dca03:0x1ef,_0x5155f8:0x1fd,_0x307762:0x1a4,_0x2ccf9c:0x1a9,_0x4a8ab5:0x1b7,_0x49d8a5:0x1be,_0x3666c4:0x1ba,_0x50674e:0x1ec,_0xeef1d5:0x1d9,_0x1dfcbb:0x1f3};function _0x4fa2aa(_0x25d8ee,_0x1cab79,_0x3b0b5f,_0x22c2b5){return _0x51bd(_0x25d8ee-0x40,_0x3b0b5f);}async function _0x3bc076(){let _0x4a85a4=await a(_0x5a6b8b(-0x1c7,-_0x2da2c4._0xaa6e06,-_0x2da2c4._0x481e08,-_0x2da2c4._0x292d56),0xbb8);function _0x5a6b8b(_0x561240,_0x4533b9,_0x12a890,_0x393b96){return _0x51bd(_0x12a890- -0x3b8,_0x4533b9);}if(_0x4a85a4){let _0x1a3a08=await a(_0xd83fb6(0x1e8,_0x2da2c4._0xf48c47,0x1e0,0x1da)+_0x4a85a4+'\x22',0xbb8);if(_0x1a3a08){if(_0x1a3a08[_0xd83fb6(0x1fc,0x1f3,_0x2da2c4._0x1ead86,0x203)](_0xd83fb6(_0x2da2c4._0x34e8c9,0x1f9,0x209,0x1fe))||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x3a49cc,-0x1a5,-0x1aa,-_0x2da2c4._0x3b07be)]('/.pnpm/'))return _0x5a6b8b(-_0x2da2c4._0x589376,-0x1b3,-_0x2da2c4._0x4c0115,-_0x2da2c4._0x4eb415);if(_0x1a3a08[_0x5a6b8b(-0x1a4,-_0x2da2c4._0x267b8a,-_0x2da2c4._0x517bff,-_0x2da2c4._0x182b03)]('/yarn/')||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x5ad09f,-0x1a4,-0x1aa,-0x1ad)](_0xd83fb6(_0x2da2c4._0x234ffa,0x1e1,_0x2da2c4._0x52c052,0x1d3)))return _0xd83fb6(_0x2da2c4._0x35b52f,0x1ef,_0x2da2c4._0x207a30,_0x2da2c4._0x234ffa);if(_0x1a3a08[_0x5a6b8b(-0x19b,-0x1bb,-_0x2da2c4._0x517bff,-_0x2da2c4._0x503ece)](_0x5a6b8b(-_0x2da2c4._0x590f81,-0x1ae,-0x1b1,-_0x2da2c4._0x1e22b8))||_0x1a3a08['includes'](_0x5a6b8b(-_0x2da2c4._0x2fa460,-0x1a0,-0x1ad,-_0x2da2c4._0x2fc452)))return _0xd83fb6(_0x2da2c4._0x9b6dd1,0x1da,_0x2da2c4._0x1d9c42,0x1e3);}else{if(_0x4a85a4[_0xd83fb6(_0x2da2c4._0x3946ba,0x1f3,_0x2da2c4._0x15113a,_0x2da2c4._0x53df21)]('/pnpm/')||_0x4a85a4['includes'](_0x5a6b8b(-0x1b2,-0x1b2,-0x1af,-0x1a6)))return _0x5a6b8b(-0x1b3,-0x1cb,-_0x2da2c4._0x90202b,-0x1c9);if(_0x4a85a4[_0x5a6b8b(-0x19c,-0x1bb,-0x1aa,-_0x2da2c4._0x2d4122)](_0x5a6b8b(-0x1ad,-0x1c9,-0x1b9,-_0x2da2c4._0x15aab1))||_0x4a85a4[_0x5a6b8b(-0x1b2,-0x19d,-_0x2da2c4._0x223f91,-0x1ad)](_0xd83fb6(0x1de,_0x2da2c4._0x5d05d8,0x1f2,0x1d9)))return _0xd83fb6(0x1df,_0x2da2c4._0x1dca03,0x1fb,_0x2da2c4._0x5155f8);}}let [_0x49fe4f,_0x56322d,_0x2f1843]=await Promise['all']([a(_0x5a6b8b(-_0x2da2c4._0x307762,-0x1a8,-_0x2da2c4._0x2ccf9c,-_0x2da2c4._0x4a8ab5),0x1388),a(_0x5a6b8b(-_0x2da2c4._0x49d8a5,-0x1b1,-0x1b8,-_0x2da2c4._0x3666c4),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0xd83fb6(_0x19cc10,_0x44cb05,_0x2926fa,_0x30eb1c){return _0x51bd(_0x44cb05- -0x1b,_0x2926fa);}return _0x49fe4f?.['includes'](_0xd83fb6(_0x2da2c4._0x50674e,0x1dc,_0x2da2c4._0xeef1d5,0x1e6))?'npm':_0x56322d?.[_0xd83fb6(0x1ff,_0x2da2c4._0x1dfcbb,_0x2da2c4._0x207a30,0x1e7)]('@nuvin/nuvin-cli')?'pnpm':_0x2f1843?.['includes']('@nuvin/nuvin-cli')?'yarn':'npm';}function _0x4b9d5d(_0x117f7d,_0x438c14){function _0xb190f(_0x34872c,_0x438d66,_0x5b68c6,_0x3a2c4a){return _0x51bd(_0x5b68c6- -_0x46ea21._0x2197e3,_0x438d66);}let _0x182132=_0x438c14?d+'@'+_0x438c14:d+_0xb190f(-_0xa166da._0x3e9963,-0x1cd,-0x1df,-0x1e5);function _0x45cc29(_0x55c595,_0x32ccb4,_0x5d2fa5,_0x2bc260){return _0x51bd(_0x5d2fa5-0x212,_0x55c595);}switch(_0x117f7d){case'pnpm':return _0x45cc29(0x412,0x419,0x41f,_0xa166da._0x5f3812)+_0x182132;case _0x45cc29(_0xa166da._0x252cf5,_0xa166da._0x46beba,0x41c,_0xa166da._0x398f30):return _0x45cc29(0x424,_0xa166da._0x566fc3,_0xa166da._0x57bc93,0x41c)+_0x182132;default:return'npm\x20install\x20-g\x20'+_0x182132;}}async function _0x2f21db(_0x1bce2a){const _0x49227c={_0x251de6:0x58},_0xb88262={_0x54ca71:0x3,_0x39fdc7:0x1aa};let {UpdateChecker:_0x4b207a}=await import('./UpdateChecker-2LAM3Q56.js');function _0x1ff30d(_0x2cb9da,_0x180351,_0x4d99bb,_0x374092){return _0x51bd(_0x2cb9da-0x232,_0x4d99bb);}function _0x25c294(_0x1bd3f5,_0x56927b,_0x43f79f,_0x251b91){return _0x51bd(_0x1bd3f5- -0x306,_0x251b91);}try{let _0x133af8=await _0x4b207a['checkForUpdate']({'onUpdateAvailable':_0x1bce2a?.[_0x1ff30d(0x436,0x428,0x448,_0x2c07e6._0x8e217d)],'onError':_0x1bce2a?.[_0x1ff30d(0x42d,0x423,0x426,0x420)]});if(!_0x133af8['hasUpdate'])return!0x1;_0x1bce2a?.[_0x1ff30d(0x42b,0x439,0x427,_0x2c07e6._0x280e0b)]&&_0x1bce2a[_0x1ff30d(0x42b,0x41a,_0x2c07e6._0x289b00,0x437)]();let _0x431ccd=await _0x3bc076(),_0x59ff52=_0x4b9d5d(_0x431ccd,_0x133af8['latest']),_0x13069f=_0x461dea('sh',['-c',_0x59ff52],{'detached':!0x0,'stdio':'ignore'});return _0x13069f['on']('exit',_0x3f70ea=>{const _0x4785bd={_0x2fdd5a:0x10e,_0x2b35b4:0x1bb,_0x33f263:0x197};function _0x2c655b(_0x335c7d,_0x3a89b8,_0x4c1e82,_0x344d1a){return _0x1ff30d(_0x4c1e82- -0x11f,_0x3a89b8-0x1d9,_0x3a89b8,_0x344d1a-0xbe);}function _0x143d2a(_0x238bd8,_0x538121,_0x1f400a,_0x5d47e1){return _0x1ff30d(_0x538121- -_0x4785bd._0x2fdd5a,_0x538121-_0x4785bd._0x2b35b4,_0x238bd8,_0x5d47e1-_0x4785bd._0x33f263);}if(_0x1bce2a?.[_0x2c655b(_0x25883f._0x31d93c,0x30e,0x305,_0x25883f._0x45d311)]){let _0x334b22=_0x3f70ea===0x0,_0x505477=_0x334b22?'Update\x20to\x20v'+_0x133af8[_0x2c655b(_0x25883f._0x3f51a8,0x312,_0x25883f._0x56d0f5,_0x25883f._0x4cff7e)]+_0x143d2a(_0x25883f._0x16107f,0x336,_0x25883f._0x46dbae,0x344):'Update\x20failed.\x20Please\x20try\x20manually.';_0x1bce2a[_0x143d2a(0x311,0x316,_0x25883f._0x24048d,0x326)](_0x334b22,_0x505477);}}),_0x13069f['on']('error',_0x4f00e0=>{function _0x429c4f(_0xb58a2b,_0x2a1e9d,_0x37c895,_0xdf3b6){return _0x25c294(_0xdf3b6-0x5b3,_0x2a1e9d-_0xb88262._0x54ca71,_0x37c895-_0xb88262._0x39fdc7,_0x2a1e9d);}function _0xd8b508(_0x10f611,_0x215792,_0xa3c3f9,_0x2999bc){return _0x25c294(_0x10f611- -0xe2,_0x215792-_0x49227c._0x251de6,_0xa3c3f9-0x1d2,_0x215792);}_0x1bce2a?.[_0xd8b508(-_0x314ca2._0x5aa632,-_0x314ca2._0x463a49,-_0x314ca2._0xfa67ae,-0x1ea)]&&_0x1bce2a[_0x429c4f(_0x314ca2._0x362a14,_0x314ca2._0x5a4e22,0x4ad,_0x314ca2._0x1815da)](!0x1,_0x429c4f(0x4b7,0x4ca,0x4bc,0x4c0)+_0x4f00e0[_0x429c4f(0x49c,0x49a,_0x314ca2._0x18ad0e,_0x314ca2._0x1cf3b5)]);}),_0x13069f[_0x25c294(-0x112,-_0x2c07e6._0x904dbd,-0x101,-_0x2c07e6._0x24f32b)](),!0x0;}catch(_0xc65473){return _0x1bce2a?.[_0x25c294(-0x10b,-_0x2c07e6._0x265d41,-_0x2c07e6._0x2d1cf9,-_0x2c07e6._0xa4617)]&&_0x1bce2a[_0x25c294(-0x10b,-_0x2c07e6._0x70eae8,-_0x2c07e6._0x46bd95,-_0x2c07e6._0x3928fb)](_0xc65473 instanceof Error?_0xc65473:new Error(String(_0xc65473))),!0x1;}}_0x4d7a9f[_0x4fa2aa(0x243,_0x4bf8cd._0x5dd009,_0x4bf8cd._0xc8f71f,_0x4bf8cd._0x5b3ec5)]=_0x2f21db;})(h||={});export{h as AutoUpdater};
|
|
1
|
+
function _0x3aee(_0x46636f,_0x1ad3e4){_0x46636f=_0x46636f-0x1e1;const _0xca5537=_0xca55();let _0x3aee4b=_0xca5537[_0x46636f];if(_0x3aee['ltUEBi']===undefined){var _0x10496d=function(_0x46e8f4){const _0x5569dc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1dc187='',_0x1afab9='';for(let _0x2a7ea5=0x0,_0x2107bd,_0x16a96c,_0x5bcbfb=0x0;_0x16a96c=_0x46e8f4['charAt'](_0x5bcbfb++);~_0x16a96c&&(_0x2107bd=_0x2a7ea5%0x4?_0x2107bd*0x40+_0x16a96c:_0x16a96c,_0x2a7ea5++%0x4)?_0x1dc187+=String['fromCharCode'](0xff&_0x2107bd>>(-0x2*_0x2a7ea5&0x6)):0x0){_0x16a96c=_0x5569dc['indexOf'](_0x16a96c);}for(let _0x12682a=0x0,_0x4a9ed6=_0x1dc187['length'];_0x12682a<_0x4a9ed6;_0x12682a++){_0x1afab9+='%'+('00'+_0x1dc187['charCodeAt'](_0x12682a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1afab9);};_0x3aee['GGDEIC']=_0x10496d,_0x3aee['ZbMCFN']={},_0x3aee['ltUEBi']=!![];}const _0x5d78ca=_0xca5537[0x0],_0x5062d0=_0x46636f+_0x5d78ca,_0x4f9862=_0x3aee['ZbMCFN'][_0x5062d0];return!_0x4f9862?(_0x3aee4b=_0x3aee['GGDEIC'](_0x3aee4b),_0x3aee['ZbMCFN'][_0x5062d0]=_0x3aee4b):_0x3aee4b=_0x4f9862,_0x3aee4b;}(function(_0xc966b5,_0x3370dc){const _0x5b3f27={_0x1a5d80:0x258,_0x2b7d81:0x276,_0x416e8d:0x267,_0x4aaf81:0x263,_0x3ac12b:0x195,_0x536d7e:0x188,_0x9d6056:0x191,_0x4a6172:0x24a,_0x5d79fe:0x25e,_0x575cda:0x255,_0x3b7123:0x193,_0x3bd753:0x19a,_0x475a39:0x261,_0x659d81:0x272,_0x492de0:0x262,_0x2f5cee:0x1b3,_0x1fabd5:0x190,_0xc46055:0x1ae,_0x2f4cfa:0x192,_0x5a26fd:0x25c,_0x69e577:0x25b,_0x307a7d:0x265,_0x53f6eb:0x269},_0x367c34={_0x5c2c49:0x62},_0x1457ab=_0xc966b5();function _0x27e4c4(_0x2dfea1,_0x5f1428,_0x271125,_0x1ff59c){return _0x3aee(_0x1ff59c- -0x38e,_0x271125);}function _0x18e16d(_0x38b52e,_0xc285cb,_0x171f7c,_0x2ef7cc){return _0x3aee(_0x171f7c-_0x367c34._0x5c2c49,_0x2ef7cc);}while(!![]){try{const _0x42f3ba=-parseInt(_0x18e16d(0x258,0x254,_0x5b3f27._0x1a5d80,0x260))/0x1+parseInt(_0x18e16d(_0x5b3f27._0x2b7d81,_0x5b3f27._0x416e8d,_0x5b3f27._0x4aaf81,0x257))/0x2+-parseInt(_0x27e4c4(-0x1a3,-_0x5b3f27._0x3ac12b,-_0x5b3f27._0x536d7e,-_0x5b3f27._0x9d6056))/0x3*(-parseInt(_0x18e16d(_0x5b3f27._0x4a6172,_0x5b3f27._0x5d79fe,_0x5b3f27._0x575cda,0x248))/0x4)+parseInt(_0x27e4c4(-0x1a3,-0x1b0,-_0x5b3f27._0x3b7123,-_0x5b3f27._0x3bd753))/0x5*(parseInt(_0x18e16d(_0x5b3f27._0x475a39,_0x5b3f27._0x659d81,_0x5b3f27._0x492de0,0x277))/0x6)+parseInt(_0x27e4c4(-_0x5b3f27._0x2f5cee,-_0x5b3f27._0x1fabd5,-_0x5b3f27._0xc46055,-0x19d))/0x7*(-parseInt(_0x27e4c4(-0x1a3,-0x19d,-0x1ac,-0x1ac))/0x8)+-parseInt(_0x27e4c4(-0x172,-0x181,-_0x5b3f27._0x2f4cfa,-0x183))/0x9*(parseInt(_0x18e16d(0x254,_0x5b3f27._0x5a26fd,_0x5b3f27._0x69e577,_0x5b3f27._0x307a7d))/0xa)+parseInt(_0x18e16d(_0x5b3f27._0x53f6eb,0x26b,0x269,_0x5b3f27._0x1a5d80))/0xb;if(_0x42f3ba===_0x3370dc)break;else _0x1457ab['push'](_0x1457ab['shift']());}catch(_0x1a7886){_0x1457ab['push'](_0x1457ab['shift']());}}}(_0xca55,0x77ef7));import{exec as _0x1dc187,spawn as _0x1afab9}from'child_process';import{promisify as _0x2a7ea5}from'util';var v=_0x2a7ea5(_0x1dc187),d=_0x306c82(-0x8b,-0x78,-0x67,-0x73);function _0x306c82(_0x45ef06,_0x20ae3e,_0x5cc382,_0x4a8bb8){const _0x2fbba3={_0x340b18:0x266};return _0x3aee(_0x20ae3e- -_0x2fbba3._0x340b18,_0x4a8bb8);}async function a(_0x2107bd,_0x16a96c){const _0x5c6212={_0xe0a76c:0x4ad,_0x94a61b:0x4a6,_0x262f35:0x49a},_0x2537f4={_0x36ccd2:0x4a,_0xbc1b34:0x510};function _0x3d2c3f(_0x5215e8,_0x1ca40f,_0x2300dc,_0x27e652){return _0x306c82(_0x5215e8-_0x2537f4._0x36ccd2,_0x2300dc-_0x2537f4._0xbc1b34,_0x2300dc-0x53,_0x27e652);}try{let {stdout:_0x5bcbfb}=await v(_0x2107bd,{'timeout':_0x16a96c});return _0x5bcbfb[_0x3d2c3f(_0x5c6212._0xe0a76c,0x4a6,_0x5c6212._0x94a61b,_0x5c6212._0x262f35)]();}catch{return null;}}var h;function _0xca55(){const _0x513ac2=['BwvZC2fNzq','Cg5WBq','zxHPDa','EwfYBIbNBg9IywWGBgLZDcaTlxbHDhrLCM4Gqg51DMLUl251DMLUlwnSAsaYpI9KzxyVBNvSBa','BM9Kzv9TB2r1BgvZ','l3bUCg0V','EwfYBG','qg51DMLUl251DMLUlwnSAq','zxjYB3i','BNbTigLUC3rHBgWGlwCG','n0XfBKzdvq','B25vCgrHDgvdB21WBgv0zwq','mtqWode3mMT3ChDpCa','mJK4mdG1B2jXyLzM','BNbT','ntG4mdrdt2LWvNC','y2HLy2TgB3jvCgrHDgu','CMvHzgXPBMSGiG','nte1mdGYmgHRDhDPtG','lY55yxjUlW','vxbKyxrLihrVihy','DhjPBq','m3LNtw1IzW','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','Cg5WBsbHzgqGlwCG','mtHRuLnoEey','mty1nJeXmg1YsgvSuq','AwDUB3jL','B25fCNjVCG','D2HPy2GGBNv2Aw4','y2HLy2TbBMrvCgrHDgu','B25vCgrHDgvbDMfPBgfIBgu','ntuZnZu1ngnYBfLXAG','vxbKyxrLigzHAwXLzdOG','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','l25WBs8','ounlqM5YCq','Aw5JBhvKzxm','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','nJm3nZC3nMj4sgPKwG','B25vCgrHDgvtDgfYDgvK','lY5WBNbTlW','EwfYBIbNBg9IywWGywrKia','Bgf0zxn0'];_0xca55=function(){return _0x513ac2;};return _0xca55();}(_0x12682a=>{const _0x230482={_0x190ab1:0x2e0,_0x3cc322:0x2f0,_0xf05976:0x2c9},_0x3c8c70={_0x32093c:0x2c9,_0x45e2dd:0x2f6,_0x26bf8e:0x2cd,_0x33fb46:0x2ee,_0x47b995:0x187,_0x1a5850:0x160,_0x18ebd:0x2c0,_0xc04cee:0x2ab,_0x362265:0x2ce,_0x198af0:0x16f,_0x5916ef:0x15c,_0x5aa358:0x166,_0x252c59:0x153,_0x3a93a2:0x14e,_0x327bd4:0x2b9,_0x5330bd:0x2c5,_0x4b0775:0x152,_0x286f67:0x2e0,_0x4194ee:0x2e4},_0x2e12db={_0x8d9235:0x337,_0x44553e:0x339,_0x4a6512:0x32c,_0x29bf51:0x335},_0x1ed6b0={_0x31ceff:0x17f,_0x4a1148:0x45,_0x2d3d0e:0x19d,_0x416004:0x190,_0x2bf505:0x19f,_0x8263d8:0x188},_0x1cd6ec={_0x5bfbf5:0x64,_0x15e461:0x76,_0x2f9c23:0x4d,_0x1919c3:0x40,_0x790538:0x6c,_0x262d47:0x62,_0x56e614:0x7c,_0x16ab61:0x66,_0x5971fe:0x4e5},_0x117bc7={_0x2d3082:0x191,_0x2f7f1e:0x340},_0x1106a1={_0x2105f2:0x26a,_0x266bd7:0x270,_0x242980:0x25d,_0x46cff2:0x257,_0x2f02de:0x24b,_0x21a845:0x256,_0x58a6e1:0x25c,_0x2290a0:0x258,_0x3953d5:0x272,_0x228024:0x4d5,_0x243aaa:0x247,_0x2288a8:0x4fb,_0x8e0ccc:0x505,_0x4aa24:0x4eb,_0x7629e7:0x273,_0x791870:0x261,_0x312808:0x4f0,_0x188a76:0x4ca,_0x18a688:0x25c,_0xc21c8c:0x269,_0x124647:0x26d,_0x5d5170:0x24a,_0x5e7ab1:0x250,_0x2d5fc6:0x27a,_0x1866cf:0x26f,_0x107054:0x262,_0x444582:0x4cd,_0x538da8:0x4fe,_0x54dcb2:0x4fd,_0x2cc797:0x4d3,_0x19c57c:0x4d9,_0x49828c:0x247,_0x1819d8:0x238,_0x148a70:0x276,_0x267659:0x26b,_0x419f03:0x25a,_0x162b3d:0x281,_0x402181:0x4e6,_0x42acb9:0x4df,_0x306cf1:0x23a,_0x1f7dc7:0x24c,_0x3801f6:0x25d,_0x54d17c:0x24d,_0x97b85b:0x249,_0x163bf1:0x252,_0x7b1d73:0x4dd,_0x171a90:0x4e0,_0x34b1f:0x4d7,_0x3b7ba2:0x4d8,_0x3a0af3:0x4f8,_0x50b800:0x4f7,_0x437b8d:0x24e,_0x2411c5:0x4d6,_0x38374d:0x4dc,_0x3b3be9:0x253};async function _0x4a9ed6(){function _0x31d631(_0x2e9ed6,_0x2fce2e,_0x20643b,_0x37d83b){return _0x3aee(_0x2fce2e-0x5f,_0x37d83b);}let _0xef63a6=await a(_0x31d631(_0x1106a1._0x2105f2,0x263,0x276,_0x1106a1._0x266bd7),0xbb8);if(_0xef63a6){let _0x4fe443=await a(_0x31d631(_0x1106a1._0x242980,_0x1106a1._0x46cff2,0x24d,_0x1106a1._0x2f02de)+_0xef63a6+'\x22',0xbb8);if(_0x4fe443){if(_0x4fe443['includes'](_0x31d631(_0x1106a1._0x21a845,0x24b,_0x1106a1._0x58a6e1,0x241))||_0x4fe443[_0x31d631(_0x1106a1._0x2290a0,0x26b,_0x1106a1._0x3953d5,0x265)](_0x55ddd4(0x4d3,0x4da,_0x1106a1._0x228024,0x4e0)))return _0x31d631(0x247,_0x1106a1._0x243aaa,0x252,0x246);if(_0x4fe443[_0x55ddd4(_0x1106a1._0x2288a8,0x50a,_0x1106a1._0x8e0ccc,_0x1106a1._0x4aa24)]('/yarn/')||_0x4fe443[_0x31d631(_0x1106a1._0x21a845,0x26b,_0x1106a1._0x7629e7,_0x1106a1._0x791870)]('/.yarn/'))return _0x55ddd4(0x4dc,_0x1106a1._0x312808,_0x1106a1._0x188a76,0x4d6);if(_0x4fe443['includes'](_0x31d631(_0x1106a1._0x18a688,_0x1106a1._0xc21c8c,0x27a,_0x1106a1._0x124647))||_0x4fe443['includes'](_0x31d631(0x241,_0x1106a1._0x5d5170,0x25d,_0x1106a1._0x5e7ab1)))return'npm';}else{if(_0xef63a6[_0x31d631(_0x1106a1._0x2d5fc6,0x26b,_0x1106a1._0x1866cf,_0x1106a1._0x107054)](_0x55ddd4(0x4db,0x4cc,0x4c5,_0x1106a1._0x444582))||_0xef63a6[_0x55ddd4(0x4fb,_0x1106a1._0x2288a8,_0x1106a1._0x538da8,_0x1106a1._0x54dcb2)](_0x55ddd4(_0x1106a1._0x2cc797,_0x1106a1._0x19c57c,0x4c3,0x4dd)))return _0x31d631(_0x1106a1._0x46cff2,_0x1106a1._0x49828c,_0x1106a1._0x1819d8,0x23c);if(_0xef63a6[_0x31d631(_0x1106a1._0x148a70,_0x1106a1._0x267659,0x268,_0x1106a1._0x419f03)]('/yarn/')||_0xef63a6[_0x31d631(0x276,0x26b,_0x1106a1._0x162b3d,0x25e)](_0x55ddd4(0x4e9,0x4db,_0x1106a1._0x402181,_0x1106a1._0x42acb9)))return _0x31d631(_0x1106a1._0x306cf1,_0x1106a1._0x1f7dc7,0x24d,0x247);}}let [_0x1f85c8,_0x48f40c,_0x28dcb5]=await Promise['all']([a('npm\x20list\x20-g\x20@nuvin/nuvin-cli\x20--depth=0\x202>/dev/null',0x1388),a(_0x31d631(0x247,_0x1106a1._0x3801f6,_0x1106a1._0x54d17c,0x26f),0x1388),a(_0x31d631(0x246,_0x1106a1._0x97b85b,_0x1106a1._0x3801f6,_0x1106a1._0x163bf1),0x1388)]);function _0x55ddd4(_0x221dbc,_0x4c1c3b,_0x19803e,_0x21eb30){return _0x3aee(_0x221dbc-0x2ef,_0x19803e);}return _0x1f85c8?.['includes'](_0x55ddd4(_0x1106a1._0x7b1d73,0x4cc,0x4cb,0x4e0))?_0x55ddd4(0x4e4,0x4f3,_0x1106a1._0x171a90,_0x1106a1._0x402181):_0x48f40c?.[_0x31d631(0x27c,0x26b,0x280,0x25d)](_0x55ddd4(_0x1106a1._0x7b1d73,0x4eb,0x4ee,0x4f0))?_0x55ddd4(_0x1106a1._0x34b1f,_0x1106a1._0x444582,0x4d2,_0x1106a1._0x3b7ba2):_0x28dcb5?.[_0x55ddd4(_0x1106a1._0x2288a8,_0x1106a1._0x2288a8,_0x1106a1._0x3a0af3,_0x1106a1._0x50b800)](_0x31d631(_0x1106a1._0x791870,0x24d,_0x1106a1._0x437b8d,0x239))?_0x55ddd4(0x4dc,_0x1106a1._0x2411c5,_0x1106a1._0x38374d,0x4cc):_0x31d631(0x257,0x254,_0x1106a1._0x3b3be9,0x247);}function _0x4132f0(_0x1a48c7,_0x552254,_0xf52374,_0x240206){return _0x306c82(_0x1a48c7-_0x117bc7._0x2d3082,_0xf52374-_0x117bc7._0x2f7f1e,_0xf52374-0x102,_0x1a48c7);}function _0x47b18c(_0x4935c3,_0x24dafe){function _0x56d461(_0x467931,_0x381c3a,_0x32830b,_0xea2073){return _0x3aee(_0xea2073-0x2f7,_0x467931);}let _0x5b3c94=_0x24dafe?d+'@'+_0x24dafe:d+'@latest';function _0x403042(_0x4d204c,_0x905e91,_0x5021bf,_0x1d33ba){return _0x3aee(_0x4d204c- -0x24c,_0x1d33ba);}switch(_0x4935c3){case _0x403042(-_0x1cd6ec._0x5bfbf5,-0x6b,-_0x1cd6ec._0x15e461,-0x4e):return _0x403042(-_0x1cd6ec._0x2f9c23,-0x4c,-0x41,-_0x1cd6ec._0x1919c3)+_0x5b3c94;case _0x403042(-0x5f,-0x6e,-_0x1cd6ec._0x790538,-0x4f):return _0x403042(-0x67,-_0x1cd6ec._0x262d47,-_0x1cd6ec._0x56e614,-_0x1cd6ec._0x16ab61)+_0x5b3c94;default:return _0x56d461(0x4e6,0x4dd,_0x1cd6ec._0x5971fe,0x4e7)+_0x5b3c94;}}async function _0x32a86c(_0x21ef8d){const _0x540d80={_0xc1c077:0x6a},_0xd730e6={_0x17687e:0x355},_0x1cfbac={_0x471901:0xdd};function _0x16a8a6(_0x51d573,_0x560bb8,_0x9b5b71,_0x3bd651){return _0x3aee(_0x560bb8-_0x1cfbac._0x471901,_0x3bd651);}let {UpdateChecker:_0x4d9a0a}=await import('./UpdateChecker-2LAM3Q56.js');function _0x2878dd(_0x5855b4,_0x44a6c3,_0x413303,_0x352810){return _0x3aee(_0x44a6c3- -_0xd730e6._0x17687e,_0x352810);}try{let _0x4a8585=await _0x4d9a0a[_0x16a8a6(_0x3c8c70._0x32093c,0x2d4,0x2d2,0x2ea)]({'onUpdateAvailable':_0x21ef8d?.[_0x16a8a6(_0x3c8c70._0x45e2dd,0x2e3,_0x3c8c70._0x26bf8e,_0x3c8c70._0x33fb46)],'onError':_0x21ef8d?.['onError']});if(!_0x4a8585['hasUpdate'])return!0x1;_0x21ef8d?.[_0x2878dd(-_0x3c8c70._0x47b995,-0x172,-_0x3c8c70._0x1a5850,-0x15c)]&&_0x21ef8d[_0x16a8a6(0x2d6,_0x3c8c70._0x18ebd,_0x3c8c70._0xc04cee,_0x3c8c70._0x362265)]();let _0x29c2db=await _0x4a9ed6(),_0x517224=_0x47b18c(_0x29c2db,_0x4a8585[_0x2878dd(-0x174,-_0x3c8c70._0x198af0,-_0x3c8c70._0x5916ef,-0x181)]),_0x1284d7=_0x1afab9('sh',['-c',_0x517224],{'detached':!0x0,'stdio':_0x2878dd(-_0x3c8c70._0x5aa358,-_0x3c8c70._0x252c59,-_0x3c8c70._0x252c59,-_0x3c8c70._0x3a93a2)});return _0x1284d7['on'](_0x16a8a6(0x2d3,0x2c6,_0x3c8c70._0x327bd4,0x2d0),_0x3a7e19=>{const _0x1b2f9e={_0x1c85fe:0xf4},_0x47ee89={_0x28a286:0xd7};function _0x4ebf46(_0x1965e6,_0x20aff8,_0x2c8112,_0x2376aa){return _0x2878dd(_0x1965e6-0x136,_0x1965e6- -0x29,_0x2c8112-_0x47ee89._0x28a286,_0x20aff8);}function _0x4bbebb(_0x58e385,_0x1b3b28,_0x2260b0,_0x316f83){return _0x2878dd(_0x58e385-0xcb,_0x2260b0-0x11d,_0x2260b0-_0x1b2f9e._0x1c85fe,_0x316f83);}if(_0x21ef8d?.['onUpdateCompleted']){let _0x3d0886=_0x3a7e19===0x0,_0x192590=_0x3d0886?_0x4ebf46(-0x183,-_0x1ed6b0._0x31ceff,-0x16e,-0x187)+_0x4a8585['latest']+_0x4bbebb(-0x2b,-_0x1ed6b0._0x4a1148,-0x2f,-0x32):_0x4ebf46(-_0x1ed6b0._0x2d3d0e,-_0x1ed6b0._0x416004,-_0x1ed6b0._0x2bf505,-0x18e);_0x21ef8d[_0x4ebf46(-0x18c,-0x1a1,-0x195,-_0x1ed6b0._0x8263d8)](_0x3d0886,_0x192590);}}),_0x1284d7['on'](_0x16a8a6(_0x3c8c70._0x5330bd,0x2cc,0x2d6,0x2d7),_0x2058a9=>{const _0x453145={_0x4b5e59:0x8,_0x1d0201:0x14e};function _0x592fc1(_0x3ed839,_0x4766dc,_0x25ec09,_0x2901c1){return _0x16a8a6(_0x3ed839-_0x453145._0x4b5e59,_0x25ec09- -0xf3,_0x25ec09-_0x453145._0x1d0201,_0x2901c1);}function _0x30aaba(_0x278348,_0x2b2601,_0x56c30c,_0x216480){return _0x16a8a6(_0x278348-0x80,_0x2b2601-_0x540d80._0xc1c077,_0x56c30c-0x176,_0x278348);}_0x21ef8d?.['onUpdateCompleted']&&_0x21ef8d[_0x30aaba(_0x2e12db._0x8d9235,_0x2e12db._0x44553e,_0x2e12db._0x4a6512,0x339)](!0x1,_0x592fc1(0x203,0x1fe,0x1f2,0x1ed)+_0x2058a9[_0x30aaba(0x331,0x32e,_0x2e12db._0x29bf51,0x327)]);}),_0x1284d7['unref'](),!0x0;}catch(_0x41193a){return _0x21ef8d?.[_0x2878dd(-0x154,-_0x3c8c70._0x4b0775,-0x149,-0x142)]&&_0x21ef8d[_0x16a8a6(0x2de,_0x3c8c70._0x286f67,0x2f6,_0x3c8c70._0x4194ee)](_0x41193a instanceof Error?_0x41193a:new Error(String(_0x41193a))),!0x1;}}_0x12682a[_0x4132f0(_0x230482._0x190ab1,_0x230482._0x3cc322,0x2df,_0x230482._0xf05976)]=_0x32a86c;})(h||={});export{h as AutoUpdater};
|
package/dist/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @nuvin/cli
|
|
1
|
+
# @nuvin/nuvin-cli
|
|
2
2
|
|
|
3
3
|
Interactive AI coding assistant CLI powered by Nuvin core. Transform your natural language requests into automated coding tasks with intelligent AI agent workflows.
|
|
4
4
|
|
|
@@ -19,11 +19,17 @@ Interactive AI coding assistant CLI powered by Nuvin core. Transform your natura
|
|
|
19
19
|
# Install globally
|
|
20
20
|
npm install --global @nuvin/nuvin-cli
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# Use with npx (no installation required)
|
|
23
23
|
npx @nuvin/nuvin-cli
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Install in project as dependency
|
|
26
|
+
npm install @nuvin/nuvin-cli
|
|
27
|
+
|
|
28
|
+
# Or with pnpm
|
|
26
29
|
pnpm add @nuvin/nuvin-cli
|
|
30
|
+
|
|
31
|
+
# Or with yarn
|
|
32
|
+
yarn add @nuvin/nuvin-cli
|
|
27
33
|
```
|
|
28
34
|
|
|
29
35
|
## Quick Start
|
|
@@ -32,26 +38,34 @@ pnpm add @nuvin/nuvin-cli
|
|
|
32
38
|
# Start with default provider
|
|
33
39
|
nuvin
|
|
34
40
|
|
|
35
|
-
# Use OpenRouter
|
|
41
|
+
# Use OpenRouter with a free model
|
|
36
42
|
nuvin --provider openrouter --model minimax/minimax-m2:free
|
|
37
43
|
|
|
38
|
-
# Use Anthropic Claude
|
|
44
|
+
# Use Anthropic Claude (requires API key)
|
|
39
45
|
nuvin --provider anthropic --model claude-sonnet-4-5
|
|
40
46
|
|
|
41
|
-
# Use GitHub Models
|
|
47
|
+
# Use GitHub Models (requires GitHub token)
|
|
42
48
|
nuvin --provider github --model claude-sonnet-4.5
|
|
43
49
|
|
|
44
|
-
# Use configuration file
|
|
50
|
+
# Use configuration file for persistent settings
|
|
45
51
|
nuvin --config ./my-config.yaml
|
|
52
|
+
|
|
53
|
+
# List available commands
|
|
54
|
+
nuvin --help
|
|
55
|
+
|
|
56
|
+
# Check version
|
|
57
|
+
nuvin --version
|
|
46
58
|
```
|
|
47
59
|
|
|
48
60
|
## CLI Usage
|
|
49
61
|
|
|
62
|
+
### Basic Commands
|
|
63
|
+
|
|
50
64
|
```bash
|
|
51
|
-
# Start with default provider
|
|
65
|
+
# Start interactive mode with default provider
|
|
52
66
|
nuvin
|
|
53
67
|
|
|
54
|
-
# Use
|
|
68
|
+
# Use specific provider and model
|
|
55
69
|
nuvin --provider openrouter --model openai/gpt-4o
|
|
56
70
|
|
|
57
71
|
# Use Anthropic Claude
|
|
@@ -60,11 +74,24 @@ nuvin --provider anthropic --model claude-sonnet-4-5
|
|
|
60
74
|
# Use GitHub Models
|
|
61
75
|
nuvin --provider github --model claude-sonnet-4.5
|
|
62
76
|
|
|
63
|
-
#
|
|
64
|
-
nuvin --
|
|
77
|
+
# Use Echo mode for testing
|
|
78
|
+
nuvin --provider echo --model echo
|
|
65
79
|
|
|
66
|
-
#
|
|
80
|
+
# Load configuration from file
|
|
67
81
|
nuvin --config ./my-config.yaml
|
|
82
|
+
|
|
83
|
+
# Show help and all options
|
|
84
|
+
nuvin --help
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Advanced Usage
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Combine multiple options
|
|
91
|
+
nuvin --provider openrouter --model openai/gpt-4o --config ./config.yaml
|
|
92
|
+
|
|
93
|
+
# Use ZAI provider
|
|
94
|
+
nuvin --provider zai --model glm-4.7
|
|
68
95
|
```
|
|
69
96
|
|
|
70
97
|
## Environment Variables
|
|
@@ -105,7 +132,37 @@ export GOOGLE_CSE_CX=your_search_engine_id
|
|
|
105
132
|
- **[MCP Integration](docs/mcp-integration.md)** - Model Context Protocol setup and usage
|
|
106
133
|
- **[Specialist Agents](docs/agents.md)** - Multi-agent system and delegation guide
|
|
107
134
|
- **[Development Guide](docs/development.md)** - Contributing and development workflow
|
|
135
|
+
- **[Tool Approval Renderers](docs/tool-approval-renderers.md)** - Tool approval system and custom renderers
|
|
136
|
+
|
|
137
|
+
## Troubleshooting
|
|
138
|
+
|
|
139
|
+
### Common Issues
|
|
140
|
+
|
|
141
|
+
**Installation problems**
|
|
142
|
+
- Ensure Node.js 18+ is installed: `node --version`
|
|
143
|
+
- Clear npm cache: `npm cache clean --force`
|
|
144
|
+
- Use specific version: `npm install -g @nuvin/nuvin-cli@latest`
|
|
145
|
+
|
|
146
|
+
**Provider authentication issues**
|
|
147
|
+
- Check API keys are set correctly as environment variables
|
|
148
|
+
- Verify keys have proper permissions for the provider
|
|
149
|
+
- Test with free models first before upgrading
|
|
150
|
+
|
|
151
|
+
**Configuration file issues**
|
|
152
|
+
- Validate YAML syntax (use online validator)
|
|
153
|
+
- Check file paths are correct
|
|
154
|
+
- Use absolute paths if relative paths fail
|
|
155
|
+
|
|
156
|
+
**Performance issues**
|
|
157
|
+
- Close other memory-intensive applications
|
|
158
|
+
- Increase Node.js memory limit: `node --max-old-space-size=4096`
|
|
159
|
+
- Use lighter models for faster responses
|
|
160
|
+
|
|
161
|
+
**Getting help**
|
|
162
|
+
- Run `nuvin --help` for command options
|
|
163
|
+
- Check [GitHub Issues](https://github.com/marschhuynh/nuvin-cli/issues) for known problems
|
|
164
|
+
- Enable debug mode (if available) for detailed logs
|
|
108
165
|
|
|
109
166
|
## License
|
|
110
167
|
|
|
111
|
-
|
|
168
|
+
Apache-2.0 © Marsch Huynh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x442e(_0x2b6f76,_0x230fa9){_0x2b6f76=_0x2b6f76-0x19d;const _0x36d1e0=_0x36d1();let _0x442eb8=_0x36d1e0[_0x2b6f76];if(_0x442e['HHdxPJ']===undefined){var _0x1125e4=function(_0x4afa78){const _0x3dc728='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3bcde2='',_0x56995b='';for(let _0x5ebd85=0x0,_0x40589b,_0x28d321,_0x173b36=0x0;_0x28d321=_0x4afa78['charAt'](_0x173b36++);~_0x28d321&&(_0x40589b=_0x5ebd85%0x4?_0x40589b*0x40+_0x28d321:_0x28d321,_0x5ebd85++%0x4)?_0x3bcde2+=String['fromCharCode'](0xff&_0x40589b>>(-0x2*_0x5ebd85&0x6)):0x0){_0x28d321=_0x3dc728['indexOf'](_0x28d321);}for(let _0x14f6ef=0x0,_0x1fccb3=_0x3bcde2['length'];_0x14f6ef<_0x1fccb3;_0x14f6ef++){_0x56995b+='%'+('00'+_0x3bcde2['charCodeAt'](_0x14f6ef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x56995b);};_0x442e['LXjCqo']=_0x1125e4,_0x442e['zvLdgY']={},_0x442e['HHdxPJ']=!![];}const _0x1ef8d0=_0x36d1e0[0x0],_0x557458=_0x2b6f76+_0x1ef8d0,_0x411b54=_0x442e['zvLdgY'][_0x557458];return!_0x411b54?(_0x442eb8=_0x442e['LXjCqo'](_0x442eb8),_0x442e['zvLdgY'][_0x557458]=_0x442eb8):_0x442eb8=_0x411b54,_0x442eb8;}function _0x489baa(_0x45771d,_0x47bb80,_0x5076df,_0x3da960){return _0x442e(_0x45771d-0x30a,_0x47bb80);}function _0x36d1(){const _0x48d5ac=['mtC5mtnozK1rrKO','mtHjsNfHCu4','zxjYB3i','BgvUz3rO','zw5K','CMvNAxn0CNKUBNbTANmUB3jN','Aw5JBhvKzxm','l2XHDgvZDa','r0vu','BwfW','C3rHDhvZq29Kzq','mtu3nMHgvezWEq','uMvXDwvZDcb0Aw1LB3v0','zgf0yq','DgLTzw91Da','CMvWBgfJzq','yxbWBgLJyxrPB24VANnVBG','B25vCgrHDgvbDMfPBgfIBgu','CMvXDwvZDa','mJi1ota2mZb5whDhDfO','C3bSAxq','zgvZDhjVEq','oduYmdm1qvzYAfvx','y2HLy2TgB3jvCgrHDgu','qg51DMLUl251DMLUlwnSAq','mJq5ndK5mg9NDKTkqG','nZG1nZCZognsvvvKqG','Bwf4','mtaXmdG4sg1Aq0XN','nJy1mxPhyxPwua','nZi0CMz3tKDc'];_0x36d1=function(){return _0x48d5ac;};return _0x36d1();}(function(_0x470871,_0x4d625a){const _0x1be1a3={_0x352c12:0x16f,_0x1b2b62:0x175,_0xd9393a:0x16b,_0x237a35:0x174,_0xa580ba:0x127,_0x4d871c:0x13d,_0x2c2932:0x136,_0x445395:0x143,_0x4b005b:0x138,_0x49caec:0x137,_0x365fec:0x14e,_0x369ab0:0x136,_0x1fbbd9:0x13b,_0x5dcd93:0x135,_0x51694f:0x14b,_0x4ec6e1:0x169,_0x333296:0x15e,_0xe6b3c0:0x16e,_0x411e07:0x169,_0x2c706d:0x173},_0x3ef498={_0x5415f9:0x317};function _0x642d46(_0x3485d3,_0x39091d,_0x4cd85e,_0x2623b1){return _0x442e(_0x3485d3- -_0x3ef498._0x5415f9,_0x4cd85e);}const _0x5267e0=_0x470871();function _0x43ded5(_0x3438db,_0x4fa2d,_0x461923,_0x3122eb){return _0x442e(_0x3122eb- -0x2e1,_0x461923);}while(!![]){try{const _0xb21ef0=-parseInt(_0x642d46(-_0x1be1a3._0x352c12,-_0x1be1a3._0x1b2b62,-0x167,-_0x1be1a3._0xd9393a))/0x1+parseInt(_0x642d46(-0x172,-0x170,-0x163,-_0x1be1a3._0x237a35))/0x2+parseInt(_0x43ded5(-0x128,-_0x1be1a3._0xa580ba,-_0x1be1a3._0x4d871c,-_0x1be1a3._0x2c2932))/0x3*(parseInt(_0x43ded5(-_0x1be1a3._0x445395,-0x139,-_0x1be1a3._0x4b005b,-_0x1be1a3._0x49caec))/0x4)+parseInt(_0x43ded5(-_0x1be1a3._0x365fec,-0x143,-_0x1be1a3._0x369ab0,-0x13f))/0x5*(-parseInt(_0x43ded5(-_0x1be1a3._0x1fbbd9,-0x128,-0x13a,-_0x1be1a3._0x5dcd93))/0x6)+parseInt(_0x43ded5(-_0x1be1a3._0x51694f,-0x149,-0x149,-0x13b))/0x7+-parseInt(_0x642d46(-0x161,-0x170,-_0x1be1a3._0x4ec6e1,-_0x1be1a3._0x333296))/0x8*(-parseInt(_0x642d46(-_0x1be1a3._0xe6b3c0,-_0x1be1a3._0x411e07,-0x172,-_0x1be1a3._0x2c706d))/0x9)+-parseInt(_0x43ded5(-0x138,-0x13f,-0x136,-0x142))/0xa;if(_0xb21ef0===_0x4d625a)break;else _0x5267e0['push'](_0x5267e0['shift']());}catch(_0x1c6462){_0x5267e0['push'](_0x5267e0['shift']());}}}(_0x36d1,0xb0fff));import{a as _0x3bcde2}from'./chunk-AJHDLTY3.js';import _0x56995b from'https';function _0x4384fd(_0x3e81ae,_0x5c9459,_0x607ead,_0x5763c6){return _0x442e(_0x3e81ae- -0x37d,_0x607ead);}var d=_0x489baa(0x4ba,0x4b7,0x4ad,0x4c5),m=_0x4384fd(-0x1d9,-0x1da,-0x1db,-0x1ca),f=0x1388,h;(_0x5ebd85=>{const _0x510fe4={_0x56ffd7:0x47,_0xa3ebd4:0x4d,_0xb240d3:0x40},_0x3b8d25={_0x1f0853:0x132,_0x6afd4e:0x130,_0x1e4629:0x123,_0x18688c:0x147,_0x2d3cc2:0x134,_0x16fcaf:0x125,_0x33db07:0x12b,_0x2ad389:0x143,_0x29df47:0x146},_0xea0492={_0x417352:0x1d2},_0x5b9e8c={_0x4863ec:0x18f,_0x413b85:0x190,_0x5a992e:0x18f,_0x64a379:0x18,_0x215afc:0x2,_0x9aa8bb:0x0,_0x47459a:0xa,_0x18e48e:0xb,_0x5562b4:0x6,_0x43deba:0xf,_0x295951:0x12,_0x2f864e:0x1b,_0x2f8092:0x24,_0x272598:0x191},_0x31e0ef={_0x592e18:0x75,_0x25ec7f:0x7c,_0x5ae688:0x95,_0x4782c1:0x87,_0x3ce642:0x91,_0x46eade:0x94,_0x557d34:0x3b1,_0x89785c:0x3a5,_0xe42453:0x3b1};async function _0x40589b(_0x14f6ef){let _0x1fccb3=_0x3bcde2();function _0x260542(_0xdc6ccf,_0x142395,_0x36fe13,_0x26358d){return _0x442e(_0xdc6ccf-0x214,_0x26358d);}function _0x47b761(_0x5859bb,_0x564db3,_0x31bba8,_0x4c6781){return _0x442e(_0x31bba8- -0x22e,_0x5859bb);}try{let _0x17bcbf=await _0x28d321();if(_0x17bcbf[_0x47b761(-_0x31e0ef._0x592e18,-0x80,-0x7d,-_0x31e0ef._0x25ec7f)]('-'))return{'current':_0x1fccb3,'latest':_0x17bcbf,'hasUpdate':!0x1};let _0x24f098=_0x173b36(_0x1fccb3,_0x17bcbf)<0x0,_0x191acf={'current':_0x1fccb3,'latest':_0x17bcbf,'hasUpdate':_0x24f098};return _0x24f098&&_0x14f6ef?.[_0x47b761(-_0x31e0ef._0x5ae688,-_0x31e0ef._0x4782c1,-_0x31e0ef._0x3ce642,-_0x31e0ef._0x46eade)]&&_0x14f6ef[_0x260542(_0x31e0ef._0x557d34,0x3aa,_0x31e0ef._0x89785c,_0x31e0ef._0xe42453)](_0x191acf),_0x191acf;}catch(_0x2a2289){return _0x14f6ef?.['onError']&&_0x14f6ef['onError'](_0x2a2289 instanceof Error?_0x2a2289:new Error(String(_0x2a2289))),{'current':_0x1fccb3,'latest':_0x1fccb3,'hasUpdate':!0x1};}}_0x5ebd85[_0x423383(_0x510fe4._0x56ffd7,_0x510fe4._0xa3ebd4,0x45,_0x510fe4._0xb240d3)]=_0x40589b;function _0x28d321(){const _0x571351={_0x3a91f9:0x20d,_0x2e3319:0x216,_0x19190d:0x209,_0x263e63:0x1fd,_0x1e52ab:0x1e4,_0x56f45d:0x1f3},_0x1291f9={_0x1e9312:0x316,_0x4a0155:0x333};return new Promise((_0x1f6501,_0x525c01)=>{const _0x26958d={_0x5e55e4:0xc8},_0x367248={_0x21a957:0x20c,_0x372cc1:0x17a},_0x6a9b41={_0x5b3015:0x24},_0x3cffa5={_0x3de1cf:0x460},_0x534423={_0x1390f6:0x11f,_0x55e1d4:0x178};let _0x346f09={'hostname':d,'path':'/'+encodeURIComponent(m)+_0x366b4b(0x15,0x14,0xa,0x9),'method':_0x330038(_0x5b9e8c._0x4863ec,0x194,_0x5b9e8c._0x413b85,_0x5b9e8c._0x5a992e),'headers':{'Accept':_0x366b4b(0x2b,0x1d,_0x5b9e8c._0x64a379,0x19)},'timeout':f},_0x530081=_0x56995b[_0x366b4b(_0x5b9e8c._0x215afc,_0x5b9e8c._0x9aa8bb,-_0x5b9e8c._0x47459a,_0x5b9e8c._0x18e48e)](_0x346f09,_0x8ac2ed=>{const _0x5be6be={_0x1395f2:0x1b},_0x4db104={_0x559a3f:0x1ea,_0x11ede2:0x13e},_0x14fac6={_0x569f17:0x191,_0x3b1d37:0xb7};function _0x239230(_0x4933d9,_0x38f4ab,_0x2a1fe4,_0x569cae){return _0x330038(_0x569cae-_0x14fac6._0x569f17,_0x38f4ab,_0x2a1fe4-0x178,_0x569cae-_0x14fac6._0x3b1d37);}let _0x3d9b7e='';function _0xcbb3b4(_0x1a8490,_0xca0531,_0x147994,_0x5886c9){return _0x330038(_0x147994- -_0x534423._0x1390f6,_0xca0531,_0x147994-0xf9,_0x5886c9-_0x534423._0x55e1d4);}_0x8ac2ed['on'](_0x239230(0x318,_0x1291f9._0x1e9312,_0x1291f9._0x4a0155,0x325),_0xd991e2=>{_0x3d9b7e+=_0xd991e2;}),_0x8ac2ed['on'](_0x239230(0x322,0x31f,0x318,0x31c),()=>{function _0x47e4a8(_0x1e3566,_0x5442da,_0x18dbe1,_0x1535a8){return _0x239230(_0x1e3566-_0x4db104._0x559a3f,_0x18dbe1,_0x18dbe1-0xc,_0x1535a8-_0x4db104._0x11ede2);}function _0x4caa42(_0x510483,_0x23796f,_0x4bc43c,_0x16cb42){return _0x239230(_0x510483-0x3c,_0x4bc43c,_0x4bc43c-_0x5be6be._0x1395f2,_0x16cb42-0x1a2);}try{if(_0x8ac2ed[_0x47e4a8(0x467,0x469,0x46e,_0x3cffa5._0x3de1cf)]===0xc8){let _0x525624=JSON['parse'](_0x3d9b7e);_0x1f6501(_0x525624['version']);}else _0x525c01(new Error('HTTP\x20'+_0x8ac2ed[_0x4caa42(0x4d2,0x4cf,0x4d3,0x4c4)]));}catch(_0x492da9){_0x525c01(_0x492da9);}});});function _0x366b4b(_0x1d0f39,_0x343b26,_0x74168d,_0x41a776){return _0x442e(_0x343b26- -0x19e,_0x74168d);}function _0x330038(_0x4b27ce,_0x21b5f1,_0x1b19ed,_0x69002e){return _0x442e(_0x4b27ce- -_0x6a9b41._0x5b3015,_0x21b5f1);}_0x530081['on'](_0x366b4b(_0x5b9e8c._0x5562b4,_0x5b9e8c._0x43deba,0x18,_0x5b9e8c._0x295951),_0x525c01),_0x530081['on'](_0x366b4b(0x22,_0x5b9e8c._0x2f864e,_0x5b9e8c._0x2f8092,0x29),()=>{function _0x52bb5d(_0xa3ce2d,_0x1e2bda,_0x326f03,_0x1eb9e4){return _0x366b4b(_0xa3ce2d-0x65,_0x326f03- -_0x367248._0x21a957,_0xa3ce2d,_0x1eb9e4-_0x367248._0x372cc1);}function _0x3e028d(_0x313b4b,_0xee8c57,_0x8b91ca,_0x5e81ec){return _0x330038(_0xee8c57- -0x395,_0x5e81ec,_0x8b91ca-_0x26958d._0x5e55e4,_0x5e81ec-0x1f2);}_0x530081[_0x52bb5d(-_0x571351._0x3a91f9,-_0x571351._0x2e3319,-_0x571351._0x19190d,-_0x571351._0x263e63)](),_0x525c01(new Error(_0x52bb5d(-_0x571351._0x1e52ab,-_0x571351._0x56f45d,-_0x571351._0x56f45d,-0x1eb)));}),_0x530081[_0x330038(0x18b,0x198,_0x5b9e8c._0x272598,0x198)]();});}function _0x423383(_0x457c8c,_0x2a0522,_0x11b5b0,_0x3601a7){return _0x4384fd(_0x2a0522-0x227,_0x2a0522-0x65,_0x11b5b0,_0x3601a7-_0xea0492._0x417352);}function _0x173b36(_0x3a9a6b,_0x5c579e){const _0x110fd9={_0x39a4ad:0x93};function _0x181247(_0x2fb5da,_0xa17cc9,_0x4d20a3,_0xd817b3){return _0x423383(_0x2fb5da-0x44,_0x2fb5da-0x4ff,_0xd817b3,_0xd817b3-0x116);}let _0x192854=_0xb3a87a=>_0xb3a87a[_0x35f978(0x153,0x157,0x147,0x148)](/^v/,'')[_0x35f978(0x12c,0x128,0x12d,0x11d)]('-')[0x0],_0xedd335=_0x192854(_0x3a9a6b)[_0x35f978(_0x3b8d25._0x1f0853,_0x3b8d25._0x6afd4e,0x12d,_0x3b8d25._0x1e4629)]('.')[_0x35f978(0x149,_0x3b8d25._0x18688c,0x141,0x133)](Number),_0x3d6300=_0x192854(_0x5c579e)[_0x35f978(0x138,0x132,0x12d,0x128)]('.')['map'](Number);function _0x35f978(_0x18ecf7,_0x162638,_0x426251,_0x2ffee6){return _0x423383(_0x18ecf7-0xd6,_0x426251-0xe3,_0x2ffee6,_0x2ffee6-_0x110fd9._0x39a4ad);}for(let _0x361445=0x0;_0x361445<Math[_0x35f978(0x13c,0x13a,_0x3b8d25._0x2d3cc2,_0x3b8d25._0x16fcaf)](_0xedd335[_0x35f978(_0x3b8d25._0x33db07,0x13a,0x13b,0x137)],_0x3d6300[_0x35f978(0x143,_0x3b8d25._0x2ad389,0x13b,_0x3b8d25._0x29df47)]);_0x361445++){let _0x591cf4=_0xedd335[_0x361445]||0x0,_0x57017c=_0x3d6300[_0x361445]||0x0;if(_0x591cf4>_0x57017c)return 0x1;if(_0x591cf4<_0x57017c)return-0x1;}return 0x0;}})(h||={});export{h as UpdateChecker};
|
package/dist/VERSION
CHANGED
package/dist/chunk-AJHDLTY3.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3a46b3,_0x27cb28){const _0x5c1037={_0x2182f1:0x3f2,_0x18311c:0x3f0,_0x70e4c1:0x3f7,_0x5f594c:0x3fb,_0x59efe4:0x3f1,_0x389bb7:0x123,_0xe067c8:0x11d,_0x5e97d1:0x11d,_0x2e0275:0x121,_0x54379f:0x126,_0x59478f:0x129,_0x5e9cc8:0x3f9,_0x916d85:0x117,_0x23db42:0x3ef,_0x1f2d34:0x120,_0x14ceaf:0x129,_0xee8219:0x12b,_0x510102:0x132},_0xfed5ee={_0x4f6ceb:0x334};function _0x42406b(_0x52334b,_0x574b5f,_0x18ab29,_0x2d0e7a){return _0x4d86(_0x18ab29-_0xfed5ee._0x4f6ceb,_0x2d0e7a);}function _0x2d5acd(_0xdc9e58,_0x10ddba,_0x50d98f,_0x51885a){return _0x4d86(_0x50d98f-0x60,_0x10ddba);}const _0x575618=_0x3a46b3();while(!![]){try{const _0xa9cd94=parseInt(_0x42406b(_0x5c1037._0x2182f1,0x3f0,0x3f8,_0x5c1037._0x18311c))/0x1*(-parseInt(_0x42406b(_0x5c1037._0x70e4c1,0x3fe,_0x5c1037._0x5f594c,_0x5c1037._0x59efe4))/0x2)+-parseInt(_0x2d5acd(0x121,_0x5c1037._0x389bb7,0x122,0x127))/0x3+parseInt(_0x2d5acd(_0x5c1037._0xe067c8,_0x5c1037._0x5e97d1,_0x5c1037._0x2e0275,_0x5c1037._0x54379f))/0x4*(-parseInt(_0x2d5acd(0x129,0x12e,_0x5c1037._0x59478f,_0x5c1037._0x54379f))/0x5)+-parseInt(_0x42406b(0x3f3,_0x5c1037._0x5e9cc8,0x3fc,0x3f3))/0x6+parseInt(_0x2d5acd(_0x5c1037._0x916d85,0x126,0x11c,0x11c))/0x7*(parseInt(_0x42406b(0x407,0x3fd,0x401,0x3f7))/0x8)+parseInt(_0x42406b(_0x5c1037._0x23db42,0x3fd,0x3fa,0x3fc))/0x9*(-parseInt(_0x2d5acd(_0x5c1037._0x59478f,0x11d,_0x5c1037._0x1f2d34,_0x5c1037._0x14ceaf))/0xa)+parseInt(_0x2d5acd(0x12e,0x122,_0x5c1037._0xee8219,_0x5c1037._0x510102))/0xb;if(_0xa9cd94===_0x27cb28)break;else _0x575618['push'](_0x575618['shift']());}catch(_0x2a2125){_0x575618['push'](_0x575618['shift']());}}}(_0x4745,0x61e7d));import{execSync as _0x12ed8b}from'child_process';import{readFileSync as _0x277637}from'fs';import{join as _0x5c1ad4,dirname as _0x4067ca}from'path';import{fileURLToPath as _0x5a0be7}from'url';var a=_0x5a0be7(import.meta.url),r=_0x4067ca(a);function _0x4745(){const _0xb036ae=['Dw5RBM93BG','otuZmfDwtxH1qq','nevQsffvqG','mJiXmJm2ofzyyxfSsa','z2L0ihjLDI1WyxjZzsbirufe','mtu1mZK5zLnyuLrb','lI4VlI4V','ntrTzNnJt2q','mtbkq1LgreC','ndC5mJG5nND3DhHfqq','mZK3ntq1y3v1q0PJ','DxrMoa','mJC1ota2otvWvgPbwgi','lI4VzgLZDc9wrvjtsu9o','ntzyu0LtzKW','CgfYC2u','DhjPBq','DMvYC2LVBG','mJKXmJCWufb1zxvg','y29TBwL0','lI4VlI4VCgfJA2fNzs5QC29U'];_0x4745=function(){return _0xb036ae;};return _0x4745();}function m(){const _0x2efe4a={_0x32f630:0x258,_0x2d9bfd:0x260,_0xf475d3:0x262,_0x3ace88:0x261,_0x6bd472:0x104,_0x2baab3:0x263,_0xab6220:0x25d,_0x544229:0x25a,_0x6ce665:0x25f,_0x57294c:0x114,_0xbc250c:0x120,_0x4c6a3d:0x109,_0x1e8053:0xfa,_0xe1f4e4:0x105,_0x4f43f4:0x103,_0x596b37:0x100},_0x2a65b2={_0x5bc50f:0x195};function _0x7cf909(_0x4ee7ff,_0xa2a08c,_0x27a0e2,_0x203294){return _0x4d86(_0x4ee7ff-_0x2a65b2._0x5bc50f,_0x27a0e2);}function _0x30f236(_0x2f22b7,_0x5f4f16,_0x4604a1,_0x938f0d){return _0x4d86(_0x4604a1-0x46,_0x5f4f16);}try{let _0x56968d=_0x5c1ad4(r,_0x7cf909(0x261,_0x2efe4a._0x32f630,_0x2efe4a._0x2d9bfd,_0x2efe4a._0xf475d3));return JSON['parse'](_0x277637(_0x56968d,'utf8'))[_0x7cf909(0x265,_0x2efe4a._0x3ace88,0x25e,0x25a)];}catch{try{let _0x6d55ad=_0x5c1ad4(r,_0x30f236(_0x2efe4a._0x6bd472,0x10f,0x104,0x103));return JSON[_0x7cf909(_0x2efe4a._0x2baab3,_0x2efe4a._0xab6220,0x26b,_0x2efe4a._0x544229)](_0x277637(_0x6d55ad,_0x7cf909(0x25f,_0x2efe4a._0x6ce665,0x256,0x264)))[_0x30f236(_0x2efe4a._0x57294c,_0x2efe4a._0xbc250c,0x116,0x110)]||_0x30f236(_0x2efe4a._0x4c6a3d,_0x2efe4a._0x1e8053,_0x2efe4a._0xe1f4e4,_0x2efe4a._0x4f43f4);}catch{return _0x30f236(_0x2efe4a._0x596b37,0x10f,_0x2efe4a._0xe1f4e4,_0x2efe4a._0x596b37);}}}function u(){const _0x270619={_0x1816b0:0x44,_0x451aab:0x42,_0xa3f496:0xea,_0x310b96:0xe8,_0x2f2a43:0xf7,_0x4e2e77:0xf4,_0x446253:0xf1,_0x142324:0xef,_0x11b13f:0x3c,_0x461df6:0xe2,_0x44a824:0xe5,_0x51a236:0x36,_0x3ac2a9:0x38},_0x33be80={_0x1bd681:0x8c};function _0x510d8f(_0x564b29,_0x568812,_0x224cf3,_0x54d8a1){return _0x4d86(_0x224cf3- -0x1b4,_0x54d8a1);}function _0x32be8c(_0x3b7c39,_0x408e62,_0xd1a248,_0x27eb35){return _0x4d86(_0xd1a248- -_0x33be80._0x1bd681,_0x408e62);}try{let _0x20a1f0=_0x5c1ad4(r,_0x32be8c(_0x270619._0x1816b0,0x40,0x40,0x48));return JSON[_0x32be8c(0x4c,0x40,_0x270619._0x451aab,0x48)](_0x277637(_0x20a1f0,_0x510d8f(-0xea,-0xe9,-_0x270619._0xa3f496,-_0x270619._0x310b96)))[_0x510d8f(-0xf5,-_0x270619._0x2f2a43,-0xf7,-0xf5)];}catch{try{return _0x12ed8b(_0x510d8f(-_0x270619._0x4e2e77,-_0x270619._0x2f2a43,-_0x270619._0x446253,-0xfc),{'encoding':_0x510d8f(-0xf2,-0xf2,-_0x270619._0xa3f496,-_0x270619._0x142324),'cwd':_0x5c1ad4(r,_0x32be8c(0x3e,_0x270619._0x11b13f,0x39,0x3e)),'timeout':0x1388})[_0x510d8f(-0xed,-_0x270619._0x461df6,-_0x270619._0x44a824,-0xe7)]()['substring'](0x0,0x7);}catch{return _0x32be8c(_0x270619._0x51a236,_0x270619._0x3ac2a9,0x33,0x29);}}}function v(){return{'version':m(),'commit':u()};}function _0x4d86(_0x5c4fba,_0x266598){_0x5c4fba=_0x5c4fba-0xbc;const _0x4745d5=_0x4745();let _0x4d86d4=_0x4745d5[_0x5c4fba];if(_0x4d86['BAQudB']===undefined){var _0x57de68=function(_0x4bb578){const _0x3d623a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x12ed8b='',_0x277637='';for(let _0x5c1ad4=0x0,_0x4067ca,_0x5a0be7,_0x56968d=0x0;_0x5a0be7=_0x4bb578['charAt'](_0x56968d++);~_0x5a0be7&&(_0x4067ca=_0x5c1ad4%0x4?_0x4067ca*0x40+_0x5a0be7:_0x5a0be7,_0x5c1ad4++%0x4)?_0x12ed8b+=String['fromCharCode'](0xff&_0x4067ca>>(-0x2*_0x5c1ad4&0x6)):0x0){_0x5a0be7=_0x3d623a['indexOf'](_0x5a0be7);}for(let _0x6d55ad=0x0,_0x20a1f0=_0x12ed8b['length'];_0x6d55ad<_0x20a1f0;_0x6d55ad++){_0x277637+='%'+('00'+_0x12ed8b['charCodeAt'](_0x6d55ad)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x277637);};_0x4d86['vUgJSg']=_0x57de68,_0x4d86['rtMbEq']={},_0x4d86['BAQudB']=!![];}const _0x3766f0=_0x4745d5[0x0],_0x26744a=_0x5c4fba+_0x3766f0,_0x25e6af=_0x4d86['rtMbEq'][_0x26744a];return!_0x25e6af?(_0x4d86d4=_0x4d86['vUgJSg'](_0x4d86d4),_0x4d86['rtMbEq'][_0x26744a]=_0x4d86d4):_0x4d86d4=_0x25e6af,_0x4d86d4;}export{m as a,v as b};
|
package/dist/chunk-CIGVGDJE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x487e(_0x504ecc,_0x110067){_0x504ecc=_0x504ecc-0x17c;const _0x2fe128=_0x2fe1();let _0x487e00=_0x2fe128[_0x504ecc];if(_0x487e['InAFfh']===undefined){var _0x4c7a4c=function(_0x293902){const _0x139d12='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30d386='',_0x2fea63='';for(let _0x3d008a=0x0,_0x2deb4d,_0x520c84,_0x25d12d=0x0;_0x520c84=_0x293902['charAt'](_0x25d12d++);~_0x520c84&&(_0x2deb4d=_0x3d008a%0x4?_0x2deb4d*0x40+_0x520c84:_0x520c84,_0x3d008a++%0x4)?_0x30d386+=String['fromCharCode'](0xff&_0x2deb4d>>(-0x2*_0x3d008a&0x6)):0x0){_0x520c84=_0x139d12['indexOf'](_0x520c84);}for(let _0x37e468=0x0,_0x147723=_0x30d386['length'];_0x37e468<_0x147723;_0x37e468++){_0x2fea63+='%'+('00'+_0x30d386['charCodeAt'](_0x37e468)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2fea63);};_0x487e['gTWNAS']=_0x4c7a4c,_0x487e['HEpFpC']={},_0x487e['InAFfh']=!![];}const _0x4ce58b=_0x2fe128[0x0],_0x5e1e6c=_0x504ecc+_0x4ce58b,_0x33c597=_0x487e['HEpFpC'][_0x5e1e6c];return!_0x33c597?(_0x487e00=_0x487e['gTWNAS'](_0x487e00),_0x487e['HEpFpC'][_0x5e1e6c]=_0x487e00):_0x487e00=_0x33c597,_0x487e00;}(function(_0x274929,_0x5acd30){const _0x4cbade={_0x360ee8:0x62,_0x212f38:0x3f,_0x1e093c:0x33,_0x1c44f1:0x45,_0x1560cb:0x45,_0x225990:0x8c,_0x16b1e3:0xa5,_0x3f3999:0x60,_0x255f06:0x7c,_0x257101:0x40,_0x42c260:0x67,_0x1537a5:0x68,_0x40097a:0x41,_0x78cf69:0x36,_0x5ac366:0x4b,_0x3a36f3:0x21,_0x4e472c:0x38,_0x46419e:0x8a,_0x40a0d6:0x53},_0x20e71e={_0x880181:0x218};function _0x33cabc(_0x1fd353,_0x1895f7,_0x2f7cac,_0x1711e0){return _0x487e(_0x2f7cac- -0x1e0,_0x1fd353);}const _0xf43e3e=_0x274929();function _0x13a9b0(_0x9db1cb,_0x25fa4f,_0x452b6c,_0x180fb7){return _0x487e(_0x25fa4f- -_0x20e71e._0x880181,_0x9db1cb);}while(!![]){try{const _0x4e92a9=parseInt(_0x13a9b0(-0x5e,-0x56,-0x61,-_0x4cbade._0x360ee8))/0x1*(-parseInt(_0x33cabc(-_0x4cbade._0x212f38,-_0x4cbade._0x1e093c,-_0x4cbade._0x1c44f1,-_0x4cbade._0x1560cb))/0x2)+-parseInt(_0x13a9b0(-0x77,-_0x4cbade._0x225990,-_0x4cbade._0x16b1e3,-0xa2))/0x3+-parseInt(_0x33cabc(-_0x4cbade._0x3f3999,-_0x4cbade._0x255f06,-0x51,-_0x4cbade._0x257101))/0x4+parseInt(_0x13a9b0(-0x86,-_0x4cbade._0x42c260,-0x40,-_0x4cbade._0x360ee8))/0x5+-parseInt(_0x13a9b0(-0x94,-_0x4cbade._0x1537a5,-0x58,-0x5d))/0x6*(parseInt(_0x33cabc(-0x36,-_0x4cbade._0x40097a,-_0x4cbade._0x78cf69,-0x5e))/0x7)+-parseInt(_0x33cabc(-0x33,-0x50,-0x52,-0x5c))/0x8*(parseInt(_0x13a9b0(-0x6c,-_0x4cbade._0x5ac366,-0x20,-0x54))/0x9)+parseInt(_0x33cabc(-_0x4cbade._0x3a36f3,-_0x4cbade._0x4e472c,-0x42,-0x5a))/0xa*(parseInt(_0x13a9b0(-_0x4cbade._0x46419e,-0x7b,-_0x4cbade._0x40a0d6,-0x64))/0xb);if(_0x4e92a9===_0x5acd30)break;else _0xf43e3e['push'](_0xf43e3e['shift']());}catch(_0x46527f){_0xf43e3e['push'](_0xf43e3e['shift']());}}}(_0x2fe1,0xcb5e3));import*as _0x30d386 from'crypto';function m(_0x2fea63){const _0x2223b8={_0x4264fe:0x121,_0x4ef24c:0x116,_0x1a9933:0x108,_0x42f0f1:0xdb,_0x3db33b:0x2b4,_0x1ed392:0x29f,_0x27ddea:0x2aa,_0x3a990d:0x138,_0x36f93d:0x290};function _0x1befd1(_0x5007e2,_0x3465be,_0x27154b,_0x7b5b27){return _0x487e(_0x3465be-0xe9,_0x27154b);}function _0x57abe0(_0x414e90,_0x5a0c84,_0x2a2b62,_0x5e39ce){return _0x487e(_0x2a2b62- -0xa6,_0x5a0c84);}return _0x2fea63?typeof _0x2fea63==_0x57abe0(0x10c,0x12a,_0x2223b8._0x4264fe,_0x2223b8._0x4ef24c)?_0x2fea63:_0x2fea63 instanceof Error?c({'name':_0x2fea63[_0x57abe0(_0x2223b8._0x1a9933,_0x2223b8._0x42f0f1,0xe2,0x109)],'message':_0x2fea63[_0x1befd1(_0x2223b8._0x3db33b,_0x2223b8._0x1ed392,0x2c5,_0x2223b8._0x27ddea)],'stack':_0x2fea63[_0x57abe0(0x139,0x124,0x11d,_0x2223b8._0x3a990d)]}):typeof _0x2fea63==_0x1befd1(0x28e,0x292,0x285,_0x2223b8._0x36f93d)&&_0x2fea63?c(_0x2fea63):String(_0x2fea63):'unknown\x20error';}function c(_0x3d008a){const _0x59f800={_0x11ea34:0x81,_0x447bd1:0x85,_0x29baad:0xa7,_0x4bfd21:0x4bf,_0x5a156e:0x4ca,_0xcf5c72:0x4e0,_0xe98838:0x4da,_0x377575:0x486,_0x30e298:0x4a5,_0x4580cd:0x48e,_0x4cc187:0x4b4,_0x3b7d20:0x4ad,_0x2b98d7:0x4cc,_0x391515:0x8e,_0x2a832c:0x9b,_0x39c9f8:0x4a7,_0x56181f:0x48b,_0x156800:0x4db,_0xb6e9b5:0x4c6,_0x5582e1:0x4b0,_0x5680ea:0x49a,_0x1a3a18:0x493,_0x187840:0x99,_0x5746d5:0x87,_0x12bf76:0x80},_0xf4d64={_0x1ec8cd:0x30c},_0x42ec99={_0x1cfb88:0x219};function _0x45f4d5(_0x32753c,_0x3492bb,_0x5a46c6,_0x1c438b){return _0x487e(_0x32753c- -_0x42ec99._0x1cfb88,_0x3492bb);}let _0x2deb4d=[];function _0x447600(_0x51e13b,_0x3b9581,_0x2e0b5f,_0xcf3f56){return _0x487e(_0x3b9581-_0xf4d64._0x1ec8cd,_0x51e13b);}for(let [_0x520c84,_0x25d12d]of Object[_0x45f4d5(-_0x59f800._0x11ea34,-_0x59f800._0x447bd1,-_0x59f800._0x29baad,-0x65)](_0x3d008a)){if(_0x25d12d==null)continue;let _0x37e468;typeof _0x25d12d=='string'?_0x37e468='\x22'+_0x25d12d[_0x447600(_0x59f800._0x4bfd21,0x4c4,0x4ae,0x4e5)](/"/g,'\x5c\x22')+'\x22':typeof _0x25d12d==_0x447600(_0x59f800._0x5a156e,0x4cb,_0x59f800._0xcf5c72,_0x59f800._0xe98838)||typeof _0x25d12d==_0x447600(_0x59f800._0x377575,_0x59f800._0x30e298,_0x59f800._0x4580cd,0x4b5)?_0x37e468=String(_0x25d12d):Array[_0x447600(_0x59f800._0x4cc187,_0x59f800._0x3b7d20,0x4cd,_0x59f800._0x2b98d7)](_0x25d12d)?_0x37e468='['+_0x25d12d[_0x45f4d5(-_0x59f800._0x391515,-0xa7,-_0x59f800._0x2a832c,-0xa2)](_0x147723=>typeof _0x147723=='string'?'\x22'+_0x147723+'\x22':String(_0x147723))[_0x447600(_0x59f800._0x39c9f8,0x48c,0x489,0x4b5)](',')+']':typeof _0x25d12d==_0x447600(_0x59f800._0x56181f,0x4b5,_0x59f800._0x156800,_0x59f800._0xb6e9b5)&&_0x25d12d&&!Array['isArray'](_0x25d12d)?_0x37e468='{'+c(_0x25d12d)+'}':_0x37e468=String(_0x25d12d),_0x2deb4d[_0x447600(0x4ca,_0x59f800._0x5582e1,_0x59f800._0x5680ea,_0x59f800._0x1a3a18)](_0x520c84+':'+_0x37e468);}return _0x2deb4d[_0x45f4d5(-_0x59f800._0x187840,-_0x59f800._0x391515,-_0x59f800._0x5746d5,-_0x59f800._0x12bf76)]('|');}function d(_0x1829d9){const _0x1db66d={_0x549804:0x1c8,_0x3346d0:0x1a9,_0x5e5317:0x1d5,_0x1b8e43:0x200},_0x4fab6d={_0x35815a:0x380};function _0x11721d(_0x4d26ab,_0x55b1fc,_0x12048c,_0x29ff6a){return _0x487e(_0x12048c- -_0x4fab6d._0x35815a,_0x29ff6a);}function _0xf054a6(_0x251727,_0x3e8ead,_0x4bb16f,_0x59b7c7){return _0x487e(_0x3e8ead-0x11b,_0x4bb16f);}return _0x1829d9[_0x11721d(-_0x1db66d._0x549804,-0x1f0,-0x1c9,-_0x1db66d._0x3346d0)]('-')[_0x11721d(-0x1e2,-0x1e2,-0x1f5,-0x202)](_0x397467=>_0x397467[_0x11721d(-0x1fc,-0x206,-0x1ec,-0x1e6)](0x0)[_0x11721d(-0x202,-0x212,-0x1f9,-0x1e1)]()+_0x397467[_0x11721d(-0x1e4,-0x21a,-0x1fc,-0x228)](0x1))[_0x11721d(-_0x1db66d._0x5e5317,-0x1e6,-_0x1db66d._0x1b8e43,-0x223)]('\x20');}function g(_0x39b5a9){const _0x4db8cb={_0x320311:0x551,_0x404724:0x555,_0x3d91a8:0x547,_0x5b3dba:0x4fa,_0x543f76:0x562,_0x45cdad:0x588,_0x18d849:0x559,_0x5f0825:0x565,_0xb83248:0x506,_0x58cf6c:0x514,_0x3894ac:0x55b,_0x47da7b:0x550,_0x5415da:0x524,_0x18a5bb:0x510,_0x5b38e3:0x4f4,_0x2a8a6a:0x517,_0x461e71:0x566,_0x49eef3:0x54d,_0x288db6:0x525,_0x59cca3:0x533,_0x423d4a:0x557,_0xf60d61:0x560,_0x201651:0x54b,_0x331f79:0x538,_0x5135e9:0x541,_0x1958a1:0x53f,_0x3715a7:0x53a,_0x9a6d51:0x52f,_0x123238:0x53b,_0x2b0d69:0x570,_0x1718aa:0x553,_0x4b6d7b:0x52a,_0x1ba05b:0x50d,_0x3f0b15:0x556,_0xe8c610:0x576,_0x20c006:0x52d,_0x579088:0x52c,_0x38705d:0x54f,_0x5b65d8:0x53b,_0x149d24:0x52a,_0x44fd88:0x52c,_0x54033e:0x552,_0x4ab422:0x526,_0x36d76f:0x54e,_0x34a712:0x52b,_0x1ca6b0:0x54f,_0x1ca2ab:0x52b,_0x2a310a:0x53f,_0x29a21a:0x53e,_0x2ce87a:0x534,_0x2638f1:0x554,_0x2ee587:0x54f,_0x4aa008:0x532,_0x4a7ab3:0x522,_0x4ace07:0x535,_0x27d38a:0x513,_0x215771:0x51c,_0x5ccd87:0x4ff,_0xc45da0:0x51d,_0x37dbce:0x562,_0x2ff791:0x54d,_0x5654e3:0x56e,_0x5774be:0x531,_0x3cad88:0x512,_0x50ff25:0x4fe,_0x254e9e:0x53d,_0x344c04:0x555,_0x24cf31:0x545,_0x57b963:0x555,_0x4a123a:0x577,_0x2679d0:0x526,_0x7c512c:0x51b,_0x46886c:0x506,_0x5aaa79:0x549,_0x93f300:0x562,_0x34d381:0x57b,_0x4c89e2:0x534,_0x41b5a2:0x53c,_0x15b28b:0x50c,_0x1254be:0x55e,_0x109802:0x55a},_0x4b5e3c={_0x367198:0x3a2},_0x3d65f0={_0x5a70e5:0x38f};let _0x2bc734='';function _0x1dbf97(_0x28ee6f,_0x1b1c06,_0x40252b,_0x57470c){return _0x487e(_0x40252b-_0x3d65f0._0x5a70e5,_0x57470c);}function _0x323444(_0x40d8d2,_0x3658e4,_0x3c65c1,_0x1cd236){return _0x487e(_0x40d8d2-_0x4b5e3c._0x367198,_0x3658e4);}try{let _0x47ad49=typeof _0x39b5a9[_0x323444(_0x4db8cb._0x320311,0x539,0x57d,_0x4db8cb._0x404724)][_0x323444(0x523,0x522,_0x4db8cb._0x3d91a8,_0x4db8cb._0x5b3dba)]=='string'?JSON[_0x323444(_0x4db8cb._0x543f76,_0x4db8cb._0x45cdad,_0x4db8cb._0x18d849,0x55f)](_0x39b5a9[_0x1dbf97(0x537,0x519,0x53e,_0x4db8cb._0x5f0825)][_0x1dbf97(_0x4db8cb._0xb83248,0x52d,0x510,_0x4db8cb._0x58cf6c)]):_0x39b5a9[_0x1dbf97(_0x4db8cb._0x3894ac,_0x4db8cb._0x47da7b,0x53e,_0x4db8cb._0x5415da)][_0x1dbf97(0x52b,0x4e5,_0x4db8cb._0x18a5bb,0x52b)];if(_0x39b5a9['function'][_0x1dbf97(_0x4db8cb._0x5b38e3,0x509,_0x4db8cb._0x2a8a6a,0x4eb)]===_0x323444(_0x4db8cb._0x461e71,0x551,0x55a,_0x4db8cb._0x49eef3))return _0x47ad49['agent']?'['+d(_0x47ad49[_0x323444(0x533,0x539,_0x4db8cb._0x288db6,_0x4db8cb._0x59cca3)])+']':'[Sub-Agent]';switch(_0x39b5a9[_0x323444(0x551,_0x4db8cb._0x423d4a,0x55f,0x554)]['name']){case'todo_write':if(_0x47ad49[_0x1dbf97(0x55d,_0x4db8cb._0xf60d61,_0x4db8cb._0x201651,_0x4db8cb._0x331f79)]&&Array['isArray'](_0x47ad49[_0x1dbf97(_0x4db8cb._0x5135e9,_0x4db8cb._0x1958a1,0x54b,0x52b)])){let _0x5fcafe=_0x47ad49[_0x1dbf97(0x55e,0x569,_0x4db8cb._0x201651,0x53d)][_0x1dbf97(0x53c,_0x4db8cb._0x3715a7,_0x4db8cb._0x9a6d51,0x52f)];_0x2bc734='('+_0x5fcafe+'\x20'+(_0x5fcafe===0x1?_0x323444(0x554,_0x4db8cb._0x123238,_0x4db8cb._0x2b0d69,0x55a):_0x1dbf97(_0x4db8cb._0x1718aa,_0x4db8cb._0x4b6d7b,0x548,_0x4db8cb._0x5415da))+')';}else _0x2bc734=_0x323444(0x534,0x53b,_0x4db8cb._0x1ba05b,0x522);break;case _0x323444(_0x4db8cb._0x3f0b15,0x546,_0x4db8cb._0xe8c610,0x546):case _0x323444(0x54a,0x558,0x535,0x56d):case'file_new':case _0x323444(0x56e,0x597,0x58b,0x569):case _0x1dbf97(0x51a,0x4f3,0x515,_0x4db8cb._0x20c006):_0x47ad49[_0x323444(_0x4db8cb._0x579088,_0x4db8cb._0x38705d,_0x4db8cb._0x5b65d8,_0x4db8cb._0x149d24)]?_0x2bc734='('+_0x47ad49[_0x323444(_0x4db8cb._0x44fd88,_0x4db8cb._0x54033e,_0x4db8cb._0x4ab422,_0x4db8cb._0x36d76f)]+')':_0x47ad49[_0x323444(_0x4db8cb._0x34a712,0x553,_0x4db8cb._0x1ca6b0,0x50e)]?_0x2bc734='('+_0x47ad49[_0x323444(_0x4db8cb._0x1ca2ab,_0x4db8cb._0x2a310a,_0x4db8cb._0x29a21a,_0x4db8cb._0x54033e)]+')':_0x47ad49['url']?_0x2bc734='('+_0x47ad49['url']+')':_0x2bc734=_0x323444(_0x4db8cb._0x2ce87a,0x54f,0x513,0x553);break;case _0x1dbf97(_0x4db8cb._0x36d76f,0x54e,_0x4db8cb._0x2638f1,_0x4db8cb._0x2ee587):if(_0x47ad49[_0x1dbf97(0x507,0x50f,_0x4db8cb._0x4aa008,_0x4db8cb._0x4a7ab3)])_0x2bc734='('+_0x47ad49[_0x1dbf97(0x50d,_0x4db8cb._0x4ace07,_0x4db8cb._0x4aa008,_0x4db8cb._0x27d38a)]+')';else{if(_0x47ad49['program']){let _0x20e994=_0x47ad49['args']?'\x20'+(Array['isArray'](_0x47ad49['args'])?_0x47ad49['args']['join']('\x20'):_0x47ad49[_0x1dbf97(_0x4db8cb._0x215771,_0x4db8cb._0x5ccd87,0x529,_0x4db8cb._0xc45da0)]):'';_0x2bc734='('+_0x47ad49[_0x1dbf97(_0x4db8cb._0x37dbce,0x544,_0x4db8cb._0x2ff791,_0x4db8cb._0x5654e3)]+_0x20e994+')';}else _0x47ad49[_0x323444(0x524,_0x4db8cb._0x5774be,_0x4db8cb._0x3cad88,_0x4db8cb._0x50ff25)]?_0x2bc734='('+_0x47ad49[_0x323444(0x524,0x53c,_0x4db8cb._0x58cf6c,0x53c)]+(_0x47ad49[_0x1dbf97(0x52d,_0x4db8cb._0x254e9e,_0x4db8cb._0x344c04,0x54b)]?':'+_0x47ad49[_0x1dbf97(_0x4db8cb._0x24cf31,0x556,_0x4db8cb._0x57b963,_0x4db8cb._0x4a123a)]:'')+')':_0x2bc734=_0x323444(0x534,_0x4db8cb._0x201651,0x50f,0x511);}break;case'web_search':_0x47ad49['query']?_0x2bc734='('+_0x47ad49['query']['split']('\x20')[_0x323444(_0x4db8cb._0x2679d0,_0x4db8cb._0x7c512c,0x547,_0x4db8cb._0x2ce87a)](0x0,0x3)[_0x323444(_0x4db8cb._0x4a7ab3,0x4fb,_0x4db8cb._0x46886c,0x51e)]('\x20')+(_0x47ad49[_0x323444(0x573,0x54d,_0x4db8cb._0x5aaa79,0x55b)][_0x323444(0x559,0x531,0x552,0x563)]('\x20')[_0x323444(0x542,0x550,_0x4db8cb._0x93f300,0x52e)]>0x3?_0x323444(_0x4db8cb._0x2b0d69,0x565,_0x4db8cb._0x34d381,0x595):'')+')':_0x2bc734=_0x323444(_0x4db8cb._0x4c89e2,0x529,0x510,0x54c);break;default:_0x2bc734=_0x47ad49?'('+c(_0x47ad49)+')':_0x323444(0x534,_0x4db8cb._0x41b5a2,0x540,0x540);break;}}catch{_0x2bc734=_0x1dbf97(0x507,_0x4db8cb._0x5774be,0x521,_0x4db8cb._0x15b28b);}return''+_0x39b5a9[_0x323444(_0x4db8cb._0x320311,0x537,_0x4db8cb._0x1254be,_0x4db8cb._0x109802)]['name']+_0x2bc734;}function _(_0x38fea6){const _0x232914={_0x2436f6:0x143,_0x529953:0x47d,_0x92e0c0:0x43c,_0x4c389d:0x464,_0x4114b7:0x475,_0x3b62d5:0x462,_0x11a511:0x45d,_0x19bfab:0x46c,_0x3539d0:0x45f,_0x472b69:0x449,_0x8c0294:0x15d,_0x15f4ca:0x17a,_0x58ac02:0x161,_0x5ed26d:0x460,_0x37d82a:0x43a,_0x570156:0x453,_0x55941e:0x461,_0x5c389e:0x478,_0x3799eb:0x162,_0x21f3c3:0x170,_0x5e3041:0x14e,_0x555489:0x19c,_0x4980e7:0x16b,_0x49de36:0x153,_0x1e899e:0x182,_0x3f3693:0x1a1,_0xec1b35:0x17c,_0x174fc9:0x492,_0x238261:0x47a,_0x1df702:0x46d,_0x29a517:0x489,_0xa6d917:0x47a,_0x5703d6:0x152,_0x45019d:0x18f,_0x4b7f4b:0x45f,_0x24342a:0x47e,_0x50b34e:0x457,_0x3a5ce3:0x447,_0x5e83d1:0x1a7,_0x203220:0x42f,_0x26a9c7:0x44b,_0x5d8e51:0x467,_0x4471bb:0x138,_0x471ba5:0x14d,_0x246a02:0x160,_0x34543e:0x183,_0x105079:0x187,_0x4351b2:0x17e,_0x2268cc:0x17a,_0x4ed227:0x157,_0xeea8a2:0x432,_0x1452c9:0x465,_0x1a84b0:0x44d,_0x110f0d:0x468,_0x1bf029:0x173,_0x3ee9de:0x16a,_0xb0cfd:0x479,_0x11be9d:0x457,_0x4eed63:0x451,_0x32eae9:0x4a0,_0x3d45df:0x47f,_0x36b8f8:0x172,_0x153c02:0x13f,_0x49c9fb:0x14a,_0x5cd1b4:0x443,_0xf9ac04:0x1a9,_0x135abb:0x19f,_0x52e614:0x46e,_0x22f1ea:0x150,_0x3aec0c:0x131,_0xaf869e:0x466,_0x56acb:0x48f,_0x5d6c44:0x46f,_0x230e19:0x459,_0xce9ef3:0x481,_0x5e2797:0x484,_0x553753:0x477,_0x54a2a3:0x48b,_0x4f0bc4:0x48f,_0x23aa81:0x197,_0xea4963:0x4a4,_0x362aa1:0x43b,_0x56bc9a:0x450,_0x1a786b:0x193,_0x3efe43:0x174,_0x1a9ff2:0x195,_0xfd1438:0x476,_0x3660c3:0x475,_0x585733:0x48d,_0x1a9158:0x46b,_0x3235d3:0x196,_0x1a622e:0x1bb,_0x51ebd3:0x4ab,_0x513f81:0x16d,_0x827bec:0x16f,_0x324e97:0x17b,_0xca21be:0x188,_0x1472e0:0x185,_0x2ada64:0x42b,_0x14b463:0x171,_0x5d328e:0x43c,_0x5d55e9:0x462,_0x1f7da3:0x441,_0xa9bb1e:0x43f,_0x3102be:0x452,_0x5315bc:0x49f,_0x25b8ff:0x473,_0x6f0a12:0x448,_0x3e4b6f:0x44c,_0x3ead6d:0x45e,_0x1527b6:0x179,_0x1439ba:0x155,_0x1b8dcb:0x146,_0x3a8953:0x486,_0x5df6c7:0x47a,_0x9b74c6:0x469,_0x1b2de2:0x46d,_0x29f2dc:0x487,_0x52a23e:0x47c},_0x37fc7d={_0x39fbc8:0x4a8,_0x1f2bc3:0x49f,_0x1cd6c9:0x4b4,_0xe56523:0x463,_0x432143:0x45d,_0x385c7b:0x456,_0x487ea8:0x473,_0x4d21b5:0x452,_0x49f343:0xa,_0x19fa1:0x8,_0x4c0221:0x2b,_0x575954:0x435,_0x56fbfc:0x486,_0x12e766:0x1b,_0x5abae2:0x28,_0x14382c:0xf},_0x433a25={_0xf0a6a:0x2c0};function _0x4184b7(_0x383a28,_0x11608e,_0x5c7164,_0x34d2e5){return _0x487e(_0x11608e- -0x33,_0x383a28);}function _0x19f2f1(_0x1fd40b,_0x39e971,_0x34f984,_0x40a8b3){return _0x487e(_0x34f984-_0x433a25._0xf0a6a,_0x40a8b3);}let _0x4235a6=[],_0x581534=_0x1f41ac=>_0x1f41ac?typeof _0x1f41ac==_0x4184b7(0x17e,0x194,0x19c,0x185)?_0x1f41ac[_0x4184b7(0x16f,0x185,0x17b,0x182)](/^\n+/,''):typeof _0x1f41ac=='object'&&_0x1f41ac[_0x19f2f1(0x450,0x449,0x43c,0x44d)]===_0x19f2f1(0x4a9,0x49e,0x488,0x4a8)?_0x1f41ac[_0x19f2f1(0x45f,0x472,0x488,0x469)][_0x4184b7(0x136,0x158,0x180,0x153)](_0x375de3=>{const _0x3ba280={_0x2f08cb:0x314,_0x6ef24f:0x39,_0x31c6b7:0x75},_0x4988b2={_0x150b93:0x165};if(typeof _0x375de3==_0xa7e01c(_0x37fc7d._0x39fbc8,0x484,_0x37fc7d._0x1f2bc3,_0x37fc7d._0x1cd6c9))return _0x375de3;if(typeof _0x375de3==_0xa7e01c(0x48a,_0x37fc7d._0xe56523,0x45f,0x493)&&_0x375de3!==null&&_0xa7e01c(_0x37fc7d._0x432143,_0x37fc7d._0x385c7b,_0x37fc7d._0x487ea8,_0x37fc7d._0x4d21b5)in _0x375de3&&_0x37bf25(-0x1b,_0x37fc7d._0x49f343,-_0x37fc7d._0x19fa1,-_0x37fc7d._0x4c0221)in _0x375de3){let _0x3726a9=_0x375de3;if(_0x3726a9[_0xa7e01c(_0x37fc7d._0x432143,_0x37fc7d._0x575954,0x434,_0x37fc7d._0x56fbfc)]==='text'&&_0x3726a9[_0x37bf25(-_0x37fc7d._0x12e766,-_0x37fc7d._0x5abae2,-0xa,-_0x37fc7d._0x14382c)])return _0x3726a9['text'];}function _0x37bf25(_0x40ca16,_0x3df810,_0x4407bf,_0xb8b326){return _0x4184b7(_0x4407bf,_0x40ca16- -_0x4988b2._0x150b93,_0x4407bf-0x16f,_0xb8b326-0x1e5);}function _0xa7e01c(_0x2542ba,_0x2757d0,_0xa146a8,_0x40f13b){return _0x4184b7(_0x2757d0,_0x2542ba-_0x3ba280._0x2f08cb,_0xa146a8-_0x3ba280._0x6ef24f,_0x40f13b-_0x3ba280._0x31c6b7);}return'';})[_0x4184b7(0x1ba,0x19d,0x175,0x1be)](Boolean)['join']('\x20')['replace'](/^\n+/,''):'':'';if(_0x38fea6['role']===_0x4184b7(0x163,0x16c,0x15e,_0x232914._0x2436f6)){let _0x4a49f5=_0x581534(_0x38fea6[_0x19f2f1(0x48b,0x497,_0x232914._0x529953,0x49b)]);_0x4a49f5&&_0x4235a6[_0x19f2f1(0x466,_0x232914._0x92e0c0,_0x232914._0x4c389d,_0x232914._0x4114b7)]({'id':_0x30d386[_0x19f2f1(0x456,0x43d,_0x232914._0x3b62d5,_0x232914._0x11a511)](),'type':_0x19f2f1(_0x232914._0x19bfab,0x467,_0x232914._0x3539d0,_0x232914._0x472b69),'content':_0x4a49f5,'metadata':{'timestamp':_0x38fea6[_0x4184b7(_0x232914._0x8c0294,_0x232914._0x15f4ca,_0x232914._0x58ac02,0x16b)]||new Date()['toISOString'](),'isStreaming':!0x1},'color':_0x19f2f1(0x489,_0x232914._0x5ed26d,0x46e,0x467)});}else{if(_0x38fea6[_0x19f2f1(_0x232914._0x37d82a,0x468,_0x232914._0x570156,0x44b)]===_0x19f2f1(0x448,_0x232914._0x55941e,0x46c,0x44c)){let _0x31e5ca=_0x581534(_0x38fea6[_0x19f2f1(0x479,0x466,0x47d,_0x232914._0x5c389e)]);_0x31e5ca?.[_0x4184b7(0x155,_0x232914._0x3799eb,_0x232914._0x21f3c3,0x146)]()&&_0x4235a6[_0x4184b7(_0x232914._0x5e3041,0x171,0x187,_0x232914._0x555489)]({'id':_0x30d386[_0x4184b7(_0x232914._0x4980e7,0x16f,0x15b,_0x232914._0x49de36)](),'type':_0x4184b7(_0x232914._0x1e899e,0x179,_0x232914._0x3f3693,0x154),'content':_0x31e5ca,'metadata':{'timestamp':_0x38fea6['timestamp']||new Date()[_0x4184b7(0x14d,0x15a,_0x232914._0xec1b35,0x13f)](),'isStreaming':!0x1}}),_0x38fea6[_0x19f2f1(_0x232914._0x174fc9,0x453,_0x232914._0x238261,_0x232914._0x1df702)]&&_0x38fea6[_0x19f2f1(0x49a,_0x232914._0x29a517,_0x232914._0xa6d917,0x47a)]['length']>0x0&&_0x4235a6[_0x4184b7(0x176,0x171,0x15c,0x179)]({'id':_0x30d386[_0x4184b7(_0x232914._0x5703d6,0x16f,_0x232914._0x45019d,0x190)](),'type':_0x19f2f1(_0x232914._0x4b7f4b,_0x232914._0x24342a,_0x232914._0x50b34e,_0x232914._0x3a5ce3),'content':''+_0x38fea6[_0x4184b7(0x1a3,0x187,0x16f,_0x232914._0x5e83d1)][_0x19f2f1(_0x232914._0x203220,0x430,_0x232914._0x26a9c7,_0x232914._0x5d8e51)](g)[_0x4184b7(_0x232914._0x4471bb,_0x232914._0x471ba5,0x154,_0x232914._0x246a02)](',\x20'),'metadata':{'toolCallCount':_0x38fea6[_0x4184b7(_0x232914._0x34543e,_0x232914._0x105079,_0x232914._0x4351b2,0x18c)]['length'],'timestamp':_0x38fea6[_0x4184b7(0x1a4,_0x232914._0x2268cc,_0x232914._0x4ed227,_0x232914._0x8c0294)]||new Date()[_0x19f2f1(_0x232914._0xeea8a2,_0x232914._0x1452c9,_0x232914._0x1a84b0,_0x232914._0x110f0d)](),'toolCalls':_0x38fea6['tool_calls']},'color':_0x4184b7(0x186,0x163,0x150,0x15a)});}else{if(_0x38fea6[_0x4184b7(_0x232914._0x1bf029,0x160,0x16c,_0x232914._0x3ee9de)]===_0x19f2f1(0x437,_0x232914._0xb0cfd,_0x232914._0x11be9d,_0x232914._0x4eed63)){let _0x4351a8=_0x581534(_0x38fea6[_0x19f2f1(_0x232914._0x32eae9,0x492,0x47d,_0x232914._0x3d45df)]),_0xc0466d=_0x38fea6[_0x4184b7(_0x232914._0x36b8f8,0x155,_0x232914._0x153c02,_0x232914._0x49c9fb)]||_0x38fea6[_0x19f2f1(0x4b3,_0x232914._0x19bfab,0x48a,0x4ac)]||_0x19f2f1(0x430,0x439,_0x232914._0x5cd1b4,0x452),_0x193be9=_0x38fea6['status'],_0x523309=_0x38fea6[_0x4184b7(_0x232914._0xf9ac04,_0x232914._0x135abb,0x194,0x1a2)],_0xbd572b={'id':_0x38fea6[_0x19f2f1(0x488,0x473,0x48a,_0x232914._0x52e614)]||_0x4184b7(0x151,_0x232914._0x22f1ea,_0x232914._0x3aec0c,0x15d),'name':_0xc0466d,'status':_0x193be9||'success','type':'text','result':_0x4351a8||'','durationMs':_0x523309};if(!_0x193be9&&_0x4351a8){let _0x49c10a=_0x4351a8[_0x19f2f1(_0x232914._0xaf869e,0x496,0x46b,0x488)]();(_0x49c10a[_0x19f2f1(0x47c,0x481,0x481,0x463)](_0x19f2f1(_0x232914._0xaf869e,0x4b2,_0x232914._0x56acb,_0x232914._0x5d6c44))||_0x49c10a[_0x19f2f1(_0x232914._0x230e19,0x4a8,_0x232914._0xce9ef3,_0x232914._0x5e2797)](_0x19f2f1(_0x232914._0x19bfab,_0x232914._0x553753,_0x232914._0x54a2a3,_0x232914._0x4f0bc4))||_0x49c10a[_0x4184b7(_0x232914._0x23aa81,0x172,0x16b,0x148)](_0x4184b7(0x186,0x169,0x181,0x193))||_0x49c10a[_0x19f2f1(_0x232914._0xea4963,0x487,0x481,0x4ab)](_0x19f2f1(_0x232914._0x362aa1,0x46a,0x43e,_0x232914._0x56bc9a)))&&(_0xbd572b[_0x4184b7(_0x232914._0x1a786b,_0x232914._0x1bf029,_0x232914._0x3efe43,_0x232914._0x1a9ff2)]='error');}let _0x2cb4c8=_0xbd572b[_0x19f2f1(_0x232914._0xfd1438,_0x232914._0x3660c3,_0x232914._0xaf869e,_0x232914._0x585733)]==='success'?_0x19f2f1(0x480,0x44e,0x467,_0x232914._0x1a9158):_0x4184b7(0x192,_0x232914._0x3235d3,0x1a4,_0x232914._0x1a622e),_0x27f94e=typeof _0xbd572b[_0x19f2f1(_0x232914._0x238261,0x4a3,_0x232914._0x174fc9,_0x232914._0x51ebd3)]==_0x4184b7(_0x232914._0x513f81,0x166,0x178,_0x232914._0x827bec)&&Number['isFinite'](_0xbd572b[_0x4184b7(0x1c3,0x19f,0x1c2,_0x232914._0x324e97)])?'\x20('+_0xbd572b[_0x4184b7(0x18e,0x19f,_0x232914._0xca21be,_0x232914._0x1472e0)]+_0x19f2f1(0x45d,0x427,0x450,_0x232914._0x2ada64):'';_0x4235a6[_0x4184b7(0x14c,_0x232914._0x14b463,0x18b,0x16f)]({'id':_0x30d386[_0x19f2f1(0x445,_0x232914._0x5d328e,_0x232914._0x5d55e9,0x43a)](),'type':_0x19f2f1(_0x232914._0x1f7da3,_0x232914._0x3a5ce3,_0x232914._0xa9bb1e,0x43f),'content':_0xbd572b['status']===_0x19f2f1(_0x232914._0x3102be,_0x232914._0x5315bc,0x47b,0x46b)?_0xbd572b[_0x19f2f1(0x431,_0x232914._0x25b8ff,_0x232914._0x6f0a12,0x456)]+':\x20'+_0x2cb4c8+'\x20'+_0xbd572b[_0x19f2f1(0x477,_0x232914._0x3e4b6f,0x466,_0x232914._0x3ead6d)]+_0x27f94e:_0x4184b7(0x163,0x152,_0x232914._0x1527b6,0x168)+m(_0xbd572b)['slice'](0x0,0x3e8),'metadata':{'toolName':_0xbd572b[_0x4184b7(0x131,_0x232914._0x1439ba,_0x232914._0x1b8dcb,0x14d)],'status':_0xbd572b[_0x19f2f1(_0x232914._0x3d45df,_0x232914._0x3a8953,0x466,0x479)],'duration':_0xbd572b[_0x19f2f1(0x484,_0x232914._0x5df6c7,0x492,0x46e)],'timestamp':_0x38fea6[_0x19f2f1(0x455,_0x232914._0x9b74c6,_0x232914._0x1b2de2,_0x232914._0x29f2dc)]||new Date()[_0x19f2f1(_0x232914._0x1452c9,0x458,0x44d,0x441)](),'toolResult':_0xbd572b},'color':_0xbd572b[_0x19f2f1(0x450,_0x232914._0x6f0a12,_0x232914._0xaf869e,0x45b)]==='success'?_0x19f2f1(_0x232914._0x52a23e,0x469,0x473,0x44a):_0x4184b7(0x1ab,_0x232914._0x1e899e,0x198,0x190)});}}}return _0x4235a6;}export{m as a,c as b,g as c,_ as d};function _0x2fe1(){const _0x26c034=['Dg9VBf9JywXSCW','C3vJy2vZCW','Dg9KB3m','y29UDgvUDa','ChjVz3jHBq','yM9VBgvHBG','CgfYC2u','Aw5JBhvKzxm','mM53wKT2za','C3rHy2S','yxnZAwDUx3rHC2S','yMfZAf90B29S','C2vZC2LVBKLK','C3rYAw5N','CgfYDhm','wYfD','Dg9VBf9JywXSx2LK','zMfPBgvKoG','zgLYx2XZ','nty3ouXLwLnNtq','lI4U','zxjYB3i6','zMLSDgvY','CxvLCNK','zhvYyxrPB25nCW','DhLWzq','Dgv4Da','zxHJzxb0Aw9UoG','Dg9VBf9Yzxn1Bhq','AM9PBG','yxjNDw1LBNrZ','ywn0Aw9U','Dw5RBM93BG','C2XPy2u','zxjYB3i6ia','D2vIx2zLDgnO','Dg9vChbLCKnHC2u','BMfTzq','zMLSzv9WyxrO','Cgf0Aa','BwfW','ndG3mtiYouzKBNn1CG','Dg9ju09tDhjPBMC','mtCWotzOzfznz20','mZe5otK5mNfTsgHbsG','BxmP','ywDLBNq','kc4UlIK','CM9Szq','y2HHCKf0','DhjPBq','yMX1zq','Dg9VBa','zw50CMLLCW','BNvTyMvY','yxjNCW','mtaZmJi2v2n6z0vt','zxjYB3iG','mtaYnJeXodvdD2fgCgi','ntbPu3flBNy','DxnLCG','BgvUz3rO','AxnbCNjHEq','CMfUzg9Tvvvjra','y21K','ChvZAa','C3rHCNrZv2L0Aa','C3rHDhvZ','wYTD','zMLSzv9LzgL0','B2jQzwn0','n2neCwPrsa','Dg9mB3DLCKnHC2u','yxnZAxn0yw50','DgLTzxn0yw1W','y3LHBG','zNvUy3rPB24','ote0nZq2mKLqq2HcrW','nZG0nda1nuTOu1jeta','AxrLBq','z3jLzw4','zMLSzv9YzwfK','CMvK','BwvZC2fNzq','C3bSAxq','CMvWBgfJzq','AxrLBxm'];_0x2fe1=function(){return _0x26c034;};return _0x2fe1();}
|
|
1
|
+
(function(_0x39ab01,_0x2fd55a){const _0x57e898={_0x3a510d:0x4da,_0x36012b:0x4f2,_0x227a67:0x4b9,_0x571d8d:0x4d1,_0x86f566:0x4c5,_0x4ae656:0x4e1,_0x11ebfa:0x4c3,_0x32fb25:0x4c6,_0x50fb3f:0x4c2,_0xc3d1c5:0x4b4,_0x4551b2:0x4d1,_0x288018:0x4dc,_0x5b7434:0x4a1,_0x27abfc:0x4d0,_0x268329:0x4f1,_0x53455a:0x4ed,_0x154d65:0x2e3},_0x47c7db={_0x4aeec6:0x2b3},_0x205e3f=_0x39ab01();function _0x3142c3(_0x14e252,_0x336cf5,_0x4bf106,_0x38b823){return _0x1912(_0x336cf5-0xf9,_0x14e252);}function _0x41cfb2(_0x228861,_0x1818bc,_0x463d77,_0x55b9b1){return _0x1912(_0x228861-_0x47c7db._0x4aeec6,_0x463d77);}while(!![]){try{const _0x1d21cc=parseInt(_0x41cfb2(_0x57e898._0x3a510d,_0x57e898._0x36012b,_0x57e898._0x227a67,_0x57e898._0x571d8d))/0x1*(-parseInt(_0x41cfb2(0x4d5,_0x57e898._0x86f566,0x4e0,_0x57e898._0x4ae656))/0x2)+parseInt(_0x41cfb2(0x4e1,0x4cc,_0x57e898._0x11ebfa,0x506))/0x3+-parseInt(_0x41cfb2(0x4c1,_0x57e898._0x3a510d,0x4d3,_0x57e898._0x32fb25))/0x4*(parseInt(_0x41cfb2(_0x57e898._0x50fb3f,_0x57e898._0xc3d1c5,0x4dc,_0x57e898._0x4551b2))/0x5)+-parseInt(_0x41cfb2(0x4be,_0x57e898._0x288018,0x4ca,_0x57e898._0x5b7434))/0x6+-parseInt(_0x3142c3(0x341,0x32c,0x352,0x328))/0x7+-parseInt(_0x41cfb2(_0x57e898._0x27abfc,0x4f1,_0x57e898._0x268329,_0x57e898._0x53455a))/0x8+parseInt(_0x3142c3(_0x57e898._0x154d65,0x301,0x313,0x2e3))/0x9;if(_0x1d21cc===_0x2fd55a)break;else _0x205e3f['push'](_0x205e3f['shift']());}catch(_0x5f3495){_0x205e3f['push'](_0x205e3f['shift']());}}}(_0x142e,0xcc8d9));import*as _0xcf3031 from'crypto';function m(_0xe56f6e){const _0x15e7b6={_0x4fd87c:0x104,_0x185aa6:0xfe,_0x5cf204:0xdd,_0x5c56f2:0x52c,_0x13e30d:0x51d,_0x40b318:0x508,_0x22532a:0x501,_0x5891cb:0x4f8},_0x132b46={_0x33dedf:0x301},_0x313ddc={_0x4029f3:0x320};function _0x5a7ebe(_0xc14ad,_0x4066d9,_0xd80889,_0x564c93){return _0x1912(_0x564c93- -_0x313ddc._0x4029f3,_0xc14ad);}function _0x19bb8d(_0x660c9a,_0x3af118,_0x27650f,_0x4229db){return _0x1912(_0x660c9a-_0x132b46._0x33dedf,_0x4229db);}return _0xe56f6e?typeof _0xe56f6e==_0x5a7ebe(-0x129,-0xef,-0x102,-_0x15e7b6._0x4fd87c)?_0xe56f6e:_0xe56f6e instanceof Error?c({'name':_0xe56f6e[_0x5a7ebe(-_0x15e7b6._0x185aa6,-0x105,-_0x15e7b6._0x5cf204,-0xef)],'message':_0xe56f6e['message'],'stack':_0xe56f6e[_0x5a7ebe(-_0x15e7b6._0x5cf204,-0xd6,-0xf4,-0xee)]}):typeof _0xe56f6e==_0x19bb8d(_0x15e7b6._0x5c56f2,_0x15e7b6._0x13e30d,0x537,0x515)&&_0xe56f6e?c(_0xe56f6e):String(_0xe56f6e):_0x19bb8d(_0x15e7b6._0x40b318,0x4f7,_0x15e7b6._0x22532a,_0x15e7b6._0x5891cb);}function c(_0x3f9191){const _0x7574b5={_0x1e3dc7:0x2e7,_0x5681ed:0x2c8,_0x452c1d:0x3f5,_0x155f3d:0x3dd,_0xd62c14:0x3fc,_0x2d7dc2:0x2d0,_0x5af1d5:0x2eb,_0x286b14:0x3db,_0x262eba:0x3b5,_0x59098d:0x3ec,_0x52e8fa:0x39f,_0x2f8c35:0x3b4,_0x12502b:0x29a,_0x57dabb:0x2a0,_0x31c38f:0x2af},_0x1800a4={_0x33eb24:0x1c2},_0x4d4c={_0x439d28:0xad};function _0x5d77a7(_0x153680,_0x449a94,_0x9f27f4,_0x2a0ecf){return _0x1912(_0x9f27f4-_0x4d4c._0x439d28,_0x153680);}function _0x2f523c(_0x50593b,_0x4827a3,_0xea606,_0x54a553){return _0x1912(_0x54a553-_0x1800a4._0x33eb24,_0x4827a3);}let _0x550569=[];for(let [_0x5cf88d,_0x3febd3]of Object['entries'](_0x3f9191)){if(_0x3febd3==null)continue;let _0x3a0243;typeof _0x3febd3==_0x5d77a7(_0x7574b5._0x1e3dc7,0x2c7,0x2c9,0x2c3)?_0x3a0243='\x22'+_0x3febd3[_0x5d77a7(0x2e5,0x2c0,_0x7574b5._0x5681ed,0x2a2)](/"/g,'\x5c\x22')+'\x22':typeof _0x3febd3==_0x2f523c(_0x7574b5._0x452c1d,0x3e0,0x3f6,0x3d4)||typeof _0x3febd3==_0x2f523c(_0x7574b5._0x155f3d,_0x7574b5._0xd62c14,0x40d,0x3f7)?_0x3a0243=String(_0x3febd3):Array[_0x5d77a7(0x2e7,_0x7574b5._0x2d7dc2,0x2d7,_0x7574b5._0x5af1d5)](_0x3febd3)?_0x3a0243='['+_0x3febd3['map'](_0x5deb43=>typeof _0x5deb43==_0x2f523c(0x3f8,0x3be,0x3f6,0x3de)?'\x22'+_0x5deb43+'\x22':String(_0x5deb43))[_0x2f523c(_0x7574b5._0x286b14,0x3b1,0x3c2,_0x7574b5._0x262eba)](',')+']':typeof _0x3febd3==_0x2f523c(0x3f7,0x411,0x3cd,0x3ed)&&_0x3febd3&&!Array[_0x2f523c(0x400,0x3ce,0x3f3,_0x7574b5._0x59098d)](_0x3febd3)?_0x3a0243='{'+c(_0x3febd3)+'}':_0x3a0243=String(_0x3febd3),_0x550569[_0x2f523c(0x3cf,0x3bb,_0x7574b5._0x52e8fa,_0x7574b5._0x2f8c35)](_0x5cf88d+':'+_0x3a0243);}return _0x550569[_0x5d77a7(_0x7574b5._0x12502b,0x2a5,_0x7574b5._0x57dabb,_0x7574b5._0x31c38f)]('|');}function _0x1912(_0x2033e7,_0x34725e){_0x2033e7=_0x2033e7-0x1e9;const _0x142eb5=_0x142e();let _0x191214=_0x142eb5[_0x2033e7];if(_0x1912['DSRUZj']===undefined){var _0x52493f=function(_0x57f978){const _0x24d1ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xcf3031='',_0xe56f6e='';for(let _0x3f9191=0x0,_0x550569,_0x5cf88d,_0x3febd3=0x0;_0x5cf88d=_0x57f978['charAt'](_0x3febd3++);~_0x5cf88d&&(_0x550569=_0x3f9191%0x4?_0x550569*0x40+_0x5cf88d:_0x5cf88d,_0x3f9191++%0x4)?_0xcf3031+=String['fromCharCode'](0xff&_0x550569>>(-0x2*_0x3f9191&0x6)):0x0){_0x5cf88d=_0x24d1ca['indexOf'](_0x5cf88d);}for(let _0x3a0243=0x0,_0x5deb43=_0xcf3031['length'];_0x3a0243<_0x5deb43;_0x3a0243++){_0xe56f6e+='%'+('00'+_0xcf3031['charCodeAt'](_0x3a0243)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe56f6e);};_0x1912['NfUbim']=_0x52493f,_0x1912['NubuAh']={},_0x1912['DSRUZj']=!![];}const _0x51cee1=_0x142eb5[0x0],_0x4d14ca=_0x2033e7+_0x51cee1,_0x172fb2=_0x1912['NubuAh'][_0x4d14ca];return!_0x172fb2?(_0x191214=_0x1912['NfUbim'](_0x191214),_0x1912['NubuAh'][_0x4d14ca]=_0x191214):_0x191214=_0x172fb2,_0x191214;}function _0x142e(){const _0x10ccd5=['ChvZAa','AM9PBG','Dg9VBf9JywXSCW','ChjVz3jHBq','DhjPBq','yMX1zq','ywDLBNq','y2HHCKf0','yMfZAf90B29S','zgLYx2XZ','C3vJy2vZCW','zxjYB3i','z3jLzw4','zMLSDgvY','Cgf0Aa','DhLWzq','w1n1yI1bz2vUDf0','yxnZAxn0yw50','Dg9KB3m','zMfPBgvKoG','BgvUz3rO','Dw5RBM93BIbLCNjVCG','mZyXotGWnJnZwNz2DwW','C2XPy2u','zxjYB3iG','mtq5oda1nNrpu2zTEq','y21K','yxnZAwDUx3rHC2S','odq5nZzRBxjWCwy','mJe1uLvNC0n4','CxvLCNK','zMLSzv9UzxC','yM9VBgvHBG','Dg9ju09tDhjPBMC','ywn0Aw9U','zxjYB3i6','Dw5RBM93BG','C3bSAxq','D2vIx2zLDgnO','zNvUy3rPB24','CMfUzg9Tvvvjra','CMvWBgfJzq','C3rYAw5N','odm2ote2mgv6A2rHua','Dgv4Da','zxHJzxb0Aw9UoG','zMLSzv9LzgL0','Dg9VBf9Yzxn1Bhq','mtCZmLnlzfjRrW','yxjNCW','CgfYDhm','wYTD','Dg9VBa','nZGXwMjnD0jp','zMLSzv9YzwfK','zMLSzv9WyxrO','AxnbCNjHEq','B2jQzwn0','DgLTzxn0yw1W','C2vZC2LVBKLK','mJq0mJy4n2XmyuXjDa','BwfW','y29UDgvUDa','BMfTzq','C3rHy2S','nZC4ota5nLnZAfHZCG','yxjNDw1LBNrZ','BNvTyMvY','zxjYB3i6ia','y3LHBG','kc4UlIK','Aw5JBhvKzxm','CM9Szq','C3rHDhvZ','zhvYyxrPB25nCW','C3rHCNrZv2L0Aa','DxjS','Dg9KB193CML0zq'];_0x142e=function(){return _0x10ccd5;};return _0x142e();}function d(_0x23895e){const _0x2557ff={_0x5c8b79:0x4f5,_0x3303a9:0x1f,_0x1fcc25:0x32},_0x2f82c8={_0x19eaa2:0x2d0};function _0x4e1e81(_0x3cc7d8,_0x111820,_0x19fd8e,_0xd689c6){return _0x1912(_0xd689c6-_0x2f82c8._0x19eaa2,_0x111820);}function _0x252841(_0x525bd4,_0x54e160,_0x3cefd8,_0x523d47){return _0x1912(_0x3cefd8- -0x261,_0x525bd4);}return _0x23895e[_0x4e1e81(0x50e,0x4f2,_0x2557ff._0x5c8b79,0x4e7)]('-')[_0x252841(-0x55,-_0x2557ff._0x3303a9,-_0x2557ff._0x1fcc25,-0x46)](_0x33d466=>_0x33d466[_0x252841(-0x8d,-0x7b,-0x68,-0x5c)](0x0)['toUpperCase']()+_0x33d466['slice'](0x1))['join']('\x20');}function g(_0xc3df72){const _0x569cb5={_0x2789e4:0x240,_0x2d7d5e:0x244,_0x393866:0x228,_0x47d659:0x24d,_0x5724ee:0x235,_0x110a92:0x246,_0xa924b5:0x273,_0x1ebf50:0x259,_0x503519:0x207,_0x52bdfd:0x22a,_0x3ceaac:0x21d,_0x38e0c2:0x236,_0x25dd30:0x254,_0xaf971c:0x222,_0x5db4fd:0x23a,_0x5f4c18:0x1da,_0xf395f7:0x1fe,_0x5241d0:0x20b,_0x592795:0x208,_0x1c02df:0x225,_0x38a60e:0x226,_0x4abdb8:0x227,_0x1b27ae:0x255,_0x521bc1:0x242,_0x4760ef:0x246,_0x39a7cc:0x24b,_0x185c08:0x25e,_0x195834:0x20d,_0x19a8b3:0x203,_0x16a12e:0x220,_0x12d377:0x22f,_0xaf551:0x237,_0x3762ae:0x22a,_0x449787:0x207,_0xd53951:0x213,_0x30bf6e:0x1f7,_0x5b23bc:0x24f,_0x5efb6d:0x220,_0x519b1c:0x20c,_0x12e55e:0x26a,_0x1f41d9:0x22d,_0x37a73c:0x23e,_0x4db89f:0x1f7,_0x3316f1:0x205,_0x33a080:0x210,_0x2ef029:0x1fc,_0xabeba0:0x1d7,_0x15dc59:0x219,_0x3a2c22:0x231,_0x4dec62:0x242,_0x16cba4:0x23f,_0x11742a:0x250,_0x2c51a9:0x26c,_0x596ed2:0x246,_0x52d902:0x257,_0x3a4c7d:0x266,_0x492f85:0x263,_0x39c277:0x267,_0x5d31e5:0x231,_0x18d8e3:0x220,_0x90d5f1:0x250,_0x3d8f31:0x1eb,_0x4cea00:0x216,_0x59af7b:0x21c,_0x37cb28:0x23b,_0x5306e0:0x24a,_0x48bb00:0x237,_0x399341:0x250,_0x4f2439:0x212,_0x526f7b:0x21b,_0x5aae7c:0x261,_0x4a6aaa:0x235,_0x6af37b:0x1dc,_0x31336d:0x20c,_0x5da887:0x212,_0x5b1643:0x219,_0x21a438:0x20a,_0x596ea7:0x1f3,_0x1a1cb5:0x1f5,_0x50c193:0x223,_0x13a8c7:0x217},_0xb1db07={_0x3406c5:0x2d};let _0x33c1ca='';try{let _0x3ab386=typeof _0xc3df72[_0x4a873f(0x21b,0x242,_0x569cb5._0x2789e4,0x212)][_0x4a873f(0x236,0x213,0x244,0x232)]==_0x4a873f(0x21e,_0x569cb5._0x2d7d5e,_0x569cb5._0x393866,0x208)?JSON['parse'](_0xc3df72[_0x439839(_0x569cb5._0x47d659,0x268,_0x569cb5._0x5724ee,_0x569cb5._0x110a92)][_0x439839(_0x569cb5._0xa924b5,0x25d,_0x569cb5._0x1ebf50,0x261)]):_0xc3df72[_0x4a873f(0x21b,_0x569cb5._0x503519,_0x569cb5._0x52bdfd,_0x569cb5._0x3ceaac)][_0x4a873f(_0x569cb5._0x38e0c2,0x247,_0x569cb5._0x25dd30,0x215)];if(_0xc3df72['function']['name']===_0x439839(0x228,_0x569cb5._0xaf971c,0x248,_0x569cb5._0x5db4fd))return _0x3ab386[_0x4a873f(0x1fa,0x200,_0x569cb5._0x5f4c18,0x215)]?'['+d(_0x3ab386[_0x439839(_0x569cb5._0xf395f7,_0x569cb5._0x5241d0,_0x569cb5._0x592795,_0x569cb5._0x1c02df)])+']':_0x4a873f(0x204,_0x569cb5._0x38a60e,0x1ff,0x211);switch(_0xc3df72[_0x439839(_0x569cb5._0x4abdb8,_0x569cb5._0x1b27ae,_0x569cb5._0x521bc1,_0x569cb5._0x4760ef)][_0x439839(_0x569cb5._0x39a7cc,0x23b,0x27f,_0x569cb5._0x185c08)]){case _0x439839(_0x569cb5._0x195834,_0x569cb5._0x19a8b3,0x1f7,0x21e):if(_0x3ab386['todos']&&Array['isArray'](_0x3ab386[_0x439839(_0x569cb5._0x16a12e,_0x569cb5._0x12d377,0x20a,0x231)])){let _0x6f452f=_0x3ab386['todos']['length'];_0x33c1ca='('+_0x6f452f+'\x20'+(_0x6f452f===0x1?'item':'items')+')';}else _0x33c1ca=_0x439839(0x22c,_0x569cb5._0xaf551,0x203,0x217);break;case _0x4a873f(_0x569cb5._0x3762ae,0x214,_0x569cb5._0x449787,0x221):case _0x4a873f(0x222,0x207,0x20c,0x222):case _0x4a873f(_0x569cb5._0xd53951,0x220,0x1fc,_0x569cb5._0x30bf6e):case _0x439839(_0x569cb5._0x5db4fd,_0x569cb5._0x5b23bc,0x248,0x228):case _0x4a873f(0x21a,_0x569cb5._0x5efb6d,0x203,0x21a):_0x3ab386['path']?_0x33c1ca='('+_0x3ab386[_0x439839(0x241,0x248,_0x569cb5._0x519b1c,0x22d)]+')':_0x3ab386['file_path']?_0x33c1ca='('+_0x3ab386[_0x439839(_0x569cb5._0x12e55e,0x235,0x232,0x256)]+')':_0x3ab386['url']?_0x33c1ca='('+_0x3ab386[_0x439839(_0x569cb5._0x1f41d9,_0x569cb5._0x37a73c,0x20e,0x21d)]+')':_0x33c1ca=_0x439839(_0x569cb5._0x4db89f,_0x569cb5._0x3316f1,_0x569cb5._0x33a080,0x217);break;case _0x4a873f(_0x569cb5._0x2ef029,_0x569cb5._0xabeba0,_0x569cb5._0x15dc59,0x1f8):if(_0x3ab386[_0x4a873f(0x20e,0x21b,0x210,0x22b)])_0x33c1ca='('+_0x3ab386['cmd']+')';else{if(_0x3ab386[_0x439839(0x22f,_0x569cb5._0x3a2c22,_0x569cb5._0x2ef029,_0x569cb5._0xaf971c)]){let _0x4d1d07=_0x3ab386[_0x439839(0x235,_0x569cb5._0x4dec62,_0x569cb5._0x16cba4,_0x569cb5._0x11742a)]?'\x20'+(Array[_0x439839(0x254,_0x569cb5._0x2c51a9,_0x569cb5._0x596ed2,_0x569cb5._0x52d902)](_0x3ab386[_0x439839(_0x569cb5._0x3a4c7d,_0x569cb5._0x492f85,_0x569cb5._0x39c277,0x250)])?_0x3ab386['args'][_0x439839(_0x569cb5._0x5d31e5,_0x569cb5._0x4760ef,0x203,_0x569cb5._0x18d8e3)]('\x20'):_0x3ab386[_0x439839(0x241,0x272,_0x569cb5._0x39c277,_0x569cb5._0x90d5f1)]):'';_0x33c1ca='('+_0x3ab386[_0x4a873f(0x1f7,0x20d,_0x569cb5._0x3d8f31,0x1ec)]+_0x4d1d07+')';}else _0x3ab386[_0x4a873f(_0x569cb5._0x4cea00,0x22c,_0x569cb5._0x59af7b,0x1f2)]?_0x33c1ca='('+_0x3ab386[_0x4a873f(0x216,_0x569cb5._0x37cb28,0x1f8,0x220)]+(_0x3ab386[_0x4a873f(_0x569cb5._0x12d377,0x22d,_0x569cb5._0x5306e0,_0x569cb5._0x48bb00)]?':'+_0x3ab386[_0x4a873f(0x22f,_0x569cb5._0x399341,0x24b,0x215)]:'')+')':_0x33c1ca='(...)';}break;case'web_search':_0x3ab386[_0x4a873f(_0x569cb5._0x4f2439,0x1fd,0x233,_0x569cb5._0x526f7b)]?_0x33c1ca='('+_0x3ab386[_0x4a873f(0x212,0x223,0x20c,0x21a)][_0x439839(_0x569cb5._0x5aae7c,_0x569cb5._0x4a6aaa,0x261,_0x569cb5._0x2d7d5e)]('\x20')['slice'](0x0,0x3)[_0x4a873f(0x1f5,0x20d,_0x569cb5._0x6af37b,_0x569cb5._0x31336d)]('\x20')+(_0x3ab386[_0x4a873f(_0x569cb5._0x5da887,0x228,_0x569cb5._0x393866,0x213)][_0x4a873f(_0x569cb5._0x5b1643,_0x569cb5._0x21a438,0x23f,_0x569cb5._0x596ea7)]('\x20')[_0x4a873f(0x208,_0x569cb5._0x1a1cb5,0x1f4,0x1f6)]>0x3?'...':'')+')':_0x33c1ca=_0x4a873f(0x1ec,0x1ed,0x207,0x1f2);break;default:_0x33c1ca=_0x3ab386?'('+c(_0x3ab386)+')':'(...)';break;}}catch{_0x33c1ca=_0x439839(_0x569cb5._0x50c193,0x236,0x224,_0x569cb5._0x13a8c7);}function _0x4a873f(_0x20593f,_0x2b09a9,_0x208446,_0x25dc2c){return _0x1912(_0x20593f-0x2,_0x2b09a9);}function _0x439839(_0x4474e2,_0xb21196,_0x44821e,_0x19d59e){return _0x1912(_0x19d59e-_0xb1db07._0x3406c5,_0x44821e);}return''+_0xc3df72[_0x4a873f(_0x569cb5._0x526f7b,0x220,0x238,_0x569cb5._0xf395f7)][_0x439839(0x27b,0x278,0x26c,0x25e)]+_0x33c1ca;}function _(_0x44362f){const _0x16397b={_0x2d7f00:0x5fa,_0x4e6550:0x618,_0x5af5f4:0x5a9,_0x46edec:0x5a3,_0x2383b9:0x5c0,_0x3a9515:0x5b6,_0x16b17f:0x5dd,_0x308696:0x5c8,_0x5ae4fe:0x5b3,_0x4876d0:0x5d1,_0x5a01c1:0x594,_0x1c6f33:0x579,_0x2844ca:0x5f9,_0x4b6f97:0x620,_0x12d0b2:0x583,_0x5bb13e:0x593,_0x553810:0x58a,_0xefaf80:0x5c7,_0x1d8752:0x5bb,_0x26c9ff:0x5b4,_0x2e47d4:0x5df,_0x33a227:0x5dd,_0x37a2be:0x604,_0x2ddf2f:0x5b9,_0x1abe22:0x5b1,_0x405ce5:0x5a5,_0x32baeb:0x5e4,_0x489893:0x5be,_0x598902:0x5d3,_0x2619be:0x5d0,_0x36fa54:0x5d6,_0x25e060:0x5db,_0x3a7758:0x5e4,_0x596642:0x5f7,_0x115821:0x5bf,_0x2890ea:0x5e4,_0x1773ee:0x611,_0x4e9c43:0x5a1,_0x11f82a:0x5fe,_0xee1b2d:0x5e0,_0x15dce2:0x5ff,_0x2c1d6f:0x5a4,_0x3d6d0a:0x5c7,_0x22e63a:0x5d5,_0x4c2c79:0x5dd,_0x23dd1e:0x584,_0x13ad0e:0x59f,_0x34ffbc:0x5a8,_0x276eb6:0x5c3,_0xfe80c:0x5b6,_0x202dbb:0x5f0,_0x41b30f:0x603,_0x7aff86:0x5fc,_0x57e885:0x5e2,_0x1d5113:0x5d3,_0x2569bc:0x5b8,_0xa7ac4:0x5b8,_0x11c78d:0x5e8,_0x37a9e4:0x5ef,_0x335372:0x5a2,_0x121da4:0x59c,_0x1dfe55:0x5c6,_0x1d1a51:0x599,_0xc9d191:0x5dc,_0x54a296:0x5b2,_0x2796d6:0x5b6,_0x4e3b43:0x58b,_0x4a16b5:0x5a0,_0x47a4c2:0x579,_0x5865f3:0x5d7,_0x25f3d7:0x5c3,_0x4ea21e:0x5f2,_0xf2d599:0x5c3,_0x698d8b:0x5cf,_0x36ef97:0x5cc,_0x4cc192:0x5e9,_0x379006:0x5ae,_0x5bbe99:0x592,_0x36beb8:0x59e,_0x2042d1:0x5a2,_0xfbf522:0x5ce,_0x2a2bf6:0x5e3,_0x10fd57:0x5e6,_0x255a1a:0x5b8,_0x1d68d0:0x57e,_0x39aa:0x5c8,_0x1d3b7f:0x5f3,_0x782d03:0x5d2,_0x2006de:0x5a0,_0x36cfd3:0x57c,_0x46b192:0x5b8,_0x375e34:0x5ff,_0x4f18d5:0x5fb,_0x186e77:0x5e7,_0x6991f1:0x60b,_0x1ef522:0x612,_0xa56f0f:0x602,_0x1d4193:0x58d,_0xbc96bb:0x5b9,_0x11d2eb:0x5c1,_0xff8cc6:0x5bd},_0x4baa6d={_0x544a4f:0x3ca},_0x2a57d1={_0x33c7cc:0x3b1},_0x3c662b={_0x15dbea:0x14b,_0x27e3f3:0x172,_0x40b89e:0x91,_0x591a4:0xa7,_0x16f751:0xc2,_0x355556:0x82,_0x4d2a17:0x7b,_0x1b33fa:0x19b,_0x108468:0x163,_0x4fdef4:0x17f,_0x3755ae:0x19a,_0x4d4e21:0xa0,_0xe828d9:0xa7},_0x4185a1={_0xdccdab:0x106,_0x4df26a:0x12b},_0x554c32={_0x116a38:0x1e1};let _0x361932=[],_0x10028b=_0x5e9bae=>_0x5e9bae?typeof _0x5e9bae==_0x23a284(0x5d3,0x5f4,0x5cd,0x5c9)?_0x5e9bae[_0x4a1ed3(0x5f4,0x5e5,0x5cd,0x5ce)](/^\n+/,''):typeof _0x5e9bae==_0x23a284(0x5f9,0x5b6,0x5dc,0x5db)&&_0x5e9bae['type']===_0x23a284(0x5c1,0x5ec,0x5d5,0x5e5)?_0x5e9bae[_0x23a284(0x5c6,0x5bb,0x5d5,0x5e5)]['map'](_0x4d8466=>{function _0x4baf5d(_0x20de40,_0x2e550d,_0x45773a,_0x4935da){return _0x4a1ed3(_0x20de40-_0x554c32._0x116a38,_0x2e550d- -0x540,_0x45773a,_0x4935da-0x135);}if(typeof _0x4d8466=='string')return _0x4d8466;function _0x8ca1e4(_0xaac7fd,_0x3d4fb5,_0x262a5b,_0x1d975e){return _0x4a1ed3(_0xaac7fd-_0x4185a1._0xdccdab,_0x262a5b- -0x767,_0xaac7fd,_0x1d975e-_0x4185a1._0x4df26a);}if(typeof _0x4d8466==_0x8ca1e4(-_0x3c662b._0x15dbea,-0x161,-_0x3c662b._0x27e3f3,-0x177)&&_0x4d8466!==null&&'type'in _0x4d8466&&_0x4baf5d(_0x3c662b._0x40b89e,0xa8,_0x3c662b._0x591a4,_0x3c662b._0x16f751)in _0x4d8466){let _0x2feac4=_0x4d8466;if(_0x2feac4[_0x4baf5d(_0x3c662b._0x355556,0x8b,0x64,_0x3c662b._0x4d2a17)]===_0x8ca1e4(-_0x3c662b._0x1b33fa,-_0x3c662b._0x108468,-_0x3c662b._0x4fdef4,-_0x3c662b._0x3755ae)&&_0x2feac4[_0x4baf5d(_0x3c662b._0x4d4e21,0xa8,_0x3c662b._0xe828d9,0x96)])return _0x2feac4['text'];}return'';})[_0x23a284(0x5a0,0x58c,0x5b0,0x5d5)](Boolean)[_0x23a284(0x583,0x59d,0x5a4,0x594)]('\x20')[_0x4a1ed3(0x609,0x5e5,0x5de,0x5e6)](/^\n+/,''):'':'';function _0x23a284(_0x155641,_0x191887,_0x54c307,_0x55d9c8){return _0x1912(_0x54c307-_0x2a57d1._0x33c7cc,_0x55d9c8);}function _0x4a1ed3(_0x5140a9,_0x3ba60d,_0x5e63d8,_0x2e0993){return _0x1912(_0x3ba60d-_0x4baa6d._0x544a4f,_0x5e63d8);}if(_0x44362f['role']==='user'){let _0x5a0b99=_0x10028b(_0x44362f[_0x4a1ed3(0x616,_0x16397b._0x2d7f00,_0x16397b._0x4e6550,0x5f0)]);_0x5a0b99&&_0x361932[_0x23a284(_0x16397b._0x5af5f4,0x5a5,_0x16397b._0x46edec,0x584)]({'id':_0xcf3031['randomUUID'](),'type':'user','content':_0x5a0b99,'metadata':{'timestamp':_0x44362f[_0x23a284(_0x16397b._0x2383b9,_0x16397b._0x3a9515,_0x16397b._0x16b17f,0x5d9)]||new Date()['toISOString'](),'isStreaming':!0x1},'color':_0x4a1ed3(_0x16397b._0x308696,_0x16397b._0x5ae4fe,_0x16397b._0x4876d0,0x5d7)});}else{if(_0x44362f[_0x23a284(_0x16397b._0x5a01c1,0x5a5,0x59d,_0x16397b._0x1c6f33)]==='assistant'){let _0xd5fc67=_0x10028b(_0x44362f[_0x4a1ed3(0x5da,0x5fa,_0x16397b._0x2844ca,_0x16397b._0x4b6f97)]);_0xd5fc67?.[_0x4a1ed3(0x59e,_0x16397b._0x2383b9,0x5e5,0x5bb)]()&&_0x361932[_0x23a284(_0x16397b._0x12d0b2,_0x16397b._0x5bb13e,0x5a3,_0x16397b._0x553810)]({'id':_0xcf3031[_0x23a284(0x5bf,_0x16397b._0xefaf80,0x5cb,0x5cd)](),'type':_0x23a284(_0x16397b._0x1d8752,0x5c8,_0x16397b._0x26c9ff,0x598),'content':_0xd5fc67,'metadata':{'timestamp':_0x44362f['timestamp']||new Date()[_0x4a1ed3(_0x16397b._0x2e47d4,_0x16397b._0x33a227,0x5fe,_0x16397b._0x37a2be)](),'isStreaming':!0x1}}),_0x44362f[_0x23a284(_0x16397b._0x2ddf2f,_0x16397b._0x1abe22,_0x16397b._0x405ce5,0x5b5)]&&_0x44362f[_0x4a1ed3(_0x16397b._0x32baeb,_0x16397b._0x489893,0x5cd,0x5ac)][_0x4a1ed3(_0x16397b._0x598902,_0x16397b._0x2619be,_0x16397b._0x36fa54,0x5c1)]>0x0&&_0x361932[_0x4a1ed3(0x5c8,0x5bc,_0x16397b._0x25e060,0x5e1)]({'id':_0xcf3031[_0x4a1ed3(0x5c8,_0x16397b._0x3a7758,_0x16397b._0x596642,_0x16397b._0x115821)](),'type':_0x4a1ed3(0x5f7,0x5f0,_0x16397b._0x2890ea,_0x16397b._0x1773ee),'content':''+_0x44362f[_0x23a284(0x58e,0x586,0x5a5,_0x16397b._0x4e9c43)][_0x23a284(_0x16397b._0x11f82a,_0x16397b._0x115821,_0x16397b._0xee1b2d,_0x16397b._0x15dce2)](g)[_0x23a284(0x5c8,0x5bf,_0x16397b._0x2c1d6f,_0x16397b._0x3d6d0a)](',\x20'),'metadata':{'toolCallCount':_0x44362f[_0x4a1ed3(0x5c3,0x5be,0x5a6,0x5d5)][_0x4a1ed3(0x5b0,0x5d0,_0x16397b._0x22e63a,0x5d8)],'timestamp':_0x44362f['timestamp']||new Date()[_0x4a1ed3(0x5d0,_0x16397b._0x4c2c79,0x5e7,0x5f7)](),'toolCalls':_0x44362f[_0x23a284(_0x16397b._0x23dd1e,0x5b1,0x5a5,0x5c1)]},'color':_0x23a284(_0x16397b._0x13ad0e,0x5c5,_0x16397b._0x34ffbc,_0x16397b._0x276eb6)});}else{if(_0x44362f[_0x4a1ed3(0x5ae,0x5b6,_0x16397b._0xfe80c,0x5d4)]===_0x4a1ed3(0x5d7,_0x16397b._0x202dbb,0x5ff,0x5de)){let _0x4a6716=_0x10028b(_0x44362f['content']),_0x5e14ea=_0x44362f[_0x23a284(_0x16397b._0x41b30f,_0x16397b._0x7aff86,_0x16397b._0x57e885,_0x16397b._0x1d5113)]||_0x44362f['tool_call_id']||_0x4a1ed3(0x603,_0x16397b._0xee1b2d,_0x16397b._0x115821,0x606),_0x3638bd=_0x44362f['status'],_0x26b871=_0x44362f[_0x4a1ed3(_0x16397b._0x2619be,_0x16397b._0x2569bc,_0x16397b._0xa7ac4,0x5d6)],_0x160354={'id':_0x44362f['tool_call_id']||_0x4a1ed3(0x5d8,0x5e0,0x5bf,0x5fe),'name':_0x5e14ea,'status':_0x3638bd||'success','type':_0x4a1ed3(0x5ea,_0x16397b._0x11c78d,_0x16397b._0x37a9e4,0x5eb),'result':_0x4a6716||'','durationMs':_0x26b871};if(!_0x3638bd&&_0x4a6716){let _0x58de5c=_0x4a6716['toLowerCase']();(_0x58de5c[_0x23a284(0x5bc,_0x16397b._0x335372,_0x16397b._0x121da4,0x5aa)](_0x23a284(0x5ba,_0x16397b._0x5ae4fe,_0x16397b._0x1dfe55,0x5d6))||_0x58de5c[_0x4a1ed3(_0x16397b._0x1d1a51,0x5b5,_0x16397b._0xc9d191,0x5b2)](_0x23a284(_0x16397b._0x54a296,_0x16397b._0xc9d191,_0x16397b._0x2796d6,_0x16397b._0x2c1d6f))||_0x58de5c[_0x23a284(0x592,_0x16397b._0x4e3b43,_0x16397b._0x4a16b5,_0x16397b._0x47a4c2)](_0x4a1ed3(_0x16397b._0x5865f3,0x5d4,_0x16397b._0x25f3d7,_0x16397b._0x4ea21e))||_0x58de5c[_0x4a1ed3(_0x16397b._0x5865f3,0x5b5,_0x16397b._0xf2d599,_0x16397b._0x698d8b)](_0x4a1ed3(_0x16397b._0x36ef97,_0x16397b._0x4cc192,0x610,0x5fc)))&&(_0x160354['status']=_0x23a284(_0x16397b._0x26c9ff,0x5a4,_0x16397b._0x379006,0x5b8));}let _0x13c9ce=_0x160354[_0x23a284(_0x16397b._0x5bbe99,0x595,_0x16397b._0x36beb8,_0x16397b._0x2042d1)]===_0x23a284(_0x16397b._0x5ae4fe,0x596,0x5ad,0x5b6)?_0x23a284(_0x16397b._0xfbf522,0x5f1,0x5d6,_0x16397b._0x2a2bf6):'[!]',_0x1509b5=typeof _0x160354['durationMs']==_0x23a284(0x5cc,0x5e9,_0x16397b._0x10fd57,0x5fc)&&Number['isFinite'](_0x160354[_0x4a1ed3(_0x16397b._0x5bbe99,_0x16397b._0x255a1a,0x5c6,_0x16397b._0x489893)])?'\x20('+_0x160354['durationMs']+'ms)':'';_0x361932[_0x23a284(0x57c,_0x16397b._0x1d68d0,0x5a3,_0x16397b._0x39aa)]({'id':_0xcf3031['randomUUID'](),'type':_0x23a284(0x5f8,_0x16397b._0x1d3b7f,_0x16397b._0x782d03,0x5d4),'content':_0x160354[_0x23a284(_0x16397b._0x2006de,_0x16397b._0x36cfd3,0x59e,0x597)]===_0x23a284(0x5b2,_0x16397b._0x46b192,0x5ad,0x586)?_0x160354[_0x4a1ed3(_0x16397b._0x375e34,_0x16397b._0x4f18d5,_0x16397b._0x22e63a,0x5df)]+':\x20'+_0x13c9ce+'\x20'+_0x160354['status']+_0x1509b5:_0x23a284(0x5f0,0x606,_0x16397b._0x186e77,_0x16397b._0x6991f1)+m(_0x160354)[_0x23a284(0x5d0,0x5d8,0x5ba,_0x16397b._0x1d5113)](0x0,0x3e8),'metadata':{'toolName':_0x160354[_0x4a1ed3(0x5f3,_0x16397b._0x4f18d5,_0x16397b._0x1ef522,_0x16397b._0xa56f0f)],'status':_0x160354[_0x23a284(_0x16397b._0x255a1a,_0x16397b._0x1d4193,0x59e,0x57e)],'duration':_0x160354[_0x4a1ed3(_0x16397b._0x698d8b,_0x16397b._0x2569bc,0x5d6,_0x16397b._0xbc96bb)],'timestamp':_0x44362f[_0x23a284(0x5eb,0x5cc,0x5dd,_0x16397b._0x489893)]||new Date()[_0x4a1ed3(_0x16397b._0x11d2eb,0x5dd,0x5b6,0x5bf)](),'toolResult':_0x160354},'color':_0x160354[_0x23a284(0x5ab,_0x16397b._0xff8cc6,_0x16397b._0x36beb8,0x5a0)]==='success'?_0x4a1ed3(_0x16397b._0x25e060,0x5c8,0x5c1,0x5c5):'red'});}}}return _0x361932;}export{m as a,c as b,g as c,_ as d};
|