@xelauvas/xela-cli 0.3.0 → 0.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/bin/xela.js +12 -0
- package/package.json +13 -3
package/bin/xela.js
CHANGED
|
@@ -183,6 +183,18 @@ try {
|
|
|
183
183
|
}
|
|
184
184
|
} catch {}
|
|
185
185
|
|
|
186
|
+
// Ensure esbuild is available (may be missing in global installs)
|
|
187
|
+
try {
|
|
188
|
+
await import('esbuild');
|
|
189
|
+
} catch {
|
|
190
|
+
try {
|
|
191
|
+
execSync('npm install esbuild --no-save --no-audit --no-fund', {
|
|
192
|
+
cwd: INSTALL_DIR,
|
|
193
|
+
stdio: 'pipe',
|
|
194
|
+
});
|
|
195
|
+
} catch {}
|
|
196
|
+
}
|
|
197
|
+
|
|
186
198
|
// Launch node with the TSX loader shim
|
|
187
199
|
try {
|
|
188
200
|
execFileSync(process.execPath, [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xelauvas/xela-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Xela — AI coding assistant powered by any model (OpenRouter, Groq, Ollama, DeepSeek, OpenAI)",
|
|
5
5
|
"author": "xelauvas",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,17 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/xelauvas/codeclau.git"
|
|
11
11
|
},
|
|
12
|
-
"keywords": [
|
|
12
|
+
"keywords": [
|
|
13
|
+
"ai",
|
|
14
|
+
"coding",
|
|
15
|
+
"assistant",
|
|
16
|
+
"cli",
|
|
17
|
+
"openrouter",
|
|
18
|
+
"groq",
|
|
19
|
+
"ollama",
|
|
20
|
+
"deepseek",
|
|
21
|
+
"xela"
|
|
22
|
+
],
|
|
13
23
|
"bin": {
|
|
14
24
|
"xela": "./bin/xela.js"
|
|
15
25
|
},
|
|
@@ -50,7 +60,7 @@
|
|
|
50
60
|
"diff": "^7.0.0",
|
|
51
61
|
"emoji-regex": "^10.4.0",
|
|
52
62
|
"env-paths": "^3.0.0",
|
|
53
|
-
"esbuild": "^0.27.
|
|
63
|
+
"esbuild": "^0.27.7",
|
|
54
64
|
"execa": "^9.5.2",
|
|
55
65
|
"figures": "^6.1.0",
|
|
56
66
|
"fuse.js": "^7.1.0",
|