On that open/close aspect, however, this case is interesting because the leaked code was for a product that was shipped to users' machines in the wild. I'd say that while Anthropic, to your point, absolutely does not want this code leaked, they'd also know very well that any software released this way cannot be considered a competitive advantage for long.
Like, the ability of LLMs to reverse engineer software is well known by now. In fact this blog describes how, even before the leak, they reversed the CLI to patch bugs that Anthropic wouldn't! https://dev.to/kolkov/we-reverse-engineered-12-versions-of-c...
Which may be why other tools in this space have been open sourced. Yet Claude Code hasn't been, so clearly Anthropic wants to protect some rights there. I am very curious about these labs' decision processes when considering what functionality to put in the CLI versus on the servers. That could be a hint about their IP strategy and how they're thinking of moats.