Anthropic is trying to limit the damage after sections of its popular AI coding tool were made public.