@nuvin/nuvin-cli 1.5.0 → 1.5.1-prerelease.1

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/package.json CHANGED
@@ -1,110 +1,117 @@
1
1
  {
2
- "name": "@nuvin/nuvin-cli",
3
- "version": "1.5.0",
4
- "private": false,
5
- "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
- "license": "Apache-2.0",
7
- "keywords": [
8
- "ai",
9
- "agent",
10
- "cli",
11
- "llm",
12
- "coding-assistant",
13
- "code-assistant",
14
- "developer-tools"
15
- ],
16
- "author": "Marsch Huynh <marsch.huynh@gmail.com>",
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/marschhuynh/nuvin-cli.git",
20
- "directory": "packages/nuvin-cli"
21
- },
22
- "homepage": "https://github.com/marschhuynh/nuvin-cli#readme",
23
- "bugs": {
24
- "url": "https://github.com/marschhuynh/nuvin-cli/issues"
25
- },
26
- "bin": {
27
- "nuvin": "dist/cli.js"
28
- },
29
- "type": "module",
30
- "engines": {
31
- "node": ">=18"
32
- },
33
- "files": [
34
- "dist"
35
- ],
36
- "publishConfig": {
37
- "access": "public"
38
- },
39
- "dependencies": {
40
- "ansi-escapes": "^7.1.1",
41
- "ansi-regex": "^6.1.0",
42
- "chalk": "^5.6.2",
43
- "cli-highlight": "^2.1.11",
44
- "cli-spinners": "^3.3.0",
45
- "cli-table3": "^0.6.5",
46
- "ink": "^6.5.0",
47
- "ink-big-text": "^2.0.0",
48
- "ink-gradient": "^3.0.0",
49
- "ink-spinner": "^5.0.0",
50
- "marked": "^15.0.12",
51
- "meow": "^11.0.0",
52
- "node-emoji": "^2.1.3",
53
- "open": "^10.2.0",
54
- "react": "^19.2.0",
55
- "supports-hyperlinks": "^3.1.0",
56
- "type-fest": "^4.41.0",
57
- "yaml": "^2.8.1",
58
- "@nuvin/nuvin-core": "^1.1.1"
59
- },
60
- "devDependencies": {
61
- "@biomejs/biome": "^2.2.5",
62
- "@sindresorhus/tsconfig": "^3.0.1",
63
- "@types/react": "^19.2.2",
64
- "@vdemedes/prettier-config": "^2.0.1",
65
- "ava": "^5.3.1",
66
- "chalk": "^5.6.2",
67
- "delay": "^6.0.0",
68
- "eslint-config-xo-react": "^0.27.0",
69
- "eslint-plugin-react": "^7.37.5",
70
- "eslint-plugin-react-hooks": "^4.6.2",
71
- "ink-testing-library": "^3.0.0",
72
- "javascript-obfuscator": "^4.1.1",
73
- "prettier": "^2.8.8",
74
- "react-devtools-core": "^6.1.5",
75
- "sinon": "^21.0.0",
76
- "terser": "^5.44.0",
77
- "ts-node": "^10.9.2",
78
- "tsup": "^8.5.0",
79
- "typescript": "^5.9.3",
80
- "vitest": "^3.2.4",
81
- "xo": "^0.53.1"
82
- },
83
- "ava": {
84
- "extensions": {
85
- "ts": "module",
86
- "tsx": "module"
87
- },
88
- "nodeArguments": [
89
- "--loader=ts-node/esm"
90
- ]
91
- },
92
- "xo": {
93
- "extends": "xo-react",
94
- "prettier": true,
95
- "rules": {
96
- "react/prop-types": "off"
97
- }
98
- },
99
- "prettier": "@vdemedes/prettier-config",
100
- "scripts": {
101
- "build": "node scripts/build.js",
102
- "clean": "rm -rf dist",
103
- "dev": "tsup --watch",
104
- "run:dev": "npx tsx source/cli.tsx",
105
- "run:prod": "node dist/cli.js",
106
- "test": "vitest run",
107
- "lint": "pnpm exec biome lint",
108
- "format": "pnpm exec biome format --changed --no-errors-on-unmatched --write ."
109
- }
2
+ "name": "@nuvin/nuvin-cli",
3
+ "version": "1.5.1-prerelease.1",
4
+ "private": false,
5
+ "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
+ "license": "Apache-2.0",
7
+ "keywords": [
8
+ "ai",
9
+ "agent",
10
+ "cli",
11
+ "llm",
12
+ "coding-assistant",
13
+ "code-assistant",
14
+ "developer-tools"
15
+ ],
16
+ "author": "Marsch Huynh <marsch.huynh@gmail.com>",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/marschhuynh/nuvin-cli.git",
20
+ "directory": "packages/nuvin-cli"
21
+ },
22
+ "homepage": "https://github.com/marschhuynh/nuvin-cli#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/marschhuynh/nuvin-cli/issues"
25
+ },
26
+ "bin": {
27
+ "nuvin": "dist/cli.js"
28
+ },
29
+ "type": "module",
30
+ "engines": {
31
+ "node": ">=18"
32
+ },
33
+ "scripts": {
34
+ "build": "node scripts/build.js",
35
+ "clean": "rm -rf dist",
36
+ "dev": "tsup --watch",
37
+ "run:dev": "npx tsx source/cli.tsx",
38
+ "run:prod": "node dist/cli.js",
39
+ "test": "vitest run",
40
+ "lint": "pnpm exec biome lint",
41
+ "format": "pnpm exec biome format --changed --no-errors-on-unmatched --write .",
42
+ "prepack": "rm -rf dist && pnpm run build"
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "dependencies": {
51
+ "@nuvin/nuvin-core": "1.1.2",
52
+ "ansi-escapes": "^7.2.0",
53
+ "ansi-regex": "^6.2.2",
54
+ "chalk": "^5.6.2",
55
+ "cli-highlight": "^2.1.11",
56
+ "cli-spinners": "^3.3.0",
57
+ "cli-table3": "^0.6.5",
58
+ "ink-big-text": "^2.0.0",
59
+ "ink-gradient": "^3.0.0",
60
+ "ink-spinner": "^5.0.0",
61
+ "marked": "^15.0.12",
62
+ "meow": "^11.0.0",
63
+ "node-emoji": "^2.2.0",
64
+ "open": "^10.2.0",
65
+ "react": "^19.2.0",
66
+ "react-reconciler": "^0.33.0",
67
+ "supports-hyperlinks": "^3.2.0",
68
+ "type-fest": "^4.41.0",
69
+ "yaml": "^2.8.1",
70
+ "yoga-layout": "~3.2.1"
71
+ },
72
+ "devDependencies": {
73
+ "@biomejs/biome": "^2.3.5",
74
+ "@rollup/plugin-commonjs": "^29.0.0",
75
+ "@rollup/plugin-json": "^6.1.0",
76
+ "@rollup/plugin-node-resolve": "^16.0.3",
77
+ "@rollup/plugin-typescript": "^12.3.0",
78
+ "@sindresorhus/tsconfig": "^3.0.1",
79
+ "@types/react": "^19.2.5",
80
+ "@vdemedes/prettier-config": "^2.0.1",
81
+ "ava": "^5.3.1",
82
+ "chalk": "^5.6.2",
83
+ "delay": "^6.0.0",
84
+ "eslint-config-xo-react": "^0.27.0",
85
+ "eslint-plugin-react": "^7.37.5",
86
+ "eslint-plugin-react-hooks": "^4.6.2",
87
+ "ink-testing-library": "^3.0.0",
88
+ "javascript-obfuscator": "^4.1.1",
89
+ "prettier": "^2.8.8",
90
+ "react-devtools-core": "^6.1.5",
91
+ "rollup": "^4.53.2",
92
+ "rollup-plugin-preserve-shebang": "^1.0.1",
93
+ "sinon": "^21.0.0",
94
+ "terser": "^5.44.1",
95
+ "ts-node": "^10.9.2",
96
+ "typescript": "^5.9.3",
97
+ "vitest": "^3.2.4",
98
+ "xo": "^0.53.1"
99
+ },
100
+ "ava": {
101
+ "extensions": {
102
+ "ts": "module",
103
+ "tsx": "module"
104
+ },
105
+ "nodeArguments": [
106
+ "--loader=ts-node/esm"
107
+ ]
108
+ },
109
+ "xo": {
110
+ "extends": "xo-react",
111
+ "prettier": true,
112
+ "rules": {
113
+ "react/prop-types": "off"
114
+ }
115
+ },
116
+ "prettier": "@vdemedes/prettier-config"
110
117
  }
