@lgcyaxi/oh-my-claude 1.1.1 → 1.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
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Individual version changelogs are available in the [changelog/](./changelog/) directory.
9
9
 
10
+ ## [1.1.2] - 2026-01-16
11
+
12
+ See [changelog/v1.1.2.md](./changelog/v1.1.2.md) for details.
13
+
14
+ ### Fixed
15
+ - Windows compatibility for `update` command (shell redirection errors)
16
+ - MCP list/remove commands now work on Windows
17
+
10
18
  ## [1.1.1] - 2026-01-16
11
19
 
12
20
  See [changelog/v1.1.1.md](./changelog/v1.1.1.md) for details.
@@ -0,0 +1,15 @@
1
+ # v1.1.2
2
+
3
+ Release date: 2026-01-16
4
+
5
+ ## Fixed
6
+
7
+ ### Windows Compatibility
8
+ - Fixed `update` command failing on Windows with "The system cannot find the path specified"
9
+ - Replaced Unix-specific shell redirections (`2>/dev/null`) with cross-platform `stdio: 'pipe'` option
10
+ - Fixed MCP list/remove commands for Windows compatibility
11
+ - All `execSync` calls now use proper stdio configuration instead of shell redirections
12
+
13
+ ## Files Changed
14
+ - `src/cli.ts` - Fixed update command and MCP status checks
15
+ - `src/installer/settings-merger.ts` - Fixed MCP list/remove commands
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  install,
14
14
  loadConfig,
15
15
  uninstall
16
- } from "./index-qrbfj4cd.js";
16
+ } from "./index-814gp2s3.js";
17
17
 
18
18
  // node_modules/commander/lib/error.js
19
19
  var require_error = __commonJS((exports) => {
@@ -2126,7 +2126,7 @@ var {
2126
2126
 
2127
2127
  // src/cli.ts
2128
2128
  init_installer();
2129
- program.name("oh-my-claude").description("Multi-agent orchestration plugin for Claude Code").version("1.0.3");
2129
+ program.name("oh-my-claude").description("Multi-agent orchestration plugin for Claude Code").version("1.1.1");
2130
2130
  program.command("install").description("Install oh-my-claude into Claude Code").option("--skip-agents", "Skip agent file generation").option("--skip-hooks", "Skip hooks installation").option("--skip-mcp", "Skip MCP server installation").option("--force", "Force overwrite existing files").action(async (options) => {
2131
2131
  console.log(`Installing oh-my-claude...
2132
2132
  `);
@@ -2325,7 +2325,7 @@ ${header("Commands (detailed):")}`);
2325
2325
  console.log(`
2326
2326
  ${header("MCP Server (detailed):")}`);
2327
2327
  try {
2328
- const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf-8" });
2328
+ const mcpList = execSync("claude mcp list", { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
2329
2329
  const omcLine = mcpList.split(`
2330
2330
  `).find((line) => line.includes("oh-my-claude-background"));
2331
2331
  if (omcLine) {
@@ -2483,8 +2483,9 @@ program.command("update").description("Update oh-my-claude to the latest version
2483
2483
  let latestVersion = "unknown";
2484
2484
  try {
2485
2485
  console.log(`${dimText("Checking npm registry for latest version...")}`);
2486
- const npmInfo = execSync(`npm view ${PACKAGE_NAME} version 2>/dev/null`, {
2487
- encoding: "utf-8"
2486
+ const npmInfo = execSync(`npm view ${PACKAGE_NAME} version`, {
2487
+ encoding: "utf-8",
2488
+ stdio: ["pipe", "pipe", "pipe"]
2488
2489
  }).trim();
2489
2490
  latestVersion = npmInfo;
2490
2491
  console.log(`Latest version: ${c.cyan}${latestVersion}${c.reset}
@@ -2514,7 +2515,10 @@ Run ${c.cyan}npx ${PACKAGE_NAME} update${c.reset} to update.`);
2514
2515
  try {
2515
2516
  console.log(`${dimText("Clearing npx cache...")}`);
2516
2517
  try {
2517
- execSync(`npx --yes clear-npx-cache 2>/dev/null || true`, { stdio: "pipe" });
2518
+ execSync(`npx --yes clear-npx-cache`, {
2519
+ stdio: ["pipe", "pipe", "pipe"],
2520
+ timeout: 1e4
2521
+ });
2518
2522
  } catch {}
2519
2523
  console.log(`${dimText("Downloading latest version...")}`);
2520
2524
  const updateCmd = `npx --yes ${PACKAGE_NAME}@latest install --force`;
@@ -2704,7 +2708,7 @@ program.command("setup-mcp").description("Install official MCP servers (MiniMax,
2704
2708
  if (installThinking) {
2705
2709
  console.log(`${c.bold}Anthropic Official:${c.reset}`);
2706
2710
  try {
2707
- const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf-8" });
2711
+ const mcpList = execSync("claude mcp list", { encoding: "utf-8" });
2708
2712
  if (mcpList.includes("sequential-thinking")) {
2709
2713
  console.log(` ${ok("sequential-thinking already installed")}`);
2710
2714
  } else {
@@ -2725,7 +2729,7 @@ ${c.bold}MiniMax:${c.reset}`);
2725
2729
  console.log(` ${dimText("Set it with: export MINIMAX_API_KEY=your-key")}`);
2726
2730
  } else {
2727
2731
  try {
2728
- const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf-8" });
2732
+ const mcpList = execSync("claude mcp list", { encoding: "utf-8" });
2729
2733
  if (mcpList.includes("MiniMax")) {
2730
2734
  console.log(` ${ok("MiniMax already installed")}`);
2731
2735
  } else {
@@ -2749,7 +2753,7 @@ ${c.bold}GLM/ZhiPu:${c.reset}`);
2749
2753
  const glmServers = Object.entries(mcpServers).filter(([_, s]) => s.envKey === "ZHIPU_API_KEY");
2750
2754
  for (const [key, server] of glmServers) {
2751
2755
  try {
2752
- const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf-8" });
2756
+ const mcpList = execSync("claude mcp list", { encoding: "utf-8" });
2753
2757
  if (mcpList.includes(server.name)) {
2754
2758
  console.log(` ${ok(`${server.name} already installed`)}`);
2755
2759
  } else {