claude-autopm 3.24.1 → 3.24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-autopm",
3
- "version": "3.24.1",
3
+ "version": "3.24.2",
4
4
  "description": "Autonomous Project Management Framework for Claude Code - Advanced AI-powered development automation",
5
5
  "main": "bin/autopm.js",
6
6
  "workspaces": [
@@ -115,6 +115,11 @@ function findProjectRoot(startDir) {
115
115
  function validateVaultPath(vaultPath) {
116
116
  if (!existsSync(vaultPath)) {
117
117
  err(`Vault path does not exist: ${vaultPath}`);
118
+ if (/^[A-Za-z]:[\\\/]/.test(vaultPath)) {
119
+ err('Detected Windows path format. On WSL, use /mnt/c/... format:');
120
+ const drive = vaultPath[0].toLowerCase();
121
+ err(` ${'/mnt/' + drive + vaultPath.slice(2).replace(/\\/g, '/')}`);
122
+ }
118
123
  process.exit(1);
119
124
  }
120
125
  try {
@@ -373,8 +378,16 @@ function main() {
373
378
  process.exit(1);
374
379
  }
375
380
 
381
+ // Convert Windows paths to WSL paths if needed (e.g., C:\Users\... → /mnt/c/Users/...)
382
+ let rawVaultPath = args.vaultPath;
383
+ if (detectEnvironment() === 'wsl' && /^[A-Za-z]:[\\\/]/.test(rawVaultPath)) {
384
+ const drive = rawVaultPath[0].toLowerCase();
385
+ rawVaultPath = '/mnt/' + drive + rawVaultPath.slice(2).replace(/\\/g, '/');
386
+ log(`Converted Windows path to WSL: ${rawVaultPath}`);
387
+ }
388
+
376
389
  // Resolve paths
377
- const vaultPath = resolve(args.vaultPath);
390
+ const vaultPath = resolve(rawVaultPath);
378
391
  const projectRoot = args.projectRoot ? resolve(args.projectRoot) : findProjectRoot(process.cwd());
379
392
  const prefix = args.prefix || basename(projectRoot);
380
393
  const configPath = join(projectRoot, '.claude', 'config.json');