Skip to main content

miles say

Sends a message to the active site. Use it for discovery answers, brief feedback, design-direction feedback, and focused site edits. Repeat --attach to upload files with the message. It is headless before WordPress conversion. After conversion, an edit may return exit code 3; connect the browser workspace and retry once. Do not use say to answer a protected-change approval.

miles upload-assets

Uploads files for reuse. Supported files include PNG, JPG, GIF, SVG, WebP, PDF, HTML, CSS, TXT, CSV, Markdown, RTF, and DOCX, up to 20 MB each. The JSON result contains ok and files; each file has s3Key, filename, mimeType, and sizeBytes. For most agent work, use --attach on site-create or say. Upload separately only when the same file will be reused across multiple turns.

Directions and builds

design-directions --json returns phase, selectedDirectionId, and directions. Each direction includes number, directionId, name, status, selectable, previewUrl, and screenshotCommand. Only offer directions where selectable is true. Selecting a direction starts a full build. Confirm the choice and account headroom before build-site because a later build can replace the current built site and use more credits.

miles screenshot

The first form captures a design or built-site preview to a local JPEG. It accepts a full preview URL or the path returned by Miles. --full-page captures the full document. --live captures the actual WordPress frontend after conversion. It needs a connected browser workspace. The default is full-page; --viewport captures only the first screen. Next: Jobs and safety.