@nuvin/nuvin-cli 1.20.2 → 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(_0x23339a,_0x5d8f76){const _0x72cff6={_0x16147e:0x216,_0x5a8c61:0x219,_0x39ad08:0x205,_0x433e57:0x208,_0x558dae:0x1fd,_0x5d16ea:0x209,_0x299127:0x207,_0x1920a1:0x1f4,_0x56d130:0x20a,_0x1faaf4:0x206,_0xb051e1:0x1fe,_0x425fe8:0x1ed,_0x3f2027:0x221,_0x5d327f:0x21b,_0x322c78:0x228,_0x453925:0x20e,_0x45ccbb:0x214,_0x19722f:0x211,_0xc98e8f:0x21a,_0x4e3ac1:0x221},_0x4a1c2f={_0x4de66e:0x2fc},_0x1a0acd={_0x1e3fa9:0x123};function _0xfb2a4b(_0xcaff10,_0x239bef,_0x4ddc76,_0x46ddcf){return _0x4d79(_0xcaff10-_0x1a0acd._0x1e3fa9,_0x239bef);}function _0x2e49de(_0x250559,_0x2644a1,_0x2ee6eb,_0x197cc9){return _0x4d79(_0x2ee6eb- -_0x4a1c2f._0x4de66e,_0x250559);}const _0xebccaf=_0x23339a();while(!![]){try{const _0x2a80b4=-parseInt(_0xfb2a4b(0x222,_0x72cff6._0x16147e,0x211,0x229))/0x1+-parseInt(_0xfb2a4b(_0x72cff6._0x5a8c61,_0x72cff6._0x39ad08,0x203,_0x72cff6._0x433e57))/0x2+-parseInt(_0x2e49de(-_0x72cff6._0x558dae,-_0x72cff6._0x5d16ea,-_0x72cff6._0x299127,-0x206))/0x3+parseInt(_0x2e49de(-_0x72cff6._0x1920a1,-0x1fc,-_0x72cff6._0x56d130,-0x1fc))/0x4*(parseInt(_0xfb2a4b(0x208,_0x72cff6._0x1faaf4,0x1f9,0x1fd))/0x5)+-parseInt(_0x2e49de(-_0x72cff6._0xb051e1,-0x1ed,-0x200,-0x215))/0x6*(-parseInt(_0x2e49de(-0x214,-0x214,-0x202,-_0x72cff6._0x425fe8))/0x7)+parseInt(_0xfb2a4b(_0x72cff6._0x3f2027,_0x72cff6._0x5d327f,_0x72cff6._0x322c78,_0x72cff6._0x453925))/0x8+parseInt(_0xfb2a4b(_0x72cff6._0x45ccbb,0x216,_0x72cff6._0x5a8c61,0x218))/0x9*(-parseInt(_0xfb2a4b(_0x72cff6._0x19722f,_0x72cff6._0xc98e8f,_0x72cff6._0xb051e1,_0x72cff6._0x4e3ac1))/0xa);if(_0x2a80b4===_0x5d8f76)break;else _0xebccaf['push'](_0xebccaf['shift']());}catch(_0x367221){_0xebccaf['push'](_0xebccaf['shift']());}}}(_0x1962,0x92090));import{exec as _0x51943c,spawn as _0x11cbfc}from'child_process';import{promisify as _0x1cd389}from'util';var v=_0x1cd389(_0x51943c),d='@nuvin/nuvin-cli';async function a(_0x17b818,_0x1164e9){const _0x586868={_0x2e9d00:0x3,_0x25f710:0xd},_0x2357be={_0xf29473:0xf5};function _0x5816cd(_0x2d2b7f,_0x117ecb,_0x2e66ca,_0x54f986){return _0x4d79(_0x54f986- -_0x2357be._0xf29473,_0x2e66ca);}try{let {stdout:_0xad9b3d}=await v(_0x17b818,{'timeout':_0x1164e9});return _0xad9b3d[_0x5816cd(-0x8,_0x586868._0x2e9d00,-0x1c,-_0x586868._0x25f710)]();}catch{return null;}}function _0x4d79(_0x58ea16,_0x363104){_0x58ea16=_0x58ea16-0xd5;const _0x196289=_0x1962();let _0x4d7970=_0x196289[_0x58ea16];if(_0x4d79['JlLrcD']===undefined){var _0x5ba263=function(_0x30c1bb){const _0x4bea64='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51943c='',_0x11cbfc='';for(let _0x1cd389=0x0,_0x17b818,_0x1164e9,_0xad9b3d=0x0;_0x1164e9=_0x30c1bb['charAt'](_0xad9b3d++);~_0x1164e9&&(_0x17b818=_0x1cd389%0x4?_0x17b818*0x40+_0x1164e9:_0x1164e9,_0x1cd389++%0x4)?_0x51943c+=String['fromCharCode'](0xff&_0x17b818>>(-0x2*_0x1cd389&0x6)):0x0){_0x1164e9=_0x4bea64['indexOf'](_0x1164e9);}for(let _0x3cd45d=0x0,_0x39360b=_0x51943c['length'];_0x3cd45d<_0x39360b;_0x3cd45d++){_0x11cbfc+='%'+('00'+_0x51943c['charCodeAt'](_0x3cd45d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x11cbfc);};_0x4d79['iihUcI']=_0x5ba263,_0x4d79['pwhbcr']={},_0x4d79['JlLrcD']=!![];}const _0x5cf089=_0x196289[0x0],_0x56ab91=_0x58ea16+_0x5cf089,_0x2c4ef0=_0x4d79['pwhbcr'][_0x56ab91];return!_0x2c4ef0?(_0x4d7970=_0x4d79['iihUcI'](_0x4d7970),_0x4d79['pwhbcr'][_0x56ab91]=_0x4d7970):_0x4d7970=_0x2c4ef0,_0x4d7970;}function _0x1962(){const _0x142e77=['lI9vCgrHDgvdAgvJA2vYltjmqu0Zutu2lMPZ','nta0ntKYwe5gCNvg','mJyWntKWAvf6CuLe','zxjYB3i','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','vxbKyxrLigzHAwXLzdOG','zxHPDa','BM9Kzv9TB2r1BgvZ','qgXHDgvZDa','y2HLy2TbBMrvCgrHDgu','AgfZvxbKyxrL','Bgf0zxn0','B25vCgrHDgvtDgfYDgvK','EwfYBG','qg51DMLUl251DMLUlwnSAq','B25vCgrHDgvbDMfPBgfIBgu','Cg5WBsbHzgqGlwCG','B25fCNjVCG','Cg5WBq','AwDUB3jL','mJGXnuDwuLfbyG','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','Aw5JBhvKzxm','DhjPBq','CMvHzgXPBMSGiG','B25vCgrHDgvdB21WBgv0zwq','ywXS','BNbT','l3bUCg0V','mJbswfDdrgG','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','EwfYBIbNBg9IywWGywrKia','ndC2mtK5ExbiDg9o','ntC0oeL6Cu1VDW','vxbKyxrLihrVihy','lY5WBNbTlW','ntm0nJeYDfDAr3D0','mtGYmJaXmhP0q2fMrG','y2HLy2TgB3jvCgrHDgu','Dw5Yzwy','l3LHCM4V','mJa2nZKZm2TmvM1Psq','lY55yxjUlW','mJrRsfPfEhq'];_0x1962=function(){return _0x142e77;};return _0x1962();}var h;(_0x3cd45d=>{const _0x2302fe={_0x49976e:0x455,_0x5739e7:0x453,_0x5f3932:0x443},_0x2ccab6={_0x3acf76:0x203,_0x34cdd7:0x20d,_0x2fefee:0x1f6,_0x412c32:0x307,_0x160de2:0x1e6,_0x876cb5:0x1eb,_0x3ffabb:0x1e1,_0x585efc:0x1d9,_0x3f1f57:0x1e4,_0x5a4e25:0x1f4,_0x51d485:0x2e2,_0x313288:0x2e1,_0x2c8af4:0x2e0,_0x4736a6:0x1e3,_0x2aafcf:0x1dd,_0x342259:0x1c8,_0x5e16ff:0x206,_0x10e261:0x1f3,_0x3d5146:0x205,_0x485f88:0x21b,_0x12611c:0x207,_0x48cd37:0x2ea,_0x383b32:0x2d1,_0x4770d9:0x2dd},_0x4e98ab={_0x107aea:0xf0,_0x4e6b45:0xfa,_0x253817:0xeb,_0x458936:0xf5,_0x5ab216:0xdb,_0x1a059e:0xfa},_0x4a163c={_0x153aa4:0xa},_0x25643d={_0x1ec770:0x2a8,_0x211355:0x2a2,_0x361cb7:0x2ab,_0x3c2b75:0xd6,_0x47b3ff:0xd9,_0xcc3244:0xd3,_0x439e38:0xe3,_0x18c0e0:0xf3,_0x5c1716:0xd7,_0x1cddb9:0xd8,_0x3a7659:0xe2,_0xc71d8b:0xc5,_0x345fa8:0xe8,_0x108441:0x2a4,_0x2cef28:0x2b4,_0x4e3919:0xea,_0x21fabf:0xdb,_0x27563f:0xcd,_0x30b19c:0xba,_0x5d523b:0xd2,_0x28912e:0xc7,_0x34491a:0xd9,_0x25bfee:0xdb,_0x26aa3b:0xd3,_0x3408c5:0xdc,_0x1d85b9:0xd5,_0x3cd32b:0x2a9,_0x22cb2d:0x2bf,_0x1ec0bb:0x2b0,_0x9011fc:0x2a0,_0x2faca8:0x2af,_0x4edebe:0x2a5,_0x426e5a:0xe6,_0x19c9fd:0x2cd,_0xcac06f:0x2c8,_0x41f14c:0x2bd,_0x4fa946:0x2ad,_0x5b0193:0xda,_0x553f2f:0x298,_0x29643a:0x2a2,_0x3fcb82:0x283,_0x551633:0x297,_0x5c082f:0x29e,_0x50bd3e:0xdd,_0x453502:0xea,_0x435059:0x2b7,_0x4cd43b:0xce,_0x27d35a:0xc2,_0x21c042:0x2a0,_0x14b7a2:0x2ae,_0x122fde:0x29a,_0x3795e7:0xd6,_0x5167c0:0xd9,_0x36911b:0x2b4,_0x21a5fe:0xca,_0x2439e1:0xcd,_0x56d393:0x2ac},_0x3a3f35={_0x480bd6:0x1c2};async function _0x39360b(){const _0x43641e={_0xd7e002:0x11};let _0x27ead1=await a('which\x20nuvin',0xbb8);function _0x3a0486(_0x1f4e6c,_0x5bf1fb,_0xe37039,_0x34ce1c){return _0x4d79(_0xe37039-_0x3a3f35._0x480bd6,_0x34ce1c);}if(_0x27ead1){let _0x5eaa47=await a(_0x3a0486(_0x25643d._0x1ec770,_0x25643d._0x211355,_0x25643d._0x361cb7,0x2a5)+_0x27ead1+'\x22',0xbb8);if(_0x5eaa47){if(_0x5eaa47[_0x4c5703(_0x25643d._0x3c2b75,_0x25643d._0x47b3ff,_0x25643d._0xcc3244,0xe5)]('/pnpm/')||_0x5eaa47['includes'](_0x4c5703(_0x25643d._0x439e38,0xd0,0xd5,_0x25643d._0x18c0e0)))return _0x4c5703(0xd2,_0x25643d._0x5c1716,0xc1,_0x25643d._0x1cddb9);if(_0x5eaa47[_0x4c5703(0xd6,0xcc,_0x25643d._0x3a7659,_0x25643d._0xc71d8b)](_0x4c5703(_0x25643d._0x345fa8,0xe6,_0x25643d._0x18c0e0,0xee))||_0x5eaa47[_0x3a0486(_0x25643d._0x108441,0x2a4,0x2a9,_0x25643d._0x2cef28)](_0x4c5703(_0x25643d._0x4e3919,0xdd,_0x25643d._0x21fabf,0xf3)))return _0x4c5703(_0x25643d._0x27563f,_0x25643d._0x30b19c,0xd5,0xdf);if(_0x5eaa47[_0x4c5703(_0x25643d._0x3c2b75,0xe7,_0x25643d._0x3c2b75,_0x25643d._0x5d523b)]('/npm/')||_0x5eaa47[_0x3a0486(0x2ac,0x2bc,0x2a9,0x2a6)](_0x4c5703(_0x25643d._0x28912e,0xbd,0xb2,_0x25643d._0x34491a)))return _0x4c5703(_0x25643d._0x25bfee,_0x25643d._0x26aa3b,0xc7,_0x25643d._0x439e38);}else{if(_0x27ead1['includes'](_0x4c5703(_0x25643d._0x3408c5,0xe1,_0x25643d._0x1d85b9,_0x25643d._0x345fa8))||_0x27ead1[_0x3a0486(0x2a9,0x2bf,_0x25643d._0x3cd32b,_0x25643d._0x22cb2d)](_0x3a0486(0x2bc,_0x25643d._0x1ec0bb,0x2b6,0x2a8)))return _0x3a0486(_0x25643d._0x9011fc,_0x25643d._0x2faca8,_0x25643d._0x4edebe,0x294);if(_0x27ead1[_0x4c5703(0xd6,_0x25643d._0x27563f,0xe6,0xdc)]('/yarn/')||_0x27ead1[_0x4c5703(0xd6,0xe9,_0x25643d._0x426e5a,0xc3)](_0x3a0486(_0x25643d._0x19c9fd,_0x25643d._0xcac06f,_0x25643d._0x41f14c,_0x25643d._0x4fa946)))return _0x4c5703(0xcd,0xdd,0xdb,_0x25643d._0x5b0193);}}let [_0x22ae27,_0x53e915,_0x4fa94f]=await Promise[_0x3a0486(_0x25643d._0x553f2f,_0x25643d._0x29643a,0x2ad,0x2b9)]([a(_0x3a0486(0x298,_0x25643d._0x3fcb82,_0x25643d._0x551633,_0x25643d._0x5c082f),0x1388),a(_0x4c5703(0xd5,_0x25643d._0x50bd3e,_0x25643d._0x453502,0xcd),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0x4c5703(_0x8d4894,_0x10a0e7,_0x3eb1b4,_0x2a4cfe){return _0x4d79(_0x8d4894- -_0x43641e._0xd7e002,_0x3eb1b4);}return _0x22ae27?.[_0x3a0486(0x2af,0x2b5,0x2a9,_0x25643d._0x435059)](_0x4c5703(_0x25643d._0x4cd43b,_0x25643d._0x27d35a,0xc2,0xe3))?_0x3a0486(_0x25643d._0x21c042,0x2b7,_0x25643d._0x14b7a2,_0x25643d._0x122fde):_0x53e915?.[_0x4c5703(_0x25643d._0x3795e7,_0x25643d._0x5167c0,0xea,0xcc)]('@nuvin/nuvin-cli')?_0x3a0486(_0x25643d._0x36911b,0x2a7,_0x25643d._0x4edebe,0x2b8):_0x4fa94f?.[_0x4c5703(0xd6,0xe1,0xe3,_0x25643d._0x21a5fe)](_0x4c5703(0xce,_0x25643d._0x2439e1,_0x25643d._0x34491a,0xde))?_0x3a0486(0x28d,_0x25643d._0x56d393,_0x25643d._0x21c042,0x2b1):'npm';}function _0x344f4b(_0xe9f48e,_0x509e85){function _0x378910(_0x1ab133,_0x1c8e00,_0x2f8605,_0x2a2bf7){return _0x4d79(_0x1c8e00- -0x1f5,_0x1ab133);}function _0x3bc2f8(_0x1bb938,_0x2ed7e3,_0xb338c4,_0x18f8f6){return _0x4d79(_0x18f8f6-_0x4a163c._0x153aa4,_0x2ed7e3);}let _0x46cde6=_0x509e85?d+'@'+_0x509e85:d+_0x378910(-0x113,-0x11c,-0x10b,-0x127);switch(_0xe9f48e){case'pnpm':return _0x3bc2f8(_0x4e98ab._0x107aea,_0x4e98ab._0x4e6b45,0xeb,_0x4e98ab._0x253817)+_0x46cde6;case _0x3bc2f8(0xe8,_0x4e98ab._0x458936,_0x4e98ab._0x5ab216,0xe8):return _0x3bc2f8(0xe6,0xef,0x10e,_0x4e98ab._0x1a059e)+_0x46cde6;default:return'npm\x20install\x20-g\x20'+_0x46cde6;}}function _0x5e51f7(_0xe67c71,_0x2b0299,_0x4cffef,_0x4afd92){return _0x4d79(_0x4afd92-0x369,_0x4cffef);}async function _0x38ffff(_0x52e9f4){const _0x5c7178={_0x23cfd9:0xbd,_0x1d8bba:0xcc,_0x3d28d0:0xd1,_0xa5becf:0xdf},_0x24c4dd={_0x1fb3cf:0x4ab,_0x3b29ce:0x4b4,_0x327bf3:0x4b9,_0x468a08:0x4ad,_0x5f1e5b:0x4a0},_0x2996c1={_0x13e42a:0x2f},_0x4df451={_0x4f782f:0x204};function _0x5281ad(_0x3ff08f,_0xddd861,_0x5a499f,_0x5342c1){return _0x4d79(_0x3ff08f-0x106,_0xddd861);}let {UpdateChecker:_0xaf8e3}=await import(_0x5281ad(_0x2ccab6._0x3acf76,_0x2ccab6._0x34cdd7,0x214,_0x2ccab6._0x2fefee));function _0x8d4f0b(_0x34b24d,_0xe7dac3,_0x2882f9,_0x4b2a50){return _0x4d79(_0x4b2a50-_0x4df451._0x4f782f,_0x34b24d);}try{let _0x2f1e7f=await _0xaf8e3[_0x8d4f0b(0x2e5,_0x2ccab6._0x412c32,0x301,0x2fb)]({'onUpdateAvailable':_0x52e9f4?.[_0x5281ad(_0x2ccab6._0x160de2,0x1db,_0x2ccab6._0x876cb5,0x1dc)],'onError':_0x52e9f4?.['onError']});if(!_0x2f1e7f[_0x5281ad(_0x2ccab6._0x3ffabb,_0x2ccab6._0x585efc,_0x2ccab6._0x3f1f57,_0x2ccab6._0x5a4e25)])return!0x1;_0x52e9f4?.['onUpdateStarted']&&_0x52e9f4[_0x8d4f0b(0x2df,0x2eb,_0x2ccab6._0x51d485,_0x2ccab6._0x313288)]();let _0x215c87=await _0x39360b(),_0x37f9bc=_0x344f4b(_0x215c87,_0x2f1e7f[_0x8d4f0b(0x2d6,0x2d7,0x2e1,_0x2ccab6._0x2c8af4)]),_0x282466=_0x11cbfc('sh',['-c',_0x37f9bc],{'detached':!0x0,'stdio':_0x5281ad(0x1ea,0x1e3,_0x2ccab6._0x585efc,_0x2ccab6._0x4736a6)});return _0x282466['on'](_0x5281ad(_0x2ccab6._0x2aafcf,0x1ea,_0x2ccab6._0x342259,0x1e4),_0x53d82c=>{function _0x53030a(_0x5a9de5,_0x1d64e8,_0x5ab964,_0xa84d6f){return _0x8d4f0b(_0x5ab964,_0x1d64e8-0x6b,_0x5ab964-0x33,_0xa84d6f-0x1bd);}function _0x48751e(_0x3bc4fa,_0x3b18d1,_0x1f2a5a,_0x569a99){return _0x8d4f0b(_0x3bc4fa,_0x3b18d1-_0x2996c1._0x13e42a,_0x1f2a5a-0x153,_0x1f2a5a- -0x416);}if(_0x52e9f4?.['onUpdateCompleted']){let _0x20ba9a=_0x53d82c===0x0,_0x40e100=_0x20ba9a?_0x53030a(0x4bb,_0x24c4dd._0x1fb3cf,0x4a4,_0x24c4dd._0x3b29ce)+_0x2f1e7f['latest']+'\x20completed\x20successfully!':_0x53030a(_0x24c4dd._0x327bf3,_0x24c4dd._0x468a08,_0x24c4dd._0x5f1e5b,0x4b0);_0x52e9f4['onUpdateCompleted'](_0x20ba9a,_0x40e100);}}),_0x282466['on'](_0x5281ad(_0x2ccab6._0x5e16ff,_0x2ccab6._0x10e261,_0x2ccab6._0x3d5146,_0x2ccab6._0x485f88),_0x19d665=>{const _0x173292={_0x1387f8:0x6e,_0x4289e8:0x186,_0x2b39ff:0x3ab};function _0x5d7a1e(_0x73a9d6,_0x4098e6,_0x29ff47,_0xcb33d6){return _0x8d4f0b(_0x29ff47,_0x4098e6-_0x173292._0x1387f8,_0x29ff47-_0x173292._0x4289e8,_0x4098e6- -_0x173292._0x2b39ff);}function _0x36d3dc(_0x107268,_0x212541,_0x285891,_0x5e476c){return _0x8d4f0b(_0x107268,_0x212541-0x18c,_0x285891-0xd5,_0x212541- -0x53b);}_0x52e9f4?.['onUpdateCompleted']&&_0x52e9f4[_0x5d7a1e(-0xc9,-_0x5c7178._0x23cfd9,-0xb4,-_0x5c7178._0x1d8bba)](!0x1,_0x5d7a1e(-0xc9,-_0x5c7178._0x3d28d0,-_0x5c7178._0xa5becf,-0xc5)+_0x19d665['message']);}),_0x282466[_0x5281ad(0x1fe,0x201,_0x2ccab6._0x12611c,0x1fd)](),!0x0;}catch(_0x3c57d1){return _0x52e9f4?.[_0x8d4f0b(_0x2ccab6._0x48cd37,_0x2ccab6._0x383b32,_0x2ccab6._0x4770d9,0x2e6)]&&_0x52e9f4['onError'](_0x3c57d1 instanceof Error?_0x3c57d1:new Error(String(_0x3c57d1))),!0x1;}}_0x3cd45d[_0x5e51f7(0x438,_0x2302fe._0x49976e,_0x2302fe._0x5739e7,_0x2302fe._0x5f3932)]=_0x38ffff;})(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(_0xcf242c,_0x2b2550){const _0x3999d9={_0xf7d91d:0x98,_0x536fec:0x8a,_0x1d9e8c:0x60,_0x29019c:0x73,_0x1de0cb:0x393,_0x5c59ed:0x36a,_0x5b106b:0x86,_0x414750:0x383,_0x956953:0x358,_0x34ca71:0x3b,_0x2e3c97:0x62,_0x475821:0x3e,_0x30ff64:0x75,_0x126457:0x72,_0x378b0e:0x55};function _0x462fde(_0x4fbc25,_0x584c02,_0x103f94,_0x41ea23){return _0x4516(_0x584c02-0x244,_0x103f94);}const _0x5251bd=_0xcf242c();function _0x4af7ab(_0x3506b5,_0x28f96d,_0x306624,_0x22f209){return _0x4516(_0x28f96d- -0x1a0,_0x3506b5);}while(!![]){try{const _0x47aa9d=parseInt(_0x4af7ab(-_0x3999d9._0xf7d91d,-0x8b,-0x91,-_0x3999d9._0x536fec))/0x1+parseInt(_0x4af7ab(-0x71,-_0x3999d9._0x1d9e8c,-_0x3999d9._0x29019c,-0x74))/0x2+-parseInt(_0x462fde(0x36e,_0x3999d9._0x1de0cb,0x36b,_0x3999d9._0x5c59ed))/0x3+parseInt(_0x4af7ab(-0x91,-0x73,-_0x3999d9._0x5b106b,-0x9b))/0x4+-parseInt(_0x462fde(_0x3999d9._0x414750,_0x3999d9._0x5c59ed,_0x3999d9._0x956953,0x344))/0x5+parseInt(_0x4af7ab(-0x52,-0x5b,-0x34,-0x4a))/0x6*(-parseInt(_0x4af7ab(-0x34,-_0x3999d9._0x34ca71,-0x5f,-0x65))/0x7)+parseInt(_0x4af7ab(-_0x3999d9._0x2e3c97,-0x5f,-_0x3999d9._0x475821,-_0x3999d9._0x30ff64))/0x8*(-parseInt(_0x4af7ab(-_0x3999d9._0x126457,-_0x3999d9._0x378b0e,-0x5b,-0x47))/0x9);if(_0x47aa9d===_0x2b2550)break;else _0x5251bd['push'](_0x5251bd['shift']());}catch(_0x19309a){_0x5251bd['push'](_0x5251bd['shift']());}}}(_0x973b,0x928cc));import*as _0x38ac60 from'crypto';function _0x973b(){const _0x1b79aa=['AxnbCNjHEq','DhjPBq','zMLSDgvY','CMvWBgfJzq','BNvTyMvY','yMX1zq','ywn0Aw9U','Cgf0Aa','kc4UlIK','zxjYB3iG','Dg9KB193CML0zq','DgLTzxn0yw1W','ywDLBNq','zw50CMLLCW','mtyZndG1D2jfCxP2','C2XPy2u','DxjS','zMLSzv9UzxC','Aw5JBhvKzxm','CM9Szq','C3rHy2S','mJqYmZmYneH5ChDrwG','C3rYAw5N','C3rHCNrZv2L0Aa','lI4U','BgvUz3rO','zxjYB3i','yxnZAwDUx3rHC2S','Dg9ju09tDhjPBMC','C3rHDhvZ','CMfUzg9Tvvvjra','Dw5RBM93BG','AM9PBG','D2vIx3nLyxjJAa','zxHJzxb0Aw9UoG','yM9VBgvHBG','BxmP','Dgv4Da','ChjVz3jHBq','Dg9VBf9JywXSCW','odi4mJu4CgDrzwTx','nJreuxvhqxm','Dw5RBM93BIbLCNjVCG','yxnZAxn0yw50','DxnLCG','mtu4odHZqxf6vLu','D2vIx2zLDgnO','C3vJy2vZCW','Dg9KB3m','AxrLBq','C2vZC2LVBKLK','mZqXnZmWsuHiqxbN','w1n1yI1bz2vUDf0','zxjYB3i6ia','ChvZAa','ntq5otqYD3vSBwr6','Dg9mB3DLCKnHC2u','CgfYDhm','BwfW','Dg9vChbLCKnHC2u','BwvZC2fNzq','CxvLCNK','zxjYB3i6','C3bSAxq','B2jQzwn0','y3LHBG','wYfD','zNvUy3rPB24','yMfZAf90B29S','zgLYx2XZ','BMfTzq','Dg9VBa','yxjNCW','AxngAw5PDgu','zMLSzv9YzwfK','zMLSzv9WyxrO','Dg9VBf9JywXSx2LK','ntGXC2vktK5p','y29UDgvUDa','zMfPBgvKoG','mZe5odyZq09cEvn3','zhvYyxrPB25nCW','zMLSzv9LzgL0'];_0x973b=function(){return _0x1b79aa;};return _0x973b();}function m(_0x853c94){const _0xc07fe2={_0x11e83d:0x2a7,_0x5825aa:0x29d,_0x18ca66:0x289,_0x1169b5:0x277,_0x3598b8:0x25b,_0x275fd2:0x282,_0x7a20bb:0x268,_0x17fb38:0x19a,_0x467a16:0x1a8,_0x30cc19:0x184,_0x322484:0x19b},_0x4a8cf0={_0x4bc80a:0x3d5};function _0x26b83f(_0xfa8aed,_0x3f3d0d,_0x21e4d7,_0x1c290a){return _0x4516(_0x3f3d0d-0x42,_0x1c290a);}function _0x570c63(_0x480a7f,_0x3d3857,_0x13d60f,_0x32c63b){return _0x4516(_0x13d60f- -_0x4a8cf0._0x4bc80a,_0x32c63b);}return _0x853c94?typeof _0x853c94==_0x570c63(-0x29f,-0x2b3,-_0xc07fe2._0x11e83d,-0x2aa)?_0x853c94:_0x853c94 instanceof Error?c({'name':_0x853c94[_0x570c63(-_0xc07fe2._0x5825aa,-_0xc07fe2._0x18ca66,-_0xc07fe2._0x1169b5,-_0xc07fe2._0x3598b8)],'message':_0x853c94[_0x570c63(-_0xc07fe2._0x275fd2,-_0xc07fe2._0x7a20bb,-0x281,-0x28d)],'stack':_0x853c94[_0x570c63(-0x290,-0x288,-0x2a9,-0x295)]}):typeof _0x853c94==_0x26b83f(0x19b,_0xc07fe2._0x17fb38,0x189,_0xc07fe2._0x467a16)&&_0x853c94?c(_0x853c94):String(_0x853c94):_0x26b83f(0x1a8,_0xc07fe2._0x30cc19,_0xc07fe2._0x322484,0x1a3);}function c(_0x161e52){const _0x3dd03d={_0x521ba8:0x115,_0xe0b00a:0x117,_0xe6912b:0x99,_0x1362c3:0xa2,_0x2b7fe4:0x13a,_0x13f59f:0x12a,_0x17c92a:0x75,_0x5db592:0x7a,_0x1ddf50:0xba,_0x46c403:0xa5,_0x124cb1:0x57,_0x322c61:0x8b,_0x5de812:0x63,_0x353d30:0x93,_0x4f56e6:0x5c,_0x2ff572:0x85,_0x18673f:0x80,_0x3c6473:0x81,_0x3106c4:0x7d},_0x119f03={_0x3034d5:0x24d};function _0x4a1ad2(_0x3fee1c,_0x3ee950,_0x114dff,_0x53c3d7){return _0x4516(_0x114dff- -_0x119f03._0x3034d5,_0x3ee950);}let _0xb5bad3=[];function _0x48b136(_0xfcd81d,_0x8d331c,_0xda42ca,_0x5159bc){return _0x4516(_0x5159bc- -0x1b5,_0x8d331c);}for(let [_0x5a90d5,_0x330933]of Object[_0x4a1ad2(-_0x3dd03d._0x521ba8,-_0x3dd03d._0xe0b00a,-0x128,-0x114)](_0x161e52)){if(_0x330933==null)continue;let _0x103dfe;typeof _0x330933==_0x48b136(-_0x3dd03d._0xe6912b,-0xa4,-_0x3dd03d._0x1362c3,-0x87)?_0x103dfe='\x22'+_0x330933[_0x4a1ad2(-_0x3dd03d._0x2b7fe4,-0x151,-0x132,-_0x3dd03d._0x13f59f)](/"/g,'\x5c\x22')+'\x22':typeof _0x330933==_0x48b136(-_0x3dd03d._0x17c92a,-0x9a,-0x85,-_0x3dd03d._0x5db592)||typeof _0x330933==_0x48b136(-_0x3dd03d._0x1ddf50,-0xa3,-_0x3dd03d._0x46c403,-0x99)?_0x103dfe=String(_0x330933):Array['isArray'](_0x330933)?_0x103dfe='['+_0x330933[_0x48b136(-_0x3dd03d._0x124cb1,-_0x3dd03d._0x322c61,-0x7c,-_0x3dd03d._0x5de812)](_0xff72df=>typeof _0xff72df=='string'?'\x22'+_0xff72df+'\x22':String(_0xff72df))[_0x48b136(-_0x3dd03d._0x353d30,-_0x3dd03d._0x4f56e6,-0x9a,-0x7d)](',')+']':typeof _0x330933=='object'&&_0x330933&&!Array[_0x4a1ad2(-0x149,-0x14c,-0x135,-0x15b)](_0x330933)?_0x103dfe='{'+c(_0x330933)+'}':_0x103dfe=String(_0x330933),_0xb5bad3[_0x48b136(-0x51,-_0x3dd03d._0x2ff572,-_0x3dd03d._0x18673f,-0x67)](_0x5a90d5+':'+_0x103dfe);}return _0xb5bad3[_0x48b136(-0x62,-0x81,-_0x3dd03d._0x3c6473,-_0x3dd03d._0x3106c4)]('|');}function d(_0x5da3a9){const _0x50c577={_0x13bcd5:0x55,_0x13fdb4:0x78,_0x30139a:0x2fe,_0x3be6de:0x2e2,_0x45c6dc:0x2bd,_0x5c0f10:0x2eb,_0x462f12:0x2c8},_0x5d5f5b={_0x25e5c9:0x1ac};function _0xd30320(_0x28513f,_0x538306,_0x114e69,_0x475bf6){return _0x4516(_0x28513f- -_0x5d5f5b._0x25e5c9,_0x475bf6);}function _0x569fcc(_0x5d8bd1,_0x2328b6,_0xda7f7,_0x27b907){return _0x4516(_0x27b907-0x190,_0x5d8bd1);}return _0x5da3a9[_0xd30320(-_0x50c577._0x13bcd5,-0x30,-0x30,-_0x50c577._0x13fdb4)]('-')[_0x569fcc(0x2c3,0x2fa,_0x50c577._0x30139a,_0x50c577._0x3be6de)](_0xe5f647=>_0xe5f647['charAt'](0x0)[_0x569fcc(0x2ec,0x2f8,0x2d2,0x2e3)]()+_0xe5f647['slice'](0x1))[_0x569fcc(_0x50c577._0x45c6dc,0x2a2,_0x50c577._0x5c0f10,_0x50c577._0x462f12)]('\x20');}function _0x4516(_0x5b9716,_0x46319f){_0x5b9716=_0x5b9716-0x114;const _0x973b75=_0x973b();let _0x45168a=_0x973b75[_0x5b9716];if(_0x4516['Txezrr']===undefined){var _0x469741=function(_0x1906d7){const _0x41f38c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x38ac60='',_0x853c94='';for(let _0x161e52=0x0,_0xb5bad3,_0x5a90d5,_0x330933=0x0;_0x5a90d5=_0x1906d7['charAt'](_0x330933++);~_0x5a90d5&&(_0xb5bad3=_0x161e52%0x4?_0xb5bad3*0x40+_0x5a90d5:_0x5a90d5,_0x161e52++%0x4)?_0x38ac60+=String['fromCharCode'](0xff&_0xb5bad3>>(-0x2*_0x161e52&0x6)):0x0){_0x5a90d5=_0x41f38c['indexOf'](_0x5a90d5);}for(let _0x103dfe=0x0,_0xff72df=_0x38ac60['length'];_0x103dfe<_0xff72df;_0x103dfe++){_0x853c94+='%'+('00'+_0x38ac60['charCodeAt'](_0x103dfe)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x853c94);};_0x4516['MquMqG']=_0x469741,_0x4516['lYNnjn']={},_0x4516['Txezrr']=!![];}const _0x238743=_0x973b75[0x0],_0x2a0bce=_0x5b9716+_0x238743,_0x5705ab=_0x4516['lYNnjn'][_0x2a0bce];return!_0x5705ab?(_0x45168a=_0x4516['MquMqG'](_0x45168a),_0x4516['lYNnjn'][_0x2a0bce]=_0x45168a):_0x45168a=_0x5705ab,_0x45168a;}function g(_0x4e7543){const _0x598a28={_0x13d7d3:0x464,_0x39c52b:0x486,_0x4a823b:0x471,_0x21ab60:0x459,_0xe2500d:0x472,_0x4cda7a:0x477,_0x4b8d9f:0x491,_0x1e5362:0x486,_0x499231:0x1c5,_0x2f08bc:0x1dc,_0x5dbd32:0x46b,_0x1c19bc:0x489,_0x5b4868:0x47a,_0x912555:0x489,_0x5e343d:0x45c,_0x478265:0x44f,_0x40b836:0x1de,_0x39ca8c:0x472,_0x43240f:0x4a1,_0x1ffa7e:0x4a7,_0x58ee06:0x464,_0x2b5048:0x489,_0x5ea123:0x447,_0x15046c:0x467,_0x2a9daf:0x216,_0x1f7d69:0x1c7,_0x577891:0x1fe,_0x3a0138:0x1ef,_0x3570cd:0x44b,_0x49900a:0x498,_0x1e1329:0x432,_0x16d137:0x456,_0x34f9c5:0x43d,_0x448a38:0x442,_0x1032c0:0x442,_0x1d1e9b:0x457,_0x2d0918:0x452,_0x1eae14:0x454,_0x54d281:0x1ff,_0x1b19f1:0x1b9,_0x4c61c5:0x1da,_0x552db8:0x45a,_0x192cbb:0x47d,_0x2be21a:0x490,_0x72c4f3:0x464,_0x4335d6:0x42b,_0x50c38e:0x44a,_0x2d0466:0x44e,_0x20c4a3:0x44a,_0xf645b7:0x1cf,_0xab021c:0x1ef,_0x591048:0x1f6,_0x5a67b1:0x1d4,_0x589f39:0x1ec,_0x52fdc7:0x236,_0xbcc4fc:0x23c,_0x321114:0x208,_0x51c671:0x217,_0xa8bf2:0x474,_0x24d94d:0x1e2,_0xa5403f:0x202,_0x10d98e:0x1f7,_0x5ea021:0x499,_0x293298:0x495,_0x1dc9b7:0x42e,_0x542d5a:0x45c,_0x3162c6:0x429,_0x3b289e:0x48b,_0x14df1b:0x47f,_0x371f81:0x4ae,_0x3f9dd8:0x22a,_0x932415:0x21d,_0x37f96e:0x233,_0x50b5a2:0x21a,_0x4de361:0x1ca,_0x12c013:0x1e5,_0xf2d8e3:0x1ed,_0x307a43:0x461,_0x4360e2:0x422,_0x22aa8c:0x1f9,_0x5c28b1:0x1fe,_0x3c7c78:0x1d2,_0x54e12a:0x1f2,_0x6dab63:0x1e2,_0xa1ad21:0x472,_0x5a7a8e:0x469,_0x73dd7a:0x1f8,_0x462c8a:0x210,_0x3f8e9a:0x46a,_0x23b65b:0x464,_0x271349:0x445,_0x2b6c0a:0x463,_0xef8d94:0x440,_0x5e2d78:0x228,_0x30a249:0x1f4,_0x97f0f9:0x219,_0x425a25:0x217,_0xcec3c6:0x1b8,_0x506fb5:0x1e6},_0x2f462f={_0x233bf5:0x337},_0xc85135={_0x1d64a0:0x32b};let _0x4f6906='';try{let _0x5f4945=typeof _0x4e7543[_0x110a88(0x467,0x495,_0x598a28._0x13d7d3,_0x598a28._0x39c52b)]['arguments']==_0x110a88(0x462,_0x598a28._0x4a823b,0x47d,_0x598a28._0x21ab60)?JSON['parse'](_0x4e7543[_0x110a88(_0x598a28._0xe2500d,_0x598a28._0x4cda7a,0x470,_0x598a28._0x39c52b)]['arguments']):_0x4e7543[_0x110a88(_0x598a28._0x4b8d9f,_0x598a28._0xe2500d,0x49f,_0x598a28._0x1e5362)]['arguments'];if(_0x4e7543[_0x5ee817(-0x1ca,-_0x598a28._0x499231,-0x1d4,-_0x598a28._0x2f08bc)][_0x110a88(_0x598a28._0x5dbd32,_0x598a28._0x1c19bc,_0x598a28._0x5b4868,_0x598a28._0x912555)]===_0x5ee817(-0x22b,-0x1fa,-0x1e6,-0x204))return _0x5f4945[_0x110a88(0x42d,0x46f,_0x598a28._0x5e343d,_0x598a28._0x478265)]?'['+d(_0x5f4945['agent'])+']':_0x5ee817(-0x1d3,-0x208,-_0x598a28._0x40b836,-0x1eb);switch(_0x4e7543[_0x110a88(0x461,0x482,_0x598a28._0x39ca8c,0x486)][_0x110a88(_0x598a28._0x43240f,_0x598a28._0x1ffa7e,_0x598a28._0x58ee06,_0x598a28._0x2b5048)]){case _0x110a88(_0x598a28._0x5ea123,0x45c,_0x598a28._0x15046c,0x44d):if(_0x5f4945[_0x5ee817(-_0x598a28._0x2a9daf,-_0x598a28._0x1f7d69,-_0x598a28._0x577891,-_0x598a28._0x3a0138)]&&Array['isArray'](_0x5f4945['todos'])){let _0x14762d=_0x5f4945['todos'][_0x110a88(0x46a,0x43f,0x440,0x45c)];_0x4f6906='('+_0x14762d+'\x20'+(_0x14762d===0x1?_0x5ee817(-0x1e3,-0x1d7,-0x1f8,-0x1ee):'items')+')';}else _0x4f6906=_0x110a88(0x437,0x457,0x444,_0x598a28._0x3570cd);break;case _0x110a88(_0x598a28._0x49900a,0x486,0x476,0x48d):case _0x110a88(_0x598a28._0x1e1329,_0x598a28._0x16d137,_0x598a28._0x34f9c5,_0x598a28._0x448a38):case _0x110a88(_0x598a28._0x1032c0,_0x598a28._0x1d1e9b,_0x598a28._0x2d0918,_0x598a28._0x1eae14):case _0x5ee817(-0x204,-_0x598a28._0x54d281,-_0x598a28._0x1b19f1,-_0x598a28._0x4c61c5):case _0x110a88(_0x598a28._0x552db8,_0x598a28._0x192cbb,_0x598a28._0x2be21a,0x471):_0x5f4945[_0x110a88(_0x598a28._0x72c4f3,0x425,_0x598a28._0x4335d6,_0x598a28._0x50c38e)]?_0x4f6906='('+_0x5f4945[_0x110a88(0x437,0x470,_0x598a28._0x2d0466,_0x598a28._0x20c4a3)]+')':_0x5f4945[_0x5ee817(-0x1bd,-_0x598a28._0xf645b7,-0x1f6,-0x1d4)]?_0x4f6906='('+_0x5f4945[_0x5ee817(-_0x598a28._0xab021c,-_0x598a28._0x591048,-0x1f4,-_0x598a28._0x5a67b1)]+')':_0x5f4945[_0x5ee817(-0x20f,-_0x598a28._0x589f39,-_0x598a28._0x52fdc7,-0x20f)]?_0x4f6906='('+_0x5f4945['url']+')':_0x4f6906=_0x5ee817(-0x20f,-_0x598a28._0xbcc4fc,-_0x598a28._0x321114,-_0x598a28._0x51c671);break;case _0x110a88(_0x598a28._0xa8bf2,0x495,0x4a8,0x487):if(_0x5f4945['cmd'])_0x4f6906='('+_0x5f4945['cmd']+')';else{if(_0x5f4945[_0x5ee817(-_0x598a28._0x24d94d,-_0x598a28._0xa5403f,-_0x598a28._0x10d98e,-0x1f9)]){let _0x4f93e1=_0x5f4945[_0x110a88(_0x598a28._0x5ea021,_0x598a28._0x293298,0x473,0x48b)]?'\x20'+(Array[_0x110a88(_0x598a28._0x1dc9b7,_0x598a28._0x542d5a,_0x598a28._0x3162c6,0x443)](_0x5f4945['args'])?_0x5f4945[_0x110a88(0x47b,0x47c,0x493,_0x598a28._0x3b289e)][_0x110a88(0x440,0x482,0x489,0x463)]('\x20'):_0x5f4945[_0x110a88(_0x598a28._0x14df1b,_0x598a28._0x371f81,0x46e,0x48b)]):'';_0x4f6906='('+_0x5f4945['program']+_0x4f93e1+')';}else _0x5f4945[_0x5ee817(-_0x598a28._0x3f9dd8,-_0x598a28._0x932415,-_0x598a28._0x37f96e,-0x219)]?_0x4f6906='('+_0x5f4945[_0x5ee817(-0x228,-0x201,-_0x598a28._0x50b5a2,-0x219)]+(_0x5f4945[_0x5ee817(-_0x598a28._0x1f7d69,-_0x598a28._0x4de361,-_0x598a28._0x12c013,-_0x598a28._0xf2d8e3)]?':'+_0x5f4945[_0x110a88(0x481,0x499,0x48b,0x475)]:'')+')':_0x4f6906=_0x110a88(_0x598a28._0x307a43,_0x598a28._0x4360e2,0x43b,0x44b);}break;case _0x5ee817(-_0x598a28._0x40b836,-_0x598a28._0x22aa8c,-0x1e0,-_0x598a28._0x5c28b1):_0x5f4945['query']?_0x4f6906='('+_0x5f4945['query'][_0x5ee817(-_0x598a28._0x3c7c78,-_0x598a28._0x321114,-_0x598a28._0xab021c,-0x1e0)]('\x20')[_0x5ee817(-0x1e7,-0x20d,-_0x598a28._0x54e12a,-0x210)](0x0,0x3)['join']('\x20')+(_0x5f4945[_0x5ee817(-_0x598a28._0x321114,-0x1f4,-0x1b9,-_0x598a28._0x6dab63)][_0x110a88(_0x598a28._0xa1ad21,_0x598a28._0x5a7a8e,_0x598a28._0x5ea021,0x482)]('\x20')[_0x5ee817(-_0x598a28._0x73dd7a,-_0x598a28._0x462c8a,-0x1fa,-0x206)]>0x3?_0x110a88(_0x598a28._0x3f8e9a,_0x598a28._0x4a823b,_0x598a28._0x23b65b,0x45b):'')+')':_0x4f6906=_0x110a88(_0x598a28._0x271349,_0x598a28._0x2b6c0a,_0x598a28._0xef8d94,0x44b);break;default:_0x4f6906=_0x5f4945?'('+c(_0x5f4945)+')':_0x5ee817(-0x1f3,-_0x598a28._0x5e2d78,-_0x598a28._0x30a249,-0x217);break;}}catch{_0x4f6906=_0x5ee817(-_0x598a28._0x97f0f9,-_0x598a28._0xf2d8e3,-0x208,-_0x598a28._0x425a25);}function _0x110a88(_0x313653,_0x51e71c,_0x5c0b95,_0x4d8792){return _0x4516(_0x4d8792-_0xc85135._0x1d64a0,_0x51e71c);}function _0x5ee817(_0x114bcf,_0x4b4a5f,_0x3a2494,_0x6ef11d){return _0x4516(_0x6ef11d- -_0x2f462f._0x233bf5,_0x4b4a5f);}return''+_0x4e7543[_0x5ee817(-0x1fa,-_0x598a28._0xcec3c6,-_0x598a28._0x506fb5,-0x1dc)]['name']+_0x4f6906;}function _(_0xe55255){const _0x17f120={_0x39f083:0x12e,_0x4c594a:0x137,_0x51af4b:0x1fe,_0x272f28:0x1d6,_0x6b4105:0x133,_0x51a88f:0x131,_0x7b2925:0x123,_0x25d521:0x133,_0x803fbf:0x112,_0x44a9be:0x115,_0x4c9b0b:0x1bb,_0x416471:0x1cc,_0x5bc220:0x1f4,_0x492037:0x1f1,_0xd003ad:0x1f5,_0x5a7033:0x1f8,_0x45f227:0x1ec,_0x330b78:0x21c,_0x4ccb04:0x15f,_0x2737a9:0x140,_0x131fbc:0x1e6,_0xa8c41b:0x1de,_0x32eec2:0x1ce,_0x482150:0x1db,_0x1e03a0:0x1bc,_0x2b209f:0x1b9,_0x774c2b:0x1ee,_0xc68b0e:0x19c,_0x346c6f:0x1bf,_0x559b1f:0x13c,_0x2bcbb3:0x125,_0x11620d:0x14c,_0xf99734:0x1d7,_0xb52b9d:0x1c9,_0x3c0b78:0x1c8,_0xc17b07:0x1a4,_0x23bda7:0x123,_0x3f9ce6:0x10b,_0x1350e3:0x113,_0x4ad63c:0x121,_0x2b7039:0x11b,_0x3a8c0b:0x147,_0x502093:0x121,_0x58cca0:0x12c,_0x55ac93:0x1c2,_0x2998f1:0x11c,_0x571659:0x15a,_0x1faed7:0x158,_0x51cd92:0x116,_0xebadb8:0x1b5,_0x2420da:0x1c3,_0xfe8368:0xdc,_0x1f22ad:0xfa,_0x32c8cd:0x10d,_0x4fc58b:0xf3,_0x30cf69:0x114,_0xcdab0a:0x1dc,_0x2b72af:0x1e0,_0x1b2a65:0x1a2,_0x37ab4e:0x1cd,_0x238bb9:0xe4,_0x492d54:0x117,_0x5ed1c8:0xf5,_0x1ba4ed:0x107,_0x244f9b:0x1cf,_0xb204b6:0x1e0,_0x121ece:0x12d,_0x205fa9:0x113,_0x5262a2:0x10c,_0x90a9bf:0x13e,_0x34dd40:0x20e,_0x1799cb:0x13a,_0x3b56ac:0x134,_0x5ea47e:0x12f,_0x5240b3:0x113,_0x870d7:0x149,_0x17f8fe:0x1cf,_0xbdc8b:0x138,_0x256b20:0x128,_0x2833b8:0x104,_0x36345f:0x11f,_0xc0604c:0x13c,_0x1dc315:0x1ca,_0x1b3c73:0x1d5,_0x5ed403:0xfd,_0x4e7236:0x124,_0x3be8ec:0x1df,_0x2cc13a:0x15d,_0x3d8032:0x13d,_0x4f2307:0xee,_0x365226:0xf8,_0x3988ed:0x1b8,_0x31740a:0x1ae,_0x2d77b6:0x11d,_0x548f06:0x141,_0x35d9ed:0x1cb,_0x1c4398:0x120,_0x117228:0xed,_0x49a262:0x1f6,_0x4543ea:0x1ce,_0xe170c5:0x1cd,_0x11f31f:0x1e0,_0x13bcab:0x1b6,_0x25d56f:0x1fa,_0x202c93:0x1fa,_0x45a6b2:0x132,_0x1a75bc:0x1ff,_0x5d9849:0x1cc,_0x1656b0:0x1ad,_0x2f93f3:0x111,_0x16e7f0:0x100,_0x9b2cec:0x124},_0x140329={_0x164f62:0x259},_0x1ea0cd={_0x2aeac9:0x98},_0x37fcdf={_0x5efe52:0x20e,_0x14e398:0x1bc,_0x28031c:0x33c,_0x18ad13:0x1dd,_0x246e71:0x1c8,_0x11d31c:0x1d6,_0x3d18a0:0x312,_0x577c15:0x2e9,_0x3dbf3f:0x300},_0x16169f={_0xbd237c:0xba};let _0x362800=[],_0x2a26e6=_0x587dd3=>_0x587dd3?typeof _0x587dd3==_0x5e6e5a(-0x10a,-0x129,-0x12b,-0x12e)?_0x587dd3[_0x5e6e5a(-0x13f,-0x126,-0x13e,-0x145)](/^\n+/,''):typeof _0x587dd3==_0x5e6e5a(-0xda,-0x111,-0x101,-0xf5)&&_0x587dd3['type']===_0x5e6e5a(-0x100,-0xf6,-0x108,-0xdf)?_0x587dd3[_0x5e6e5a(-0x102,-0xe6,-0x108,-0xf4)][_0x5e6e5a(-0xde,-0x118,-0x107,-0xeb)](_0x325aff=>{function _0x356e2f(_0x30ea50,_0x3fbeb8,_0x45bb4a,_0x17928b){return _0x5e6e5a(_0x30ea50-0x18c,_0x30ea50,_0x17928b- -_0x16169f._0xbd237c,_0x17928b-0x196);}if(typeof _0x325aff==_0x356e2f(-_0x37fcdf._0x5efe52,-0x1df,-_0x37fcdf._0x14e398,-0x1e5))return _0x325aff;if(typeof _0x325aff==_0x356e2f(-0x1d6,-0x1c6,-0x1a8,-0x1bb)&&_0x325aff!==null&&'type'in _0x325aff&&_0x4ab2a2(0x312,0x339,_0x37fcdf._0x28031c,0x2fe)in _0x325aff){let _0x3827e4=_0x325aff;if(_0x3827e4['type']==='text'&&_0x3827e4[_0x356e2f(-0x1da,-_0x37fcdf._0x18ad13,-_0x37fcdf._0x246e71,-_0x37fcdf._0x11d31c)])return _0x3827e4[_0x4ab2a2(_0x37fcdf._0x3d18a0,_0x37fcdf._0x577c15,_0x37fcdf._0x3dbf3f,0x2f9)];}function _0x4ab2a2(_0x506d49,_0x3d434a,_0x3e1ac1,_0x3ceb0b){return _0x5e6e5a(_0x506d49-0x18f,_0x3ceb0b,_0x506d49-0x42e,_0x3ceb0b-0x15d);}return'';})[_0x5e6e5a(-0x160,-0x159,-0x13f,-0x144)](Boolean)[_0x5e6e5a(-0x137,-0x108,-0x121,-0x118)]('\x20')[_0x5e6e5a(-0x166,-0x14a,-0x13e,-0x12c)](/^\n+/,''):'':'';function _0x4a9cdc(_0x46debe,_0x5435ea,_0x5c8d8e,_0x4444ad){return _0x4516(_0x46debe-_0x1ea0cd._0x2aeac9,_0x5c8d8e);}if(_0xe55255[_0x5e6e5a(-0x139,-0x125,-_0x17f120._0x39f083,-_0x17f120._0x4c594a)]==='user'){let _0x5eb11f=_0x2a26e6(_0xe55255[_0x4a9cdc(_0x17f120._0x51af4b,_0x17f120._0x272f28,0x20c,0x208)]);_0x5eb11f&&_0x362800['push']({'id':_0x38ac60[_0x5e6e5a(-_0x17f120._0x6b4105,-_0x17f120._0x51a88f,-_0x17f120._0x7b2925,-0x11f)](),'type':_0x5e6e5a(-_0x17f120._0x25d521,-_0x17f120._0x803fbf,-_0x17f120._0x44a9be,-0x103),'content':_0x5eb11f,'metadata':{'timestamp':_0xe55255[_0x4a9cdc(_0x17f120._0x4c9b0b,0x1d3,0x1a0,0x1d6)]||new Date()[_0x4a9cdc(_0x17f120._0x416471,0x1c4,_0x17f120._0x5bc220,0x1af)](),'isStreaming':!0x1},'color':_0x4a9cdc(_0x17f120._0x492037,0x1e1,_0x17f120._0xd003ad,_0x17f120._0x5a7033)});}else{if(_0xe55255[_0x4a9cdc(0x1c3,0x1dc,_0x17f120._0x45f227,0x1e2)]===_0x4a9cdc(0x1db,0x1fc,0x1fa,0x1ff)){let _0x3d17e5=_0x2a26e6(_0xe55255[_0x4a9cdc(0x1fe,0x1d6,_0x17f120._0x330b78,0x20a)]);_0x3d17e5?.[_0x5e6e5a(-0x117,-_0x17f120._0x4ccb04,-_0x17f120._0x2737a9,-0x15a)]()&&_0x362800[_0x4a9cdc(_0x17f120._0x131fbc,0x1e7,_0x17f120._0xa8c41b,0x1f3)]({'id':_0x38ac60[_0x4a9cdc(_0x17f120._0x32eec2,0x1de,0x1c0,0x1da)](),'type':_0x4a9cdc(_0x17f120._0x482150,_0x17f120._0x1e03a0,_0x17f120._0x2b209f,_0x17f120._0x774c2b),'content':_0x3d17e5,'metadata':{'timestamp':_0xe55255[_0x4a9cdc(0x1bb,_0x17f120._0xc68b0e,0x199,_0x17f120._0x346c6f)]||new Date()[_0x5e6e5a(-_0x17f120._0x559b1f,-0x102,-_0x17f120._0x2bcbb3,-_0x17f120._0x11620d)](),'isStreaming':!0x1}}),_0xe55255[_0x4a9cdc(_0x17f120._0xf99734,_0x17f120._0x492037,0x1df,0x1b7)]&&_0xe55255['tool_calls'][_0x4a9cdc(_0x17f120._0xb52b9d,0x1a4,_0x17f120._0x3c0b78,_0x17f120._0xc17b07)]>0x0&&_0x362800[_0x5e6e5a(-_0x17f120._0x23bda7,-0xf2,-_0x17f120._0x3f9ce6,-_0x17f120._0x1350e3)]({'id':_0x38ac60[_0x5e6e5a(-_0x17f120._0x4ad63c,-0x125,-0x123,-_0x17f120._0x2b7039)](),'type':'tool','content':''+_0xe55255['tool_calls']['map'](g)[_0x5e6e5a(-0x102,-_0x17f120._0x3a8c0b,-_0x17f120._0x502093,-_0x17f120._0x58cca0)](',\x20'),'metadata':{'toolCallCount':_0xe55255[_0x4a9cdc(0x1d7,_0x17f120._0x55ac93,0x1d1,0x1cc)][_0x5e6e5a(-_0x17f120._0x2998f1,-0x13a,-0x128,-0x151)],'timestamp':_0xe55255[_0x5e6e5a(-_0x17f120._0x571659,-_0x17f120._0x1faed7,-0x136,-_0x17f120._0x51cd92)]||new Date()['toISOString'](),'toolCalls':_0xe55255['tool_calls']},'color':_0x4a9cdc(_0x17f120._0xebadb8,0x19a,0x1a3,_0x17f120._0x2420da)});}else{if(_0xe55255['role']===_0x5e6e5a(-0xd6,-_0x17f120._0xfe8368,-_0x17f120._0x1f22ad,-0x115)){let _0x308614=_0x2a26e6(_0xe55255[_0x5e6e5a(-0x11b,-_0x17f120._0x32c8cd,-_0x17f120._0x4fc58b,-_0x17f120._0x30cf69)]),_0x1ca620=_0xe55255[_0x4a9cdc(0x1f6,_0x17f120._0xcdab0a,_0x17f120._0x2b72af,0x216)]||_0xe55255['tool_call_id']||'unknown',_0x3be228=_0xe55255['status'],_0x41a2e2=_0xe55255[_0x4a9cdc(0x1ae,0x1b2,_0x17f120._0x1b2a65,_0x17f120._0x37ab4e)],_0x101d29={'id':_0xe55255[_0x5e6e5a(-_0x17f120._0x238bb9,-_0x17f120._0x492d54,-_0x17f120._0x5ed1c8,-_0x17f120._0x1ba4ed)]||_0x4a9cdc(_0x17f120._0x244f9b,0x1ce,_0x17f120._0xb204b6,0x1a9),'name':_0x1ca620,'status':_0x3be228||_0x5e6e5a(-_0x17f120._0x121ece,-0xfd,-0x112,-_0x17f120._0x205fa9),'type':_0x5e6e5a(-_0x17f120._0x5262a2,-_0x17f120._0x32c8cd,-0x11c,-_0x17f120._0x90a9bf),'result':_0x308614||'','durationMs':_0x41a2e2};if(!_0x3be228&&_0x308614){let _0x15893c=_0x308614[_0x4a9cdc(0x1e8,0x1e8,_0x17f120._0x34dd40,0x1ca)]();(_0x15893c[_0x5e6e5a(-0x152,-_0x17f120._0x1799cb,-0x12f,-_0x17f120._0x3b56ac)](_0x5e6e5a(-_0x17f120._0x803fbf,-_0x17f120._0x5ed1c8,-0x103,-0xfe))||_0x15893c[_0x5e6e5a(-_0x17f120._0x559b1f,-0x148,-_0x17f120._0x5ea47e,-_0x17f120._0x5240b3)](_0x5e6e5a(-0x11e,-0x155,-0x145,-_0x17f120._0x870d7))||_0x15893c[_0x4a9cdc(0x1c7,0x1ec,_0x17f120._0x17f8fe,0x1d5)](_0x5e6e5a(-_0x17f120._0x5ea47e,-0x162,-_0x17f120._0xbdc8b,-_0x17f120._0x256b20))||_0x15893c['includes'](_0x5e6e5a(-_0x17f120._0x2833b8,-_0x17f120._0x2b7039,-_0x17f120._0x36345f,-_0x17f120._0xc0604c)))&&(_0x101d29['status']=_0x4a9cdc(0x1ca,_0x17f120._0xa8c41b,_0x17f120._0x1dc315,_0x17f120._0x1b3c73));}let _0x2f62f3=_0x101d29[_0x5e6e5a(-0x118,-_0x17f120._0x5ed403,-_0x17f120._0x4e7236,-_0x17f120._0x11620d)]===_0x4a9cdc(_0x17f120._0x3be8ec,0x1d9,0x1fb,0x1d4)?'[+]':_0x5e6e5a(-0x117,-0x116,-0xff,-0xd7),_0x9ad85c=typeof _0x101d29['durationMs']==_0x5e6e5a(-_0x17f120._0x2cc13a,-0x12b,-_0x17f120._0x3d8032,-0x15a)&&Number[_0x5e6e5a(-_0x17f120._0x4f2307,-_0x17f120._0xfe8368,-_0x17f120._0x365226,-_0x17f120._0x2998f1)](_0x101d29[_0x4a9cdc(0x1ae,0x1ce,_0x17f120._0x3988ed,0x1cf)])?'\x20('+_0x101d29[_0x4a9cdc(_0x17f120._0x31740a,0x18e,0x1c9,0x1a1)]+_0x5e6e5a(-_0x17f120._0x2737a9,-0x10a,-_0x17f120._0x2d77b6,-_0x17f120._0x548f06):'';_0x362800[_0x5e6e5a(-0x119,-0x11e,-0x10b,-0x11c)]({'id':_0x38ac60[_0x4a9cdc(0x1ce,0x1be,0x1f1,0x1cf)](),'type':'tool_result','content':_0x101d29[_0x4a9cdc(0x1cd,0x1e4,0x1f6,_0x17f120._0x35d9ed)]===_0x5e6e5a(-_0x17f120._0x4e7236,-_0x17f120._0x1c4398,-0x112,-_0x17f120._0x117228)?_0x101d29[_0x4a9cdc(_0x17f120._0x49a262,0x20c,0x1dd,_0x17f120._0x4543ea)]+':\x20'+_0x2f62f3+'\x20'+_0x101d29[_0x4a9cdc(_0x17f120._0xe170c5,_0x17f120._0x11f31f,_0x17f120._0x13bcab,0x1f2)]+_0x9ad85c:_0x4a9cdc(0x1e5,_0x17f120._0x25d56f,0x1fc,_0x17f120._0x202c93)+m(_0x101d29)[_0x5e6e5a(-0x152,-0x14e,-_0x17f120._0x45a6b2,-0x11a)](0x0,0x3e8),'metadata':{'toolName':_0x101d29[_0x4a9cdc(_0x17f120._0x49a262,0x1e1,_0x17f120._0x1a75bc,_0x17f120._0x5d9849)],'status':_0x101d29[_0x5e6e5a(-0x11d,-0x134,-0x124,-0x147)],'duration':_0x101d29['durationMs'],'timestamp':_0xe55255[_0x4a9cdc(0x1bb,_0x17f120._0x1656b0,0x1cc,0x1c6)]||new Date()[_0x5e6e5a(-_0x17f120._0x2f93f3,-0x10a,-0x125,-0x146)](),'toolResult':_0x101d29},'color':_0x101d29[_0x5e6e5a(-0x13c,-_0x17f120._0x16e7f0,-_0x17f120._0x9b2cec,-0x12f)]==='success'?'green':'red'});}}}function _0x5e6e5a(_0x310843,_0x43d3c1,_0x5641b9,_0x9b2522){return _0x4516(_0x5641b9- -_0x140329._0x164f62,_0x43d3c1);}return _0x362800;}export{m as a,c as b,g as c,_ as d};
|
|
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};
|