scan
Discover unregistered misterdev projects in a directory and add them to the registry. Use before status, build, or run commands on new projects.
Instructions
Discover misterdev projects under a directory and add them to the registry.
Use when: you have projects on disk that misterdev does not know about yet,
before calling ``status``, ``build``, or ``run`` on them. Do NOT use when:
the projects are already registered (call ``list_projects`` to check) — a
re-scan is harmless but redundant. Related: ``list_projects`` (see what is
registered), ``status`` (inspect a registered project).
Side effects: writes only to misterdev's project registry — it never reads,
edits, or executes any project code, and re-scanning the same directory is
idempotent (no duplicates).
Returns a short confirmation string naming the directory scanned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Absolute path to an existing, readable directory to search recursively for misterdev projects (directories containing a project.yaml). Must be a directory, not a file. Example: '/Users/me/code'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |