Previewing Gooey
Run the Gooey showcase under a supervised headless Weston compositor and capture its rendered output.
Capture workflow
From the repository root, run:
.agents/skills/previewing-gooey/scripts/capture-showcase
The script:
- Builds only the showcase with the checked-in SPIR-V shaders.
- Starts Weston and Gooey as supervised orb services.
- Uses Mesa's software Vulkan renderer when the orb has no GPU.
- Captures the Weston output into
.amp/in/artifacts/gooey-showcase.png. - Leaves both services running for log and status inspection.
Pass a repository-relative output path as the first argument when a different artifact name is needed.
Verification
After capture:
- Use
view_mediaon the output file and verify the requested UI is visible. - Inspect
amp orb service status gooey-appif the screenshot is blank. - Inspect
amp orb service logs gooey-appfor startup or rendering failures. - Present the image using its workspace file URI.
Teardown
Stop the preview services when they are no longer needed:
amp orb service stop gooey-app
amp orb service stop gooey-wayland
Do not launch Weston or Gooey with &, nohup, or setsid; orb services must survive Amp process restarts.