wenox-cli 1.1.1 → 1.3.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
@@ -72,9 +72,11 @@ function checkPython() {
72
72
  console.log(chalk.cyan(`🐍 Python ${major}.${minor} detected`));
73
73
 
74
74
  if (major === 3 && minor >= 14) {
75
- console.log(chalk.green('✅ Python 3.14+ detected - using optimized package versions'));
75
+ console.log(chalk.green('✅ Python 3.14+ detected - using latest compatible packages'));
76
+ } else if (major === 3 && minor === 12) {
77
+ console.log(chalk.green('✅ Python 3.12 detected - excellent compatibility'));
76
78
  } else if (major === 3 && minor >= 10) {
77
- console.log(chalk.yellow('âš ī¸ Python 3.10-3.13 detected - some packages may need updates'));
79
+ console.log(chalk.green('✅ Python 3.10-3.13 detected - good compatibility'));
78
80
  } else {
79
81
  console.log(chalk.red('❌ Python 3.10+ is required for WENOX'));
80
82
  resolve(false);
@@ -110,7 +112,7 @@ function checkAider() {
110
112
 
111
113
  async function installAider() {
112
114
  console.log(chalk.cyan('đŸ“Ļ Installing WENOX Enterprise Environment...'));
113
- console.log(chalk.yellow('🔧 Installing Python 3.14 compatible packages'));
115
+ console.log(chalk.yellow('🔧 Installing packages compatible with Python 3.14'));
114
116
 
115
117
  const python = process.platform === 'win32' ? 'python' : 'python3';
116
118
  const pip = process.platform === 'win32' ? 'pip' : 'pip3';
@@ -135,7 +137,7 @@ async function installAider() {
135
137
  console.log(chalk.yellow('âš ī¸ Pip upgrade failed, continuing anyway...'));
136
138
  }
137
139
 
138
- // Install from our Python 3.14 compatible requirements file
140
+ // Install from our requirements file compatible with Python 3.14
139
141
  console.log(chalk.cyan('📋 Installing WENOX packages (Python 3.14 compatible)...'));
140
142
 
141
143
  const requirementsPath = path.join(__dirname, '..', 'requirements-wenox.txt');
@@ -154,21 +156,19 @@ async function installAider() {
154
156
  child.on('close', (code) => {
155
157
  if (code === 0) {
156
158
  console.log(chalk.green('✅ WENOX Enterprise Environment installed successfully!'));
157
- console.log(chalk.cyan('đŸŽ¯ All packages are Python 3.14 compatible'));
159
+ console.log(chalk.cyan('đŸŽ¯ All packages compatible with Python 3.14'));
158
160
  resolve();
159
161
  } else {
160
162
  console.log(chalk.yellow('âš ī¸ Some packages failed, trying core installation...'));
161
163
 
162
- // Fallback: install core packages only
164
+ // Fallback: install core packages only (avoid problematic dependencies)
163
165
  const fallbackChild = spawn(pip, [
164
166
  'install',
165
167
  'aider-chat==0.16.0',
166
168
  'openai==1.109.1',
167
169
  'anthropic==0.76.0',
168
- 'litellm==1.81.3',
169
170
  'pydantic>=2.0.0',
170
- '--upgrade',
171
- '--force-reinstall'
171
+ '--upgrade'
172
172
  ], {
173
173
  stdio: 'inherit',
174
174
  shell: true
@@ -178,6 +178,7 @@ async function installAider() {
178
178
  if (fallbackCode === 0) {
179
179
  console.log(chalk.green('✅ WENOX core packages installed successfully!'));
180
180
  console.log(chalk.cyan('đŸŽ¯ Ready to use WENOX CLI'));
181
+ console.log(chalk.yellow('â„šī¸ Note: Replicate and Cohere providers excluded for Python 3.14 compatibility'));
181
182
  resolve();
182
183
  } else {
183
184
  console.log(chalk.red('❌ Installation failed. Trying minimal installation...'));
@@ -251,6 +252,11 @@ function setupWenoxDefaults() {
251
252
  // Set WENOX API base URL
252
253
  process.env.OPENAI_API_BASE = process.env.OPENAI_API_BASE || 'https://api.wenox.ai/v1';
253
254
  process.env.OPENAI_BASE_URL = process.env.OPENAI_BASE_URL || 'https://api.wenox.ai/v1';
255
+
256
+ // Set ANTHROPIC_API_KEY for Claude models
257
+ if (process.env.WENOX_API_KEY && !process.env.ANTHROPIC_API_KEY) {
258
+ process.env.ANTHROPIC_API_KEY = process.env.WENOX_API_KEY;
259
+ }
254
260
  }
255
261
 
256
262
  async function runAider() {
@@ -321,6 +327,10 @@ ${chalk.bold('Setup:')}
321
327
  1. Get API key: ${chalk.blue('https://wenox.ai/dashboard')}
322
328
  2. Set environment: ${chalk.yellow('$env:WENOX_API_KEY="your_key"')}
323
329
  3. Run: ${chalk.cyan('wenox')}
330
+
331
+ ${chalk.bold('System Requirements:')}
332
+ â€ĸ Python 3.10+ (all versions supported)
333
+ â€ĸ Python 3.14+ (latest compatibility)
324
334
  `);
325
335
  return;
326
336
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenox-cli",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "description": "WENOX AI - Advanced AI-powered development assistant",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,15 +1,15 @@
1
- # WENOX Enterprise Environment - Python 3.14 Compatible Versions
1
+ # WENOX Enterprise Environment - Working Configuration for Python 3.14
2
2
  # Core WENOX dependencies
3
3
  aider-chat==0.16.0
4
- openai==1.109.1
4
+ openai==2.16.0
5
5
  anthropic==0.76.0
6
- litellm==1.81.3
6
+ litellm==1.81.5
7
7
 
8
- # Essential dependencies with Python 3.14 compatibility
8
+ # Essential dependencies - compatible versions
9
9
  aiohttp==3.13.3
10
10
  aiosignal==1.4.0
11
11
  attrs==25.4.0
12
- certifi==2026.1.4
12
+ certifi==2023.11.17
13
13
  charset-normalizer==3.4.4
14
14
  diskcache==5.6.3
15
15
  frozenlist==1.8.0
@@ -43,13 +43,24 @@ PyYAML==6.0.3
43
43
  tree-sitter==0.25.2
44
44
  tree-sitter-language-pack==0.13.0
45
45
 
46
- # Additional compatibility packages
46
+ # Python 3.14 compatible versions
47
47
  pydantic==2.12.5
48
48
  pydantic_core==2.41.5
49
49
  typing_extensions==4.15.0
50
- packaging==25.0
50
+ packaging==26.0
51
51
  anyio==4.12.1
52
52
  sniffio==1.3.1
53
53
  httpcore==1.0.9
54
54
  httpx==0.28.1
55
- distro==1.9.0
55
+ distro==1.9.0
56
+ fastuuid==0.14.0
57
+ jinja2==3.1.6
58
+ jsonschema-specifications==2025.9.1
59
+ referencing==0.37.0
60
+ rpds-py==0.30.0
61
+ annotated-types==0.7.0
62
+ typing-inspection==0.4.2
63
+ h11==0.16.0
64
+ jiter==0.12.0
65
+
66
+ # Note: replicate and cohere excluded due to Pydantic v1 compatibility issues