New Host-connected plugins use view runtime v2 by default: declared local pages, bounded page caches and stable-key virtual collections. Read context.viewRuntime.authoring from the CLI/API or MCP context. Vibe, both MCP servers and the CLI share the SDK policy; the default counter scaffold already uses it.
context.viewRuntime.authoring
Use the bundled view-list reference for model/view-model/projection separation, ready page data and deliberate Host detail intents. Calendars use one bounded time window; page-owned frames must be restored after eviction. Review architecture warnings from verification.renderer. Existing plugins and native offline page decks remain compatible. See local pages and architecture defaults.
view-list
verification.renderer
Plugin Studio owns local source import, interactive previews, simulator sessions and developer tools. The consumer PexarBolt app installs and runs finished plugins.
Use scrollTo, ensureVisible, scrollBy and followEnd local actions for list and collection; ui.knob maps rotary directions to the same actions. Host/device-source scrollTo bindings carry explicit increasing request revisions. The renderer owns reading position, stable anchors and follow mode across page eviction. Local widget trees with static values or declared device sources can run independently when they have no Host events, permissions or business-data bindings. See list control, context.viewRuntime.listControl and the native-list example.
scrollTo
ensureVisible
scrollBy
followEnd
list
collection
ui.knob
context.viewRuntime.listControl
native-list
Build beautiful, polished, product-quality Dock interfaces: give the main task a clear focal point, refine typography and alignment, keep spacing and color consistent, and finish empty/loading/error states. SDK DOCK_CONTROL_GUIDANCE shares this guidance with CLI, both MCP servers and Vibe. Review rendered screenshots for legibility, clipping and balanced composition.
DOCK_CONTROL_GUIDANCE
Design in 854×480 device pixels. The system owns the top 72 pixels; plugin content is 854×408 at (0,72). Root projection nodes use device coordinates; children of containers use parent-local coordinates. The 427×240 screenshot is a 50% preview, not the authoring resolution. Do not halve coordinates/fonts or use Retina backing dimensions. ctx.frames.createCanvas() uses a separate 854×408 content-local canvas, starting at (0,0); place its stream image below the header.
(0,72)
ctx.frames.createCanvas()
(0,0)
Read SDK PLUGIN_DISPLAY_TARGET / PLUGIN_DISPLAY_GUIDANCE and DOCK_CONTROL_STYLE / DOCK_CONTROL_GUIDANCE. Studio MCP returns displayTarget and controlStyle from plugin_context (overview/sdk/all); standalone MCP and the JavaScript API return them in plugin_read.context / session.read().context. Vibe and copied Integration prompts use the same guidance. bolt-plugin --help includes it too.
PLUGIN_DISPLAY_TARGET
PLUGIN_DISPLAY_GUIDANCE
DOCK_CONTROL_STYLE
displayTarget
controlStyle
plugin_context
plugin_read.context
session.read().context
bolt-plugin --help
Prefer native JSON widgets with unset styles: 26px labels, medium button captions, 64px recommended button height, 81×44 switches, 40px slider thumbs and 8px gaps. Explicit author styles take precedence. Legacy top-level radius remains limited to 0–8. Customize native controls with style (colors, fonts, radius 0–2048, borders and state/track/thumb colors); this requires widgets.style.v1 firmware. Studio 0.6.21 uses the projection parsing budget for Dock activation; state updates retain their separate budget. Projections allow 2048 combined primitives, hits, widgets and option slots within a compact 512 KiB payload; editable projection files may include whitespace up to the 2 MiB source-file limit. Publisher attribution preserves compact payloads. Layouts above 256 nodes require projection.nodes2048.v1. See Native Control Styles. Keep text/controls in bounds and recommend 24px below the bottommost control/feedback (y+h<=456 for roots); backgrounds/media may reach the edge. These layout recommendations do not add firmware capabilities. Inspect initial, active, disabled and long-value fixture screenshots; report live device behavior separately.
radius
style
widgets.style.v1
projection.nodes2048.v1
y+h<=456
Plugin text and Canvas font helpers automatically use bundled Noto Sans phonetic fallback (Regular, Medium and Bold), including all 96 IPA Extensions characters and common stress/length marks. Existing font IDs are unchanged. Update both Studio and the Dock App; complex combining-mark placement still requires device verification.
Studio's Plugins list and installed-plugin AI selector show the most recently added plugins first. Updating a plugin or changing runtime state keeps its position. Discover keeps a pagination footer visible below the cards, with counts, numbered pages and Previous/Next controls. Search starts at page one; Refresh retains the current page.
Official macOS builds check for updates after startup. Open App updates to check manually, inspect the download size and choose Update now; Studio downloads, prepares, installs and restarts automatically. Save your work before updating. Studio 0.6.10 adds animated activity during checking, download and preparation, and keeps the planned package type and size visible. Preparing a patch can take time after the download finishes.
Studio uses a smaller delta when it has a compatible local base and the required update chain is available. Studio 0.6.10 fixes local base preparation after a DMG installation or cache purge: it copies the verified signed App archive without downloading an older installer. This first preparation uses temporary CPU and disk space; subsequent checks reuse the cache. Earlier versions can use deltas when a compatible full package is already cached. If a delta cannot be used or fails verification, Studio downloads the full update instead.
The download page retains the latest three installer versions for rollback. Full and delta update packages are retained separately so older installations can still update. These App updates do not change plugin package formats or SDK, CLI and MCP authoring contracts.
Choose Open source folder for a complete source package, or Import plugin for a .boltplugin archive. Studio keeps an isolated installed snapshot. Your original source is not overwritten. My plugins reads each installed version from the local package manifest and reuses the cached installation summary, including offline. Importing or updating a package refreshes its version; opening the list does not fetch publication metadata. Use Continue Vibe editing to make or reopen an editable draft of an installed plugin.
.boltplugin
A package contains plugin.json, host code, schemas, device.projection.json, fixtures and declared assets. Exclude node_modules, symlinks and oversized build files. Compile TypeScript and bundle dependencies into browser ESM first; imports never run npm/build commands.
plugin.json
device.projection.json
node_modules
Studio Preview uses the bundled simulator’s native LVGL renderer and font files when available, including native text wrapping, clipping, controls and touch hit testing. Its AI screenshots use the same renderer. Browser-only builds retain the browser renderer. Dropdown options have 64px touch rows in a scrolling popup up to 256px high. Keep Studio and Dock firmware at matching revisions.
Open a plugin's Preview & test to inspect its interactive Dock preview. Pause, resume or reload it as needed. Preview services use fixture data; files, HTTP, HID, music and Dock state are simulated. A passing check validates the tested package and interactions, not physical hardware.
Draft previews retain checked revisions. If a later edit fails, correct its diagnostic or restore a known working version. See AI creation.
Select Native simulator in Preview & test. The macOS installer includes the simulator. Source & simulator displays the source folder, plugin information, status, reload and logs; selecting firmware sources or building a simulator is a maintainer release workflow, not an App setup step. Native Windows SDL builds are currently unsupported.
Run on simulator checks required settings, asks for access and enables the saved plugin before starting a live session. Host plugins use real services and saved configuration; native plugins use the firmware runtime, including their configured HTTP and WebSocket services. A live session never silently falls back to sample data. Source-folder previews remain isolated fixture sessions. Simulator input shares the runtime event queue; stopping a session or revoking access stops its actions.
Manage permissions in the plugin detail page under Access, even without a connected Dock. Granting access alone does not start a plugin. Revoking access stops its active runtime and simulator session.
Enabling makes a plugin available. Its runtime starts when the Dock or a live simulator opens it and stops after 60 seconds hidden, unless another view keeps it visible. Keep resumable state in ctx.store and pause hidden work with ctx.view.
ctx.store
ctx.view
Release the Dock from the consumer app. Studio automatically connects a recognized available Dock at startup or when it is plugged in; Connect Dock can also reconnect it manually. Studio preserves a valid manual port selection; unrelated serial devices are not selected automatically. Configure the plugin and review its permissions before enabling, installing and opening it. Select Disconnect Dock when returning to the consumer app; this pauses automatic reconnection.
Check each real integration, cancellation, disconnect/reconnect and extended operation. Follow hardware verification. A fixture preview cannot establish USB throughput, HID behavior or live service support.
Choose More options → Export plugin to save a .boltplugin. The export includes validated package files and declared assets. It excludes configuration, secrets, grants and private plugin data.
Import the archive through PexarBolt → Plugins → Add Existing Plugin. Review configuration and permissions there; Studio and PexarBolt do not share installed plugin state. Source-directory import, preview, simulator, authoring MCP and package export remain in Studio.
For website publication, upload a .boltplugin that includes original source for review. See distribution.
Studio uses a separate application profile. Existing consumer installations keep their data and continue to run. Developer workspace migration copies drafts, versions and attachments; service credentials and consumer grants are not transferred. Source maintainers can use the migration tool documented in the pexarbolt-plugin-studio repository.
pexarbolt-plugin-studio
Closing Studio hides it to the tray and keeps developer sessions and enabled services alive. Quit PexarBolt Plugin Studio stops them. A graphical desktop session is required for Electron windows; an SSH login alone may not have a WindowServer session on macOS.
Plugin code runs in a separate sandboxed Electron renderer. The main process validates SDK requests and cleans up after startup failure, crashes, process termination, normal exit and heartbeat timeout. Cleanup releases subscriptions, transport leases, image/video/frame producers, windows and temporary session data.
Installed packages, persistent configuration and grants survive ordinary runtime shutdown. Chromium shared caches do not promise an immediate RSS drop. Native image codecs and USB operations still run in the host process, so test long-running behavior on target hardware.
SDK limits, package formats and plugin runtime behavior are shared with the consumer app. Studio also provides the CLI/MCP authoring distributions; the firmware still defines device capabilities.
Add optional author to plugin.json using the actual author's display name (up to 80 characters, non-empty, without control characters). Studio displays this name in project cards and details. Existing packages without the field stay compatible and show an unspecified author. Package attribution is separate from the verified website publisher. Existing source-write CLI/MCP tools preserve this metadata; no runtime permission or new tool argument is required.
author
Open Source & simulator → Plugin information to edit Author, Short description, Description and Release notes. Generate draft fills empty fields from plugin declarations and keeps your existing text; review its suggestions before saving. Author is stored in plugin.json.author; listing.json stores summary, description and changelog. Source-bearing .boltplugin exports retain them, and website upload imports the text into an editable submission draft. The signed-in account remains the publisher; package attribution does not change ownership.
plugin.json.author
listing.json
summary
description
changelog
On a Projects card, choose View source to open Source & simulator → Source Tree. Browse directories, search files and inspect highlighted text, images and byte sizes from the installed package. This view is read-only; use Edit with AI or your editor to make changes. Private App configuration and credentials are excluded. Interactive sample previews remain usable when the same plugin starts on the real Dock, and their controls stay simulated. The native simulator retains an 854×480 device canvas inside the product enclosure, with screen margins scaled from the Dock’s mechanical dimensions. Retina density does not change plugin coordinates; the bezel and dial are outside the canvas.
Use Projection.pages and root-node page tags for Dock-local left/right/up/down swipes in both Host-connected and independent native plugins. Optional read-only pageChange reports {from,to,direction} to Host. Requires pages.swipe.v1 firmware. See local page navigation, the page-deck example and SDK types.
Projection.pages
page
pageChange
{from,to,direction}
pages.swipe.v1
page-deck
Large views should declare ui: {version: 1, cachePages: 1} and pages. A button can use action: {type: "navigate", page: "issues"} without an emit. This applies immediately on the renderer. Optional emitted events are read-only observations without permissions; Host handlers retain business writes and their confirmed outcomes. Firmware must advertise ui.actions.v1 and pages.lifecycle.v1. Unsupported firmware reports an upgrade requirement instead of silently changing behavior.
ui: {version: 1, cachePages: 1}
pages
action: {type: "navigate", page: "issues"}
emit
ui.actions.v1
pages.lifecycle.v1
ui.page and the read-only ui.isPage.<id> visibility flags belong to the renderer. ui.initial declares up to 32 scalar fields (4 KiB total). Use action: {type: "set", key: "filter"} to take a validated control value, an explicit value to set a scalar, or action: {type: "toggle", key: "expanded"}. Bind to ui.filter or ui.expanded. Host publications cannot overwrite this state. A fresh view starts from its defaults; layout hot updates preserve valid UI fields, the page and scroll positions. Local UI cannot grant permissions or fabricate business success.
ui.page
ui.isPage.<id>
ui.initial
action: {type: "set", key: "filter"}
value
action: {type: "toggle", key: "expanded"}
ui.filter
ui.expanded
For legacy knob handlers or business flows that must open another page, opt in with ui.pageRequest: "navigation" and publish navigation: {revision: 1, page: "issues"}. Increase a positive safe integer revision only when issuing a new navigation intent. Only declared pages are accepted. Repeated, stale or ordinary data publications cannot redirect the current local page. Do not issue a new intent from a local navigation observation. New views start a fresh revision baseline; layout hot updates retain it.
ui.pageRequest: "navigation"
navigation: {revision: 1, page: "issues"}
Only the active page and up to cachePages resident page trees are mounted (1–3 pages). Eviction saves scroll and UI state. Keep shared chrome small. Page-local node IDs remain globally unique. A page transition may temporarily mount both pages. Cold mounting and warm navigation are separate performance measurements.
cachePages
Repeated read-only row content uses a collection:
{"id":"issues","type":"collection","page":"issues","x":24,"y":104,"w":806,"h":320, "bind":"issues","itemKey":"id","rowHeight":64,"overscan":1,"emit":"issue.open", "children":[{"id":"issue-title","type":"text","x":16,"y":12,"w":770,"h":40,"bind":"item.title"}]}
Items are objects with unique stable string keys, at most 2,048 per bounded view. Row height is fixed at 40–408 pixels; overscan is 0–2. Templates contain containers, text, rectangles, icons, packaged images, progress or determinate arcs. They cannot contain nested interactive controls, fullscreen media or image animation. Loading arcs are allowed; every resident row instance counts against the 16-animation budget. The collection emits {id,value,context} with the stable item key in value. Resolve that key against current business data; never use a recycled row position. A changed/recycled row invalidates an in-progress press. The row pool counts against the mounted node budget. Large remote datasets must be reduced to a bounded view/window by Host code; the collection does not fetch data or make an unbounded model fit the state quota.
{id,value,context}
ctx.publish(state) remains the authoring API. Updated hosts negotiate state.delta.v1 through stateDelta, send acknowledged snapshots or atomic set/delete patches, coalesce against the last confirmed revision and resynchronize after a baseline mismatch or timeout. Firmware carries deltas over its private renderer IPC as well. Arrays are replaced as a unit; bound their size. Legacy peers retain full snapshot delivery. State patches do not reset local UI. Renderer bindings update only dependencies affected by changed fields.
ctx.publish(state)
state.delta.v1
stateDelta
plugin_check / CLI check return verification.renderer: authored nodes, estimated resident nodes per page, collection pool bounds, binding count and migration warnings. This is a static authored-node estimate, not the number of LVGL objects or a measured frame time. CLI read, standalone MCP plugin_read, desktop MCP plugin_context and Studio context expose viewRuntime. Test source/fixture behavior, page eviction, scrolling, hot updates and physical Dock performance independently. A browser screenshot does not certify the Dock's ≤50 ms p95 navigation target.
plugin_check
check
read
plugin_read
viewRuntime
Use textAlign and textVerticalAlign on caption widgets and text primitives, with select.optionTextStyle for independent popup captions. Explicit new fields require text.align.v1; existing defaults remain compatible. CLI and both MCP contexts expose the shared contract under controlStyle.textAlignment. See native text alignment.
textAlign
textVerticalAlign
select.optionTextStyle
text.align.v1
controlStyle.textAlignment
Studio checks negotiated capabilities before installing, updating or opening a plugin. When it reports a missing feature such as text.align.v1, update Dock firmware, reconnect, and retry. Keep the reported deviceIssue visible when automating through Desktop MCP; installation and open acknowledgements do not establish successful activation. Existing checked drafts, settings and permissions are preserved. Use the hardware verification workflow after package and fixture checks pass.
deviceIssue
Edit with AI creates an independent local copy of an imported or third-party installation. It receives a new plugin ID, version 1.0.0 and portable source attribution. The source installation remains separate. Studio shows the source and its copies as separate My plugins entries. Copies use a branch icon with a source explanation on hover or focus. Existing local projects and verified account-owned plugins retain their identity. CLI bolt-plugin fork SOURCE_DIRECTORY_OR_PACKAGE NEW_DIRECTORY and standalone MCP plugin_fork provide the same package-copy behavior without copying private installation data.
bolt-plugin fork SOURCE_DIRECTORY_OR_PACKAGE NEW_DIRECTORY
plugin_fork
Updated PexarBolt App and Studio hosts support up to 128 installed Dock entries. The connected Dock must also advertise catalogCapacity: 128; older firmware can remain limited to 15. Existing wire, state and resident storage budgets remain separate. The local computer library has no fixed plugin-count limit. See Dock catalog capacity for migration and memory details.
catalogCapacity: 128