onCreateInDirectory navigated with dir.trim() (raw user input) while the sibling create paths use the server-authoritative session.directory. When the opencode server normalizes the path (trailing slash/symlink/relative), the nav param diverged from the session's real scope, causing the new session/[id] screen to scope to the wrong client -> 'Failed to load session'. Mirror the sibling paths' session.directory spread. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 KiB
24 KiB