wenox-cli 1.1.0 → 1.1.2
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 +4 -5
- package/package.json +1 -1
- package/requirements-wenox.txt +8 -2
package/bin/wenox.js
CHANGED
|
@@ -159,16 +159,14 @@ async function installAider() {
|
|
|
159
159
|
} else {
|
|
160
160
|
console.log(chalk.yellow('⚠️ Some packages failed, trying core installation...'));
|
|
161
161
|
|
|
162
|
-
// Fallback: install core packages only
|
|
162
|
+
// Fallback: install core packages only (avoid problematic dependencies)
|
|
163
163
|
const fallbackChild = spawn(pip, [
|
|
164
164
|
'install',
|
|
165
165
|
'aider-chat==0.16.0',
|
|
166
166
|
'openai==1.109.1',
|
|
167
167
|
'anthropic==0.76.0',
|
|
168
|
-
'litellm==1.81.3',
|
|
169
168
|
'pydantic>=2.0.0',
|
|
170
|
-
'--upgrade'
|
|
171
|
-
'--force-reinstall'
|
|
169
|
+
'--upgrade'
|
|
172
170
|
], {
|
|
173
171
|
stdio: 'inherit',
|
|
174
172
|
shell: true
|
|
@@ -178,6 +176,7 @@ async function installAider() {
|
|
|
178
176
|
if (fallbackCode === 0) {
|
|
179
177
|
console.log(chalk.green('✅ WENOX core packages installed successfully!'));
|
|
180
178
|
console.log(chalk.cyan('🎯 Ready to use WENOX CLI'));
|
|
179
|
+
console.log(chalk.yellow('ℹ️ Note: Some AI providers (Replicate, Cohere) excluded due to Python 3.14 compatibility'));
|
|
181
180
|
resolve();
|
|
182
181
|
} else {
|
|
183
182
|
console.log(chalk.red('❌ Installation failed. Trying minimal installation...'));
|
|
@@ -301,7 +300,7 @@ async function main() {
|
|
|
301
300
|
// Handle help flag
|
|
302
301
|
if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
303
302
|
console.log(`
|
|
304
|
-
${chalk.
|
|
303
|
+
${chalk.bold(chalk.cyan('WENOX CLI'))} - Claude API Enterprise Platform
|
|
305
304
|
|
|
306
305
|
${chalk.bold('Usage:')}
|
|
307
306
|
wenox [options] [files...]
|
package/package.json
CHANGED
package/requirements-wenox.txt
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
aider-chat==0.16.0
|
|
4
4
|
openai==1.109.1
|
|
5
5
|
anthropic==0.76.0
|
|
6
|
+
|
|
7
|
+
# LiteLLM without replicate dependency to avoid Pydantic v1 issues
|
|
6
8
|
litellm==1.81.3
|
|
7
9
|
|
|
8
10
|
# Essential dependencies with Python 3.14 compatibility
|
|
@@ -43,7 +45,7 @@ PyYAML==6.0.3
|
|
|
43
45
|
tree-sitter==0.25.2
|
|
44
46
|
tree-sitter-language-pack==0.13.0
|
|
45
47
|
|
|
46
|
-
#
|
|
48
|
+
# Python 3.14 compatible versions
|
|
47
49
|
pydantic==2.12.5
|
|
48
50
|
pydantic_core==2.41.5
|
|
49
51
|
typing_extensions==4.15.0
|
|
@@ -52,4 +54,8 @@ anyio==4.12.1
|
|
|
52
54
|
sniffio==1.3.1
|
|
53
55
|
httpcore==1.0.9
|
|
54
56
|
httpx==0.28.1
|
|
55
|
-
distro==1.9.0
|
|
57
|
+
distro==1.9.0
|
|
58
|
+
|
|
59
|
+
# Exclude problematic packages that use Pydantic v1
|
|
60
|
+
# replicate - causes Pydantic v1 compatibility issues with Python 3.14
|
|
61
|
+
# cohere - may have similar issues
|