Librarians and other public workers are planning to strike on Thursday, while the city’s bus drivers will stop work on Friday.