local.creative.edit

Availability: Local CLI and local MCP (stdio), in the local toolkit. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.

Apply a versioned source-scene operation, verify exact requested art cells in the exported PNG and retain an edit receipt with the new revision. Version 2 append/replace admits declared palette text fields; other operations use version 1. Also accepts the QR-arrangement operations reorient-encoding and set-encoding-mask and the set-image-clipping operation, which keep their own checks and record no artwork receipt.

Inputs

The complete request schema is this operation's entry in capabilities.json (CLI) or mcp-capabilities.json (MCP) in the current release; list it from local.capabilities before calling.

Recovery

Read requestSchema. Version 1 supports move, erase, replace, append, delete, clear, paint, reorder and restore-background; version 2 supports only append/replace and explicitly upgrades the scene to version 2. Later edits retain that scene version. Prepare native text through local.creative.text.prepare; preserve declared field metadata and original white source cells. Actual glyph/clear-space checks reject encoder misses. TEXT_CLEARANCE_REQUIRED refuses new QR/background-to-native-ink edge pairs or unverifiable changed text before saving; keep the prior revision and choose an authorized layout alternative. Historical contacts and adjacent authored content still require visual review. Paint patches only a stroke; reorder requires an exact permutation. Protected, hidden or mismatched requested art refuses the whole edit. Retain refusal receipts and inspect the current revision before retrying. Receipt version 1 retains the actual operation.version, including 2; it is not a new receipt format. Native URL dither is retained across eligible edits; restore-background explicitly establishes it for an older source. Requested art is exact; generated background and contextual text can change during encoding. The HTTPS target stays fixed while the Creative fragment may change. Inspect full images and export the exact revision; no scan-only or metadata-only acceptance. Operation { "kind": "reorient-encoding", "orientation": "N" } changes the QR arrangement while preserving displayed source artwork, lettering, original PNG bytes, clipping and layer order. orientation accepts N/E/S/W. It updates capture/fit provenance and linked-colour coordinates, then uses the same source transaction as Studio’s QR arrangement → Try another arrangement. It is Creative-only and refuses pending drawing/text buffers, fixed-module colour conflicts, protected-content loss or failed exported-image decoding. Compare actual results; a decoder pass is not visual acceptance. The request target stays the same, while the encoded art fragment may change. This is neither a faithful provider-symbol replacement nor proof of provider cutover. Operation { "kind": "set-encoding-mask", "mask": 5 } selects QR mask0–7 through the same source transaction as Studio’s QR arrangement → QR pattern (displayed as Pattern1–8). This operation supports single-design Creative projects with version6/ECC L; multiple frames, GS1/exact mode, unsupported options and pending edit buffers are refused. It preserves the authored scene, original assets, displayed orientation, other encoder preferences and request target; the raw matrix must independently prove the selected mask. Save/reopen and Undo retain the preference. Compare actual text/artwork fidelity and finished-image reader results; a different pattern can improve some requests while worsening others. If encoding or scanning fails, inspect the error and revise the operation. The earlier source is preserved. Creative edits re-encode the artwork fragment. Moving back can restore the artwork layers without reproducing the earlier QR pixels or fragment; use restore for the exact earlier source, then render and compare its files. LOCAL_ARTWORK_CLIPPING_REQUIRED means move inside or explicitly allow clipping; LOCAL_ARTWORK_HIDDEN means retain visible artwork or explicitly delete its layer. A refusal preserves the earlier revision.

All operations · Documentation index · Current manifest