jettypod 4.4.16 → 4.4.18

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.
@@ -234,13 +234,14 @@ async function createWorktree(workItem, options = {}) {
234
234
  // Step 4.5: Add .jettypod to worktree's local gitignore
235
235
  // This prevents the symlink from being committed when merging the worktree branch
236
236
  try {
237
- // Get the worktree's git directory
237
+ // Get the worktree's git directory (returns absolute path for worktrees)
238
238
  const gitDirOutput = execSync('git rev-parse --git-dir', {
239
239
  cwd: worktreePath,
240
240
  encoding: 'utf8'
241
241
  }).trim();
242
242
 
243
- const excludePath = path.join(worktreePath, gitDirOutput, 'info', 'exclude');
243
+ // gitDirOutput is already absolute for worktrees (e.g., /path/to/.git/worktrees/name)
244
+ const excludePath = path.join(gitDirOutput, 'info', 'exclude');
244
245
 
245
246
  // Ensure the info directory exists
246
247
  const infoDir = path.dirname(excludePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jettypod",
3
- "version": "4.4.16",
3
+ "version": "4.4.18",
4
4
  "description": "AI-powered development workflow manager with TDD, BDD, and automatic test generation",
5
5
  "main": "jettypod.js",
6
6
  "bin": {