mirror of
https://github.com/letta-ai/claude-subconscious.git
synced 2026-04-25 17:04:56 +02:00
#47: Skip /dev/tty entirely on Windows — it resolves to C:\dev\tty which doesn't exist. The .on('error') handler from v2.1.1 catches the async error on Linux, but on Windows we shouldn't even attempt it. #48: Expand common shell syntax ($HOME, ${HOME}, ~) in LETTA_HOME. When set via Claude Code settings.json, env vars aren't shell-expanded, so "$HOME" becomes a literal directory name. expandPath() now resolves these to os.homedir(). Fixes both getDurableStateDir() call sites and the splash screen display. Fixes #47, fixes #48. Written by Cameron ◯ Letta Code "Defensive programming is the art of expecting the unexpected." - Unknown