wenox-cli 2.1.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 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 exact working packages from requirements
169
- console.log(chalk.cyan('📋 Installing WENOX packages (exact working versions)...'));
168
+ // Install core packages first without dependencies
169
+ console.log(chalk.cyan('📋 Installing core WENOX packages...'));
170
170
 
171
- const requirementsPath = path.join(__dirname, '..', 'requirements-wenox.txt');
172
-
173
- const child = spawn(WENOX_PIP, [
171
+ const coreChild = spawn(WENOX_PIP, [
174
172
  'install',
175
- '-r',
176
- requirementsPath,
177
- '--force-reinstall'
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
- child.on('close', (code) => {
182
+ coreChild.on('close', (code) => {
184
183
  if (code === 0) {
185
- console.log(chalk.green('✅ WENOX packages installed successfully!'));
186
- console.log(chalk.cyan('🎯 All packages are isolated and working perfectly'));
187
- resolve();
188
- } else {
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
- // Fallback: install core packages only
192
- const fallbackChild = spawn(WENOX_PIP, [
189
+ const requirementsPath = path.join(__dirname, '..', 'requirements-wenox.txt');
190
+
191
+ const depsChild = spawn(WENOX_PIP, [
193
192
  'install',
194
- 'aider-chat==0.16.0',
195
- 'openai==0.27.6',
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
- fallbackChild.on('close', (fallbackCode) => {
205
- if (fallbackCode === 0) {
206
- console.log(chalk.green('✅ WENOX core packages installed successfully!'));
207
- console.log(chalk.cyan('🎯 Ready to use WENOX CLI'));
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.red(' Installation failed. Trying minimal installation...'));
212
-
213
- // Last resort: just aider-chat
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
- fallbackChild.on('error', (err) => {
240
- reject(err);
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
- child.on('error', (err) => {
222
+ coreChild.on('error', (err) => {
246
223
  reject(err);
247
224
  });
248
225
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenox-cli",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "WENOX AI - Advanced AI-powered development assistant",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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 - exact working versions
9
- aiohttp==3.13.3
10
- aiosignal==1.4.0
11
- attrs==25.4.0
12
- certifi==2026.1.4
13
- charset-normalizer==3.4.4
14
- diskcache==5.6.3
15
- frozenlist==1.8.0
16
- gitdb==4.0.12
17
- GitPython==3.1.46
18
- grep-ast==0.9.0
19
- idna==3.11
20
- jsonschema==4.26.0
21
- markdown-it-py==4.0.0
22
- multidict==6.7.1
23
- networkx==3.6.1
24
- numpy==2.2.6
25
- pathspec==1.0.4
26
- prompt-toolkit==3.0.52
27
- Pygments==2.19.2
28
- requests==2.32.5
29
- rich==13.9.4
30
- scipy==1.17.0
31
- smmap==5.0.2
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
- # Python compatibility packages
47
- pydantic==2.12.5
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