express-genix 4.5.0 → 4.5.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.
Files changed (3) hide show
  1. package/README.md +5 -10
  2. package/index.js +5 -12
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -319,14 +319,11 @@ When you select **AI** or **MCP** features, the CLI prompts you to install the *
319
319
  ### Install manually
320
320
 
321
321
  ```bash
322
- # Download from GitHub Releases
323
- curl -sLO https://github.com/LambdaAI001/coda/releases/latest/download/coda-ai-0.1.0.vsix
324
-
325
- # Install
326
- code --install-extension coda-ai-0.1.0.vsix
322
+ # From VS Code Marketplace
323
+ code --install-extension express-genix.coda-ai
327
324
  ```
328
325
 
329
- Or grab it from [github.com/LambdaAI001/coda/releases](https://github.com/LambdaAI001/coda/releases).
326
+ Or search "Coda AI" in the VS Code Extensions panel.
330
327
 
331
328
  ### Configuration
332
329
 
@@ -334,10 +331,8 @@ In VS Code Settings (search "Coda"):
334
331
 
335
332
  | Setting | Default | Description |
336
333
  |---------|---------|-------------|
337
- | `coda.serverUrl` | `http://localhost:3000` | Your Express server URL |
338
- | `coda.apiPrefix` | `/api/v1` | API prefix path |
339
- | `coda.aiProvider` | `openai` | AI provider (openai, anthropic, gemini, ollama) |
340
- | `coda.model` | *(server default)* | Model override |
334
+ | `coda.provider` | `openai` | AI provider (openai, anthropic, gemini, ollama) |
335
+ | `coda.model` | *(provider default)* | Model override |
341
336
  | `coda.systemPrompt` | *Coding assistant prompt* | Default system prompt |
342
337
 
343
338
  ## Contributing
package/index.js CHANGED
@@ -15,7 +15,6 @@ const prompt = inquirer.createPromptModule();
15
15
  const generateSecret = (length = 64) => crypto.randomBytes(length).toString('hex');
16
16
 
17
17
  const CODA_EXTENSION_ID = 'express-genix.coda-ai';
18
- const CODA_VSIX_URL = 'https://github.com/LambdaAI001/coda/releases/download/v0.3.0/coda-ai-0.3.0.vsix';
19
18
 
20
19
  async function promptCodaExtension() {
21
20
  const inquirerPrompt = inquirer.createPromptModule();
@@ -40,21 +39,15 @@ async function promptCodaExtension() {
40
39
  // Check if VS Code CLI is available
41
40
  execSync('code --version', { stdio: 'pipe' });
42
41
 
43
- // Download .vsix from GitHub Releases and install
44
- const os = require('os');
45
- const tmpFile = path.join(os.tmpdir(), 'coda-ai.vsix');
46
- console.log('\nšŸ“¦ Downloading Coda AI extension...');
47
- execSync(`curl -sL -o "${tmpFile}" "${CODA_VSIX_URL}"`, { stdio: 'pipe' });
48
- console.log('šŸ“¦ Installing...');
49
- execSync(`code --install-extension "${tmpFile}"`, { stdio: 'pipe' });
50
- // Clean up temp file
51
- try { fs.unlinkSync(tmpFile); } catch {}
42
+ // Install from VS Code Marketplace
43
+ console.log('\nšŸ“¦ Installing Coda AI extension from Marketplace...');
44
+ execSync(`code --install-extension ${CODA_EXTENSION_ID}`, { stdio: 'pipe' });
52
45
  console.log('āœ… Coda extension installed! Open your project in VS Code to use it.');
53
46
  console.log(' Look for the Coda AI icon in the sidebar, or type @coda in Copilot Chat.');
54
47
  } catch {
55
48
  console.log('\nāš ļø Could not install automatically. Install it manually:');
56
- console.log(' 1. Download from: https://github.com/LambdaAI001/coda/releases');
57
- console.log(' 2. Then run: code --install-extension coda-ai-0.2.0.vsix');
49
+ console.log(' Search "Coda AI" in VS Code Extensions, or run:');
50
+ console.log(` code --install-extension ${CODA_EXTENSION_ID}`);
58
51
  }
59
52
  }
60
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-genix",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
4
4
  "description": "Production-grade CLI to generate Express apps with JWT, RBAC, GraphQL, TypeScript, Prisma, MongoDB, PostgreSQL, file uploads, email, background jobs, and more",
5
5
  "main": "index.js",
6
6
  "bin": {