@taj-special/dravix-code 1.1.3 → 1.1.5

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/dist/cli/index.js CHANGED
@@ -184,24 +184,6 @@ async function browserAuth() {
184
184
  }, 300_000);
185
185
  });
186
186
  }
187
- async function checkVersion() {
188
- try {
189
- const res = await fetch('https://registry.npmjs.org/@taj-special/dravix-code/latest', {
190
- signal: AbortSignal.timeout(5000),
191
- });
192
- const data = await res.json();
193
- const latest = data.version ?? '';
194
- const current = VERSION;
195
- if (latest && latest !== current) {
196
- const DIM = chalk.hex('#4b5563');
197
- const W = chalk.hex('#e2e8f0');
198
- const Y = chalk.hex('#fcd34d');
199
- console.log('\n ' + Y('⚠') + ' ' + W.bold('New version available: ' + latest));
200
- console.log(' ' + DIM(' Run: npm install -g @taj-special/dravix-code') + '\n');
201
- }
202
- }
203
- catch { /* ignore network errors */ }
204
- }
205
187
  async function main() {
206
188
  // Ensure UTF-8 output on Windows
207
189
  if (process.platform === 'win32') {
@@ -211,8 +193,6 @@ async function main() {
211
193
  catch { }
212
194
  }
213
195
  const arg = process.argv[2];
214
- // Check for updates in background
215
- checkVersion().catch(() => { });
216
196
  if (arg === '--help' || arg === '-h') {
217
197
  banner();
218
198
  printHelp();
@@ -60,7 +60,7 @@ async function doSingleRequest(messages, token, abort, onChunk) {
60
60
  headers: {
61
61
  'Content-Type': 'application/json',
62
62
  'X-CLI-Token': token,
63
- 'X-CLI-Version': '1.1.3',
63
+ 'X-CLI-Version': '1.1.5',
64
64
  },
65
65
  body: JSON.stringify({
66
66
  provider: 'openrouter',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taj-special/dravix-code",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "AI-powered coding assistant CLI — Dravix Code",
5
5
  "type": "module",
6
6
  "bin": {