Skip to content

πŸ”§ v3.3.1 - Fix PTY Wrapper Detection

Choose a tag to compare

@Jim8y Jim8y released this 31 Jul 13:05
· 49 commits to main since this release

πŸ”§ v3.3.1 - Fix PTY Wrapper Detection

🚨 Critical Fix

Fixed the "PTY Wrapper Missing" error that was preventing the VS Code extension from working properly after installation.

πŸ› οΈ What Was Fixed

PTY Wrapper Detection

  • Enhanced Path Resolution: Added multiple search paths for better detection
  • Bundled Location: Fixed primary path to __dirname/../claude/session/claude_pty_wrapper.py
  • Fallback Paths: Added development and alternative bundled locations
  • Debug Logging: Added detailed console output for troubleshooting

Before v3.3.1:

πŸ”΄ PTY Wrapper Missing:
The extension may not be properly installed. Try reinstalling the extension.

After v3.3.1:

βœ… PTY Wrapper: Ready

🎯 Root Cause

The VS Code extension was only checking one path for the PTY wrapper file, and in the bundled extension, the path resolution was slightly different than expected.

πŸ” Technical Details

Path Resolution Order:

  1. Primary: extension_dir/claude/session/claude_pty_wrapper.py (bundled location)
  2. Fallback: extension_dir/../claude/session/claude_pty_wrapper.py (development)
  3. Alternative: extension_dir/claude/session/claude_pty_wrapper.py (alternative bundled)

Debug Features Added:

  • Console logging shows __dirname and all attempted paths
  • Reports file existence and readability status
  • Easier troubleshooting for future installation issues

πŸ“¦ Installation

Download and install the fixed version:

# Download autoclaude-3.3.1.vsix from this release
code --install-extension autoclaude-3.3.1.vsix

Verification:
After installation, the dependency check should now show:

βœ… Claude Code: 1.0.64 (Claude Code)
βœ… Python: 3.12.3  
βœ… PTY Wrapper: Ready

🚨 If You Were Affected

If you saw the "PTY Wrapper Missing" error:

  1. Uninstall the old version from VS Code
  2. Download autoclaude-3.3.1.vsix from this release
  3. Install the new version: code --install-extension autoclaude-3.3.1.vsix
  4. Restart VS Code
  5. Test the extension - PTY wrapper should now be detected

πŸ“‹ What's Included

  • VS Code Extension: autoclaude-3.3.1.vsix (681KB, optimized)
  • Enhanced Detection: Multiple path resolution strategies
  • Debug Logging: Better troubleshooting capabilities
  • Verified PTY Wrapper: Confirmed inclusion in bundle

πŸ”— Also Available

  • Terminal Tool: npm install -g @r3e/autoclaude@3.3.0 (unaffected)
  • GitHub Release: Complete changelog and source code

πŸ› Issue Tracker: https://github.com/r3e-network/AutoClaude/issues
πŸ’¬ Need Help?: https://github.com/r3e-network/AutoClaude/discussions

This is a critical fix for anyone who experienced the PTY wrapper missing error!