pub fn set_project_only()Expand description
Turns on project-only mode for the process: runs load the project’s
packages, skills and MCP servers, and of the user’s only those the
global projectOnly setting keeps. Every child’s environment gets
YAPI_PROJECT_ONLY=1, so a yapi it starts runs in the mode too.