idea-manager 1.0.0 → 1.0.1

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 (2) hide show
  1. package/bin/postinstall.js +15 -0
  2. package/package.json +3 -2
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { execSync } = require('child_process');
4
+
5
+ try {
6
+ execSync('im --version', { stdio: 'ignore' });
7
+ } catch {
8
+ const npmBin = execSync('npm prefix -g', { encoding: 'utf-8' }).trim() + '/bin';
9
+
10
+ console.log('\n ✓ idea-manager installed!\n');
11
+ console.log(' ⚠ "im" command not found in PATH.');
12
+ console.log(` Add this to your shell profile (~/.zshrc or ~/.bashrc):\n`);
13
+ console.log(` export PATH="${npmBin}:$PATH"\n`);
14
+ console.log(' Then run: source ~/.zshrc\n');
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idea-manager",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Turn free-form brainstorming into structured task trees with AI-generated prompts. Built-in MCP Server for autonomous AI agent execution. Local-first with SQLite, cross-PC sync via Git.",
5
5
  "keywords": [
6
6
  "brainstorm",
@@ -39,7 +39,8 @@
39
39
  "build": "next build",
40
40
  "start": "next start",
41
41
  "lint": "eslint",
42
- "mcp": "tsx src/cli.ts mcp"
42
+ "mcp": "tsx src/cli.ts mcp",
43
+ "postinstall": "node bin/postinstall.js"
43
44
  },
44
45
  "dependencies": {
45
46
  "@anthropic-ai/sdk": "^0.78.0",