@pkgseer/cli 0.1.4 → 0.1.5

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/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  version
4
- } from "./shared/chunk-z505vakm.js";
4
+ } from "./shared/chunk-0fnprry7.js";
5
5
 
6
6
  // src/cli.ts
7
7
  import { Command } from "commander";
@@ -2586,22 +2586,13 @@ function getCodexConfigPaths(fs, scope) {
2586
2586
  function getClaudeCodeConfigPaths(fs, scope) {
2587
2587
  if (scope === "project") {
2588
2588
  const cwd = fs.getCwd();
2589
- const configPath2 = fs.joinPath(cwd, ".claude-code", "mcp.json");
2590
- const backupPath2 = fs.joinPath(cwd, ".claude-code", "mcp.json.bak");
2589
+ const configPath2 = fs.joinPath(cwd, ".mcp.json");
2590
+ const backupPath2 = fs.joinPath(cwd, ".mcp.json.bak");
2591
2591
  return { configPath: configPath2, backupPath: backupPath2 };
2592
2592
  }
2593
- const platform = process.platform;
2594
- let configPath;
2595
- let backupPath;
2596
- if (platform === "win32") {
2597
- const appData = process.env.APPDATA || fs.joinPath(fs.getHomeDir(), "AppData", "Roaming");
2598
- configPath = fs.joinPath(appData, "Claude Code", "mcp.json");
2599
- backupPath = fs.joinPath(appData, "Claude Code", "mcp.json.bak");
2600
- } else {
2601
- const home = fs.getHomeDir();
2602
- configPath = fs.joinPath(home, ".claude-code", "mcp.json");
2603
- backupPath = fs.joinPath(home, ".claude-code", "mcp.json.bak");
2604
- }
2593
+ const home = fs.getHomeDir();
2594
+ const configPath = fs.joinPath(home, ".claude.json");
2595
+ const backupPath = fs.joinPath(home, ".claude.json.bak");
2605
2596
  return { configPath, backupPath };
2606
2597
  }
2607
2598
  async function parseConfigFile(fs, path) {
@@ -2685,8 +2676,8 @@ args = ["-y", "@pkgseer/cli", "mcp", "start"]`;
2685
2676
  };
2686
2677
  console.log(JSON.stringify(configExample, null, 2));
2687
2678
  }
2688
- if ((tool === "cursor" || tool === "codex" || tool === "claude-code") && scope === "project") {
2689
- const dirName = tool === "cursor" ? ".cursor" : tool === "codex" ? ".codex" : ".claude-code";
2679
+ if ((tool === "cursor" || tool === "codex") && scope === "project") {
2680
+ const dirName = tool === "cursor" ? ".cursor" : ".codex";
2690
2681
  console.log(dim(`
2691
2682
  Note: Create the ${dirName} directory if it doesn't exist.`, useColors));
2692
2683
  }
@@ -2743,8 +2734,8 @@ Run ${highlight("pkgseer project init", useColors)} first, then ${highlight("pkg
2743
2734
  }
2744
2735
  let scope;
2745
2736
  if (tool === "cursor" || tool === "codex" || tool === "claude-code") {
2746
- const projectPath = tool === "cursor" ? ".cursor/mcp.json" : tool === "codex" ? ".codex/config.toml" : ".claude-code/mcp.json";
2747
- const globalPath = tool === "cursor" ? "~/.cursor/mcp.json" : tool === "codex" ? "~/.codex/config.toml" : "~/.claude-code/mcp.json";
2737
+ const projectPath = tool === "cursor" ? ".cursor/mcp.json" : tool === "codex" ? ".codex/config.toml" : ".mcp.json";
2738
+ const globalPath = tool === "cursor" ? "~/.cursor/mcp.json" : tool === "codex" ? "~/.codex/config.toml" : "~/.claude.json";
2748
2739
  if (hasProject) {
2749
2740
  scope = await promptService.select("Where should the MCP config be created?", [
2750
2741
  {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./shared/chunk-z505vakm.js";
3
+ } from "./shared/chunk-0fnprry7.js";
4
4
  export {
5
5
  version
6
6
  };
@@ -1,4 +1,4 @@
1
1
  // package.json
2
- var version = "0.1.4";
2
+ var version = "0.1.5";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pkgseer/cli",
3
3
  "description": "CLI companion for PkgSeer - package intelligence for developers and AI assistants",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",