Plugins and extensions
Native float text (schema 60)
Existing isolated TextLayer/FontFile constructors and document-write commands can edit float typography using already declared original font families. Selected native faces still preload privately; no bytes, font chooser, renderer, file, network or provider service is exposed to command code. Installation remains inert. Host commit rechecks document grants, revision, source ownership and shared validation before one Undo; a failed script publishes no edits. Independent REST font/session support adds no browser synchronization. Package/runtime transport versions and permissions stay unchanged. Defaults, example and errors.
Native linear Patch and Spot Healing
Schema 59 adds explicitly native corrected TIFF values, linear private repair preparation and existing Patch/Healing controls. Shared validation, Undo, isolated/plugin grants and independent REST boundaries remain. Full source validation and retained original samples apply before publication. Signatures, defaults, errors, limits and verification status.
Editable native float vectors
Existing VectorLayer/VectorPath commands now support linear solid and continuous gradient color with separate canonical fill/stroke coverage, native compositing, ancestry, masks, clipping and styles. Pen, shape and Boolean controls use the same editable geometry/history. No schema, grant or REST/browser synchronization change is introduced. Signatures, defaults, paint rules and current verification.
Native float clone values (schema 58)
Explicit CloneStroke.precision:"float32" retains unmasked canonical linear
TIFF sources, once-only scalar brush coverage/opacity and native source-over.
Complete originals and identities validate through shared commands, isolated/
plugin/independent REST commits and source-bearing persistence. Trusted Clone gestures now sample a frozen original FloatScene, keep private
native previews, and stage linear TIFF tiles before one-Undo publication.
Signatures, defaults, errors, coordinates and limits.
Prepared HDR raster values (schema 57)
Existing WetPaintStroke values accept precision:"float32" and linear native
TIFF pairs for float raster and PaintLayer artwork. PaintLayer appends use
paint.strokes.add(stroke) and local native reconstruction. They execute through existing isolated
commands; installation stays inert. Existing document/source grants, locks,
revision/Undo and complete host pair validation still apply. There is no new
permission, pixel/worker/file/network service or host preparation method. HDR
color values do not apply to masks or byte documents. Signatures, defaults,
errors, example and current acceptance.
Retained mask planes and mapped fields (schema 56)
The isolated constructor set includes immutable MaskPlane values. Mask edits,
projective relinking and prepared mapped Brush/Wet DTOs retain original geometry,
source-grid references and native/document filter phase. Installation remains
inert; existing document/source grants, shared revision/Undo and strict native
PNG/alpha validation still apply. Geometry references do not grant source pixels,
workers, files, network or host wet preparation. Zero-opacity mapped metadata does
not select a new reconstruction path. Broader integration acceptance remains open;
exact contracts, defaults, examples and current limits.
Captured wet fields (document schema 55)
The existing isolated WetPaintStroke constructor accepts optional captured
perspective placement. Packages still require their existing document:write
grant and existing source assets. Host commit validates the complete prepared
DTO, field age, finite artwork bounds, original PNG dimensions/premasked alpha,
locks, revision and atomic Undo. Ordinary/filter mask pullbacks may retain
unbounded streaming support. Installation stays inert; command code runs only
through the isolated scripting boundary. Package versions, permissions and
host file/network/pixel capabilities are unchanged. Trusted browser wet
preparation is not an isolated plugin service.
Prepared contract and runnable example.
Bidirectional coverage stays host-owned
The private original/placed scalar sampler adds no plugin permission, package field, worker/pixel method, network access or installation-time execution. Existing document grants, isolation, revision/source/asset validation and Undo remain authoritative. Projected brush/mask controller integration remains required. Engine boundary.
Image perspective uses existing document grants
PerspectiveTransform and shared layer.update commands require existing document read/write grants. Installation stays inert and third-party execution remains isolated with current grant, source, revision and lock validation and one Undo. No native pixel, worker, file, profile or network authority is added. Sampling and export remain host-owned. Contract and editing limits.
Float tonal edits keep existing grants
Existing document grants admit constructor tonal edits against owned float documents. Installation stays inert; isolated execution retains captured revision/source/current-grant checks and one Undo. Byte brush textures keep ordinary asset validation; float thumbnails are not texture or precision sources. No worker, pixel, file, profile or network grant is added. Behavior and limits.
Float appearance keeps existing grants
Color Overlay/Blend If use existing document read/write grants and isolated shared style commands, with current source/revision/lock/permission validation and Undo. Installation stays inert. No raw-pixel, worker, file, profile or network grant/package change is added. Contract.
Float device proofing is host-owned
Installation remains inert. Isolated precision/scene commands keep ordinary document read/write grants, source/revision checks and shared Undo. Host proof preferences survive those edits, but no profile chooser, CMM worker, native store, file or network authority is exposed to plugins. Contract and current verification.
Continuous float palette and lookup controls
Existing document grants admit the same Gradient Map/LUT constructor and setter commands in float documents. Installation stays inert; third-party code uses isolated scripting with captured host source/revision/current-grant validation and one Undo. Numeric table handles and native buffers remain private; no file/worker/pixel permission or new package contract is added. Exact contracts and verification.
Continuous float color controls
Existing document grants permit the same strict HSL, Color Balance and Vibrance DTOs in float documents. Installation remains inert, third-party code runs only through isolated scripting, and host commit retains captured revision/source/command validation and one shared Undo. No permission, raw pixel, file, profile or worker service is exposed. Exact controls, defaults, errors and limits.
Initial float document workflow (F10)
Existing document read/write grants permit shared document.convertToFloat() and supported float edits against already-retained original TIFF raster assets. Host commit validates working mode, sources, revision and commands. Installation stays inert; no import/export/profile/worker service or new permission is exposed. Exact signatures, defaults, errors, limits and verification.
Existing White Balance commands in float documents
Existing document grants allow White Balance through the same strict adjustment DTO in float documents. Installation remains inert. Isolated execution captures commands; host commit enforces current grants, sources, revisions, atomicity and shared Undo. Native matrix/pixel workers, original bytes, file choosers and output services remain trusted host capabilities. This adds no manifest version or permission. Defaults, errors and example.
Existing blend commands in float documents
The existing document read/write grants permit the same 18 blend-mode edits as trusted hosts. Installation remains inert; host commit validates source roles, commands, revisions, current grants and shared Undo. Rendering/file delivery separately enforce normalized artistic RGB without exposing native pixels or workers to third-party code. Normal retains finite extended RGB. See FLOAT_DOCUMENTS.md for defaults, errors, alpha/clipping behavior and the executable isolated example. No manifest or permission change is introduced.
Owned float source storage dependency
Trusted host leases now prepare original-derived, lossless float32 tiles with atomic IndexedDB publication, independent ownership, bounded reads and original-backed corruption repair. The default byte mode remains sRGB8; the initial connected float mode is documented in FLOAT_DOCUMENTS.md. This adds no isolated grant or browser/REST synchronization. Source contract, budgets and remaining integration. The complete roadmap remains active.
Float processing dependency
Private native/worker float32 compositing and affine windows now supply a precision-processing dependency. Default byte documents remain sRGB8; the connected float subset is documented above; no new isolated grant or REST/browser synchronization is added. Numeric contract, verification and required integration. Full F10 and the original roadmap remain open.
Normalized float TIFF input increment
Normalized SDR float TIFF input is a trusted host file workflow. Plugin installation remains inert; packages gain no file chooser, native ICC worker or profile-store privilege, and execute through the existing isolated command boundary. See the input contract and current limits. Full F10/F11 and the original roadmap remain open.
RAW TIFF grants no new capability
Native RAW master TIFF delivery is a trusted browser file service. Plugin installation remains inert; existing RawDevelopment commands and read/write/asset grants remain unchanged. No selected-file/native worker/profile privilege is exposed to isolated commands. Contract.
Profile-aware batch and recipe delivery (F10/W01/W03)
Profile-aware batch output and portable recipe delivery sources add no plugin manifest version, worker/file/profile grant, network service or download privilege. Installation stays inert; ordinary commands retain shared permissions/revision/Undo validation. Native profile preparation and output remain trusted browser services. Contract and current verification.
ICC browser integration adds no plugin grant
Native ICC inspection, color preferences, viewport proof and file delivery belong to the trusted browser host. They add no file chooser, profile/native store or worker service to isolated plugin commands. Installation remains inert; manifest grants, host validation, shared Undo/revision and source ownership remain authoritative. Exact host boundary.
SVG geometric clipping grants no file capability
The trusted importer compiles supported clipping into ordinary vector LayerMask values. Plugins can edit them only through current document grants and existing isolated command validation. Installation remains inert; no SVG parser, file chooser, DOM, network or source-byte service is exposed. Native command/schema/manifest permissions are unchanged. See SVG_CLIPPING.md.
Clipping layers
Schema-48 Layer.clipped uses existing shared layer.update validation and host-commit read/write grants. It adds no file, asset, network or other capability. Installation remains inert; execution stays isolated. Defaults, stack semantics, example, errors and persistence/export limits.
Declared alignment inspection (A12)
Design checks now accept optional explicit alignment rules against a canvas or independent key-layer frame, with document-pixel tolerance. Shared authored geometry includes affine parents, path/vertical text origins and active wet-paint/raster-replacement extents. Locked references remain readable; hidden targets, empty/unknown geometry and unresolved numerical precision remain explicit unverified results. Geometry work stays in private workers with scoped metadata and existing read/asset grants. Inspection changes no artwork/history or source bytes.
Omitted alignment policies retain strict version-1 reports; explicit policies use version 2 with measured evidence and complete matched/mismatched/unavailable/excluded coverage. The custom dialog exposes reviewable rules, stale-result protection, download/navigation and document-instance binding. Document schema 47 and existing native project/workspace/permission contracts are unchanged. Inferred alignment intent, bleed, rendered visibility, contrast/legibility and broader A12/roadmap gates remain required. See DESIGN_CHECKS.md for signatures, defaults, errors, limits and the dated verification boundary.
Public vertical text (F08)
Schema 47 adds optional TextLayer writingMode (horizontal-tb, vertical-rl, vertical-lr) and textOrientation (mixed, upright, sideways). Shared OO setters/commands, reusable paragraph formats and awaited native preparation retain logical Unicode and character/font ownership. Vertical wrapping uses the existing logical wrapWidth as physical height. Derived textFrameOrigin and textInlineExtent separate the physical frame from its logical alignment extent; client patches cannot author these caches. Native paths retain their separate textPathOrigin. Defaults preserve legacy horizontal rendering; text that has entered native writing retains its native character-layout marker when switched back to horizontal.
The custom Inspector exposes writing direction, glyph orientation, paragraph height and vertical alignment. Corner resizing follows the inline axis and keeps the opposite frame corner under affine parents. Native projects/workspace/recipes preserve source text, geometry and complete original font/image payloads. Supported native SVG output/reimport retains writing/orientation and whole-line placement; unsupported inline writing/baseline graphs require explicit flattening. Independent REST sessions preserve the fields with estimated headless bounds; they do not synchronize with the browser. See VERTICAL_TEXT.md for the precise contract, limitations and dated verification status. Broader typography/interchange/device/performance and the original roadmap remain open.
Vertical preparation grants no capability
Private native vertical preparation introduces no plugin grant, source access or script import surface. Installation stays inert; current document read/write grants, strict schema-47 layer fields, native typography broker checks and final host revalidation govern public vertical operations. See VERTICAL_TEXT.md.
Path text uses existing authority
TextPath values and TextLayer baseline commands use existing document read/write grants, shared schema-46 validation, native finite frame preparation and final host revalidation. Installation stays inert. No source bytes, chooser, renderer, network, import service or new permission is exposed. Keep existing cancellation, deadline/native-operation/command limits and atomic rollback. See TEXT_PATHS.md.
Styled SVG remains a trusted file service
Inline SVG font/source reconstruction does not expose file admission or a native rendering host to isolated code. Installation remains inert and no permission/manifest change is added. After trusted import, existing TextLayer range methods and shared commands retain their usual grants, native script measurement, revision/lock/source validation and Undo; REST sessions remain separate. See SVG_CHARACTER_IMPORT.md.
Character formatting and native metrics
Character ranges use existing layer.update authority, schema-45 validation and Undo. Awaited TextLayer formatting/reflow may request private native host measurement with existing document read/write grants. Return finite bounds only; final accepted commands independently remeasure and validate revision, sources and grants. Keep the five-second deadline, 32 native preparations and 256-command bound. Scripts use panel cancellation. No source chooser/bytes, rendering host, network grant or manifest permission is exposed; installation stays inert. See CHARACTER_TEXT.md for the contract, limits and dated verification status.
Font-axis commands
The optional schema-44 fontVariationSettings field and reset use existing text/paragraph commands and ordinary manifest grants, source/revision validation and Undo. Current owned fonts preload privately before isolated code starts. No source chooser, binary font store, host native face, network or export capability is added; installation remains inert. The dated roadmap records isolated/production acceptance and remaining coverage; see FONT_VARIATIONS.md.
Text property edits preserve authored frames
Existing isolated command code uses the same layer.update measurement boundary: ordinary placement/appearance changes preserve imported text dimensions, while explicit metric/layout requests and TextLayer.reflow() recalculate them. Manifest/grant, isolation, revision/source checks, inert installation and one accepted Undo transaction remain unchanged. No font chooser, source loader or new permission is exposed.
Alignment uses existing editing authority
The public alignment method emits the strict shared layer.align command. Existing document read/write grants, final revision/owner validation and ordinary Undo apply. A stationary key does not gain edit authority; installation remains inert, with no new file/network/asset-source capability or manifest version. See LAYER_ALIGNMENT.md for defaults, examples, errors and verification limits.
SVG font import remains host-only
Embedded SVG font data and native text reconstruction belong to trusted file admission. They add no source chooser, raw font store, network, native renderer or import capability to isolated plugin code. Installation stays inert; ordinary subsequent text/font metadata edits retain existing permissions, commands and Undo. See SVG_FONT_IMPORT.md.
Font source packages remain a host surface
Portable recipe font resources belong to the existing trusted host recipe/package path. Package storage/import is inert. Internal plugin manifests, permissions, installation and isolated execution are unchanged; no font chooser, source store or package-import capability is added to plugin code. Shared source validation, locks, revision and Undo still apply to accepted font metadata commands. See FONT_RECIPES.md.
Font lifetime and relinking boundaries
The host collects staged sources and retains model/history/view/operation ownership independently of plugin package lifecycle. Existing metadata rename/remove commands retain their document permissions and shared undo checks. FontFile.relink and Document.fonts.relink are trusted asynchronous source-admission operations requiring a configured source store; the ordinary isolated context has no such store or source chooser. Private native preloading for script text remains unchanged. No manifest version, permission or installation execution behavior changes.
Font-file binding (F08)
Document schema 43 supports separately owned font resources, shared FontFile commands, explicit trusted embedding and native-project 5/workspace persistence. Selected native fonts preload into isolated script workers before text construction; no font chooser, host store, credentials or network grant is exposed there. Portable recipe/package/batch transport is documented separately in FONT_RECIPES.md. Broader font/viewer/device/mixed-source acceptance and professional typography remain open. See the current font-file contract and limits. Earlier font-source sections below describe read-only inspection/preview; explicit embedding is a separate operation.
Font-source inspection grants no extension access
The trusted font inspector reads local font Blobs and previews loaded faces in a private child font set. EditorApplication.inspectFont/prepareFontSource are not isolated globals, plugin capabilities or document-font mutations. Existing document:read/document:write grants cover family inventory/replacement and existing font-file metadata commands; installation stays inert. Font source files, native handles and their private lifetime are not exposed through plugin storage or network. Selected render faces preload privately into the disposable script worker before text constructors run; explicit independent REST admission is a separate authenticated host surface. No package/runtime contract changes. See FONT_SOURCES.md.
Document font commands
Document.fonts.items uses existing document:read access; font replacement requires document:write and commits through the same isolated result validation, permission/revision, command and undo boundaries. It grants no font-file, asset, network or credential capability, and installation remains inert. See FONT_MANAGEMENT.md.
Native font fields keep existing authority
Isolated command plugins may author the same validated TextLayer font requests and paragraph styles through current document read/write grants and shared undo. These data fields add no font-file, host-font enumeration, network, credential, rendering or file-export privilege. Package permissions/lifecycle remain unchanged and installation remains inert. The bundled runtime uses the shared current command validator; capital/stretch fields retain their schema-42 introduction gate. See native font features.
Multipage TIFF stays a host capability
The cross-document TIFF exporter accepts owned host Document handles only. No plugin manifest, permission, lifecycle or package changes are introduced. Isolated plugins still receive their current document and validated editing/host services, without editor/export/file access. Plugin installation remains inert and existing commit grants/history validation remain required. See multipage TIFF.
Host-owned plugin provenance
Accepted isolated plugin commands are stamped by the host with installed plugin ID/version/command and execution ID after existing grants/validation. Package manifests/sandbox results cannot set trusted origin or observation flags. Origin scopes do not remain active across awaits. Source records contain no executable code, credential or prompt; imported native records are unverified claims. The provided isolated document rejects internal origin overrides and rolls back earlier staged commands. Installation remains inert; package versions/grants are unchanged. See HISTORY.md.
Saved comparison isolation
Pinned host comparisons do not expand package permissions or installation behavior. All four comparison mutation/continuation methods reject in isolated execution, rolling back earlier commands; private preview is not an isolated global. Ordinary plugin edits continue through shared commands. History-3 source retention includes comparison-only accepted originals during staging cleanup, native/project delivery and workspace recovery. Package versions and inert installation remain unchanged. See HISTORY.md.
History branch isolation
Persistent host document branches do not expand installed plugin permissions. All four branch mutation methods reject inside isolated execution, and preceding commands in a failed script do not commit. Host source retention includes branch-only snapshots. Ordinary plugin edits after host Undo may create a history branch through the existing shared command path. Package/runtime versions and inert installation remain unchanged. See HISTORY.md.
History inspection grants no extension authority
History reference previews and timeline UI are trusted host controls. As with undo/redo, isolated Scripts/plugins reject document.navigateHistory during atomic execution; failed script commands do not commit. Host navigation still uses existing accepted snapshots, asset ownership, recipe observers and undo history. Installation/permissions stay unchanged. Independent REST navigation does not grant browser control or synchronize documents. See HISTORY.md.
Palette library grants no extension access
Local color palette packs are inert strict data, not command packages. Palette storage/pickers add no script global, local file/database/network grant or MCP tool; existing isolated document color commands retain validation and undo. Account deletion/sign-out leaves these independent browser preferences intact. Installation and the package/runtime contract are unchanged.
Artwork library adds no extension grant
Saving/importing a native artwork pack stores inert data only. It does not execute installed commands, extend isolated Scripts/plugins, connect desktop MCP documents or grant account/file/storage permissions. Explicit placement uses ordinary validated OO commands/history. Existing plugin installation, permissions, cancellation and asset/revision validation remain unchanged.
Website identity grants no plugin permission
Account export/deletion likewise grants no plugin or scripting capability and leaves independently paired local document connections under their existing explicit controls. Account deletion is not a Disconnect action and does not remove local artwork, recovery or saved projects. Credentials and account exports never enter isolated plugin results or document tool data.
T24 website sign-in is separate from internal package permissions and the explicitly paired T23 local document connection. Signed-in account cookies never enter isolated plugin code, project data or MCP document tools. Signing into/out of Canoli does not silently connect documents, change existing explicit grants or authorize provider inference. All existing isolated execution and host commit checks remain. See identity-only account behavior.
Separate ChatGPT desktop plugin — local workflow verified
The outer Canoli Studio ChatGPT plugin is a portable Agent Plugins package with a local stdio MCP server and focused skill; it is not an internal Canoli command-plugin package and must not be passed to the internal installer. A complete archive/runtime/notices/catalog is produced by npm run build:chatgpt. Installation executes no document command. Browser users explicitly pair a chosen document and grant reading, with writing separately opt-in. Tools send strict data through shared command validation/assets/revisions/undo, not third-party JavaScript. The existing isolated runtime remains the only execution boundary for internal third-party command code; no file/native/network/credential privilege is added there. Owner credentials are not exposed to tool results or projects. See setup, tools, exact retry and revocation semantics. Actual installed ChatGPT testing and public-submission eligibility remain separate unfinished acceptance gates; T24 sign-in is not implemented by local pairing.
Local lens database import boundary
The trusted browser Lensfun library parses immutable local XML data in a private worker and persists originals. It never executes plugin commands or imported code, resolves external DTDs/entities, or adds file/Blob/database/native handles to isolated scripts. Scripts/plugins still use only pure LensProfile/LensCorrection values and existing RAW document/assets grants. The selected complete calibration snapshot stays in ordinary accepted source/history/project transport even if a library file is removed. Plugin installation remains inert. Host library signatures and the supported data/native boundary are in SCRIPTING_API.md.
Calibrated RAW value boundary — workflow in implementation
LensProfile is a pure isolated constructor for complete strict calibration values. profile.correction() creates a LensCorrection inside RawDevelopment using explicit focal length/camera crop; no database, file, Blob, image, native handle or network access is exposed. Existing document/assets grants and private RAW preparation validate native geometry, original identities and final commands before atomic commit. Complete accepted settings and separate lens-native provenance survive ordinary history/project transport. Script deadline/command/asset budgets remain; installation stays inert. XML/library and reviewed camera/lens selection remain trusted-host services; isolated code receives only complete selected values. See SCRIPTING_API.md for supported models, defaults, limits, errors and the executable example.
Recent-file privileges
Recent files and open-document command-search entries are trusted browser UI resources. Packages gain no file bytes, browser history, recent-store/IndexedDB access, cross-tab channel, file opener or OS path privilege. Installation remains inert and execution stays within the existing isolated scripting boundary and document grants. The new trusted host recent service and raster-file opener are not globals in plugin/Script workers; REST sessions remain separate.
Workspace layout boundary
Docked/named workspace layouts are local browser preferences managed by the user through the rail or command search. Packages gain no preference, UI-docking, storage or file privilege. Existing document grants, inert installation, isolated execution and shared command/history validation are unchanged. Layouts are not stored in plugin packages or native document snapshots.
AVIF host export boundary
AVIF is a trusted browser Export/batch delivery format. Its private local encoder worker does not extend package permissions or the isolated scripting runtime. Installation remains inert; plugins may create ordinary permitted artwork through existing commands but cannot invoke host export, acquire pixels/files/fonts, fetch the codec or initiate downloads. User-initiated export retains source/font lifetime validation and unchanged document/history ownership. No plugin manifest/version change.
Paragraph styles (schema 40)
Existing isolated command code receives ParagraphStyle and Document.paragraphStyles, plus TextLayer style/override methods, under existing document:read/document:write grants. The host revalidates the same commands, locks, source references and revision before one-undo commit. Installation remains inert; no font enumeration/file/network/pixel/provider service or new permission is added. Libraries and links are document-scoped (including independent embedded masters), persisted in schema 40, with unchanged project/workspace/plugin/recipe transport versions. See the tested guide.
Bilateral denoise value (schema 39)
BilateralDenoiseFilter is available to existing isolated command code with the scripting defaults, errors and example. It is an immutable authored value, applied through SmartObjectLayer/shared commands under existing document:write grants and host revision/asset validation. Installation stays inert and a successful script commits one undo entry. There is no additional pixel/file/network/provider service or permission. Root/embedded records require schema 39; project, workspace and plugin/recipe transport versions are unchanged.
Median denoise value (schema 38)
Existing isolated commands receive MedianFilter, with the same defaults/ranges and example as the scripting guide. It is a validated immutable value applied through SmartObjectLayer/shared commands. Existing document:write permission, host revision/asset validation and one-undo script commit apply; plugin installation remains inert. There is no pixel, file, font, network or provider service added by this filter. Project 3, workspace 2 and package API versions stay unchanged.
Shared frequency parameter (schema37)
LayerGroup.frequencyRadius and read-only Layer.frequencyGroup are ordinary OO model surfaces. Plugin commands may update the group through the existing document-write grant and shared validation/revision/undo boundary; locks and native source references remain checked. Original child data and protected locks are preserved. Schema37 group records use existing project/recipe/package transport; installation remains inert. Native preview/preparation canvases belong to the trusted application and add no isolated host service, file/network access or provider privilege.
Frequency values and existing capture services (schema 36)
Isolated commands receive FrequencyBandFilter, NativeCompositionFilter and DocumentToneFilter constructors, LayerMask rasterErasures geometry, the two new blend-mode strings and Document.createFrequencySeparation. These are validated OO values/shared commands. The documented recipe additionally uses existing host.assets.get and smart-object rasterization, requiring the existing asset-read/asset-write/document-write grants and execution limits. The trusted browser separateFrequencies helper adds no plugin host service. Installation stays inert; host commit rechecks permissions/revision/assets and publishes one undo. No raw file/network/provider privilege is added.
Red-eye adjustment values
RedEyeAdjustment is available in the existing isolated constructor bindings. It creates parametric adjustment data only; use an attached AdjustmentLayer and normal masks/commands for edits. Existing document:write permission, revision validation, atomic undo and inert installation rules apply. No new permission, host service or network capability is added. Constructor defaults, errors and example use document schema 35; ordinary prepared-mask records retain schema 34 and package versions are unchanged.
Prepared wet mask values (schema34)
Existing isolated commands may assign immutable LayerMask.applyWetPaint results using prepared PNG assets already available to the document. Ordinary/filter/embedded masks use shared model, locks, assets, alpha validation and atomic history. Permissions and file/network boundaries are unchanged; no brush simulation, direct pixel/file access or new host service is granted. Invalid alpha, including inert metadata, rejects the complete command run before publication. Installation remains inert.
Retained wet-stroke sessions are internal host engine workspaces, not new plugin bindings or permissions. Prepared WetPaintStroke remains the isolated value surface. Explicit null opacity/nativeTransform reject before staged edits commit. Zero operation opacity retains valid source references/history while remaining inactive for rendering routes and SVG baking. Installation and existing document/asset grants keep their current behavior.
Schema-33 WetPaintStroke is a prepared-data value in the existing isolated constructor runtime. Attaching requires document-write permission, with no new permission or preparation/file/network service. Output/coverage reference existing PNG assets; the host checks native dimensions/premasked alpha and cancellation/revision/grants before commit. Installation remains inert. Trusted application native preparation is not exposed to plugins. See prepared wet paint for defaults, errors and a runnable example.
Schema-25 text wordSpacing/fontKerning setters and resetSpacing use the existing isolated constructor runtime, document-write permission and shared commands/history. They introduce no font-file access, font enumeration, network/asset permission or install-time execution. Native font metrics vary between isolated workers, the browser and headless REST; these settings do not embed fonts or claim portable shaping. A failed script, invalid value or revoked/missing grant rolls back ordinary staged edits. See the TextLayer guide and its tested spacing example.
Canoli Studio supports local command plugins: install a JSON package, review its access and JavaScript, then run its named commands from the Plugins panel (tool rail, or Mod+Shift+L). Commands use the same constructor-based scripting API as the Scripts panel. This is the first extension surface; a marketplace, custom panels, background services, external network access and native/WASM plugin modules are not implemented.
Try the example
- Open Plugins and choose Load example.
- Review Studio utilities, its document access and command source. Click Install plugin. Installation itself does not execute code.
- Run Add guide frame. It creates an editable vector frame in the current composition. Close Plugins and undo to remove that command's edits together.
- Reopen Plugins to export its package, inspect the composition, or remove it. Installed packages persist in this browser profile across reloads; document edits still require saving a project.
Package format
Use a UTF-8 JSON file named your-plugin.luma-plugin.json. No ZIP, build process, dependency install or external script URL is required. JavaScript source is embedded as a string for each command.
{
"format": "luma-plugin",
"apiVersion": 2,
"id": "example.document-tools",
"name": "Document tools",
"version": "1.0.0",
"description": "Reusable commands for this studio.",
"author": "Your name",
"permissions": ["document:read", "document:write", "jobs:run"],
"commands": [
{
"id": "rename",
"title": "Name this composition",
"description": "Rename the open document.",
"source": "document.name = 'Studio composition'; print(document.name);"
}
]
}| Field | Contract |
|---|---|
format, apiVersion |
Must be "luma-plugin". apiVersion can be 1 (legacy manifest) or 2 (extended permissions); unsupported versions fail explicitly. |
id |
Stable package ID, 1–100 characters, matching [a-z][a-z0-9.-]*. Reverse-domain-style identifiers are recommended. |
name, version |
Nonblank display name, at most 80 characters; version major.minor.patch, optionally with a hyphenated prerelease, at most 40 characters. |
description, author |
Description at most 500 characters (defaults to empty); optional author at most 100. These are author-provided metadata, not verified identity. |
permissions |
Unique permissions; document:read is required. apiVersion: 1 supports document:read and document:write. apiVersion: 2 also supports jobs:run, ai:generate, assets:read, assets:write, and assets:analyze. Unknown permissions are rejected. |
commands |
1–16 commands; unique IDs with the same syntax as the package ID. |
Command title, description |
Nonblank title at most 80 characters; description at most 300, defaults to empty. |
Command source |
JavaScript body, 1–50,000 string code units. The complete package must fit within 250,000 UTF-8 bytes. |
Unknown manifest/command fields are rejected. Invalid JSON, duplicate command IDs, unsupported API versions and oversized packages do not replace an installed package. Importing the same package ID shows the installed version and an explicit Replace installed plugin action; it replaces the package atomically, including permissions. No automatic updates or version ordering are applied.
Execution and permissions
Each command runs in a fresh isolated worker through the existing scripting sandbox. It receives the document snapshot, active layer, the documented DOM constructors, the host bridge (see SCRIPTING_API.md), and print. Top-level await works; direct network access, arbitrary imports, and raw host application access do not. Commands can construct paint layers, strokes, paths, selections, adjustments and styles. Use document to change the open composition; new Document() creates a separate model.
Permission model and dynamic revocation
The host enforces strict capability boundaries:
document:readexposes document metadata, names, geometry, IDs, paths, strokes and existing asset references. It does not expose raw image bytes.document:writeallows committing document mutations and active layer changes. If a plugin withoutdocument:writeemits mutations or changes the active layer, the host commit gate rejects the entire result. Edits commit as one undo entry named Plugin name: Command title.jobs:runandai:generateallow submitting and managing asynchronous background jobs viahost.jobs.assets:readandassets:writeallow inspecting or modifying document asset references viahost.assets.assets:analyzeallows invoking image analysis operations.
Users can inspect permissions in the Plugins panel and dynamically grant or revoke permissions using interactive Grant / Revoke buttons. Permission state is stored locally in localStorage under luma.plugins.permissions.v1. If a user revokes document:write or jobs:run, subsequent command executions are immediately blocked at the host boundary from modifying the document or submitting background tasks.
Commands have the same five-second deadline, 256-command and payload-complexity budgets as scripts. A thrown exception, invalid output, missing image asset, timeout, cancellation or document revision conflict applies no plugin edits. Stop plugin, Escape or closing the panel cancels a pending run. No activation or load hook runs at installation/startup. Concurrent runs are not a supported plugin service.
The worker has no page DOM, editor service, credentials, image import/export service, local storage, external network or external code loading. Permissions do not grant these capabilities. Plugins cannot import one another or install additional plugins. This prototype sandbox has a time limit but no strict heap quota and has not undergone a hostile-plugin security review. The UI therefore exposes source review and does not present installed code as vetted. Use packages from authors you trust.
Trusted PDF output
PDF output remains trusted user-initiated host/UI functionality. Plugin constructors may prepare ordinary editable artwork; later export rasterizes it with reported losses. No PDF export/download, source-byte/font-file capability, file access, background execution or new grant is added. Installation remains inert, and existing isolated revision/undo/asset/permission checks remain unchanged. See the PDF host contract and constructor example in SCRIPTING_API.md.
TIFF source boundary
TIFF inspection/import is trusted picker/drop/application functionality. Plugin constructors can edit the resulting ordinary raster layer and reference its existing asset ID under their current grants. Original TIFF bytes/page settings persist through host project, workspace, recovery and recipe operations; they are not exposed to plugin code. No TIFF file/decode/download capability, source-byte access or permission is introduced. Installation remains inert, and isolated execution retains revision, asset and final grant validation. See SCRIPTING_API.md for the host-only contract and constructor example.
Persistence and lifecycle
Packages are local browser-profile data in localStorage under luma.plugins.v1, separate from .luma project files. At most 32 packages are installed. Storage quota failure leaves the previous registry intact and reports an error. If browser storage cannot be accessed, the panel states that installation lasts only for the tab. If saved package data is invalid, the panel reports that it could not restore packages; it does not execute them.
Export packages to back them up or transfer them to another browser. Clearing site storage removes installed plugins; a private browsing profile may discard them on close. Removing or updating a plugin does not undo its previously committed document edits. Saving/opening projects does not install plugins. No plugin-specific preferences or secret storage API exists yet.
Trusted application integration
These methods are for application code, not plugin command source:
| Method | Behavior |
|---|---|
editor.plugins.install(package) |
Validate an object or JSON string and store it; replaces the same ID. Does not run commands. UI callers should first show package access/source review. Returns the installed manifest. |
editor.plugins.get(id) |
Installed immutable manifest or null. |
editor.plugins.getSnapshot() |
Immutable { plugins, storageMessage } for UI rendering. |
editor.plugins.subscribe(listener) |
Subscribe to registry updates; returns an unsubscribe function. |
editor.plugins.export(id) |
JSON string for an installed package; throws if absent. |
editor.plugins.remove(id) |
Remove the package from the registry. |
editor.plugins.getGrantedPermissions(id) |
Returns array of user-granted permissions for the plugin. |
editor.plugins.isPermissionGranted(id, perm) |
Returns whether a specific permission is currently granted. |
editor.plugins.grantPermission(id, perm) |
Grants a permission and persists update to local storage. |
editor.plugins.revokePermission(id, perm) |
Revokes a permission and persists update to local storage. |
editor.plugins.setGrantedPermissions(id, perms) |
Replaces the granted permissions array for a plugin. |
editor.runPlugin(pluginId, commandId) |
Run the installed command through isolation/permissions/validation; returns Promise<string[]> logs. Throws if command/package is absent. |
editor.scripts.cancel() |
Cancel the currently running script/plugin. |
The REST service remains a separate metadata service; it neither installs plugins nor executes JavaScript.
Future extension boundaries
Keep manifests versioned and installation inert. Extend the existing validated command boundary rather than handing third-party code page or engine objects. Custom panels, parameter forms, command-palette contributions, keybinding customization, persistent settings, new file formats and permissioned external services each need an explicit capability design. A future panel should communicate through a typed bridge and produce the same undoable DOM operations. Do not use unrestricted eval in the app or server as an extension mechanism.
The scripting result includes the complete layer-selection set, not just its active member. document:read forbids changing that set even when selectedLayer remains unchanged. Write-capable commands use the same document.selectLayers and layerSelection methods documented in SCRIPTING_API.md. No new permission is introduced.
Scripted patch preparation
Version 2 plugins may call awaited document.patchRegion when document:write, assets:read and assets:write are all declared and currently granted (alongside required document:read). Preparation and final transfer recheck grants, so revocation or plugin removal during asynchronous work discards private patch assets. Preparation does not expose source image bytes to plugin code. Patch operations share the entire script's final transaction and resource/time budgets; see the scripting guide for signatures and examples.
Layer.healSpot uses the same granted document:write, assets:read and assets:write permissions, private preparation scope and final commit checks as Document.patchRegion. Mixed patch/healing commands remain one atomic plugin edit. Both count toward the shared 32-repair limit per script.
Smart-object await layer.rasterize() uses the private host asset preparation boundary. Plugins require document:write, assets:read and assets:write; permissions and target revision/lifetime are rechecked before final commit. Prepared PNG assets remain private until successful script completion. Exceptions or revoked permissions discard those assets along with script edits. Plugin installation remains inert.
document.selectPolygon(points, operation = "replace") uses the same isolated constructor API and final shared command validation as other selection edits. It requires granted document:write; read-only plugins cannot commit selection changes. Installation remains inert, and no additional capability or source-image access is introduced. See SCRIPTING_API.md for vertex, coverage and error limits.
await document.modifySelection({operation, radius}) prepares Expand/Contract/Feather coverage in a private worker using the plugin's staged document commands. It requires granted document:write before work and again before result transfer/host commit. It does not read source-image assets and introduces no new permission. Revocation, removal, cancellation, script failure and stale revisions discard prepared coverage. Await each modification; at most 32 per script run and the existing time/result budgets apply. Installation remains inert. See SCRIPTING_API.md for the exact circular/feather kernels and radius limits.
Color Balance and Vibrance use normal AdjustmentLayer construction and .adjustment replacement through the shared isolated DOM/command boundary. The strict schema-17 parameter contracts are documented in SCRIPTING_API.md. They require current document:write permission, introduce no new capability and do not run code on installation. Source assets remain immutable and final script commits retain shared revision/undo validation.
Gradient map layers use the existing AdjustmentLayer constructor with {kind: "gradient-map", stops, reverse} and the documented 2–32 ordered stops. They need ordinary document:write at host commit, no new permission or package version. Installation stays inert; edits remain isolated, revision-checked and atomic, including invalid-stop rollback. No image bytes or external LUT access is added to scripts.
After an isolated command returns, the host rechecks installation and current document:write permission before committing staged document commands or selection changes. Removing a plugin or revoking write while its command is pending discards those staged edits. Re-granting write permits later runs. This commit check does not undo host jobs or other already completed in-band operations.
White Balance commands construct AdjustmentLayer with the strict {kind:"white-balance", temperature, tint} DTO and use existing document-write grants. No package version, permission, network access or raw-image exposure is added. Installation remains inert, and current host commit checks discard revoked/removed-plugin edits. Exact bounds/defaults/processing and schema-19 compatibility are in SCRIPTING_API.md.
Color Lookup commands can call AdjustmentLayer.setLut(cubeText, {amount?, interpolation?}) or use the strict packed DTO through existing document-write grants. Tables are inert document data, without network/file-read capability or new sandbox globals. Installation remains inert; pending revoked/removed commands cannot commit. Schema-20 records are portable in command recipes/projects; format, parsing, processing and script/request limits are in SCRIPTING_API.md.
Color Range adds await document.selectColorRange(options) through the existing isolated scripting boundary. Packages need apiVersion 2 and current document:read, document:write and assets:read grants. This authorizes reading source appearance for selection coverage, without exposing pixel buffers, adding network access or changing asset data. Install remains inert. The host rechecks grants during native preparation and at final staged script commit, including asset-read revocation after preparation finishes. Current source modes/limits, stale-result behavior and runnable examples are in SCRIPTING_API.md.
Saved alpha channels use AlphaChannel/AlphaChannelCollection plus awaited channel.load through the same isolated scripting boundary. apiVersion 1 or 2 packages need currently granted document-read/write permission; no image/asset permission is added because coverage is document metadata. Installation remains inert. Native preparation and final staged commit enforce revocation/removal, stale revisions and shared selection-preparation limits. Source image buffers never cross the bridge. Complete signatures/defaults, errors and the runnable example are in SCRIPTING_API.md.
Quick Selection adds awaited Document.selectQuickSelection(options) through the isolated selection host bridge. Packages require apiVersion 2 and current document-read/write/assets-read grants during source preparation and final staged commit, including revocation after native output. Installation is inert; source pixel buffers and workers are not exposed. Shared script preparation/time/result limits remain. Returned final selection coverage supports ordinary masks and undo, with errors/algorithm/source/memory limits in SCRIPTING_API.md.
Select Subject now uses awaited Document.selectSubject(options) through that same isolated host boundary, resolving original raster geometry from validated staged commands and preserving native coverage/full placement. apiVersion-2 document-read/write/assets-read grants are checked during preparation and final staged commit. Empty/unsupported targets reject without fabricated output. Source pixels stay outside the sandbox; panel cancellation terminates private native work. The shared sequential 32-selection budget, runtime/result limits, inert installation and one-transaction rollback/undo remain. Native Refine Edge/removeBackground use the separate retouch asset-preparation boundary below.
Native matte and corrected foreground preparation
await raster.refineEdge(options) and await document.removeBackground(raster, options) are supported through the existing isolated retouch host. apiVersion-2 packages need current document:read/write and assets:read/write grants both during preparation and final staged commit, including late revocation after genuine output. Installation remains inert. Pixels, bitmaps, workers and asset stores are not exposed to package code. Panel cancellation applies; sandbox callbacks/signals reject.
Matte and optional corrected RGB assets stay private until the complete script validates and commits once; later script errors discard them. The shared sequential retouch budget is 32 owned assets, with corrected output using two slots and mask-only one. Existing runtime/result/command limits remain. New-layer output hides the source and retains its original bytes; default mask output changes no RGB. Exact signatures, defaults, source/coordinate precedence, errors, resampling and local-solver limitations are in SCRIPTING_API.md. This adds no permission, network access or package-format change.
Native refinement now defaults to the global closed-form solver; solver:"color-line" retains the local estimator explicitly. Both use the same isolated retouch/asset/grant boundary. Graph-budget, covariance or convergence failures discard the staged job and subsequent script commit; no approximate matte or silent solver downgrade is installed. Trusted progress/cancellation remain host-only. See SCRIPTING_API.md for exact solver defaults, numerical limits and the tested example.
IC(0) matting preconditioning and proportional Smooth values change numerical preparation without changing package grants, inert installation, private assets, rollback or final commit validation. The existing five-second isolated script wall limit includes host work; a large native photo operation may time out and must discard its staged work. Trusted UI/REST calls retain their independent lifetime controls. No network access, new package permission or silent local-matte fallback is introduced.
Budgeted RGB-aware Galerkin correction is another private numerical stage under that same contract. It never exposes raw source colors or coarse arrays to plugin code and does not grant additional runtime time. Native convergence, current grants, owned assets, stale-revision checks and the single staged history commit remain required. Optional correction failure retains the original global solve; it does not substitute a coarse image or waive validation.
Optional private WASM sparse matting iterations change only trusted host preparation. Installation remains inert; scripts cannot supply a kernel/backend or access graph memory. Existing document/asset grants, revision checks, private staging, one-step undo and the five-second isolated wall deadline remain unchanged. Optional memory/capacity failure retains the same global JavaScript numerical route, not an approximate matte or an expanded sandbox permission.
await document.preflight(options) adds read-only local metadata/geometry design checks. Active plugin documents require document:read and assets:read, using the existing asset-list host service; no new permission or host capability is added. Current asset grants are rechecked at dispatch, including revocation between calls. The analysis runs in the isolated script worker and leaves font availability unverified, without probing the host's fonts. It does not access pixels, read font files, enumerate fonts, upload data or mutate history. Other staged script edits still require ordinary commit grants and roll back on failure. Installation remains inert and the five-second execution/payload limits are unchanged. See Design checks for defaults, snapshot revision semantics, report truncation and inspection limits.
Pure VectorLayer.toSvg(width=1920, height=1080) returns SVG text inside the existing isolated worker, including eligible unfeathered vector masks. It does not download files or access host image bytes. Masks requiring native coverage (painted/sampled/bitmap/feathered or with corrective strokes) reject in this synchronous method; native preparation is available only to trusted host export. This adds no grant or host capability, changes no installation lifecycle and preserves script deadlines, output limits and commit validation. See VectorLayer for mask placement and error details.
SVG color overlays/drop shadows also serialize to filter text inside the existing isolated constructor runtime, without image bytes or file downloads. Pure vector masks and effects need no new host grant; native mask preparation still belongs to trusted host export. Fill opacity does not suppress a separately defined shadow. Script output/deadline and commit-validation boundaries are unchanged; see SCRIPTING_API.md for effect coordinates and viewer limits.
Raster-image SVG preparation likewise belongs only to trusted host export. Embedding sanitized decoded pixels or rendering raster tone/erasures does not add an export/download method, image-byte access, package permission or background execution to plugins. VectorLayer.toSvg remains a synchronous vector constructor method inside isolation. Installation stays inert; existing grants, deadlines and host commit validation remain unchanged.
Editable SVG text also uses trusted host font measurement. Plugins may create ordinary TextLayer objects through existing validated commands, but gain no font-file access, font enumeration, measurement host call or export/download method. Font-family references in a later host export do not embed font bytes. Installation, grants, five-second script deadlines and host commit validation stay unchanged.
Smart-master SVG expansion/native-filter preparation likewise belongs to trusted host export. Plugin-authored shared masters and filter stacks retain their ordinary command/history model in the project; a later SVG file may independently expand or bake them as reported. No component-export host call, asset-byte/font-file/download grant, background execution or linked-file access is added. Installation remains inert and current host commit validation still applies.
SVG paint export also remains a trusted host operation. Plugins can create ordinary validated paint commands using existing constructors; a later host export serializes supported dab/fill/eraser geometry and prepares clone pixels/stroke clips outside isolation. There is no new paint-export method, asset-byte/download permission or background execution. Original project command/history and inert installation/commit-validation rules remain unchanged.
Native SVG adjustment/Blend If backdrop preparation is likewise host-only. Plugin-authored layers retain their existing validated command/history model; a later host export may bake an affected sibling prefix with reported losses. Synchronous VectorLayer.toSvg rejects enabled Blend If rather than reading a native backdrop. No source-byte/font-file/export/download service, grant or background execution is added, and installation/commit validation remain unchanged.
SVG import is a trusted browser file service, not a plugin permission. Inspection, files, image decoding, native rendering and publication remain outside isolated commands. The shared pure VectorPath.fromSvgPath helper supports all SVG path command families with reported cubic arc approximation in the import workflow; it rejects malformed or compound single-path input. Installation remains inert; these changes add no code execution or file/network grants.
Schema-22 VectorPath stroke setters and factory options are available through the existing isolated command boundary. They share host validation for enum/range/dash complexity, immutable ownership, locks and one successful script transaction. No manifest permission, file/network service or install-time code execution is added. See the VectorPath stroke example in the scripting guide.
Schema-23 VectorPath gradient constructor/factory options and attached fillGradient setters share the existing isolated scripting boundary. Gradient descriptors are copied values, not live mutable document objects. Existing current document-write validation/permissions, shared locks/undo/revisions, commit validation and inert installation apply; no new network/file/asset-byte permission is introduced. See the scripting guide's gradient-fill example.
Native compound geometry
Schema-24 VectorContour, VectorPath.subpaths and fill-rule edits use the existing isolated constructor runtime, shared path.update validation/locks/history, and current document-write permission checks. No file/network/asset capability or manifest change is introduced. Installation remains inert. Geometry and nested arrays are defensive values; live edits use owner-backed methods. See the documented compound-path example. Boolean preparation uses the isolated host boundary described below.
Boolean path preparation
The isolated Document.combinePaths / VectorLayer.combinePaths methods await a native curve worker through the host bridge, then emit ordinary validated paths.replace geometry. The host reconstructs validated staged commands before geometry capture. Current document-read/write grants are checked during preparation and final commit; revocation/removal aborts active work. There is no new permission, source-image access, file/network operation, background plugin code or install-time execution. Plugins use panel cancellation, while AbortSignal and progress callbacks belong to trusted application code. Native preparation remains sequential and shares the 32-operation script budget. Failure/cancellation/stale revision rolls back the complete staged script. See the Boolean example. Existing layer-add recipes can retain results, but standalone path replacement recording remains unsupported.
Paragraph text boundary
TextLayer paragraph setters/resetParagraph reuse existing document-write permission, schema-26 strict commands and one atomic isolated commit. Installation stays inert. Invalid paragraph fields, missing/revoked grants, errors or timeouts leave the host unchanged. Layout uses the pinned host/runtime break engine and native grapheme segmentation; it adds no network, font-file/enumeration, asset or install-time privilege. Existing five-second execution and operation budgets remain; paragraph measurement is part of that work. Original text/style fields persist in native projects, while SVG positioned-line reflow and glyph portability limits remain explicit. Worker/page fonts and headless estimates can differ; no font or REST/browser synchronization is implied.
Paragraph justification
TextLayer paragraphJustify none/inter-word uses schema-27 shared strict commands and the existing document-write grant. It adds no permission, network/font-file access or install-time execution. Invalid enum/types, wrong targets, revoked grants or isolated failures leave the host unchanged. Reset paragraph includes none in its one atomic host commit. Native/worker font and SVG placement limits remain as documented in SCRIPTING_API.md.
SVG whitespace boundary
Whitespace-only SVG calibration remains a trusted host export operation. Plugin-created text uses ordinary validated constructors/commands; this adds no export, font-file, measurement, download or network privilege. Native grapheme checks and transient spans do not change authored project data, inert installation, grants, host commit validation or atomic undo.
TIFF export is trusted browser-host/UI functionality. Plugins may author ordinary editable content using their existing granted constructors/commands; they do not receive editor.export, downloads, filesystem, font enumeration or a new permission. Installation remains inert. User-initiated TIFF output flattens current native pixels, excludes source metadata/font files and preserves native project sources/editability separately. See SCRIPTING_API.md for the host-only export contract.
PSB host delivery boundary
Trusted browser PSB export shares the rendered PSD plan and existing host progress/cancel controls. It grants no isolated plugin file/download/export/font access, no new permission or package version, and no REST/browser synchronization. Plugins can create ordinary artwork through granted OO commands; user-initiated host export owns output/source/font validation. Existing inert installation, permission rechecks, isolated execution, assets/revisions and undo remain unchanged.
Private PSD/PSB encoding workers are trusted host implementation details. They expose no new plugin worker/raw-pixel/file/font/network/download permission, command surface or package/schema revision. Installation stays inert and isolated command commits retain grant/revision/asset validation and shared undo.
Photoshop inspection/import workers are trusted host file services, not isolated plugin capabilities. The new source/progress/abort overloads do not grant sandbox file, raw-buffer, font, network or download access and add no package/schema revision. Inert installation, permissions, isolated command commits and shared undo/revision/asset validation remain unchanged.
Schema-28 group compatibility
Plugins using the existing isolated OO runtime may construct/edit group-only blendMode:"pass-through" through normal document commands. Host validation enforces own-style/fill restrictions, locks, source ownership and revision checks; failed batches publish nothing. Older schema labels cannot contain the new mode. A plugin requiring it must target a compatible runtime; normal remains the default for existing groups. Installation stays inert and no file/export/network or REST/browser synchronization privilege is added. See SCRIPTING_API.md for current signatures, defaults and rendering/export limitations.
Photoshop folder/pixel-mask host output
User-initiated host export can retain supported folder records and separate user pixel-mask coverage from plugin-authored ordinary OO content. This grants no export/download/file/raw-pixel capability to isolated plugins. Existing document/asset grants, permission rechecks, inert installation, revision/atomic-command validation and undo remain unchanged. .luma retains full controls; PSD/PSB reports scoped baking, folded group fill, non-Normal pixel fill/masks and mask-control/off-canvas losses. See SCRIPTING_API.md for the current host-only contract.
Schema-29 pressure values
The isolated constructor runtime exposes pure PressureCurve values for existing BrushStroke/PencilStroke/EraserStroke/CloneStroke and tonal brush commands. Existing document-write grants, host result/asset/revision validation, locks and atomic undo apply; invalid fields or revoked permissions cannot publish edits. Installation stays inert and no new permission/package version, file/export/network or browser/REST bridge is added. Projects retain optional pressure-curve brush data under document schema 29. Plugins requiring it must use a compatible runtime; older readers reject the field rather than silently discard it. See SCRIPTING_API.md for precise defaults and limits.
Data-only brush packs
User-imported brush packs contain strict v1 preference values and execute no code. They are separate from plugin packages and cannot carry commands/assets/scripts or grant permissions. Installation remains inert; isolated plugin commands gain no file, local library or UI-tool access. Plugin-authored strokes continue using existing constructor/command/revision/asset validation. See BRUSH_PRESETS.md.
The immutable BrushTip constructor is available alongside BrushStroke and PressureCurve. Tip and spherical pen-orientation metadata use document schema 30 and normal strict host validation. This grants no additional permission, file/network capability, host ToolController access or install-time execution. The scripting guide defines complete signatures, coordinate units and response behavior.
The pure immutable BrushSymmetry constructor joins brush values in the isolated runtime. Symmetry remains self-contained schema-31 metadata on normal brush commands, with implicit original ink and validated affine copies. Existing document permissions, host validation, locks, revisions and undo apply. This grants no host ToolController, file, network, export or install-time execution capability. Public signatures and coordinate-plane behavior are defined in SCRIPTING_API.md.
Authored brush textures
BrushTexture is a pure constructor referencing an already imported asset ID. Plugin commands may use it in ordinary brush-bearing metadata under their current document grants; the host validates references before atomic publication and rechecks permissions. It grants no source bytes, file/import/export service, network access or additional permission. Installation remains inert. Source controls and source-bearing portable brush presets are separate work in progress. See the schema-32 constructor contract in SCRIPTING_API.md.
Schema-41 ParagraphStyle basedOn/setBase/overrides/resetOverrides uses existing isolated constructors, document-write permissions and shared host graph/lock/revision/atomic validation. Base handles must belong to the same document; cycles and stale resolved data reject. No source/font bytes, file/network/export capability or package permission is added. Installation remains inert. See SCRIPTING_API.md for signatures, defaults, errors and limits.
RAW development through existing grants
RawDevelopment is a pure isolated constructor. await smartObject.getRawDevelopment() reads normalized settings with currently granted document:read and assets:read. await smartObject.developRaw(value,{allowPrecisionLoss:true}) additionally requires document:write and assets:write. Native output stays in the same private repair scope as patch/heal/matting/rasterization, shares its 32-asset budget and 5-second script deadline, and publishes only with the complete successful command list. Source bytes, bitmaps, workers and file access never enter plugin code. Locks, normalized options/results, captured original identity/content/geometry/surface lifetime, revision/session and grants are rechecked at commit. Failure, revocation/removal, Stop or human edits discard staged outputs; accepted undo/redo is decoder-independent. Installation remains inert, package/API versions and permission names stay unchanged, and no browser/REST synchronization or network capability is added. See SCRIPTING_API.md for exact signatures, defaults, examples and limits.
LensCorrection is a pure isolated value usable inside RawDevelopment under the existing RAW document/assets grants. It provides no calibration file, image bytes, native handles or network capability. Corrected output uses the existing private preparation/atomic commit and script deadline/budget; cancellation/revocation/stale sources discard it. Installation stays inert. See SCRIPTING_API.md for strict versioned settings and the executable example.
Native RAW development results may include immutable optional report.shooting lens/exposure declarations through the existing grants and isolated return-value validation. This adds no file/native/network service, serial/location/time field, profile lookup or new permission. Original retained files still contain their complete metadata. Native protocol 2 is private; saved report version 1 remains compatible without shooting metadata. Installation stays inert. Exact fields and the exercised example are in SCRIPTING_API.md.
Per-run direct scripting channels (F14)
Each execution keeps a fresh opaque-origin iframe and disposable worker under unchanged CSP. Bootstrap transfers a dedicated data endpoint to the worker and retains a separate trusted startup/error/stop channel. Snapshots and permitted host calls/results no longer relay through the iframe. Only the private worker's exclusive native clone freezes before normal validated OO reconstruction; public mutable fromJSON inputs remain defensively copied. Font payload consumption, strict commands, permissions, assets/revisions, five-second/256-command budgets, rollback and atomic Undo remain. Completion/cancellation closes both channels and removes the iframe/worker. Inert installation, package schema and separate REST sessions gain no new capability. Dated acceptance remains in the roadmap.
Native REST TIFF sources add no plugin grant
Independent REST TIFF admission and source reads use trusted native workers and service-owned files. They expose no plugin permission or isolated global. Installation remains inert; existing granted OO edits still pass source, revision, asset, lock and final commit validation. REST source ownership and limits.
Private perspective sampler grants no authority
Native perspective sampling is trusted engine work, outside the isolated command boundary. It adds no plugin permission, file/pixel access, worker method, network capability or install-time execution. Schema-50 image placement now uses existing document grants and isolated shared commands; direct projective tool mapping and full F03 acceptance remain required. Contract.
Placed erasing uses existing document grants
Schema-51 placed eraser records and RasterLayer.erase(stroke,{space:"placed"}) use the existing isolated OO/shared-command path. The pure method captures current perspective and content geometry without host pixel reads. Host commit still validates commands, schema, locks, assets, revision and atomic Undo. Raster-erasure masks retain captured placement through ordinary constructors. Installation remains inert; there is no new permission, package version, network/file access, pixel export or host-call capability. Mask/wet projective input and full F03 acceptance remain required.
Placed clear fills (schema 52)
RasterLayer.clear(selectionOrNull,{space:"placed"}) and its strict captured clear DTO use existing isolated document grants and shared validation/Undo. Schema 52 admits placed PaintFill records only when erase:true; schema-51 placed erasers remain valid. The pure method reads geometry and constructs commands without obtaining pixel/file/network access. Host commit still checks revision, assets, locks and atomic publication. No permission, package/lifecycle change or install-time execution is introduced.
Placed mask brushes use existing grants (schema 53)
Layer.paintMask and immutable LayerMask.paint placement values emit existing shared mask updates. Isolated code captures geometry without reading source pixels or obtaining a new host call. Host commit still validates strict mask DTOs, schema, sources, locks, revisions and atomic Undo. Placement is limited to Hide/Reveal brush/pencil entries; prepared Wet entries reject it. Existing package/lifecycle/permission formats and inert installation remain unchanged. No pixel/file/network/export capability is added.
Perspective mask path editing
Perspective mask path authoring uses existing native LayerMask/VectorPath values and shared layer updates. It adds no permission or host service: installation stays inert and third-party code remains inside the existing isolated scripting boundary.
Mask placement and canvas translation
Layer.translateMask and schema-54 mask placement fields use existing constructor/layer-update permission and revision/history/asset validation. They add no host call or grant. Installation remains inert; command code still runs only through the isolated scripting boundary. Native sources and ordinary mask geometry remain retained.