MCP: Project lifecycle and setup (#190) #203
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!203
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-190-mcp-project-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #190 (part of #157).
What changed
create_project/open_projectuse the requested-project path that an OS double-click uses. A newrequest_openhook tells a window to take the request. The window asks first if a job is rendering. Then it callsanswer_requested_project(id, open), and Rust opens or creates the Project.openedwith the Project, ordeclined. If nobody answers in time, it reportsunansweredand withdraws the request.ProjectRequests(src-tauri/src/project_request.rs) holds the requests. Each request has an id, so a late answer to a withdrawn request acts on nothing.set_project_title,set_project_author,set_aspect_ratio,set_spoken_language,set_image_modelandset_generation_profile. An unknown aspect ratio or image model is refused with a list of the valid values.comfyui_preflightandgeneration_profile_choices.Tests
cargo test --workspacepasses.src-tauri/tests/mcp_server.rs:fake-comfy, online and offlineProjectRequests.bun test(331) andbun run checkpass.Notes
unansweredis a third outcome the issue didn't name. A bounded wait needs it.leaveRender(), and no Rust test covers it. I did not check the confirm dialog in the running app.