diff --git a/internal/beads/beads_rpc.go b/internal/beads/beads_rpc.go index fd712a02..383d9485 100644 --- a/internal/beads/beads_rpc.go +++ b/internal/beads/beads_rpc.go @@ -242,8 +242,12 @@ func (b *Beads) listViaRPC(opts ListOptions) ([]*Issue, error) { } // Convert Label to Labels array if set + // Also handle deprecated Type field by converting to gt: label if opts.Label != "" { args.Labels = []string{opts.Label} + } else if opts.Type != "" { + // Deprecated: convert type to label for backward compatibility + args.Labels = []string{"gt:" + opts.Type} } // Handle priority: -1 means no filter