package/LICENSE DELETED
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright 2025 Marsch Huynh
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
@@ -1 +0,0 @@
1
- (function(_0x11916f,_0x129ccd){const _0x11d718={_0x26af25:0xfe,_0x39c77c:0x22d,_0xc252a6:0x239,_0x1e7bee:0x22f,_0x38fba7:0x228,_0xcf4337:0xf5,_0x334a1c:0xf0,_0x29a038:0x22c,_0x1ceb29:0x22b,_0x537655:0x23a,_0x373fd4:0x233,_0x13483b:0x229,_0x45a8b1:0xff,_0x56769a:0xff,_0xb2d3e6:0x104,_0x252a0d:0xfd,_0x12d64e:0xf6},_0x5f2c29={_0x1df6ff:0x62},_0x3290f3={_0x5e8778:0xd1},_0x1072e0=_0x11916f();function _0x16bf58(_0x5a850d,_0x572f68,_0x290e15,_0x570281){return _0x2d9c(_0x290e15-_0x3290f3._0x5e8778,_0x572f68);}function _0x10d517(_0x7cccb5,_0x1ca746,_0x17c81d,_0x33f2fd){return _0x2d9c(_0x33f2fd- -_0x5f2c29._0x1df6ff,_0x1ca746);}while(!![]){try{const _0xa0e7c3=-parseInt(_0x10d517(0xf2,0x101,0xf2,_0x11d718._0x26af25))/0x1*(parseInt(_0x16bf58(_0x11d718._0x39c77c,_0x11d718._0xc252a6,_0x11d718._0x1e7bee,_0x11d718._0x38fba7))/0x2)+-parseInt(_0x10d517(0xfc,0xe8,_0x11d718._0xcf4337,_0x11d718._0x334a1c))/0x3+parseInt(_0x16bf58(_0x11d718._0x39c77c,0x223,_0x11d718._0x29a038,0x226))/0x4+-parseInt(_0x16bf58(_0x11d718._0x1ceb29,_0x11d718._0x537655,_0x11d718._0x373fd4,0x228))/0x5+-parseInt(_0x16bf58(0x21f,0x22d,_0x11d718._0x13483b,0x226))/0x6+parseInt(_0x10d517(0xf5,_0x11d718._0x45a8b1,0xf8,_0x11d718._0x56769a))/0x7+parseInt(_0x10d517(_0x11d718._0xb2d3e6,_0x11d718._0x252a0d,_0x11d718._0x12d64e,0x102))/0x8;if(_0xa0e7c3===_0x129ccd)break;else _0x1072e0['push'](_0x1072e0['shift']());}catch(_0x197d10){_0x1072e0['push'](_0x1072e0['shift']());}}}(_0x4160,0x77e46));import{a as _0x2b60b9}from'./chunk-AJHDLTY3.js';function _0x4160(){const _0x5e55b2=['C3rHDhvZq29Kzq','mNrkyKLxAa','CMvNAxn0CNKUBNbTANmUB3jN','mJG1ndy1AuzVwgz5','nJu0ndC5n0TKu3DXBG','mtCWnJuYmeTAExrVEG','BwfW','nti4oty4oe5UvvDNsW','CgfYC2u','Bwf4','CMvXDwvZDa','y2HLy2TgB3jvCgrHDgu','BgvUz3rO','C3bSAxq','mtC5ndK5nMvQq2v0zG','uMvXDwvZDcb0Aw1LB3v0','DgLTzw91Da','zxjYB3i','zgvZDhjVEq','sfruuca','mJy4nZy0thL3wLro','CMvWBgfJzq','DMvYC2LVBG','nJu5mty0wfzbvfP4','zw5K'];_0x4160=function(){return _0x5e55b2;};return _0x4160();}import _0x2c600d from'https';function _0x8684b2(_0x585e13,_0x3c4692,_0x3625e6,_0x3ed8bb){return _0x2d9c(_0x3c4692-0x16b,_0x3ed8bb);}var l=_0x8684b2(0x2c6,0x2ca,0x2c6,0x2c9),h='@nuvin/nuvin-cli',d=0x1388,f;(_0x3bb83f=>{const _0x403628={_0x2d16cf:0x5e,_0x11fba5:0x53},_0x17bda0={_0x7ac91b:0x24d,_0x414ba6:0x244,_0x5cad7e:0x241,_0x407463:0x24b,_0x475ccd:0x25c,_0x227df9:0xe8,_0x102c6a:0xe2,_0xa9b18c:0x235,_0x1e52a2:0xf5};async function _0x3cf158(){let _0x4d4d8c=_0x2b60b9();try{let _0x1bddb7=await _0x55f21a(),_0x3a7ffd=_0xbd17bc(_0x4d4d8c,_0x1bddb7)<0x0;return{'current':_0x4d4d8c,'latest':_0x1bddb7,'hasUpdate':_0x3a7ffd};}catch{return{'current':_0x4d4d8c,'latest':_0x4d4d8c,'hasUpdate':!0x1};}}function _0x45a864(_0x1b7b8e,_0x26e7ec,_0x5a09b5,_0x2ae7a1){return _0x8684b2(_0x1b7b8e-0x16f,_0x26e7ec- -0x25c,_0x5a09b5-0xc5,_0x2ae7a1);}_0x3bb83f[_0x45a864(0x59,_0x403628._0x2d16cf,0x56,_0x403628._0x11fba5)]=_0x3cf158;function _0x55f21a(){const _0x3d0d2d={_0x1899ca:0x347,_0x516b54:0x34b,_0x31726d:0x3cc,_0x214238:0x3d2,_0x3ad3c5:0x3d4,_0x280071:0x333,_0x27103f:0x332,_0x2294f0:0x334,_0x1b0abe:0x3da,_0x547b46:0x3d9,_0x3edc7d:0x3e3,_0x49da13:0x3cf};return new Promise((_0x2f839c,_0x352007)=>{const _0x45babb={_0x5782a9:0x4de,_0x3393fe:0x511,_0x103480:0x518,_0x443453:0x513,_0x968bcd:0x513},_0x828938={_0x29a49e:0x146,_0x39b9cb:0x123},_0x36eb87={_0x32107f:0x1e0},_0x41139d={_0x342a25:0x27d},_0x5065ed={_0x3ed77b:0x119,_0x68300f:0x10d,_0x3c0e7f:0x112},_0x3b92cf={_0x1d8837:0x404,_0x32c07e:0x4a0,_0x161e3a:0x4a4,_0x2da35f:0x49d,_0x34539b:0x4a8,_0x443b41:0x495,_0x313b30:0x489,_0x2fb8e9:0x492,_0x168488:0x496,_0x425606:0x48c,_0x1a93bf:0x49c,_0x3d8b3a:0x4a1};let _0x107b3a={'hostname':l,'path':'/'+encodeURIComponent(h)+'/latest','method':'GET','headers':{'Accept':'application/json'},'timeout':d},_0x4a48c1=_0x2c600d[_0xa9023e(_0x3d0d2d._0x1899ca,_0x3d0d2d._0x516b54,0x346,0x347)](_0x107b3a,_0x536e1a=>{const _0x261a1e={_0x5c1696:0x1e3};function _0x442220(_0x5ae15d,_0x356fe9,_0x282e76,_0x11abda){return _0xa9023e(_0x5ae15d-0xe5,_0x356fe9-0x120,_0x282e76,_0x356fe9- -0x449);}let _0x3812cf='';_0x536e1a['on']('data',_0x5e8ad1=>{_0x3812cf+=_0x5e8ad1;}),_0x536e1a['on'](_0x442220(-_0x5065ed._0x3ed77b,-_0x5065ed._0x68300f,-0x10d,-_0x5065ed._0x3c0e7f),()=>{const _0x3140dd={_0x5d395a:0x51a};function _0x5904cf(_0xbedd04,_0x5a171d,_0x143b7d,_0x5e8d67){return _0x442220(_0xbedd04-_0x261a1e._0x5c1696,_0xbedd04-0x5a4,_0x5a171d,_0x5e8d67-0x4c);}function _0x43a0d1(_0x7a9e69,_0x3ea157,_0x25fb39,_0x7331d9){return _0x442220(_0x7a9e69-0x108,_0x25fb39-_0x3140dd._0x5d395a,_0x3ea157,_0x7331d9-0x1f);}try{if(_0x536e1a[_0x43a0d1(_0x3b92cf._0x1d8837,0x418,0x40e,0x40c)]===0xc8){let _0x20f9ef=JSON[_0x5904cf(_0x3b92cf._0x32c07e,_0x3b92cf._0x161e3a,_0x3b92cf._0x2da35f,_0x3b92cf._0x34539b)](_0x3812cf);_0x2f839c(_0x20f9ef[_0x5904cf(_0x3b92cf._0x443b41,_0x3b92cf._0x313b30,0x48d,0x4a1)]);}else _0x352007(new Error(_0x5904cf(_0x3b92cf._0x2fb8e9,0x490,_0x3b92cf._0x168488,_0x3b92cf._0x425606)+_0x536e1a[_0x5904cf(0x498,0x49f,_0x3b92cf._0x1a93bf,_0x3b92cf._0x3d8b3a)]));}catch(_0x4a5141){_0x352007(_0x4a5141);}});});function _0x4ae523(_0x177390,_0x4f485c,_0x4b34f9,_0x5eda1c){return _0x2d9c(_0x4f485c-_0x41139d._0x342a25,_0x177390);}function _0xa9023e(_0x559657,_0x48efb6,_0x4d1ad6,_0x44b3aa){return _0x2d9c(_0x44b3aa-_0x36eb87._0x32107f,_0x4d1ad6);}_0x4a48c1['on'](_0x4ae523(_0x3d0d2d._0x31726d,_0x3d0d2d._0x214238,0x3c7,_0x3d0d2d._0x3ad3c5),_0x352007),_0x4a48c1['on'](_0xa9023e(_0x3d0d2d._0x280071,_0x3d0d2d._0x27103f,0x330,_0x3d0d2d._0x2294f0),()=>{function _0x43d800(_0x3ca5c7,_0x553a5b,_0x1d7554,_0x4177e7){return _0xa9023e(_0x3ca5c7-_0x828938._0x29a49e,_0x553a5b-_0x828938._0x39b9cb,_0x4177e7,_0x1d7554-0x1a6);}function _0x138029(_0x985a45,_0x57c984,_0x553dbb,_0x18144f){return _0xa9023e(_0x985a45-0x1da,_0x57c984-0x18d,_0x553dbb,_0x18144f-0x1e0);}_0x4a48c1[_0x43d800(0x4e5,0x4e7,0x4dc,_0x45babb._0x5782a9)](),_0x352007(new Error(_0x138029(_0x45babb._0x3393fe,_0x45babb._0x103480,_0x45babb._0x443453,_0x45babb._0x968bcd)));}),_0x4a48c1[_0x4ae523(_0x3d0d2d._0x1b0abe,_0x3d0d2d._0x547b46,_0x3d0d2d._0x3edc7d,_0x3d0d2d._0x49da13)]();});}function _0xbd17bc(_0x5537a8,_0x16f374){const _0x251fae={_0x16dc62:0x14f},_0xfe92aa={_0x276e2b:0xc5,_0x12b94e:0x2b6};let _0x563858=_0x12a4f7=>_0x12a4f7[_0x3ec3a7(-0x25b,-0x24e,-0x251,-0x24f)](/^v/,'')[_0xca70d5(-0xe8,-0xf5,-0xfe,-0xf4)]('-')[0x0],_0x5b1919=_0x563858(_0x5537a8)[_0x3ec3a7(-_0x17bda0._0x7ac91b,-0x256,-_0x17bda0._0x7ac91b,-0x25d)]('.')[_0x3ec3a7(-0x244,-_0x17bda0._0x414ba6,-_0x17bda0._0x5cad7e,-_0x17bda0._0x407463)](Number),_0x38146e=_0x563858(_0x16f374)[_0x3ec3a7(-0x25f,-0x256,-_0x17bda0._0x475ccd,-0x263)]('.')[_0xca70d5(-0xd7,-0xd9,-_0x17bda0._0x227df9,-_0x17bda0._0x102c6a)](Number);for(let _0xcf20f7=0x0;_0xcf20f7<Math[_0x3ec3a7(-0x236,-0x241,-_0x17bda0._0xa9b18c,-0x23d)](_0x5b1919[_0xca70d5(-0xf6,-0xf0,-0x101,-_0x17bda0._0x1e52a2)],_0x38146e['length']);_0xcf20f7++){let _0x31877f=_0x5b1919[_0xcf20f7]||0x0,_0xec3c25=_0x38146e[_0xcf20f7]||0x0;if(_0x31877f>_0xec3c25)return 0x1;if(_0x31877f<_0xec3c25)return-0x1;}function _0x3ec3a7(_0xec2df9,_0x214949,_0x3dd74b,_0x5a634f){return _0x45a864(_0xec2df9-_0xfe92aa._0x276e2b,_0x214949- -_0xfe92aa._0x12b94e,_0x3dd74b-0xa1,_0xec2df9);}function _0xca70d5(_0x239e2c,_0x303ffc,_0x4e67df,_0x14b2ad){return _0x45a864(_0x239e2c-_0x251fae._0x16dc62,_0x14b2ad- -0x154,_0x4e67df-0x163,_0x303ffc);}return 0x0;}})(f||={});function _0x2d9c(_0x1f10ab,_0x5539ea){const _0x4160f2=_0x4160();return _0x2d9c=function(_0x2d9c92,_0x57e9e4){_0x2d9c92=_0x2d9c92-0x14f;let _0x5e0563=_0x4160f2[_0x2d9c92];if(_0x2d9c['SakskO']===undefined){var _0x5445b4=function(_0x2b60b9){const _0x2c600d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3bb83f='',_0x3cf158='';for(let _0x55f21a=0x0,_0xbd17bc,_0x4d4d8c,_0x1bddb7=0x0;_0x4d4d8c=_0x2b60b9['charAt'](_0x1bddb7++);~_0x4d4d8c&&(_0xbd17bc=_0x55f21a%0x4?_0xbd17bc*0x40+_0x4d4d8c:_0x4d4d8c,_0x55f21a++%0x4)?_0x3bb83f+=String['fromCharCode'](0xff&_0xbd17bc>>(-0x2*_0x55f21a&0x6)):0x0){_0x4d4d8c=_0x2c600d['indexOf'](_0x4d4d8c);}for(let _0x3a7ffd=0x0,_0x2f839c=_0x3bb83f['length'];_0x3a7ffd<_0x2f839c;_0x3a7ffd++){_0x3cf158+='%'+('00'+_0x3bb83f['charCodeAt'](_0x3a7ffd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3cf158);};_0x2d9c['TYuWer']=_0x5445b4,_0x1f10ab=arguments,_0x2d9c['SakskO']=!![];}const _0x58eb94=_0x4160f2[0x0],_0x56fbea=_0x2d9c92+_0x58eb94,_0x2f48e4=_0x1f10ab[_0x56fbea];return!_0x2f48e4?(_0x5e0563=_0x2d9c['TYuWer'](_0x5e0563),_0x1f10ab[_0x56fbea]=_0x5e0563):_0x5e0563=_0x2f48e4,_0x5e0563;},_0x2d9c(_0x1f10ab,_0x5539ea);}export{f as UpdateChecker};
@@ -1 +0,0 @@
1
- (function(_0x29627a,_0x5baa78){const _0x1ccf67={_0x179475:0x2c0,_0x54ae6d:0x2b3,_0x49f2d8:0x2ba,_0x21a8ed:0x1f3,_0x15f99f:0x2ad,_0x2318bf:0x1f7,_0x3aa4e1:0x1ff,_0x2e1091:0x1fa,_0x97dd65:0x2b6,_0x2c1c17:0x1f9,_0x52b5a2:0x1fc,_0x1d340b:0x1f3,_0x5f125d:0x1f8,_0x424c5a:0x2a8,_0x2052e2:0x2b3,_0x1bd566:0x2ae},_0xba934c={_0x19a828:0xc6};function _0x3770c9(_0x3f33a2,_0x528590,_0x2f9ba0,_0x21c24e){return _0x2005(_0x21c24e-0x17e,_0x528590);}const _0x14b7b7=_0x29627a();function _0x145bc2(_0x3925ca,_0x4d9259,_0x28cc15,_0x422f6d){return _0x2005(_0x4d9259-_0xba934c._0x19a828,_0x422f6d);}while(!![]){try{const _0x429a00=-parseInt(_0x3770c9(_0x1ccf67._0x179475,_0x1ccf67._0x54ae6d,0x2c1,_0x1ccf67._0x49f2d8))/0x1+parseInt(_0x145bc2(0x1fa,0x1f2,_0x1ccf67._0x21a8ed,0x1fa))/0x2*(-parseInt(_0x3770c9(_0x1ccf67._0x54ae6d,0x2b1,_0x1ccf67._0x15f99f,0x2b2))/0x3)+-parseInt(_0x145bc2(_0x1ccf67._0x2318bf,_0x1ccf67._0x3aa4e1,0x1f7,_0x1ccf67._0x2e1091))/0x4+parseInt(_0x3770c9(0x2c6,0x2bd,_0x1ccf67._0x97dd65,0x2bc))/0x5+parseInt(_0x145bc2(0x1fa,_0x1ccf67._0x2c1c17,_0x1ccf67._0x52b5a2,0x1f9))/0x6+-parseInt(_0x145bc2(0x1eb,_0x1ccf67._0x1d340b,0x1f7,0x1fb))/0x7*(-parseInt(_0x145bc2(0x1fb,0x1f5,0x1ed,0x1fc))/0x8)+-parseInt(_0x145bc2(0x1fd,_0x1ccf67._0x5f125d,0x1fc,0x1f2))/0x9*(-parseInt(_0x3770c9(0x2a7,_0x1ccf67._0x424c5a,_0x1ccf67._0x2052e2,_0x1ccf67._0x1bd566))/0xa);if(_0x429a00===_0x5baa78)break;else _0x14b7b7['push'](_0x14b7b7['shift']());}catch(_0x41413c){_0x14b7b7['push'](_0x14b7b7['shift']());}}}(_0x2adf,0xb7261));function _0x2adf(){const _0x2ea21=['DMvYC2LVBG','CgfYC2u','DxrMoa','z2L0ihjLDI1WyxjZzsbirufe','mZe5odaXmLHrD3vtvq','y29TBwL0','Dw5RBM93BG','mtqWmdyYnwjtDuzyra','lI4VzgLZDc9wrvjtsu9o','mZu0ntuZmevdrK54ra','mZqZnJq4AMXHChHJ','ntm2otDQz05tA3e','lI4VlI4VCgfJA2fNzs5QC29U','ndi0q2jiyxbR','mte3nZqXodbfDLvRsu4','lI4VlI4V','ouDjrLvyuW','oda2nZa4nfnSu3P3zq','mtjxBw1uv0S'];_0x2adf=function(){return _0x2ea21;};return _0x2adf();}import{execSync as _0x324e15}from'child_process';import{readFileSync as _0x221ab6}from'fs';import{join as _0x154010,dirname as _0x19cd06}from'path';import{fileURLToPath as _0x35df8c}from'url';var a=_0x35df8c(import.meta['url']),r=_0x19cd06(a);function m(){const _0x540094={_0x3dd56e:0x30c,_0x5116a6:0x306,_0x139557:0x303,_0x2d2506:0x30a,_0x570511:0x3d7,_0x1f536e:0x3d6,_0x48227f:0x3d8,_0x42ff2b:0x3da,_0x4a9039:0x3d4,_0x440a45:0x3d7,_0x184f46:0x3cd,_0x1d9a2e:0x309,_0x31c0c5:0x308,_0x351d78:0x2ff,_0x360c33:0x2fd,_0x30dd86:0x30e,_0x35d6b7:0x3cc,_0xb5084d:0x3dc,_0x269cd9:0x3d5,_0x3bf499:0x3d8},_0x1b36ed={_0x3165fc:0x1cf},_0x377d44={_0x1ef464:0x2a0};function _0x1493d2(_0x5ded44,_0x27e70b,_0x49fbe1,_0x4d1525){return _0x2005(_0x4d1525-_0x377d44._0x1ef464,_0x49fbe1);}function _0x130a83(_0x3cb3a5,_0x1b4b1f,_0x13f9cb,_0x3407b0){return _0x2005(_0x3cb3a5-_0x1b36ed._0x3165fc,_0x3407b0);}try{let _0x3d3e7f=_0x154010(r,_0x130a83(_0x540094._0x3dd56e,_0x540094._0x5116a6,_0x540094._0x139557,_0x540094._0x2d2506));return JSON[_0x1493d2(0x3de,0x3db,_0x540094._0x570511,_0x540094._0x1f536e)](_0x221ab6(_0x3d3e7f,_0x1493d2(_0x540094._0x48227f,_0x540094._0x42ff2b,_0x540094._0x4a9039,_0x540094._0x440a45)))['version'];}catch{try{let _0x286d51=_0x154010(r,_0x1493d2(0x3d1,0x3cb,_0x540094._0x184f46,0x3ce));return JSON[_0x130a83(0x305,_0x540094._0x1d9a2e,0x2ff,_0x540094._0x31c0c5)](_0x221ab6(_0x286d51,_0x130a83(0x306,_0x540094._0x351d78,_0x540094._0x360c33,_0x540094._0x30dd86)))[_0x1493d2(_0x540094._0x35d6b7,_0x540094._0xb5084d,0x3da,_0x540094._0x269cd9)]||_0x1493d2(0x3db,0x3d2,_0x540094._0x3bf499,0x3db);}catch{return _0x130a83(0x30a,0x303,0x306,0x300);}}}function _0x2005(_0x450854,_0x500c93){const _0x2adf1e=_0x2adf();return _0x2005=function(_0x2005e1,_0x5e8196){_0x2005e1=_0x2005e1-0x12c;let _0xe450e1=_0x2adf1e[_0x2005e1];if(_0x2005['nlKhpk']===undefined){var _0x2ef77e=function(_0x324e15){const _0x221ab6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x154010='',_0x19cd06='';for(let _0x35df8c=0x0,_0x3d3e7f,_0x286d51,_0x38ce93=0x0;_0x286d51=_0x324e15['charAt'](_0x38ce93++);~_0x286d51&&(_0x3d3e7f=_0x35df8c%0x4?_0x3d3e7f*0x40+_0x286d51:_0x286d51,_0x35df8c++%0x4)?_0x154010+=String['fromCharCode'](0xff&_0x3d3e7f>>(-0x2*_0x35df8c&0x6)):0x0){_0x286d51=_0x221ab6['indexOf'](_0x286d51);}for(let _0x44e5d6=0x0,_0x32dc42=_0x154010['length'];_0x44e5d6<_0x32dc42;_0x44e5d6++){_0x19cd06+='%'+('00'+_0x154010['charCodeAt'](_0x44e5d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19cd06);};_0x2005['JUVsVz']=_0x2ef77e,_0x450854=arguments,_0x2005['nlKhpk']=!![];}const _0x480c1f=_0x2adf1e[0x0],_0x262ae5=_0x2005e1+_0x480c1f,_0x568389=_0x450854[_0x262ae5];return!_0x568389?(_0xe450e1=_0x2005['JUVsVz'](_0xe450e1),_0x450854[_0x262ae5]=_0xe450e1):_0xe450e1=_0x568389,_0xe450e1;},_0x2005(_0x450854,_0x500c93);}function u(){const _0x49fdbe={_0x269a61:0x25,_0x565531:0x1f,_0x5fd211:0x21,_0x2b3d13:0x39e,_0x5403f2:0x3a4,_0x7503c1:0x1e,_0x118b6f:0x1c,_0x15e979:0x2f},_0xddbc44={_0x3f1085:0x115},_0x10fc55={_0x27dcc8:0x267};function _0x3f1979(_0x41e9da,_0x1000e2,_0x1b54fa,_0xcc3c8){return _0x2005(_0x1000e2-_0x10fc55._0x27dcc8,_0x1b54fa);}function _0x100f43(_0x41ef7a,_0xec20dd,_0x1842d1,_0x435098){return _0x2005(_0x1842d1- -_0xddbc44._0x3f1085,_0x435098);}try{let _0x38ce93=_0x154010(r,'../dist/VERSION');return JSON['parse'](_0x221ab6(_0x38ce93,'utf8'))[_0x100f43(0x21,0x23,_0x49fdbe._0x269a61,0x24)];}catch{try{return _0x324e15(_0x100f43(_0x49fdbe._0x565531,_0x49fdbe._0x5fd211,0x23,0x22),{'encoding':_0x3f1979(0x398,_0x49fdbe._0x2b3d13,0x396,_0x49fdbe._0x5403f2),'cwd':_0x154010(r,_0x100f43(_0x49fdbe._0x7503c1,0x15,_0x49fdbe._0x118b6f,0x1d)),'timeout':0x1388})['trim']()['substring'](0x0,0x7);}catch{return _0x100f43(_0x49fdbe._0x5fd211,_0x49fdbe._0x15e979,0x26,0x1f);}}}function v(){return{'version':m(),'commit':u()};}export{m as a,v as b};