@afterxleep/doc-bot 1.7.1 → 1.7.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/README.md CHANGED
@@ -308,7 +308,7 @@ doc-bot --config ./manifest.json
308
308
  ```json
309
309
  {
310
310
  "mcpServers": {
311
- "docs": {
311
+ "doc-bot": {
312
312
  "command": "node",
313
313
  "args": ["/path/to/doc-bot/bin/doc-bot.js", "--watch"]
314
314
  }
package/bin/doc-bot.js CHANGED
@@ -9,7 +9,7 @@ program
9
9
  .name('doc-bot')
10
10
  .description('Generic MCP server for intelligent documentation access')
11
11
  .version('1.5.0')
12
- .option('-d, --docs <path>', 'Path to docs folder', '.doc-bot')
12
+ .option('-d, --docs <path>', 'Path to docs folder', 'doc-bot')
13
13
  .option('-c, --config <path>', 'Path to manifest file')
14
14
  .option('-v, --verbose', 'Enable verbose logging')
15
15
  .option('-w, --watch', 'Watch for file changes')
@@ -34,7 +34,7 @@ async function main() {
34
34
  console.log(' alwaysApply: true (for global rules)');
35
35
  console.log(' alwaysApply: false (for contextual rules)');
36
36
  console.log('');
37
- console.log('💡 Tip: By default, doc-bot looks for a .doc-bot folder.');
37
+ console.log('💡 Tip: By default, doc-bot looks for a doc-bot folder.');
38
38
  console.log(' Use --docs to specify a different folder.');
39
39
  process.exit(1);
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afterxleep/doc-bot",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Generic MCP server for intelligent documentation access in any project",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -11,8 +11,8 @@ const fs = require('fs').promises;
11
11
  class DocsServer {
12
12
  constructor(options = {}) {
13
13
  this.options = {
14
- docsPath: options.docsPath || './.doc-bot',
15
- configPath: options.configPath || './.doc-bot/manifest.json', // Optional, for backward compatibility
14
+ docsPath: options.docsPath || './doc-bot',
15
+ configPath: options.configPath || './doc-bot/manifest.json', // Optional, for backward compatibility
16
16
  verbose: options.verbose || false,
17
17
  watch: options.watch || false,
18
18
  ...options