lintbase-mcp 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lintbase-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "mcpName": "io.github.Madia333/lintbase-mcp",
5
5
  "description": "MCP server for LintBase — give AI coding agents real-time database schema context.",
6
6
  "main": "dist/server.js",
@@ -1,14 +1,10 @@
1
1
  #!/usr/bin/env node
2
- // install-skill.js
2
+ // install-skill.js — CommonJS compatible
3
3
  // Installs the LintBase SKILL.md into the current project's .agent/skills/ directory.
4
- // Run via: npx lintbase-mcp install-skill
5
- // or: node install-skill.js
4
+ // Run via: npx lintbase-mcp-install-skill
6
5
 
7
- import fs from 'fs';
8
- import path from 'path';
9
- import { fileURLToPath } from 'url';
10
-
11
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
6
+ const fs = require('fs');
7
+ const path = require('path');
12
8
 
13
9
  const SKILL_SRC = path.join(__dirname, 'SKILL.md');
14
10
  const TARGET_DIR = path.join(process.cwd(), '.agent', 'skills', 'lintbase');
@@ -20,10 +16,13 @@ fs.mkdirSync(TARGET_DIR, { recursive: true });
20
16
  // Copy SKILL.md
21
17
  fs.copyFileSync(SKILL_SRC, TARGET_FILE);
22
18
 
23
- console.log(`✅ LintBase skill installed to ${TARGET_FILE}`);
24
19
  console.log('');
25
- console.log('Your AI agent will now automatically use LintBase tools');
26
- console.log('before writing any Firestore code.');
20
+ console.log(' LintBase skill installed to:');
21
+ console.log(' ' + TARGET_FILE);
22
+ console.log('');
23
+ console.log('Your AI agent will now automatically check the real Firestore schema');
24
+ console.log('before writing any database code.');
27
25
  console.log('');
28
26
  console.log('Make sure lintbase-mcp is configured in your IDE:');
29
27
  console.log(' → https://www.npmjs.com/package/lintbase-mcp');
28
+ console.log('');