enhancedocs
For agentsOpen Enhance ↗
Reference / CLI reference

Enhance documentation

CLI reference

The optional command-line surface generated from the released Enhance runtime.

↓ Markdown

CLI reference

The CLI is optional. Agent workflows use MCP and never require a person to run these commands.

CommandPurpose
enhance-dev capture-run reviewRead a captured run’s baseline, changed screens, whole-canvas verdict, and related runs.
enhance-dev feedbackAvailable subcommands: submit
enhance-dev canvas assetAvailable subcommands: reserve, complete, get
enhance-dev canvas mutationAvailable subcommands: get
enhance-dev canvas chatsInspect and manage authorized canvas chat history.
enhance-dev canvas create-editable-frameInsert one validated primitive subtree beside its source screen as an atomic canvas edit.
enhance-dev canvas createCreate a canvas and return the id required by canvas-scoped commands.
enhance-dev canvas getRead one canvas by id, including access and viewer capabilities.
enhance-dev canvas set-accessChange how a canvas can be reached by people with its link.
enhance-dev canvas listFind canvas ids by collection, title, access, review state, or deletion state.
enhance-dev canvas renameRename a canvas owned by the authenticated person.
enhance-dev canvas set-review-stateChange the authenticated person’s review state on a canvas.
enhance-dev canvas copy-walkthroughsCopy walkthroughs from a readable canvas into this one before saving players that name the copies.
enhance-dev canvas text-style-library listFind published text style libraries in your teams and files shared with you.
enhance-dev canvas text-style-library getRead the last published text styles from an accessible source file.
enhance-dev canvas text-style-library publishPublish selected text style changes without exposing unfinished edits or updating consumer files.
enhance-dev canvas deleteMove a canvas to its recoverable bin; retention is currently indefinite.
enhance-dev canvas moveMove a canvas between the personal shelf and a team shelf.
enhance-dev canvas duplicateCopy a canvas and its document into the selected shelf.
enhance-dev canvas delete-permanentlyPermanently delete a canvas already in the recoverable bin.
enhance-dev canvas restoreRestore a canvas from the recoverable bin.
enhance-dev canvas inspectRead the canonical browser URL for a canvas, its exact document version, kind counts, bounds, and next inspection commands.
enhance-dev canvas treeList stable node ids, hierarchy, kinds, and world-space boxes for one canvas.
enhance-dev canvas nodeRead one stable node with its exact styles, props, children, and current version.
enhance-dev canvas selectionRead the accountable person’s most recently changed live browser selection at an exact canvas version.
enhance-dev canvas realtime activity beginShow that this agent has started work on a canvas.
enhance-dev canvas realtime activity renewRenew an active agent-work indicator before its lease expires.
enhance-dev canvas realtime activity endRemove an agent-work indicator after work completes.
enhance-dev canvas document getRead a canvas document, version, and attached screen manifest.
enhance-dev canvas document saveReplace a canvas document. A stale base version exits 5 as CONFLICT; read, merge, and retry.
enhance-dev canvas version listList retained versions of a canvas, newest first.
enhance-dev canvas version getRead the document and screen manifest retained for one canvas version.
enhance-dev canvas version nameName the current or a retained canvas version so it is kept.
enhance-dev canvas version update-metadataReplace the title and description of a named canvas version.
enhance-dev canvas version remove-nameRemove a canvas version’s name and return it to automatic retention.
enhance-dev canvas renderRender production-faithful canvas pixels after inspecting exact structure and geometry.
enhance-dev canvas render import-sourceImport one source through the canonical editable-primitives compiler.
enhance-dev canvas render get-importInspect the progress or committed result of a primitive import.
enhance-dev canvas render cancel-importCancel a queued primitive import before compilation begins.
enhance-dev canvas render preparationAvailable subcommands: create, get, cancel
enhance-dev canvas participants listList people with direct access to a canvas.
enhance-dev canvas participants set-accessChange a canvas participant between view and comment access.
enhance-dev canvas participants revokeRemove a participant’s direct access to a canvas.
enhance-dev canvas invites createInvite an email address to access a canvas and return the pending invitation.
enhance-dev canvas invites acceptAccept a canvas invitation using its secret token.
enhance-dev canvas invites previewInspect what an invitation grants before accepting it.
enhance-dev canvas invites listList pending and expired invitations for a canvas.
enhance-dev canvas invites revokeRevoke a pending canvas invitation.
enhance-dev canvas invites resendReplace a pending canvas invitation token and send the invitation again.
enhance-dev canvas applyApply an atomic canvas edit batch and return its affected bounds.
enhance-dev canvas findFind accessible canvases and existing creation destinations with bounded results.
enhance-dev canvas removeRemove explicitly named canvas subtrees with scope, lock and revision checks.
enhance-dev canvas readRead complete editable content, bounded evidence, or the supplied reference.
enhance-dev canvas update-htmlApply an identity-preserving edit from a complete HTML snapshot.
enhance-dev canvas publish-prototypePublish a static build or resume an existing deployment with a revision-checked canvas attachment, returning bounded ingestion progress and a separate attachment receipt.
enhance-dev canvas import-assetImport one selected local image or font into the native canvas asset lifecycle, verify its bytes, and return a durable resource without placing it.
enhance-dev canvas insert-htmlCompile one populated HTML subtree and atomically insert it at an explicit, revision-checked destination.
enhance-dev canvas make-editableConvert one captured screen into an independent editable copy beside its source, preserving the original.
enhance-dev canvas captureFreeze an inspected recording moment into a durable screen on its source page, holding the observed canvas revision through attachment.
enhance-dev canvas arrangeArrange explicit canvas objects through native measured layout and one revision-checked commit.
enhance-dev canvas guideAgent design workflow.
enhance-dev canvas get-jsxRead concise subtree JSX.
enhance-dev canvas get-computed-stylesRead effective node CSS.
enhance-dev canvas write-htmlCompile HTML/CSS primitives.
enhance-dev canvas create-artboardCreate a top-level frame.
enhance-dev canvas editApply an atomic canvas edit batch.
enhance-dev canvas set-text-contentSet Text node values.
enhance-dev canvas rename-nodesRename layers.
enhance-dev canvas delete-nodesDelete node subtrees.
enhance-dev canvas update-stylesUpdate visual and layout styles.
enhance-dev canvas duplicate-nodesDeep-clone node subtrees; --input uses native measured layout and durable copy receipts.
enhance-dev canvas move-nodesReorder or reparent nodes.
enhance-dev canvas work beginStart visible agent activity.
enhance-dev canvas work updateMove visible agent activity.
enhance-dev canvas finish-working-on-nodesEnd visible agent activity.
enhance-dev comment listList comment threads and replies on a canvas.
enhance-dev comment getRead a revision-bound page of messages from one comment thread.
enhance-dev comment startStart a comment thread anchored to a canvas location.
enhance-dev comment resolveSet a thread resolved or reopened with an explicit target state.
enhance-dev comment reactSet or remove one emoji reaction on a comment message.
enhance-dev comment replyAdd a reply to an existing comment thread.
enhance-dev comment editReplace the body of a comment message authored by this person.
enhance-dev comment moveMove a comment thread anchor to a new canvas location.
enhance-dev comment deleteDelete a comment thread you started, or tombstone one of your own replies when its id is set. Deleting the first message deletes the thread.
enhance-dev comment attentionList every open comment needing attention; source metadata is included when a capture has it.
enhance-dev organisation listList teams the authenticated person belongs to.
enhance-dev organisation createCreate a team and make the authenticated person its owner.
enhance-dev organisation updateRename a team managed by the authenticated person.
enhance-dev organisation deleteDelete a team and rehome every canvas to its creator’s personal shelf.
enhance-dev organisation people listList the people and roles in a team.
enhance-dev organisation people addAdd an existing account by email; use organisation invites create when no account exists.
enhance-dev organisation people set-roleChange a team member between administrator and member.
enhance-dev organisation people set-content-accessChange team content access independently of the member’s administrative role.
enhance-dev organisation people removeRemove a person from a team without deleting their account.
enhance-dev organisation people transfer-ownershipTransfer team ownership to another current member.
enhance-dev organisation invites createInvite an email address to join a team with the selected role.
enhance-dev organisation invites listList pending and expired invitations for a team.
enhance-dev organisation invites revokeRevoke a pending team invitation.
enhance-dev organisation invites resendReplace a team invitation token and send it again.
enhance-dev organisation invites previewInspect a team invitation before accepting it.
enhance-dev organisation invites acceptAccept a team invitation using its secret token.
enhance-dev person meResolve the current person and authentication kind.
enhance-dev person update-display-nameChange the name shown for the current person throughout Enhance.
enhance-dev person recipients searchFind people who can be invited by matching a name or email.
enhance-dev person recipients recentList people recently selected as sharing recipients.
enhance-dev prototype publishPackage and publish an unpacked static build directory. The CLI creates the upload artifact. To update a prototype, publish to its owner node: pass --prototype-id and that node as --node-id. Any other node that shows it forks into its own prototype. An update keeps the title the node shows; --title only names a new node.
enhance-dev recording startStart a recording attempt and receive its first signed chunk upload.
enhance-dev recording append-chunkCommit metadata for the uploaded DOM chunk at this index, then reserve the next upload.
enhance-dev recording append-audio-chunkCommit metadata for the uploaded audio chunk at this index, then reserve the next upload.
enhance-dev recording completeFinish a recording and report any missing event or audio chunks.
enhance-dev recording getRead one recording and its replay metadata by id.
enhance-dev recording discardAbandon an incomplete recording attempt and its uploaded chunks.
enhance-dev recording listList recordings attached to one canvas.
enhance-dev recording deleteSoft-delete a completed recording while preserving screens and clearing their provenance.
enhance-dev recording refresh-uploadReplace an expired signed upload for a recording chunk.
enhance-dev recording confirm-uploadConfirm that a repaired recording chunk reached storage.
enhance-dev recording snapshotPersist one visually accepted recording moment as an ordinary screen and frame.
enhance-dev recording-asset reserveReserve signed uploads for external assets used by a recording or by a screen with no walkthrough.
enhance-dev recording-asset confirmConfirm which reserved recording or screen assets reached storage.
enhance-dev screen createReserve a signed upload for a captured page and return its screen id.
enhance-dev screen completeConfirm a captured page after its bytes have been uploaded.
enhance-dev screen deleteDelete an unattached captured page owned by this person.
enhance-dev transcript retryRetry a failed transcription for one recording.
enhance-dev transcript getRead timestamped speech cues as candidate moments; render and inspect candidate PNGs before snapshotting.
enhance-dev auth loginAuthenticate in a browser, then store a revocable agent credential.
enhance-dev auth statusResolve the stored token to its person, label, and expiry.
enhance-dev auth logoutDelete the local credential file; this does not revoke the server token.
enhance-dev captures publishPublish or resume a reserved capture manifest and print its durable receipt.
enhance-dev operation statusRecover an existing outcome without creating or resuming work.
enhance-dev doctorCheck the installed binary, API reachability, and credential file without changes.
enhance-dev fixture screenUpload one captured page and return its reusable screen id.
enhance-dev fixture recordingUpload NDJSON rrweb events as a walkthrough; chunk offsets start at the first event.
enhance-dev fixture worldCreate a team, a canvas, and zero or more attached screen fixtures.
enhance-dev commandsEmit the command inventory as NDJSON without walking the help tree.