0.0.11
v0.0.11
This release fixes another packaged-app issue in the Agent SDK integration by resolving the SDK CLI from the correct unpacked path in Electron builds.
What's Fixed
- Fixed packaged macOS builds where the Agent SDK was resolving
cli.jsfrom theasararchive instead of the unpacked filesystem path. - Ensured Claude sessions use the unpacked SDK executable in packaged apps, preventing launch failures caused by the wrong runtime path.
- Added SDK
stderrcapture to improve debugging when session startup fails.
Root Cause
- In packaged Electron apps, the Agent SDK resolved its
cli.jspath fromapp.asar. - The actual executable lives in
app.asar.unpacked, so the SDK was pointing to the wrong location at runtime. - Even after unpacking the SDK in
0.0.10, the packaged app still needed to explicitly point the SDK to that unpacked copy.
Implementation
- Set
pathToClaudeCodeExecutableinsrc/main/claude-session.tswhen the app is packaged. - Rewrote the resolved SDK path from
app.asartoapp.asar.unpacked. - Added SDK
stderrlogging for easier troubleshooting.
Included In This Release
- Packaged Electron path fix for the Agent SDK CLI
- Improved SDK startup diagnostics
- Version bump to
0.0.11