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 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 mark-viewedRecord that the authenticated person has viewed a canvas.
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 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 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 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 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 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.
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 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 an entire comment thread, or tombstone one message when its id is set.
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 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.
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.
enhance-dev recording-asset confirmConfirm which reserved recording 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 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.