707-command-center-mcp 1.0.1 → 1.0.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 (2) hide show
  1. package/dist/server.js +13 -5
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -21838,12 +21838,20 @@ import { fileURLToPath } from "url";
21838
21838
  function syncSkills() {
21839
21839
  const __filename = fileURLToPath(import.meta.url);
21840
21840
  const __dirname = dirname(__filename);
21841
- const bundledSkillsDir = join(__dirname, "..", "skills");
21842
- if (!existsSync(bundledSkillsDir)) return;
21843
- const targetDir = join(homedir(), ".claude", "skills");
21841
+ const bundledDir = join(__dirname, "..", "skills");
21842
+ if (!existsSync(bundledDir)) return;
21843
+ const claudeDir = join(homedir(), ".claude");
21844
21844
  try {
21845
- cpSync(bundledSkillsDir, targetDir, { recursive: true, force: true });
21846
- console.error(`Skills synced to ${targetDir}`);
21845
+ const bundledSkills = join(bundledDir, "skills");
21846
+ if (existsSync(bundledSkills)) {
21847
+ cpSync(bundledSkills, join(claudeDir, "skills"), { recursive: true, force: true });
21848
+ console.error(`Skills synced to ${join(claudeDir, "skills")}`);
21849
+ }
21850
+ const bundledCommands = join(bundledDir, "commands");
21851
+ if (existsSync(bundledCommands)) {
21852
+ cpSync(bundledCommands, join(claudeDir, "commands"), { recursive: true, force: true });
21853
+ console.error(`Commands synced to ${join(claudeDir, "commands")}`);
21854
+ }
21847
21855
  } catch (err) {
21848
21856
  console.error(`Failed to sync skills: ${err.message}`);
21849
21857
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "707-command-center-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP server for 707 Command Center — deal management, valuation, and mineral data tools",
5
5
  "type": "module",
6
6
  "bin": {