Files
beads/cmd/bd
Perttu Landström 9ed74ca233 fix(types): show custom types when daemon is running (#1216)
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>
2026-01-20 14:05:03 -08:00
..
2026-01-13 08:41:25 -06:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2026-01-17 04:36:41 -08:00
2025-12-24 00:06:41 -08:00
2026-01-13 08:41:25 -06:00