Registering a repo root now accepts launch-time --add-dir roots and clearly rejects duplicates or bad paths.
What's wrong with this entry?
The SDK control request for registering a repo root now accepts more legitimate targets and fails loudly on cases it previously handled silently or not at all.
- Previously the target only had to be a subdirectory of cwd; it now also accepts subdirectories of directories registered at launch via
--add-dir. - Rejects cwd itself with a dedicated message, rejects paths that are not directories, and rejects an already-registered directory instead of silently re-running registration.
- Rejection message names both accepted roots: "is not a subdirectory of cwd or of a launch-time --add-dir root".
- The tool description now states that the registration pipeline and DirectoryAdded hooks do not re-run on a duplicate.
is not a subdirectory of cwd or of a launch-time --add-dir root
Strings lifted out of the shipped bundle, so the claim above can be checked against them.