wenox-cli 1.1.2 â 1.3.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/README.md +34 -0
- package/bin/wenox.js +25 -7
- package/package.json +1 -1
- package/requirements-wenox.txt +16 -11
package/README.md
CHANGED
|
@@ -13,6 +13,18 @@ npm install -g wenox-cli
|
|
|
13
13
|
1. **Get your API key** from [WENOX Dashboard](https://wenox.ai/dashboard)
|
|
14
14
|
|
|
15
15
|
2. **Set your API key:**
|
|
16
|
+
|
|
17
|
+
**For CMD (Windows Command Prompt):**
|
|
18
|
+
```cmd
|
|
19
|
+
set WENOX_API_KEY=your_api_key_here
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**For PowerShell:**
|
|
23
|
+
```powershell
|
|
24
|
+
$env:WENOX_API_KEY="your_api_key_here"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**For Linux/Mac:**
|
|
16
28
|
```bash
|
|
17
29
|
export WENOX_API_KEY="your_api_key_here"
|
|
18
30
|
```
|
|
@@ -22,6 +34,28 @@ npm install -g wenox-cli
|
|
|
22
34
|
wenox
|
|
23
35
|
```
|
|
24
36
|
|
|
37
|
+
## Troubleshooting
|
|
38
|
+
|
|
39
|
+
### Command Not Found
|
|
40
|
+
If you get `'wenox' is not recognized` error:
|
|
41
|
+
|
|
42
|
+
1. **Try using npx:**
|
|
43
|
+
```bash
|
|
44
|
+
npx wenox
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
2. **Restart your terminal** after installation
|
|
48
|
+
|
|
49
|
+
3. **Check NPM global path:**
|
|
50
|
+
```bash
|
|
51
|
+
npm config get prefix
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
4. **Install globally with admin rights:**
|
|
55
|
+
```bash
|
|
56
|
+
npm install -g wenox-cli
|
|
57
|
+
```
|
|
58
|
+
|
|
25
59
|
## Features
|
|
26
60
|
|
|
27
61
|
- đ¤ **Latest AI Models** - Claude, GPT-4, and more
|
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() {
|
|
@@ -318,8 +325,19 @@ ${chalk.bold('Examples:')}
|
|
|
318
325
|
|
|
319
326
|
${chalk.bold('Setup:')}
|
|
320
327
|
1. Get API key: ${chalk.blue('https://wenox.ai/dashboard')}
|
|
321
|
-
2. Set environment
|
|
328
|
+
2. Set environment variable:
|
|
329
|
+
${chalk.yellow('CMD:')} set WENOX_API_KEY=your_key
|
|
330
|
+
${chalk.yellow('PowerShell:')} $env:WENOX_API_KEY="your_key"
|
|
322
331
|
3. Run: ${chalk.cyan('wenox')}
|
|
332
|
+
|
|
333
|
+
${chalk.bold('Troubleshooting:')}
|
|
334
|
+
âĸ If 'wenox' command not found, try: ${chalk.cyan('npx wenox')}
|
|
335
|
+
âĸ Or restart your terminal after installation
|
|
336
|
+
âĸ Check PATH: ${chalk.cyan('npm config get prefix')}
|
|
337
|
+
|
|
338
|
+
${chalk.bold('System Requirements:')}
|
|
339
|
+
âĸ Python 3.10+ (all versions supported)
|
|
340
|
+
âĸ Node.js 16+ for NPM installation
|
|
323
341
|
`);
|
|
324
342
|
return;
|
|
325
343
|
}
|
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
|