A puppy is recovering from life-saving emergency surgery after she swallowed an 8in (20cm) kitchen knife.