9ed74ca233
The `bd types` command only checked `if store != nil` to fetch custom types. In daemon mode, `store` is nil (daemonClient handles RPC instead), so custom types were never displayed even when configured. This caused a mismatch where `bd config get types.custom` showed the correct values but `bd types` showed none. Fix by calling ensureDirectMode() at the start of the command, matching the pattern used by `bd config get`. This falls back from daemon mode to direct storage access when needed. Co-authored-by: Perttulands <perttu.landstrom@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>