claude-multi 0.4.1 → 0.4.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
@@ -5,7 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [0.4.1] - 2025-01-26
8
+ ## [0.4.2] - 2026-01-26
9
+
10
+ ### Fixed
11
+ - Auto-sync symlinks now use absolute paths instead of relative paths
12
+ - Previously used hardcoded `../../.claude/` which assumed instances were in `~/.claude-instances/`
13
+ - Now uses `homedir()` to resolve absolute paths, working for any instance location
14
+ - Fixes broken symlinks when instances are created directly in home directory (e.g., `~/.claude-tester/`)
15
+
16
+ ### Added
17
+ - Symlink test suite to verify both relative and absolute symlink behaviors
18
+
19
+ [0.4.2]: https://github.com/hmziqrs/claude-multi/compare/v0.4.1...v0.4.2
20
+
21
+ ## [0.4.1] - 2026-01-26
9
22
 
10
23
  ### Added
11
24
  - **Test Suite**: Comprehensive sandboxing tests for auto-sync functionality
@@ -21,7 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
34
 
22
35
  [0.4.1]: https://github.com/hmziqrs/claude-multi/compare/v0.4.0...v0.4.1
23
36
 
24
- ## [0.4.0] - 2025-01-26
37
+ ## [0.4.0] - 2026-01-26
25
38
 
26
39
  ### Added
27
40
  - **Auto-Sync for Plugins and Skills**: Share plugins/skills across instances via symlinks
package/dist/cli.js CHANGED
@@ -7492,8 +7492,8 @@ async function copyAllFromDefault(targetConfigDir, autoSync = true) {
7492
7492
  rmSync(targetPath, { force: true, recursive: true });
7493
7493
  }
7494
7494
  }
7495
- const relativePath = join("..", "..", ".claude", entry);
7496
- await symlink(relativePath, targetPath, "dir");
7495
+ const absoluteSource = join(homedir(), ".claude", entry);
7496
+ await symlink(absoluteSource, targetPath, "dir");
7497
7497
  console.log(` Symlinked: ${entry} -> ~/.claude/${entry}`);
7498
7498
  } else {
7499
7499
  if (!existsSync(targetPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-multi",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Manage multiple Claude Code instances with different aliases and configurations",
5
5
  "type": "module",
6
6
  "bin": {