file-organizer-mcp 3.1.1 → 3.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.1.2] - 2026-02-06
4
+
5
+ ### 🐛 Fixed
6
+ - **Bin Entry**: Fixed `file-organizer-setup` bin path (`tui-index.js` → `index.js`)
7
+ - **Postinstall**: Added postinstall welcome message after npm install
8
+
3
9
  ## [3.1.1] - 2026-02-06
4
10
 
5
11
  ### ✨ New Features
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ---
8
8
 
9
- [![npm version](https://img.shields.io/badge/npm-v3.1.0-blue.svg)](https://www.npmjs.com/package/file-organizer-mcp)
9
+ [![npm version](https://img.shields.io/badge/npm-v3.1.2-blue.svg)](https://www.npmjs.com/package/file-organizer-mcp)
10
10
  [![npm downloads](https://img.shields.io/npm/dm/file-organizer-mcp.svg)](https://www.npmjs.com/package/file-organizer-mcp)
11
11
  [![Security](https://img.shields.io/badge/security-hardened-green.svg)](https://github.com/kridaydave/File-Organizer-MCP)
12
12
  [![Node](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org)
package/dist/config.js CHANGED
@@ -6,7 +6,7 @@ import os from 'os';
6
6
  import path from 'path';
7
7
  import fs from 'fs';
8
8
  export const CONFIG = {
9
- VERSION: '3.0.1',
9
+ VERSION: '3.1.2',
10
10
  // Security Settings
11
11
  security: {
12
12
  enablePathValidation: true,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "file-organizer-mcp",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Intelligent file organization MCP server for Claude with security-hardened operations, auto-categorization, and duplicate detection",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "file-organizer-mcp": "./dist/index.js",
9
9
  "file-organizer": "./dist/index.js",
10
- "file-organizer-setup": "./dist/tui/tui-index.js"
10
+ "file-organizer-setup": "./dist/tui/index.js"
11
11
  },
12
12
  "scripts": {
13
13
  "build": "tsc",
@@ -19,6 +19,7 @@
19
19
  "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
20
20
  "test:security": "node dist/tests/test-security.js",
21
21
  "setup": "node dist/tui/index.js",
22
+ "postinstall": "node scripts/postinstall.js",
22
23
  "test:phase1": "node dist/tests/test-phase1.js",
23
24
  "lint": "eslint src/**/*.ts",
24
25
  "lint:fix": "eslint src/**/*.ts --fix",
@@ -83,6 +84,7 @@
83
84
  },
84
85
  "files": [
85
86
  "dist",
87
+ "scripts/postinstall.js",
86
88
  "README.md",
87
89
  "LICENSE",
88
90
  "CHANGELOG.md",
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Post-install script for file-organizer-mcp
5
+ * Shows a welcome message and setup instructions after npm install
6
+ */
7
+
8
+ import chalk from 'chalk';
9
+
10
+ // Skip message in CI/non-interactive environments
11
+ if (process.env.CI || process.env.NODE_ENV === 'test') {
12
+ process.exit(0);
13
+ }
14
+
15
+ console.log('');
16
+ console.log(chalk.cyan.bold('╔════════════════════════════════════════════════════════════╗'));
17
+ console.log(chalk.cyan.bold('║ ║'));
18
+ console.log(chalk.cyan.bold('║ 🗂️ File Organizer MCP Server ║'));
19
+ console.log(chalk.cyan.bold('║ ║'));
20
+ console.log(chalk.cyan.bold('╚════════════════════════════════════════════════════════════╝'));
21
+ console.log('');
22
+ console.log(chalk.white('Thanks for installing file-organizer-mcp!'));
23
+ console.log('');
24
+ console.log(chalk.yellow('📋 Next Steps:'));
25
+ console.log('');
26
+ console.log(chalk.white(' 1. Run the setup wizard to configure:'));
27
+ console.log(chalk.cyan(' npx file-organizer-mcp --setup'));
28
+ console.log('');
29
+ console.log(chalk.white(' 2. Or manually configure by editing:'));
30
+ console.log(chalk.gray(' Windows: %APPDATA%\\file-organizer-mcp\\config.json'));
31
+ console.log(chalk.gray(' macOS: ~/Library/Application Support/file-organizer-mcp/config.json'));
32
+ console.log(chalk.gray(' Linux: ~/.config/file-organizer-mcp/config.json'));
33
+ console.log('');
34
+ console.log(chalk.white(' 3. Add to Claude Desktop config:'));
35
+ console.log(chalk.gray(' https://github.com/kridaydave/File-Organizer-MCP#claude-desktop-configuration'));
36
+ console.log('');
37
+ console.log(chalk.green('✨ Happy organizing!'));
38
+ console.log('');