wenox-cli 2.0.0 → 2.2.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/bin/wenox.js +33 -56
- package/package.json +1 -1
- package/requirements-wenox.txt +28 -76
package/bin/wenox.js
CHANGED
|
@@ -152,8 +152,8 @@ async function installWenoxPackages() {
|
|
|
152
152
|
const upgradeChild = spawn(WENOX_PIP, [
|
|
153
153
|
'install',
|
|
154
154
|
'--upgrade',
|
|
155
|
-
'pip',
|
|
156
|
-
'setuptools',
|
|
155
|
+
'pip>=25.0',
|
|
156
|
+
'setuptools>=70.0',
|
|
157
157
|
'wheel'
|
|
158
158
|
], {
|
|
159
159
|
stdio: 'inherit',
|
|
@@ -165,84 +165,61 @@ async function installWenoxPackages() {
|
|
|
165
165
|
console.log(chalk.yellow('⚠️ Pip upgrade failed, continuing anyway...'));
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
// Install
|
|
169
|
-
console.log(chalk.cyan('📋 Installing WENOX packages
|
|
168
|
+
// Install core packages first without dependencies
|
|
169
|
+
console.log(chalk.cyan('📋 Installing core WENOX packages...'));
|
|
170
170
|
|
|
171
|
-
const
|
|
172
|
-
|
|
173
|
-
const child = spawn(WENOX_PIP, [
|
|
171
|
+
const coreChild = spawn(WENOX_PIP, [
|
|
174
172
|
'install',
|
|
175
|
-
'-
|
|
176
|
-
|
|
177
|
-
'
|
|
173
|
+
'aider-chat==0.16.0',
|
|
174
|
+
'openai==0.27.6',
|
|
175
|
+
'anthropic==0.76.0',
|
|
176
|
+
'--no-deps'
|
|
178
177
|
], {
|
|
179
178
|
stdio: 'inherit',
|
|
180
179
|
shell: true
|
|
181
180
|
});
|
|
182
181
|
|
|
183
|
-
|
|
182
|
+
coreChild.on('close', (code) => {
|
|
184
183
|
if (code === 0) {
|
|
185
|
-
console.log(chalk.green('✅
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
console.log(chalk.yellow('⚠️ Some packages failed, trying core installation...'));
|
|
184
|
+
console.log(chalk.green('✅ Core packages installed!'));
|
|
185
|
+
|
|
186
|
+
// Now install dependencies from requirements
|
|
187
|
+
console.log(chalk.cyan('📋 Installing additional dependencies...'));
|
|
190
188
|
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
const requirementsPath = path.join(__dirname, '..', 'requirements-wenox.txt');
|
|
190
|
+
|
|
191
|
+
const depsChild = spawn(WENOX_PIP, [
|
|
193
192
|
'install',
|
|
194
|
-
'
|
|
195
|
-
|
|
196
|
-
'anthropic==0.76.0',
|
|
197
|
-
'litellm==0.14.1',
|
|
198
|
-
'--force-reinstall'
|
|
193
|
+
'-r',
|
|
194
|
+
requirementsPath
|
|
199
195
|
], {
|
|
200
196
|
stdio: 'inherit',
|
|
201
197
|
shell: true
|
|
202
198
|
});
|
|
203
199
|
|
|
204
|
-
|
|
205
|
-
if (
|
|
206
|
-
console.log(chalk.green('✅ WENOX
|
|
207
|
-
console.log(chalk.cyan('🎯
|
|
208
|
-
console.log(chalk.yellow('ℹ️ Note: Using minimal installation due to package compatibility'));
|
|
200
|
+
depsChild.on('close', (depsCode) => {
|
|
201
|
+
if (depsCode === 0) {
|
|
202
|
+
console.log(chalk.green('✅ WENOX packages installed successfully!'));
|
|
203
|
+
console.log(chalk.cyan('🎯 All packages are isolated and working perfectly'));
|
|
209
204
|
resolve();
|
|
210
205
|
} else {
|
|
211
|
-
console.log(chalk.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
const minimalChild = spawn(WENOX_PIP, [
|
|
215
|
-
'install',
|
|
216
|
-
'aider-chat==0.16.0',
|
|
217
|
-
'--upgrade'
|
|
218
|
-
], {
|
|
219
|
-
stdio: 'inherit',
|
|
220
|
-
shell: true
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
minimalChild.on('close', (minimalCode) => {
|
|
224
|
-
if (minimalCode === 0) {
|
|
225
|
-
console.log(chalk.green('✅ WENOX minimal installation completed!'));
|
|
226
|
-
console.log(chalk.yellow('⚠️ Some features may be limited'));
|
|
227
|
-
resolve();
|
|
228
|
-
} else {
|
|
229
|
-
reject(new Error('Failed to install WENOX dependencies. Please check your Python installation.'));
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
|
|
233
|
-
minimalChild.on('error', (err) => {
|
|
234
|
-
reject(err);
|
|
235
|
-
});
|
|
206
|
+
console.log(chalk.yellow('⚠️ Some dependencies failed, but core packages are ready'));
|
|
207
|
+
console.log(chalk.green('✅ WENOX should work with basic functionality'));
|
|
208
|
+
resolve();
|
|
236
209
|
}
|
|
237
210
|
});
|
|
238
211
|
|
|
239
|
-
|
|
240
|
-
|
|
212
|
+
depsChild.on('error', (err) => {
|
|
213
|
+
console.log(chalk.yellow('⚠️ Dependencies installation failed, but core is ready'));
|
|
214
|
+
resolve();
|
|
241
215
|
});
|
|
216
|
+
} else {
|
|
217
|
+
console.log(chalk.red('❌ Core package installation failed'));
|
|
218
|
+
reject(new Error('Failed to install core WENOX packages'));
|
|
242
219
|
}
|
|
243
220
|
});
|
|
244
221
|
|
|
245
|
-
|
|
222
|
+
coreChild.on('error', (err) => {
|
|
246
223
|
reject(err);
|
|
247
224
|
});
|
|
248
225
|
});
|
package/package.json
CHANGED
package/requirements-wenox.txt
CHANGED
|
@@ -1,81 +1,33 @@
|
|
|
1
|
-
# WENOX Enterprise Environment - Working Configuration
|
|
2
|
-
# Core WENOX dependencies
|
|
1
|
+
# WENOX Enterprise Environment - Minimal Working Configuration
|
|
2
|
+
# Core WENOX dependencies only - no version conflicts
|
|
3
3
|
aider-chat==0.16.0
|
|
4
4
|
openai==0.27.6
|
|
5
5
|
anthropic==0.76.0
|
|
6
|
-
litellm==0.14.1
|
|
7
6
|
|
|
8
|
-
# Essential dependencies -
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
networkx
|
|
24
|
-
numpy
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
sounddevice==0.5.5
|
|
33
|
-
soundfile==0.13.1
|
|
34
|
-
tiktoken==0.12.0
|
|
35
|
-
tqdm==4.67.1
|
|
36
|
-
urllib3==2.6.3
|
|
37
|
-
wcwidth==0.5.0
|
|
38
|
-
yarl==1.22.0
|
|
39
|
-
backoff==2.2.1
|
|
40
|
-
ConfigArgParse==1.7.1
|
|
41
|
-
mdurl==0.1.2
|
|
42
|
-
PyYAML==6.0.3
|
|
43
|
-
tree-sitter==0.25.2
|
|
44
|
-
tree-sitter-language-pack==0.13.0
|
|
7
|
+
# Essential dependencies - let pip resolve versions automatically
|
|
8
|
+
requests
|
|
9
|
+
tqdm
|
|
10
|
+
colorama
|
|
11
|
+
click
|
|
12
|
+
pydantic
|
|
13
|
+
tiktoken
|
|
14
|
+
PyYAML
|
|
15
|
+
tree-sitter
|
|
16
|
+
diskcache
|
|
17
|
+
GitPython
|
|
18
|
+
rich
|
|
19
|
+
prompt-toolkit
|
|
20
|
+
Pygments
|
|
21
|
+
pathspec
|
|
22
|
+
networkx
|
|
23
|
+
numpy
|
|
24
|
+
scipy
|
|
25
|
+
sounddevice
|
|
26
|
+
soundfile
|
|
27
|
+
grep-ast
|
|
28
|
+
backoff
|
|
29
|
+
ConfigArgParse
|
|
30
|
+
markdown-it-py
|
|
45
31
|
|
|
46
|
-
#
|
|
47
|
-
|
|
48
|
-
pydantic_core==2.41.5
|
|
49
|
-
typing_extensions==4.15.0
|
|
50
|
-
packaging==26.0
|
|
51
|
-
anyio==4.12.1
|
|
52
|
-
sniffio==1.3.1
|
|
53
|
-
httpcore==1.0.9
|
|
54
|
-
httpx==0.28.1
|
|
55
|
-
distro==1.9.0
|
|
56
|
-
fastuuid==0.14.0
|
|
57
|
-
jinja2==3.1.6
|
|
58
|
-
MarkupSafe==3.0.3
|
|
59
|
-
importlib-metadata==8.7.1
|
|
60
|
-
zipp==3.23.0
|
|
61
|
-
appdirs==1.4.4
|
|
62
|
-
click==8.3.1
|
|
63
|
-
colorama==0.4.6
|
|
64
|
-
python-dotenv==1.2.1
|
|
65
|
-
regex==2026.1.15
|
|
66
|
-
h11==0.16.0
|
|
67
|
-
jiter==0.12.0
|
|
68
|
-
annotated-types==0.7.0
|
|
69
|
-
typing-inspection==0.4.2
|
|
70
|
-
huggingface-hub==1.3.5
|
|
71
|
-
tokenizers==0.22.2
|
|
72
|
-
filelock==3.20.3
|
|
73
|
-
fsspec==2026.1.0
|
|
74
|
-
hf-xet==1.2.0
|
|
75
|
-
shellingham==1.5.4
|
|
76
|
-
typer-slim==0.21.1
|
|
77
|
-
propcache==0.4.1
|
|
78
|
-
aiohappyeyeballs==2.6.1
|
|
79
|
-
|
|
80
|
-
# Note: This configuration works with Python 3.14
|
|
81
|
-
# Some packages may show dependency warnings but WENOX will function correctly
|
|
32
|
+
# Note: Minimal package list to avoid dependency conflicts
|
|
33
|
+
# Additional packages will be installed as dependencies automatically
|