wenox-cli 1.1.2 â 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 +17 -6
- package/package.json +1 -1
- package/requirements-wenox.txt +16 -11
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
|
|
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.
|
|
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
|
|
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
|
|
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,7 +156,7 @@ 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
|
|
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...'));
|
|
@@ -176,7 +178,7 @@ async function installAider() {
|
|
|
176
178
|
if (fallbackCode === 0) {
|
|
177
179
|
console.log(chalk.green('â
WENOX core packages installed successfully!'));
|
|
178
180
|
console.log(chalk.cyan('đ¯ Ready to use WENOX CLI'));
|
|
179
|
-
console.log(chalk.yellow('âšī¸ Note:
|
|
181
|
+
console.log(chalk.yellow('âšī¸ Note: Replicate and Cohere providers excluded for Python 3.14 compatibility'));
|
|
180
182
|
resolve();
|
|
181
183
|
} else {
|
|
182
184
|
console.log(chalk.red('â Installation failed. Trying minimal installation...'));
|
|
@@ -250,6 +252,11 @@ function setupWenoxDefaults() {
|
|
|
250
252
|
// Set WENOX API base URL
|
|
251
253
|
process.env.OPENAI_API_BASE = process.env.OPENAI_API_BASE || 'https://api.wenox.ai/v1';
|
|
252
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
|
+
}
|
|
253
260
|
}
|
|
254
261
|
|
|
255
262
|
async function runAider() {
|
|
@@ -320,6 +327,10 @@ ${chalk.bold('Setup:')}
|
|
|
320
327
|
1. Get API key: ${chalk.blue('https://wenox.ai/dashboard')}
|
|
321
328
|
2. Set environment: ${chalk.yellow('$env:WENOX_API_KEY="your_key"')}
|
|
322
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)
|
|
323
334
|
`);
|
|
324
335
|
return;
|
|
325
336
|
}
|
package/package.json
CHANGED
package/requirements-wenox.txt
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
# WENOX Enterprise Environment - Python 3.14
|
|
1
|
+
# WENOX Enterprise Environment - Working Configuration for Python 3.14
|
|
2
2
|
# Core WENOX dependencies
|
|
3
3
|
aider-chat==0.16.0
|
|
4
|
-
openai==
|
|
4
|
+
openai==2.16.0
|
|
5
5
|
anthropic==0.76.0
|
|
6
|
+
litellm==1.81.5
|
|
6
7
|
|
|
7
|
-
#
|
|
8
|
-
litellm==1.81.3
|
|
9
|
-
|
|
10
|
-
# Essential dependencies with Python 3.14 compatibility
|
|
8
|
+
# Essential dependencies - compatible versions
|
|
11
9
|
aiohttp==3.13.3
|
|
12
10
|
aiosignal==1.4.0
|
|
13
11
|
attrs==25.4.0
|
|
14
|
-
certifi==
|
|
12
|
+
certifi==2023.11.17
|
|
15
13
|
charset-normalizer==3.4.4
|
|
16
14
|
diskcache==5.6.3
|
|
17
15
|
frozenlist==1.8.0
|
|
@@ -49,13 +47,20 @@ tree-sitter-language-pack==0.13.0
|
|
|
49
47
|
pydantic==2.12.5
|
|
50
48
|
pydantic_core==2.41.5
|
|
51
49
|
typing_extensions==4.15.0
|
|
52
|
-
packaging==
|
|
50
|
+
packaging==26.0
|
|
53
51
|
anyio==4.12.1
|
|
54
52
|
sniffio==1.3.1
|
|
55
53
|
httpcore==1.0.9
|
|
56
54
|
httpx==0.28.1
|
|
57
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
|
|
58
65
|
|
|
59
|
-
#
|
|
60
|
-
# replicate - causes Pydantic v1 compatibility issues with Python 3.14
|
|
61
|
-
# cohere - may have similar issues
|
|
66
|
+
# Note: replicate and cohere excluded due to Pydantic v1 compatibility issues
|