Repository navigation
π§ v3.3.1 - Fix PTY Wrapper Detection
π§ 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:
- Primary:
extension_dir/claude/session/claude_pty_wrapper.py(bundled location) - Fallback:
extension_dir/../claude/session/claude_pty_wrapper.py(development) - Alternative:
extension_dir/claude/session/claude_pty_wrapper.py(alternative bundled)
Debug Features Added:
- Console logging shows
__dirnameand 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.vsixVerification:
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:
- Uninstall the old version from VS Code
- Download
autoclaude-3.3.1.vsixfrom this release - Install the new version:
code --install-extension autoclaude-3.3.1.vsix - Restart VS Code
- 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!