StarCrossed by Elizabeth C. Bunce (Published by Scholastic, October 1, 2010)
Digger thrives as a spy and sneak-thief among the feuding religious factions of Gerse, dodging the Greenmen who have banned all magic. But when a routine job goes horribly wrong and her partner and lover Tegen is killed, she has to get out of the city, fast, and hides herself in a merry group of nobles to do so. Accepted as a lady's maid to shy young Merista Nemair, Digger finds new peace and friendship at the Nemair stronghold--as well as plenty of jewels for the taking. But after the devious Lord Daul catches her in the act of thievery, he blackmails her into becoming his personal spy in the castle, and Digger soon realizes that her noble hosts aren't as apolitical as she thought... that indeed, she may be at the heart of a magical rebellion.
Magic, adventure, and palace intrigue - sounds look a book I will love! I also really like the cover.