Vectrune documentationAlpha referenceLearning site ↗

General index: A–Z

Functions, declarations, fields, command-line options, and aliases. Search by name or browse the alphabet.

#

--Rune-Web commands
Decrements a numeric value at the given path.

+

++Rune-Web commands
Alias of increment. Increments a numeric value at the given path.

A

absFrontend expressions
Absolute numeric value.
allLanguage and documents
Alias of object overlays. Copy an object, or apply overrides to every object in a batch, without changing the template.
angle_toFrontend expressions
Find the direction from one point object to another.
@AnimationPixel and 3D configuration
Declare a reusable multi-frame sprite or Pixel-3D model animation clip with optional playback modes, interpolation, and per-keyframe transforms.
@Animation.fpsPixel and 3D configuration
Playback frame rate in (0, 60].
@Animation.framesPixel and 3D configuration
1-128 frame entries: @Model/@Sprite name strings or keyframe objects with model/sprite plus optional label, x, y, z, angle, pitch, scale, and dissolve.
@Animation.interpolatePixel and 3D configuration
Smoothly tween keyframe transforms (x, y, z, angle, pitch, scale, dissolve) between adjacent frames.
@Animation.modePixel and 3D configuration
Pixel-3D playback mode: loop, pingpong, or once.
@AppApplication declarations
Select an application runtime and its serving or presentation configuration.
@App.allow_originApplication declarations
One exact HTTP(S) browser origin for the storage protocol CORS adapter.
@App.allow_originsApplication declarations
Storage protocol CORS allowlist of exact HTTP(S) origins. Alternative to allow_origin; the two settings are mutually exclusive.
@App.corsApplication declarations
REST: enable CORS for any origin (true) or a specific list of allowed origins.
@App.default_authApplication declarations
REST: default @Authentication scheme(s) applied to every route unless overridden with auth = none or auth = <Scheme>.
@App.endpointApplication declarations
MCP: Streamable HTTP endpoint path when running in HTTP mode.
@App.hostApplication declarations
HTTP bind address; can be overridden by --host.
@App.instructionsApplication declarations
MCP: optional server instructions returned in the initialize response.
@App.nameApplication declarations
Application display metadata.
@App.not_found_pageApplication declarations
REST: show the built-in 404 page to clients explicitly accepting HTML. Lists route templates, including authenticated routes. A custom @NotFound overrides this setting.
@App.portApplication declarations
HTTP port; can be overridden by --port.
@App.rate_limitApplication declarations
REST: global fixed-window rate limit {"requests": N, "window": seconds, "key": "ip"|"auth"|"global"|"header:<Name>"}.
@App.resolutionApplication declarations
Pixel rendering resolution.
@App.runtimeApplication declarations
Selects game host behavior, including hybrid examples.
@App.sceneApplication declarations
Entry @Scene name for game apps.
@App.shellApplication declarations
Optional Rune-Web @Page shell for Pixel 3D; must contain the game canvas.
@App.sourceApplication declarations
For rune-db/vect-event, select the embedded provider to host.
@App.swaggerApplication declarations
REST: serve /openapi.json and /swagger-ui.
@App.tick_rateApplication declarations
Simulation ticks per second.
@App.token_envApplication declarations
Storage server bearer token source; required for non-loopback binds.
@App.transportApplication declarations
MCP: selects stdio JSON-RPC 2.0 or http Streamable HTTP transport; can be overridden by --transport.
@App.typeApplication declarations
REST, GraphQL, MCP, STATIC, DYNAMIC-AI-WEB, PIXEL, PIXEL-3D, RUNE-DB or VECT-EVENT; dispatch is case-insensitive.
@App.versionApplication declarations
Application version metadata used in OpenAPI info.version.
@App.versionApplication declarations
Application metadata; does not select a versioned docs path.
appendNative functions
Append a resolved value to an array in the execution context.
Apple TV Xcode toolingCommand-line interface
Check, bundle, deploy, debug and package Pixel-3D games for Apple TV, configured by tvos.toml.
array.findNative collection methods
Find the first element satisfying a native comparison.
array.find-indexNative collection methods
Find the index of the first matching native array element.
array.maxNative collection methods
Compute the maximum numeric element or selected object field.
array.removeNative collection methods
Remove one element by zero-based index.
ASCII canvas drawing objectsPixel and 3D configuration
Draw text, lines, boxes, sprites, connected plots and optional Ascii3D viewports in terminal cells.
ASCII generatorsCommand-line interface
Generate a runnable Rune animation, image-to-ASCII art, or a text banner without an example directory.
@Ascii3DApplication declarations
Optional raycasting augmentation for ASCII Animator (v0.3.12): textured grid walls, perspective floor/ceiling and depth-tested billboard entities.
@Ascii3D.cameraApplication declarations
Top-level camera state field.
@Ascii3D.ceilingApplication declarations
Ceiling seam color.
@Ascii3D.cell_aspectApplication declarations
Terminal character height divided by width, 1-3.
@Ascii3D.entitiesApplication declarations
Top-level entity array state field, including an empty array.
@Ascii3D.farApplication declarations
Visibility distance in map units, 2-96.
@Ascii3D.floorApplication declarations
Perspective floor checker-pattern color.
@Ascii3D.fovApplication declarations
Horizontal field of view in degrees, 30-110.
@Ascii3D.mapApplication declarations
Rectangular 3-128 by 3-128 cell grid; '.' is empty.
@Ascii3D.repeat_yApplication declarations
Repeat map rows endlessly along Y; does not replicate entities.
@Ascii3D.wallsApplication declarations
Wall symbol to {texture: AsciiSprite name, color: Ink}; color defaults to white.
@AsciiAnimatorApplication declarations
Terminal-only ASCII canvas (v0.3.12) driven by shared @Logic initialize and tick actions.
@AsciiAnimator.canvasApplication declarations
Declared state field containing drawing objects; default canvas.
@AsciiAnimator.commandApplication declarations
Optional one-parameter action for typed command input. No key bindings in this mode; Enter submits normalized lowercase text, Backspace edits, Ctrl-U clears, Esc/Ctrl-C exits. Plain --commands repeats once per tick.
@AsciiAnimator.fpsApplication declarations
Integer simulation rate 1-60; default 20.
@AsciiAnimator.logicApplication declarations
Required @Logic name; initialize and tick actions are required.
@AsciiAnimator.sizeApplication declarations
Required [columns, rows] integers: 1-240 by 1-80.
@AsciiAnimator.spatialApplication declarations
Optional non-repeating Ascii3D scene binding for shared slide/sees helpers.
@AsciiMusicApplication declarations
Define a native terminal synth score using Rune-Web music notation.
@AsciiMusic.barsApplication declarations
Optional 1-64 bars; measures alias.
@AsciiMusic.bassApplication declarations
Bass score.
@AsciiMusic.drumsApplication declarations
Drum score; percussion alias.
@AsciiMusic.instrumentsApplication declarations
Map standard/custom channels to shared synth instrument names. Other named string/series fields define up to five custom tracks.
@AsciiMusic.leadApplication declarations
Lead score; melody alias.
@AsciiMusic.loopApplication declarations
Repeat the score; loop_track alias.
@AsciiMusic.tempoApplication declarations
BPM 21-399; bpm alias.
@AsciiMusic.time_signatureApplication declarations
4/4 or 3/4; meter alias.
@AsciiMusic.typeApplication declarations
8bit, chiptune or synth; style alias.
@AsciiMusic.volumeApplication declarations
Score volume 0-0.5.
@AsciiSpriteApplication declarations
Define reusable animated printable-ASCII sprite frames for ASCII Animator.
@AsciiSprite.fpsApplication declarations
Integer inline sprite frame rate 1-60; cannot combine with source.
@AsciiSprite.framesApplication declarations
Array of frames; each frame is an array of quoted ASCII rows. Cannot combine with source.
@AsciiSprite.invertApplication declarations
Unreleased: reverse the GIF brightness ramp; requires source.
@AsciiSprite.sourceApplication declarations
Unreleased: file-relative GIF asset decoded once at startup; cannot combine with frames/fps.
@AsciiSprite.widthApplication declarations
Unreleased: GIF source terminal width 1-240; requires source.
@AsciiToneApplication declarations
Define a short native synth cue for ASCII Animator actions.
@AsciiTone.durationApplication declarations
Duration in seconds, 0.01-1.
@AsciiTone.end_frequencyApplication declarations
Optional linear sweep endpoint, 20-8000 Hz.
@AsciiTone.frequencyApplication declarations
Starting frequency, 20-8000 Hz.
@AsciiTone.volumeApplication declarations
Amplitude, 0-0.5; short attack/release are automatic.
@AsciiTone.waveApplication declarations
sine, square, triangle, sawtooth or noise.
assertTesting
Assert a condition in a native or frontend logic test.
atan2Frontend expressions
Compute a direction in degrees.
@AuthenticationApplication declarations
Configure REST authentication schemes (JWT, OAuth2/OIDC, API Key, HTTP Basic, Opaque Bearer, HMAC-SHA256 webhooks, and Signed Session Cookies) with RBAC roles and scopes.
@Authentication.algorithmApplication declarations
JWT signing/verification algorithm: HS256, HS384, HS512, RS256, or ES256.
@Authentication.audienceApplication declarations
Expected JWT/OAuth2 aud claim.
@Authentication.cookie_nameApplication declarations
Cookie name for session cookie authentication.
@Authentication.headerApplication declarations
HTTP header name for api_key or hmac signature extraction.
@Authentication.introspection_urlApplication declarations
OAuth 2.0 RFC 7662 token introspection endpoint.
@Authentication.issuerApplication declarations
Expected JWT/OAuth2 iss claim.
@Authentication.jwks_urlApplication declarations
OIDC/OAuth2 JWKS endpoint for dynamic public key verification with caching.
@Authentication.public_keyApplication declarations
PEM public key for RS256/ES256 JWT verification.
@Authentication.queryApplication declarations
Optional query parameter name for api_key extraction.
@Authentication.realmApplication declarations
WWW-Authenticate realm for HTTP Basic authentication.
@Authentication.secretApplication declarations
Shared secret for HS* JWT, HMAC-SHA256 webhook verification, or signed session cookies.
@Authentication.token_endpointApplication declarations
Optional POST endpoint issuing signed JWTs from configured users.
@Authentication.typeApplication declarations
Authentication scheme type: jwt, oauth2, api_key, basic, bearer, hmac, or cookie.
@Authentication.users / keys / tokensApplication declarations
JSON credential rows specifying username/password (or sha256:), API keys, or bearer/OAuth2/cookie tokens with roles and scopes.
avgRune-Web commands
Computes average of numeric array values.
AWS_LAMBDA_FUNCTION_NAMERuntime context and environment
AWS-provided name used as a Lambda environment detection signal.
AWS_LAMBDA_RUNTIME_APIRuntime context and environment
AWS-provided runtime endpoint used as a Lambda environment detection signal.

B

@BackgroundJobApplication declarations
Run a restricted supervised job alongside a native REST or GraphQL server.
@BackgroundJob receiverApplication declarations
Process queued events with ordinary Rune steps in a native REST app.
@BackgroundJob receiver.capacityApplication declarations
Waiting events, from 1 to 10000.
@BackgroundJob receiver.completed_retentionApplication declarations
Completed statuses retained, from 1 to 10000.
@BackgroundJob receiver.max_input_bytesApplication declarations
Serialized JSON input limit from 1 to 8388608 bytes.
@BackgroundJob.interval_msApplication declarations
Delay from 1 to 86400000 ms after a completed run.
@BackgroundJob.modeApplication declarations
Explicit scheduling mode.
@BackgroundJob.on_failureApplication declarations
Stop the service or report the error and disable the failed job.
Batched game persistencePixel and 3D configuration
Opt-in tick-batched Pixel/Pixel-3D saves with an explicit dirty revision and immediate action/lifecycle flushes.
Batched game persistence.interval_ticksPixel and 3D configuration
Running simulation ticks between scheduled flushes.
Batched game persistence.revisionPixel and 3D configuration
Explicit dirty marker initialized to a nonnegative safe integer literal; unchanged revision/root skips serialization.
bodyRuntime context and environment
Raw request body, replaced by parsed JSON after an unassigned parse-json call.
broadcast-websocketNative functions
Alias of ws.broadcast. Broadcast a message to connections registered on a WebSocket path.

C

callBrowser and host APIs
Invoke a named frontend action from a statement.
@CameraPixel and 3D configuration
Declare a timed cinematic camera track.
@Camera.durationPixel and 3D configuration
Track duration in seconds.
@Camera.loopPixel and 3D configuration
Whether to repeat the track.
@Camera.pointsPixel and 3D configuration
2–128 points, each with finite x, y, angle; optional height (default 0.5), pitch (default 0, range -85..85).
Canvas drag actionPixel and 3D configuration
Opt-in mouse and touch horizontal drag commands without replacing tap picking.
clampFrontend expressions
Constrain a numeric value to bounds.
clear-intervalRune-Web commands
Alias of stop-timer. Stops the active periodic timer.
clear-memoryNative functions
Alias of memory.clear. Remove all keys from the process memory backend.
clear-timerRune-Web commands
Alias of stop-timer. Stops the active periodic timer.
clipboard.copyBrowser and host APIs
Copy text using the host clipboard helper.
cloneRune-Web commands
Deep‑copies a value from source to destination.
collideFrontend expressions
Check axis-aligned proximity of objects with x/y coordinates.
commentLanguage and documents
Add a comment to Rune source. A shebang-like #!RUNE header identifies a document.
@ComponentApplication declarations
Declare a reusable frontend view with local scope.
@Component.bindingsApplication declarations
Selection and state bindings.
@Component.propsApplication declarations
Expected property names.
@Component.stateApplication declarations
Component-local state.
@Component.viewApplication declarations
Component markup.
compound assignmentLanguage and documents
Read a target, combine it with an expression and write the result back, including matching-object targets.
computed:Rune-Web commands
Ordered reactive derived properties memoized against state revisions in @Logic.
@ContentApplication declarations
Supply descriptive content to the AI generation context.
@ControlsPixel and 3D configuration
Declare portable keyboard, pointer, touch, and gamepad controls.
@Controls.commandsPixel and 3D configuration
Keyboard code -> host command.
@Controls.extendsPixel and 3D configuration
Parent profile name; inheritance is validated for cycles and depth.
@Controls.gamepadPixel and 3D configuration
Button/axis -> input or host command; optional scale, invert, deadzone, mode.
@Controls.keysPixel and 3D configuration
Keyboard code -> action input.
@Controls.mousePixel and 3D configuration
Pointer button/axis -> action input.
@Controls.touchPixel and 3D configuration
Joystick, look surface, and buttons. Touch objects may bind visibility to boolean state paths.
copyBrowser and host APIs
Alias of clipboard.copy. Copy text using the host clipboard helper.
cosFrontend expressions
Cosine with a degree input.
countRune-Web commands
Stores the length of an array or object keys count into a variable.
csv.appendNative functions
Append a record to a CSV file. Relative file resolution uses the app/script path and filesystem candidates.
csv.readNative functions
Read CSV records. Relative file resolution uses the app/script path and filesystem candidates.
csv.writeNative functions
Replace a CSV file with records. Relative file resolution uses the app/script path and filesystem candidates.

D

@DataApplication declarations
Supply structured records to generated pages and API responses.
data-rune-mapRune-Web commands
Render an interactive OpenStreetMap tile map in a Rune-Web element.
datasourceNative functions
Dispatch a schema-based database operation through a configured native MySQL or PostgreSQL source.
@DataSourceApplication declarations
Declare a named SQL, embedded Rune DB, event stream or remote storage provider.
@DatasourceApplication declarations
Alias of @DataSource. Declare a named SQL, embedded Rune DB, event stream or remote storage provider.
@DataSource.connectionApplication declarations
MySQL/Postgres connection string; not required by rune-db or vect-event.
@DataSource.databaseApplication declarations
Browser database name and default native filename stem.
@DataSource.endpointApplication declarations
Storage server base URL; one versioned HTTP operation protocol.
@DataSource.modeApplication declarations
embedded or remote for storage providers.
@DataSource.native_pathApplication declarations
Native file, relative to the declaring source file.
@DataSource.storeApplication declarations
rune-db provider whose transactions hold the event log.
@DataSource.token_envApplication declarations
Native bearer token source; never exported to the browser.
@DataSource.typeApplication declarations
mysql, postgres, rune-db or vect-event.
dbNative functions
Execute one Rune DB operation packet against a named datasource.
db.requestLanguage and documents
Access embedded or remote storage from a native extended Vect script.
decRune-Web commands
Alias of --. Decrements a numeric value at the given path.
decrementRune-Web commands
Alias of --. Decrements a numeric value at the given path.
delRune-Web commands
Alias of delete. Deletes a value at the given path from locals.
del-memoryNative functions
Alias of memory.del. Delete a key from the process memory backend.
delayRune-Web commands
Pauses execution for a given number of milliseconds.
deleteNative functions
Delete a top-level context variable or nested object property.
deleteRune-Web commands
Deletes a value at the given path from locals.
destroyRune-Web commands
Alias of delete. Deletes a value at the given path from locals.
distanceFrontend expressions
Compute Euclidean distance between points.
downloadBrowser and host APIs
Download text content through the browser host.
dynamic-ai-web optionsApplication declarations
Configure the generated-site engine and its resource limits.
dynamic-ai-web options.cache_entriesApplication declarations
Maximum cached entries (1–256).
dynamic-ai-web options.cache_secondsApplication declarations
Cache duration.
dynamic-ai-web options.endpointApplication declarations
Generation service endpoint.
dynamic-ai-web options.engineApplication declarations
ollama, codex, or copilot as supported by the engine.
dynamic-ai-web options.executableApplication declarations
CLI engine executable override.
dynamic-ai-web options.generation_limitApplication declarations
Saved generation limit (1–4096).
dynamic-ai-web options.generations_dirApplication declarations
Saved generated page directory.
dynamic-ai-web options.max_concurrentApplication declarations
Concurrent generation limit.
dynamic-ai-web options.modelApplication declarations
Selected AI model.
dynamic-ai-web options.response_target_secondsApplication declarations
Response-time target.
dynamic-ai-web options.timeout_secondsApplication declarations
Generation timeout.

E

elifLanguage and documents
Alias of if / else if / elif / else. Chained conditional branches across native run: blocks, Rune-Web actions/helpers and views, and .vect scripts.
emitter.burstBrowser and host APIs
Emit particles from a state-declared emitter.
emitter.stepBrowser and host APIs
Advance particles, applying friction/gravity and expiring life.
environment substitutionLanguage and documents
Substitute an environment variable in a Rune string configuration value.
@EventApplication declarations
Handle a structured WebSocket message selected by its JSON type property.
eventsNative functions
Append or read durable events through a named vect-event provider.

F

fetchNative functions
Perform an outbound HTTP GET and return {status, body}.
fetchRune-Web commands
HTTP GET; calls the action with { status, ok, url, content_type, body }.
fetch-jsonNative functions
Perform an outbound HTTP GET and parse the body as JSON.
fetch-jsonRune-Web commands
HTTP GET; calls the action with the parsed JSON, or the catch action on failure.
flattenRune-Web commands
Flattens a nested array into a one‑dimensional array.
floorFrontend expressions
Round a numeric value downward.
@FrontendApplication declarations
Mount a static or Rune-Web frontend through REST hosting.
frontend actionLanguage and documents
Declare an action in a Rune-Web @Logic or component scope.
frontend arithmeticLanguage and documents
Evaluate arithmetic in a frontend expression.
frontend array.anyFrontend expressions
Test whether any element satisfies a frontend predicate.
frontend array.filterFrontend expressions
Select elements satisfying a frontend predicate.
frontend array.findFrontend expressions
Read the first frontend array element satisfying a predicate.
frontend array.maskFrontend expressions
Build a bitmask of positions matching a value.
frontend array.maxFrontend expressions
Find the maximum selected value in a frontend array.
frontend array.pushFrontend expressions
Append to an array from a frontend action.
frontend bindingsLanguage and documents
Bind a frontend input or selection to reactive state.
frontend booleanLanguage and documents
Combine truth values in frontend expressions.
frontend comparisonLanguage and documents
Compare frontend expression values.
frontend interpolationLanguage and documents
Insert an expression into frontend text or attributes.
frontend loopsLanguage and documents
Iterate a collection in frontend action logic or view templates.
frontend matchLanguage and documents
Select a Rune-Web view branch by an expression.
frontend nullishLanguage and documents
Use a fallback for a null or unresolved value.
frontend replicationLanguage and documents
Generate repeated state values from templates.
frontend ternaryLanguage and documents
Choose an expression according to a condition.
frontend whenLanguage and documents
Run a registered frontend command only when its trailing condition evaluates true.
@Frontend.localeApplication declarations
Default locale bundle.
@Frontend.locale_pathsApplication declarations
Locale-to-path-prefix map.
@Frontend.pageApplication declarations
Entry @Page for Rune-Web.
@Frontend.pathApplication declarations
Frontend mount path; %ROOT% denotes root.
@Frontend.srcApplication declarations
Static source directory.
@Frontend.typeApplication declarations
static or rune-web.
fullscreenBrowser and host APIs
Alias of fullscreen.toggle. Toggle fullscreen presentation and the host fallback CSS state.
fullscreen.enterBrowser and host APIs
Request fullscreen presentation.
fullscreen.exitBrowser and host APIs
Exit fullscreen presentation.
fullscreen.toggleBrowser and host APIs
Toggle fullscreen presentation and the host fallback CSS state.
funcNative functions
Register a sequence of semicolon-separated native steps in the current context.

G

GEMINI_API_KEYRuntime context and environment
API key read by the Gemini CLI AI branch.
get-memoryNative functions
Alias of memory.get. Read a value from the process memory backend.
Git dependenciesCommand-line interface
Install versioned packages from a catalog or Git, list available versions, or scaffold a new Rune library.
Glowtide fish and feedingPixel and 3D configuration
Eight fish species with persisted care and feeding priced per living resident.
Glowtide purchasable upgrades and economyPixel and 3D configuration
Per-fish animated cosmetics, bounded tank care and half-rate income with a 100,000-pearl wallet cap.
@GraphQLApplication declarations
Declare named resolver step series with typed arguments.
gridLanguage and documents
Alias of object grid. Generate a rectangular batch of positioned objects in row order.

H

historyRune-Web commands
Built-in undo/redo state snapshot manager for Rune-Web applications and editors.
@HookApplication declarations
Declare memory observer metadata parsed by the hook infrastructure.
@Hook.channelApplication declarations
WebSocket channel configuration.
@Hook.endpointApplication declarations
WebSocket endpoint configuration.
@Hook.observerApplication declarations
Observer transport parsed by hook infrastructure.
@Hook.runApplication declarations
Optional custom logic steps.
@Hook.targetApplication declarations
Memory key observed by this hook.
@Hook.webhook_urlApplication declarations
Poll/webhook observer URL configuration.
host.advancePixel and 3D configuration
Advance the current title/menu presentation.
host.fullscreenPixel and 3D configuration
Toggle fullscreen through the presentation host.
host.mutePixel and 3D configuration
Toggle host audio mute.
host.pausePixel and 3D configuration
Toggle the host pause state.

I

@I18NApplication declarations
Declare translation data resolved by %i18n.path% or frontend interpolation, including hyphenated key segments.
ifLanguage and documents
Execute an indented conditional block.
if / else if / elif / elseLanguage and documents
Chained conditional branches across native run: blocks, Rune-Web actions/helpers and views, and .vect scripts.
importLanguage and documents
Load top-level Rune imports before parsing the final document.
incRune-Web commands
Alias of increment. Increments a numeric value at the given path.
incrementRune-Web commands
Increments a numeric value at the given path.
intervalRune-Web commands
Alias of start-timer. Starts a periodic timer calling the named action.
invertRune-Web commands
Inverts a boolean value at the given path.
invokeTesting
Invoke a frontend action in the headless logic harness.
is-setNative functions
Check whether a variable or resolved path exists in the execution context.

J

json.readNative functions
Read a JSON file and parse its contents.

L

letLanguage and documents
Alias of local templates. Declare a reusable binding or object batch in the current execution scope.
list.sliceNative functions
Return a subarray slice from start index to optional end index.
list.sliceRune-Web commands
Return a shallow subarray slice from start to optional end index.
list.sort-byNative functions
Return a new array sorted by a numeric or string object field.
list.sort-byRune-Web commands
Return a new array sorted by a numeric or string object field.
Literal text bindingFrontend expressions
Display a Rune-Web value as literal, HTML-escaped text.
load-runeNative functions
Load a Rune file or directory, resolving its top-level imports before parsing.
localLanguage and documents
Alias of local templates. Declare a reusable binding or object batch in the current execution scope.
Local add-on testingCommand-line interface
Use a live Rune checkout or a locally built native add-on without publishing it.
local templatesLanguage and documents
Declare a reusable binding or object batch in the current execution scope.
local_storage.getBrowser and host APIs
Alias of storage.get. Read JSON-backed local storage.
local_storage.hasBrowser and host APIs
Alias of storage.has. Test for a local-storage key.
local_storage.removeBrowser and host APIs
Alias of storage.remove. Remove a local-storage key.
local_storage.setBrowser and host APIs
Alias of storage.set. Serialize a value to local storage.
localStorage.getBrowser and host APIs
Alias of storage.get. Read JSON-backed local storage.
localStorage.hasBrowser and host APIs
Alias of storage.has. Test for a local-storage key.
localStorage.setBrowser and host APIs
Alias of storage.set. Serialize a value to local storage.
location.currentRune-Web commands
Request the browser's current device position.
location.currentRune-Web commands
Request the browser location, prompting for permission if necessary.
location.if-grantedRune-Web commands
Request browser location only when permission is already granted.
location.if-grantedRune-Web commands
Request the browser location only when permission is already granted.
logNative functions
Expand {expression} placeholders using the current execution context and write the message to the logger.
logRune-Web commands
Logs the interpolated expression to the console.
@LogicApplication declarations
Declare reactive state and actions for a frontend or game scene.
Logic AOT opt-outPixel and 3D configuration
@Logic actions are compiled ahead of time to JavaScript by default; this setting keeps the interpreter.
@Logic.actionApplication declarations
Named action bodies with optional parameters.
@Logic.derivedApplication declarations
Derived values evaluated from state using match definitions.
@Logic.helperApplication declarations
Pure helper expressions with named parameters.
@Logic.keysApplication declarations
Keyboard key/code to action mapping.
@Logic.localsApplication declarations
Template-local values not exported as public state.
@Logic.stateApplication declarations
Initial reactive state.
@Logic.timerApplication declarations
Periodic action ticker such as tick 40ms.

M

@MapPixel and 3D configuration
Declare a grid environment and optional visual floor, ceiling, sky, and spawn.
@Map.ceilingPixel and 3D configuration
Opaque #RRGGBB or texture; mutually exclusive with sky.
@Map.ceiling_heightPixel and 3D configuration
Greater than 0.5 and no more than 16; visual elevation.
@Map.floorPixel and 3D configuration
Opaque #RRGGBB or compiled texture name.
@Map.gridPixel and 3D configuration
Tile rows.
@Map.legendPixel and 3D configuration
Character-to-tile definitions.
@Map.skyPixel and 3D configuration
Seeded sky panorama; optional cloud_wave and cloud_glow range from 0 to 1.
@Map.spawnPixel and 3D configuration
Numeric x/y and optional angle (default 0).
map_spawnFrontend expressions
Read a compiled map spawn point.
matchLanguage and documents
Evaluate an expression and execute the first matching case branch without evaluating remaining branches.
matching object lookupLanguage and documents
Select the first object whose named property matches the current binding of the same name, and optionally update it.
maxFrontend expressions
Return the maximum numeric argument.
maxRune-Web commands
Finds maximum numeric value in an array.
@MCP/PromptApplication declarations
Declare a reusable MCP prompt template in an @App type = MCP server.
@MCP/Prompt.descriptionApplication declarations
Optional prompt description.
@MCP/Prompt.paramsApplication declarations
Prompt argument declarations (`name: string "desc"`, `name?: string "desc"`).
@MCP/Prompt.runApplication declarations
Executable step block for prompts/get.
@MCP/ResourceApplication declarations
Declare a static MCP resource or URI template (when uri contains {param} placeholders) in an @App type = MCP server.
@MCP/Resource.descriptionApplication declarations
Optional resource description.
@MCP/Resource.mime_typeApplication declarations
MIME type returned in resource metadata and contents.
@MCP/Resource.nameApplication declarations
Display name returned in resources/list or resources/templates/list.
@MCP/Resource.runApplication declarations
Executable step block for resources/read.
@MCP/Resource.uriApplication declarations
Resource URI or URI template.
@MCP/ToolApplication declarations
Declare an executable Model Context Protocol (MCP) tool in an @App type = MCP server.
@MCP/Tool.descriptionApplication declarations
Tool description exposed in tools/list.
@MCP/Tool.destructiveApplication declarations
Sets MCP annotations.destructiveHint.
@MCP/Tool.idempotentApplication declarations
Sets MCP annotations.idempotentHint.
@MCP/Tool.inputApplication declarations
Optional @Schema name used to derive JSON Schema input properties.
@MCP/Tool.input_schemaApplication declarations
Explicit JSON Schema object overriding generated inputSchema.
@MCP/Tool.open_worldApplication declarations
Sets MCP annotations.openWorldHint.
@MCP/Tool.paramsApplication declarations
Inline parameter declarations such as `query: string "Search text"` or `limit?: integer "Max items"`.
@MCP/Tool.read_onlyApplication declarations
Sets MCP annotations.readOnlyHint.
@MCP/Tool.rolesApplication declarations
Required caller roles when HTTP @Authentication is configured.
@MCP/Tool.runApplication declarations
Executable step block for tools/call.
@MCP/Tool.scopesApplication declarations
Required caller scopes when HTTP @Authentication is configured.
@MCP/Tool.titleApplication declarations
Optional human-readable display title.
@MemoryApplication declarations
Seed shared state from section properties or records.
memory.appendNative functions
Alias of append. Append a resolved value to an array in the execution context.
memory.casNative functions
Atomically replace a memory entry only if its current value equals expected.
memory.clearNative functions
Remove all keys from the process memory backend.
memory.delNative functions
Delete a key from the process memory backend.
memory.getNative functions
Read a value from the process memory backend.
memory.pushNative functions
Atomically append a value to a list in the process memory backend.
memory.setNative functions
Store a value in the process memory backend.
minFrontend expressions
Return the minimum numeric argument.
minRune-Web commands
Finds minimum numeric value in an array.
Mobile Web build and exportCommand-line interface
Compile a rune-mobile-web frontend and package the shared Rune-Web runtime into Capacitor WebViews.
mockTesting
Inspect recorded host effects in a frontend logic test.
@ModelPixel and 3D configuration
Declare a palette-colored model using boxes, spheres, cylinders and ramps. Models are visual geometry; games author collision separately.
model instancePixel and 3D configuration
Place a compiled model through a scene thing record.
model instance.anim_speedPixel and 3D configuration
Non-negative playback speed multiplier for tick-based @Animation playback.
model instance.anim_startPixel and 3D configuration
Starting tick number for @Animation playback; set to the current tick when triggering a once clip.
model instance.anim_timePixel and 3D configuration
Explicit non-negative playback time in seconds, overriding tick-based @Animation elapsed time.
model instance.animationPixel and 3D configuration
Compiled @Animation name to play on this thing (alternatively, model or sprite may directly name an @Animation).
model instance.dissolvePixel and 3D configuration
Deterministic fragment discard from 0 to 1; discarded pixels do not write depth.
model instance.modelPixel and 3D configuration
Compiled model name.
model instance.pitchPixel and 3D configuration
Tilt around the model’s local Y axis in degrees, before horizontal angle. Supported by the shared JavaScript Pixel 3D renderer.
model instance.rotationPixel and 3D configuration
Model rotation.
model instance.scalePixel and 3D configuration
Model scale.
model instance.x / y / zPixel and 3D configuration
World position.
@Model.blocksPixel and 3D configuration
Palette-colored box records (from[3], size[3], color, optional integer order in [-1000, 1000] for coplanar layering; defaults to load order); 1-256 total blocks and shapes per model.
@Model.contact_shadowPixel and 3D configuration
Contact shadow radius in world tiles, up to four. Enhanced lighting projects it onto supporting voxel terrain or glass.
@Model.emissivePixel and 3D configuration
Opaque palette symbols whose model surfaces contribute to bloom in Enhanced lighting.
@Model.glassPixel and 3D configuration
Full pane dimensions on local X and Y at Z=0, in model units. Enhanced lighting draws a transparent tint and a rim on the plane.
@Model.palettePixel and 3D configuration
Named @Palette.
@Model.shapesPixel and 3D configuration
Sphere: type, center[3], radius, color. Cylinder: type, center[3], radius, height, color; axis is Z. Ramp: type, from[3], size[3], color; top rises along local +X. All shapes accept optional integer order in [-1000, 1000] for coplanar layering (defaults to load order). Dimensions use unit; centers and radii may be fractional. Rotate an instance with angle to turn a ramp.
@Model.unitPixel and 3D configuration
Model coordinate unit scale.
@ModuleApplication declarations
Namespaced subsystem state with explicit action/helper exports and isolated execution scope.
@Module.exportsApplication declarations
Public action/func names; unlisted members are private.
@Module.modulesApplication declarations
Alias to @Module name; each alias owns separate state.
@MusicPixel and 3D configuration
Define a chiptune or synth song.
@Music.arrangementPixel and 3D configuration
Ordered section names or {section, repeat} cues; repeat accepts integers 1-16. Up to 32 sections, 128 cues and 512 expanded bars in 4/4 or 3/4. loop repeats the full arrangement.
@Music.barsPixel and 3D configuration
Number of measures.
music.composeBrowser and host APIs
Register or update a composed music track.
music.compose_songBrowser and host APIs
Register a song from a structured configuration object.
music.delete_barBrowser and host APIs
Delete a Rune Studio bar.
music.delete_stepBrowser and host APIs
Delete a Rune Studio step by ID.
music.duplicate_barBrowser and host APIs
Duplicate a Rune Studio bar.
music.edit_stepsBrowser and host APIs
Edit a note or bar in Rune Studio's fixed-measure sequencer.
@Music.effectsPixel and 3D configuration
Chip engine effects chain: reverb (decay, wet, pre_delay, reverse, filter), delay (time, feedback, wet, damping), filter (type, cutoff, q), crush/drive (bits, drive, wet), and chorus (rate, depth, delay, wet). Top-level shorthand keys (reverb, delay, etc.) are also supported.
@Music.instrumentsPixel and 3D configuration
Channel-to-synth-voice map. Supports square, sine, triangle, bass, sawtooth, synth, pluck, drums, brass, strings and bell. Works with legacy tracks and arranged sections in browser/native hosts.
@Music.lead / bass / drumsPixel and 3D configuration
Built-in tracks; custom named tracks are also supported.
@Music.loopPixel and 3D configuration
Loop the track.
music.pauseBrowser and host APIs
Pause current music playback.
music.playBrowser and host APIs
Start a declared or composed music track.
music.registerBrowser and host APIs
Alias of music.compose. Register or update a composed music track.
music.register_songBrowser and host APIs
Alias of music.compose_song. Register a song from a structured configuration object.
music.resumeBrowser and host APIs
Resume paused music.
@Music.sectionsPixel and 3D configuration
Reusable named sections: each has integer bars (1-64) and channel-to-note-string fields. Missing/short channels are padded with rests; overlong phrases are rejected. Use with arrangement instead of top-level tracks/bars.
music.select_stepBrowser and host APIs
Select a Rune Studio piano-roll step.
music.stack_chord_noteBrowser and host APIs
Stack a note into an existing Rune Studio step.
music.stopBrowser and host APIs
Stop current music playback.
music.stretch_stepBrowser and host APIs
Change a Rune Studio note step duration.
music.sync_stepsBrowser and host APIs
Synchronize Rune Studio step state with its song representation.
music.tempoBrowser and host APIs
Set current music tempo.
@Music.tempoPixel and 3D configuration
Beats per minute.
@Music.time_signaturePixel and 3D configuration
For example 4/4.
@Music.track_effectsPixel and 3D configuration
Per-channel effect send levels (e.g. {lead: {reverb: 0.4, delay: 0.3}, bass: {reverb: 0, delay: 0}}). By default melodic tracks send 100% and bass/drums avoid muddy echoes.
@Music.typePixel and 3D configuration
Music chip/style.
music.volumeBrowser and host APIs
Set music playback volume.
@Music.volumePixel and 3D configuration
Master gain.

N

Native package event sourceApplication declarations
Bind an imported native package source to a core receiver job.
Native package event source.receiverApplication declarations
Name of the exclusive @BackgroundJob receiver.
Native package importApplication declarations
Enable section and command declarations from an installed native dependency.
Native package toolCommand-line interface
Run a local Rune app contributed by an installed native package.
@NavigatorApplication declarations
Synchronize a route state variable with the URL and optionally bind the page fragment separately.
@Navigator.fragmentApplication declarations
In path or query mode, bind the decoded section ID without the leading #. An empty string removes the fragment. Assign the route and fragment in one action to create one history entry.
@Navigator.modeApplication declarations
path, query, hash, or auto.
@Navigator.paramApplication declarations
Query parameter used by query navigation.
@Navigator.url bound toApplication declarations
State variable representing the active route.
@NotFoundApplication declarations
Override unmatched REST requests with native run steps.
@NotFound.content_typeApplication declarations
Response Content-Type, for example text/html; charset=utf-8.
@NotFound.runApplication declarations
Native request steps; use respond for the desired status and body.
nowNative functions
Read the current UTC time.

O

object and array spreadFrontend expressions
Shallow-copy object properties or expand array elements inline inside literals.
object gridLanguage and documents
Generate a rectangular batch of positioned objects in row order.
object overlaysLanguage and documents
Copy an object, or apply overrides to every object in a batch, without changing the template.
object property shorthandLanguage and documents
Construct an object using current-scope bindings as field values; mix shorthand and explicit fields, including nested objects.
object replicationLanguage and documents
Generate independent objects from a template, optionally incrementing numeric properties and applying per-copy overrides.
objects[]idLanguage and documents
Alias of matching object lookup. Select the first object whose named property matches the current binding of the same name, and optionally update it.
@OptimizerApplication declarations
Split named route views into lazy-loadable JSON chunks.
@Optimizer.chunk_pathApplication declarations
Public chunk URL prefix.
@Optimizer.dynamic_xhrApplication declarations
on, auto, lazy, or off.
@Optimizer.pre_loadApplication declarations
Background route preload.
Optional GPU lightingPixel and 3D configuration
Opt-in browser WebGL 2 lighting and bloom, with CPU geometry/picking and automatic CPU fallback.

P

Package executable commandCommand-line interface
Run an existing CLI through an installed add-on alias with operator approval.
@PageApplication declarations
Declare a Rune-Web page, or a descriptive generated page in a dynamic AI app.
@Page.descriptionApplication declarations
Page description metadata.
@Page.logicApplication declarations
Named @Logic.
@Page.on_mountApplication declarations
Existing action invoked once after initial browser rendering, never during server rendering or export.
@Page.stateApplication declarations
Initial page-local state.
@Page.styleApplication declarations
Named @Style.
@Page.titleApplication declarations
Page title metadata.
@Page.viewApplication declarations
Indented frontend elements and components.
@PalettePixel and 3D configuration
Map single ASCII symbols to colors for pixel assets.
@Palette.colorsPixel and 3D configuration
1–256 entries mapping single ASCII characters to #RRGGBB or transparent.
parse-jsonNative functions
Parse a JSON string stored in the request context.
parse-jsonRune-Web commands
Parses a JSON string and returns the value.
path lookupLanguage and documents
Resolve dotted or bracketed paths against the current context.
path.paramsRuntime context and environment
Object containing string-valued URL parameters. Each parameter is also inserted directly into the native context.
@PerspectivePixel and 3D configuration
Declare a camera field of view.
@Perspective.fovPixel and 3D configuration
Finite field of view between 20 and 120 degrees.
pickFrontend expressions
Choose a value from an array.
Pixel-3D tick audio statePixel and 3D configuration
Read the current music track and playback state from the optional second tick argument.
pixel3d.drawRune-Web commands
Generic Pixel-3D preview canvas widget with orbit/zoom, analytic face/floor raycasting, 3D move/resize gizmos, and hover placement wireframes.
play_musicBrowser and host APIs
Alias of music.play. Start a declared or composed music track.
play_soundBrowser and host APIs
Alias of sound.play. Play a declared synthesized sound.
Preserve an input draftFrontend expressions
Keep a typed input value across unrelated Rune-Web reactivity updates.
pushRune-Web commands
Pushes a value onto the array at the given path.

R

randomFrontend expressions
Generate an integer within the requested range.
randomizeRune-Web commands
Generates a random number in a range or shuffles an array.
recordLanguage and documents
Start a record; subsequent indented properties extend that record.
removeRune-Web commands
Alias of delete. Deletes a value at the given path from locals.
resetBrowser and host APIs
Alias of restore. Restore initial state or entity start_ fields.
respondNative functions
Finish the current request with an HTTP status and response body.
restoreBrowser and host APIs
Restore initial state or entity start_ fields.
returnLanguage and documents
Finish a native resolver or step sequence with a resolved value.
rmRune-Web commands
Alias of delete. Deletes a value at the given path from locals.
rmvRune-Web commands
Alias of delete. Deletes a value at the given path from locals.
@RouteApplication declarations
Define an HTTP endpoint and its executable steps.
@Route.authApplication declarations
Named @Authentication scheme, array of schemes for OR fallback, or none to bypass @App default_auth.
@Route.data_sourceApplication declarations
Configured data source for generated handlers.
@Route.descriptionApplication declarations
Description in generated OpenAPI.
@Route.expectApplication declarations
POST/PUT/PATCH OpenAPI request body metadata; does not run validation.
@Route.rate_limitApplication declarations
Per-route rate limit override {"requests": N, "window": seconds, "key": ...} or none to exempt from global rate_limit.
@Route.rolesApplication declarations
Required roles (caller must hold at least one role or receive 403 Forbidden).
@Route.runApplication declarations
Ordered native request steps.
@Route.schemaApplication declarations
Schema used by generated data-source CRUD handlers.
@Route.scopesApplication declarations
Required scopes (caller must hold every listed scope or receive 403 Forbidden).
rune.formatFrontend expressions
Conservatively format Rune source text matching `vectrune fmt --line-width` (default 100).
rune.parseFrontend expressions
Parse Rune source text into structured sections `{ sections: [{ kind, name, path, kv, series }] }`.
RUNE_FILERuntime context and environment
Path to the Rune entrypoint inside the Lambda runtime; defaults to rune/app.rune.

S

@ScenePixel and 3D configuration
Bind game logic, maps, assets, cameras, input, and HUD presentation.
@Scene.cameraPixel and 3D configuration
Camera state field or a declared cinematic camera.
@Scene.click_to_startPixel and 3D configuration
Whether canvas clicks initiate play.
@Scene.controlsPixel and 3D configuration
Named @Controls profile.
@Scene.headingPixel and 3D configuration
Title scene headline.
@Scene.hudPixel and 3D configuration
State-field bindings for legacy HUD values.
@Scene.keysPixel and 3D configuration
Keyboard mapping when no custom mapping is supplied.
@Scene.lightsPixel and 3D configuration
State field containing up to eight point-light records. Available in voxel gameplay scenes and separately on a cinematic title scene, through the shared JavaScript CPU renderer.
@Scene.logicPixel and 3D configuration
Named @Logic; Pixel 3D requires start and tick actions.
@Scene.mapPixel and 3D configuration
Initial @Map name.
@Scene.mouse_lookPixel and 3D configuration
Enable mouse-look input.
@Scene.pause_uiPixel and 3D configuration
Pause HUD state field; must exist.
@Scene.persistencePixel and 3D configuration
key and state; key is 1–64 ASCII letters, digits, hyphens, or underscores. Source builds optionally accept interval_ticks (1–3600, default 1) and revision (explicit nonnegative-safe-integer state marker); see Batched game persistence.
@Scene.perspectivePixel and 3D configuration
Named @Perspective.
@Scene.presentationPixel and 3D configuration
title, subtitle, objective, victory, defeat, and up to five instruction strings.
@Scene.promptPixel and 3D configuration
Title scene start prompt.
@Scene.restart_actionPixel and 3D configuration
Action invoked for restart; must exist.
@Scene.subtitlePixel and 3D configuration
Title scene subtitle.
@Scene.tethersPixel and 3D configuration
State paths to depth-tested tethers or lists of tethers; each tether defines world points, radius, RGB color, and optional two-point slack.
@Scene.thingsPixel and 3D configuration
State collection names rendered as scene objects. Browser canvases may use data-pixel-pick=<collection> and data-pixel-pick-action=<action> to select visible model pixels, receiving the zero-based collection index. Scene depth rejects occluded models; invisible models and sprites are not selected. HUD/sidebar hits take precedence.
@Scene.title_scenePixel and 3D configuration
Optional cinematic title @Scene.
@Scene.uiPixel and 3D configuration
Structured HUD state field. Floating HUD theme colors are background, surface, selected, border, text, muted, accent, focus (RGB integers), plus radius 0-12. Sidebar grids require one column and at most ten items; width 120-640, rowHeight 18-64, padding 4-24, gap 0-24, textScale 1/2, subtitle, dismissAction, moveAction, closeOnActivate are optional. closeOnActivate=true requires dismissAction. Floating buttons (up to eight) use menu/feed/fish/sound/flower/critter icons, label, action, top-right/bottom-left anchor, offset 0-640 and size 24-64. callout contains title, lines (up to six), world-coordinate target, width 140-400, actions (up to three) and dismissAction; its upper-left connector tracks the target. keyboard contains title, value, maxLength 1-128, submitAction/cancelAction and optional changeAction, width 240-640, keyHeight 18-48, gap 1-12, textScale 1/2. It inherits the HUD theme, supports browser touch/click, physical-key highlights and standard controller navigation, and submits {name:text}. Input editing consumes game shortcuts. These widgets select shared JavaScript rendering; native pointer picking is not supplied. Floating HUD countdown accepts 0-3599 seconds; reticle true adds an aiming mark.
@Scene.weaponPixel and 3D configuration
Weapon state binding.
@Scene.worldPixel and 3D configuration
Voxel world state field; must exist.
@SchemaApplication declarations
Declare object fields for validation, generated API schemas, and GraphQL types.
sectionLanguage and documents
Create a hierarchical named section. Section names select runtime behavior when recognized by an app; arbitrary sections can hold user data.
seesFrontend expressions
Check line of sight through the active map.
@SEOApplication declarations
Declare default or route-specific metadata for title, description, and social image.
@SEO.descriptionApplication declarations
Meta description.
@SEO.imageApplication declarations
Social preview image.
@SEO.titleApplication declarations
Document/social title.
seriesLanguage and documents
Declare an ordered series. Executable run blocks and declarative data series share this document shape.
set-memoryNative functions
Alias of memory.set. Store a value in the process memory backend.
shuffleFrontend expressions
Return a seeded shuffled copy of an array.
@SideMapPixel and 3D configuration
Build side-view voxel terrain and scenery from a row-based map with side_level.
@SideMap.legend.center_voxelPixel and 3D configuration
1-based material ID for the two central Y tiles of an ordinary solid foreground entry. Requires a span of at least two tiles. A four-tile span retains its base material on each outside edge.
sinFrontend expressions
Sine with a degree input.
@SiteApplication declarations
Provide generated-site title, description, tone, style, and navigation.
slideFrontend expressions
Move a circle through the active grid collision space with sliding.
@SoundPixel and 3D configuration
Define a synthesized sound effect.
@Sound.attackPixel and 3D configuration
Time for a tone or noise sweep to rise from silence to full volume, expressed in seconds or with a unit such as 250ms.
@Sound.curvePixel and 3D configuration
linear or exponential sweep.
@Sound.durationPixel and 3D configuration
Seconds.
@Sound.filterPixel and 3D configuration
Filter type and start/end frequency.
@Sound.freq_endPixel and 3D configuration
Ending frequency in Hz.
@Sound.freq_startPixel and 3D configuration
Starting frequency in Hz.
@Sound.notesPixel and 3D configuration
Rotating pitch list.
sound.playBrowser and host APIs
Play a declared synthesized sound.
@Sound.sequencePixel and 3D configuration
Frequency/duration note pairs.
@Sound.volumePixel and 3D configuration
Gain from 0 to 1.
@Sound.wavePixel and 3D configuration
sawtooth, square, triangle, sine, or noise.
@SpritePixel and 3D configuration
Compile an indexed pixel sprite or animation frame.
Sprite 2D app typePixel and 3D configuration
2D vector/PNG game engine with compact sprite syntax, @Atlas, @Animation and @Cutscene.
@Sprite.originPixel and 3D configuration
Sprite origin, when supported by the asset compiler.
@Sprite.palettePixel and 3D configuration
Named @Palette.
@Sprite.pixelsPixel and 3D configuration
Literal pixel rows matching the declared dimensions.
@Sprite.sizePixel and 3D configuration
Pixel dimensions validated by the compiler.
sqrtFrontend expressions
Compute the square root.
start-timerRune-Web commands
Starts a periodic timer calling the named action.
stopRune-Web commands
Stops execution of the current script.
stop-timerRune-Web commands
Stops the active periodic timer.
storage.deleteBrowser and host APIs
Alias of storage.remove. Remove a local-storage key.
storage.getBrowser and host APIs
Read JSON-backed local storage.
storage.hasBrowser and host APIs
Test for a local-storage key.
storage.removeBrowser and host APIs
Remove a local-storage key.
storage.saveBrowser and host APIs
Alias of storage.set. Serialize a value to local storage.
storage.setBrowser and host APIs
Serialize a value to local storage.
str.containsNative functions
Check whether a string contains a substring.
str.containsRune-Web commands
Check whether a string contains a substring.
str.joinNative functions
Join array elements into a single string with an optional separator.
str.joinRune-Web commands
Join array elements into a single string with an optional separator.
str.lowerNative functions
Convert a string value to lowercase.
str.lowerRune-Web commands
Convert a value to a lowercase string.
str.splitNative functions
Split a string into an array on whitespace or an explicit separator.
str.splitRune-Web commands
Split a string on whitespace or an explicit separator into an array.
str.trimNative functions
Strip leading and trailing whitespace from a string.
str.trimRune-Web commands
Remove leading and trailing whitespace from a string.
@StyleApplication declarations
Declare design tokens, presets, selector rules, and responsive overrides.
@Style.responsiveApplication declarations
Rules keyed by media condition.
@Style.rulesApplication declarations
Selector/property rules.
@Style.tokensApplication declarations
Reusable style values.
sumRune-Web commands
Sums numeric values in an array and stores the result.
summarizeNative functions
Group records into an ordered, non-mutating report.
swapRune-Web commands
Swaps the values of A and B at path.
switchLanguage and documents
Alias of match. Evaluate an expression and execute the first matching case branch without evaluating remaining branches.

T

@TestTesting
Declare a test with run steps. Native tests use an in-process router; frontend tests use the logic harness.
test-requestTesting
Send a request through the in-process native application router.
@TestFixtureTesting
Declare reusable fixture setup and teardown.
@TestSuiteTesting
Declare suite-level setup and teardown steps.
@TexturePixel and 3D configuration
Compile an opaque indexed pixel texture.
@Texture.palettePixel and 3D configuration
Named @Palette.
@Texture.patternsPixel and 3D configuration
Reusable run patterns for compact texture rows.
@Texture.pixelsPixel and 3D configuration
Literal rows; texture compilation also supports row/runs/pattern objects with repeat.
@Texture.sizePixel and 3D configuration
Pixel dimensions validated by the compiler.
to-boolNative functions
Convert a context value to a boolean.
to-jsonNative functions
Serialize a context value, object, or array to a compact JSON string.
to-jsonRune-Web commands
Serialize a value to a JSON string.
to-numberNative functions
Convert a resolved number, numeric string, or boolean to a number.
to-stringNative functions
Convert a context value or literal token to a string.
toggle_fullscreenBrowser and host APIs
Alias of fullscreen.toggle. Toggle fullscreen presentation and the host fallback CSS state.
@TV profilePixel and 3D configuration
Declare Apple TV remote navigation, a HUD summary and up to two focus modes for a Pixel-3D scene.
@TypeApplication declarations
Composable plain-data entity constructors and receiver actions, without inheritance or serialized functions.
@Type.typesApplication declarations
Constructor and method availability, including composed dependencies.

U

uniqueRune-Web commands
Removes duplicate entries from an array.
url_encodeFrontend expressions
Encode one string as a URL component in Rune-Web.
uuidNative functions
Alias of uuid.v4. Generate a random version 4 UUID.
uuid.v4Native functions
Generate a random version 4 UUID.

V

validateNative functions
Validate required scalar fields against a named schema, or check a comparison.
valueLanguage and documents
Declare a scalar or structured value in a section. Runtime expressions and declaration literals are parsed by different layers.
.vectLanguage and documents
Run imperative script syntax through the shared execution intermediate representation.
.vectruneLanguage and documents
Compile English-style workflow definitions into the execution engine.
vectruneCommand-line interface
Run scripts, serve apps, and convert structured documents.
vectrune --aiCommand-line interface
Send a CLI-assistant prompt to the local Ollama instance
vectrune --buildCommand-line interface
Build a rune-mobile-web app: Android debug APK or unsigned iOS Simulator app [possible values: android, ios]
vectrune --build-dirCommand-line interface
Generated mobile project directory (default: <source>/.vectrune/rune-mobile-web)
vectrune --calculateCommand-line interface
Perform a calculation over data, e.g. 'avg Section.field'
vectrune --chunks-dirCommand-line interface
Directory to export dynamic XHR chunks for @Optimizer (e.g. _site/assets/routes)
vectrune --desktopCommand-line interface
Render an ASCII Animator app with original GIF sprites in a window
vectrune --exportCommand-line interface
Export a Gradle or Xcode project for IDE signing and distribution; no SDKs required [possible values: android, ios]
vectrune --filterCommand-line interface
Filter output to only include sections matching a path, e.g. '@Memory' or '@Page'
vectrune --fullscreenCommand-line interface
Start the desktop pixel window in fullscreen
vectrune --helpCommand-line interface
Print help
vectrune --hostCommand-line interface
Override the application HTTP server host (default: 127.0.0.1) [env: VECTRUNE_HOST=] [default: 127.0.0.1]
vectrune --inputCommand-line interface
Input data type [possible values: json, rune, xml, yaml]
vectrune --log-levelCommand-line interface
Set log level (debug, info, warn, error) [possible values: debug, info, warn, error]
vectrune --merge-withCommand-line interface
Merge with another document: base_file@selector
vectrune --modelCommand-line interface
Set AI model for --ai prompt (default: phi4) [default: phi4]
vectrune --muteCommand-line interface
Disable synthesized tones for a directly launched ASCII Animator app
vectrune --outputCommand-line interface
Output format [possible values: text, json, rune, xml, yaml, curl, html]
vectrune --pathCommand-line interface
Path to render when using -o html (default: /) [default: /]
vectrune --portCommand-line interface
Override the application HTTP server port [env: VECTRUNE_PORT=]
vectrune --prepare-onlyCommand-line interface
Export the mobile project without installing dependencies or invoking native build tools
vectrune --secondary-appCommand-line interface
Run another independent HTTP app on its configured host/port; repeat for more apps. Ctrl-C stops the group
vectrune --targetCommand-line interface
Pixel presentation host (default: web) [possible values: web, desktop]
vectrune --transformCommand-line interface
Transform data into a new document, e.g. '@Target key:[@Section.field]'
vectrune --transportCommand-line interface
Override transport for @App type = MCP (stdio or http) [possible values: stdio, http]
vectrune --versionCommand-line interface
Print version
vectrune --watchCommand-line interface
Watch for file changes and automatically restart the server
vectrune -hCommand-line interface
Alias of vectrune --help. Print help
vectrune -iCommand-line interface
Alias of vectrune --input. Input data type [possible values: json, rune, xml, yaml]
vectrune -lCommand-line interface
Alias of vectrune --log-level. Set log level (debug, info, warn, error) [possible values: debug, info, warn, error]
vectrune -oCommand-line interface
Alias of vectrune --output. Output format [possible values: text, json, rune, xml, yaml, curl, html]
vectrune -pCommand-line interface
Alias of vectrune --port. Override the application HTTP server port [env: VECTRUNE_PORT=]
vectrune -VCommand-line interface
Alias of vectrune --version. Print version
vectrune -wCommand-line interface
Alias of vectrune --watch. Watch for file changes and automatically restart the server
vectrune asciiCommand-line interface
Generate ASCII art and Rune animations, or run a terminal app
vectrune ascii generateCommand-line interface
Generate a runnable starter .rune animation
vectrune ascii generate --heightCommand-line interface
Canvas rows, 3-80 [default: 12]
vectrune ascii generate --outputCommand-line interface
Write to a new file instead of stdout; refuses to overwrite
vectrune ascii generate --textCommand-line interface
Printable ASCII text to animate [default: "Hello, ASCII!"]
vectrune ascii generate --widthCommand-line interface
Canvas columns, 3-240; text must fit inside the border [default: 60]
vectrune ascii generate -oCommand-line interface
Alias of vectrune ascii generate --output. Write to a new file instead of stdout; refuses to overwrite
vectrune ascii imageCommand-line interface
Convert images to ASCII, play a GIF, or generate a runnable Rune animation
vectrune ascii image --framesCommand-line interface
Stop playback after N 60 Hz simulation ticks
vectrune ascii image --invertCommand-line interface
Reverse the brightness ramp
vectrune ascii image --outputCommand-line interface
Write to a new file instead of stdout; refuses to overwrite
vectrune ascii image --playCommand-line interface
Loop a GIF in the terminal; Space pauses, Q/Esc/Ctrl-C exits
vectrune ascii image --runeCommand-line interface
Generate runnable .rune source with all GIF frames (or a still image)
vectrune ascii image --widthCommand-line interface
Output columns, 1-240; height follows aspect with terminal cell correction [default: 80]
vectrune ascii image -oCommand-line interface
Alias of vectrune ascii image --output. Write to a new file instead of stdout; refuses to overwrite
vectrune ascii runCommand-line interface
Run an @App type = ascii-animator Rune file or directory
vectrune ascii run --commandsCommand-line interface
Repeat for one typed command before each frame; requires --plain and an app command action
vectrune ascii run --desktopCommand-line interface
Render original GIF sprites in a window (requires a pixel-desktop build)
vectrune ascii run --framesCommand-line interface
Stop after N simulation frames
vectrune ascii run --keysCommand-line interface
One Rune key code per frame, e.g. Enter,ArrowLeft,KeyR; requires --plain
vectrune ascii run --muteCommand-line interface
Disable synthesized tones without opening an audio device
vectrune ascii run --plainCommand-line interface
Print only the final ASCII frame, without sound, ANSI codes or delays (default: 1 frame)
vectrune ascii textCommand-line interface
Render printable ASCII text as a character banner
vectrune ascii text --backgroundCommand-line interface
One printable ASCII character for empty pixels and spacing [default: " "]
vectrune ascii text --charCommand-line interface
One printable ASCII character for filled pixels [default: #]
vectrune ascii text --fontCommand-line interface
bitmap: 8x8 glyphs; compact: trimmed glyph widths; double: 16x16 glyphs [default: bitmap] [possible values: bitmap, compact, double]
vectrune ascii text --outputCommand-line interface
Write to a new file instead of stdout; refuses to overwrite
vectrune ascii text -oCommand-line interface
Alias of vectrune ascii text --output. Write to a new file instead of stdout; refuses to overwrite
vectrune checkCommand-line interface
Check Rune imports, routes, references, and frontend without running the app
vectrune check --deny-warningsCommand-line interface
Treat linter warnings as failures
vectrune check --jsonCommand-line interface
Emit a JSON report
vectrune commandCommand-line interface
Inspect and approve executables for add-on commands
vectrune command approveCommand-line interface
Approve an executable and the installed command declaration
vectrune command approve --globalCommand-line interface
Use the user-wide package project
vectrune command approve --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune command approve --sha256Command-line interface
Match this SHA-256 without prompting (required for non-interactive approval)
vectrune command approve -gCommand-line interface
Alias of vectrune command approve --global. Use the user-wide package project
vectrune command inspectCommand-line interface
Print an executable's path and SHA-256
vectrune command revokeCommand-line interface
Revoke a command approval
vectrune command revoke --globalCommand-line interface
Use the user-wide package project
vectrune command revoke --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune command revoke -gCommand-line interface
Alias of vectrune command revoke --global. Use the user-wide package project
vectrune command statusCommand-line interface
Verify a command approval
vectrune command status --globalCommand-line interface
Use the user-wide package project
vectrune command status --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune command status -gCommand-line interface
Alias of vectrune command status --global. Use the user-wide package project
vectrune dbCommand-line interface
Query and mutate Rune DB locally or over the network
vectrune db batchCommand-line interface
Atomically execute 1..256 put/delete/increment/append packets
vectrune db batch --configCommand-line interface
Load a named datasource from Rune configuration
vectrune db batch --endpointCommand-line interface
Connect to a storage server
vectrune db batch --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune db batch --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune db batch --valueCommand-line interface
JSON value (or array of mutation packets for batch)
vectrune db getCommand-line interface
get-many Read multiple records in one snapshot, in input order
vectrune db get --configCommand-line interface
Load a named datasource from Rune configuration
vectrune db get --endpointCommand-line interface
Connect to a storage server
vectrune db get --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune db get --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune db incrementCommand-line interface
Apply an atomic numeric mutation without retrieving the document
vectrune db increment --configCommand-line interface
Load a named datasource from Rune configuration
vectrune db increment --endpointCommand-line interface
Connect to a storage server
vectrune db increment --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune db increment --pathCommand-line interface
JSON array of fields, indexes or {field,equals} selectors [default: []]
vectrune db increment --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune db putCommand-line interface
delete
vectrune db put --configCommand-line interface
Load a named datasource from Rune configuration
vectrune db put --endpointCommand-line interface
Connect to a storage server
vectrune db put --expectedCommand-line interface
Required current revision, or 0 for create-only
vectrune db put --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune db put --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune db put --valueCommand-line interface
JSON value (or array of mutation packets for batch)
vectrune db scanCommand-line interface
Read an ordered, bounded prefix page; no SQL or property filters
vectrune db scan --configCommand-line interface
Load a named datasource from Rune configuration
vectrune db scan --endpointCommand-line interface
Connect to a storage server
vectrune db scan --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune db scan --limitCommand-line interface
[default: 100]
vectrune db scan --prefixCommand-line interface
[default: ""]
vectrune db scan --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune depsCommand-line interface
Manage local, Git, and catalog dependencies
vectrune deps addCommand-line interface
Install a catalog package or declare a Git dependency
vectrune deps add --globalCommand-line interface
Use the user-wide package project
vectrune deps add --nameCommand-line interface
Override the default dependency alias
vectrune deps add --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune deps add --repositoryCommand-line interface
Use this catalog instead of vectrune.com
vectrune deps add --revCommand-line interface
Full Git commit for a direct Git URL
vectrune deps add --signerCommand-line interface
Require an OpenPGP signature from this primary key fingerprint
vectrune deps add --tagCommand-line interface
Git tag for a direct Git URL
vectrune deps add --versionCommand-line interface
Select an exact catalog release
vectrune deps add -gCommand-line interface
Alias of vectrune deps add --global. Use the user-wide package project
vectrune deps globalCommand-line interface
List or remove user-wide dependency installations
vectrune deps global listCommand-line interface
List user-wide dependencies
vectrune deps global removeCommand-line interface
Remove an installed or declared dependency by alias
vectrune deps infoCommand-line interface
Show an installed dependency's declared metadata as JSON
vectrune deps info --globalCommand-line interface
Use the user-wide package project
vectrune deps info --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune deps info -gCommand-line interface
Alias of vectrune deps info --global. Use the user-wide package project
vectrune deps initCommand-line interface
Create a starter Rune library in a new directory
vectrune deps init --mit-licenseCommand-line interface
Add the MIT license for the named copyright holder
vectrune deps init --projectCommand-line interface
New library directory (defaults to the package name)
vectrune deps installCommand-line interface
Install project dependencies or link a local add-on
vectrune deps listCommand-line interface
List available catalog versions and mark the default
vectrune deps list --repositoryCommand-line interface
Use this catalog instead of vectrune.com
vectrune deps removeCommand-line interface
Remove an installed or declared dependency by alias
vectrune deps remove --globalCommand-line interface
Use the user-wide package project
vectrune deps remove --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune deps remove -gCommand-line interface
Alias of vectrune deps remove --global. Use the user-wide package project
vectrune deps updateCommand-line interface
Resolve dependencies and update the lockfile
vectrune doctorCommand-line interface
Diagnose executable, project, and local port configuration
vectrune doctor --jsonCommand-line interface
Emit a JSON report
vectrune eventsCommand-line interface
Append, replay or follow durable Vect Event streams
vectrune events appendCommand-line interface
read
vectrune events append --configCommand-line interface
Load a named datasource from Rune configuration
vectrune events append --endpointCommand-line interface
Connect to a storage server
vectrune events append --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune events append --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune events append --valueCommand-line interface
JSON value (or array of mutation packets for batch)
vectrune events tailCommand-line interface
help Print this message or the help of the given subcommand(s)
vectrune events tail --afterCommand-line interface
[default: 0]
vectrune events tail --configCommand-line interface
Load a named datasource from Rune configuration
vectrune events tail --endpointCommand-line interface
Connect to a storage server
vectrune events tail --fileCommand-line interface
Open an embedded database directly; cannot share an open server file
vectrune events tail --limitCommand-line interface
[default: 100]
vectrune events tail --token-envCommand-line interface
Environment variable containing the server bearer token
vectrune fmtCommand-line interface
Format Rune documents while preserving views, styles, and embedded source
vectrune fmt --checkCommand-line interface
Fail if formatting changes are needed; do not write files
vectrune fmt --jsonCommand-line interface
Emit a JSON report
vectrune fmt --line-widthCommand-line interface
Target line width for JSON collections and supported logic expressions (minimum 20); opaque code and indivisible values are preserved [default: 100]
vectrune knowledgeCommand-line interface
Knowledge-source tooling for docs and AI exports
vectrune knowledge exportCommand-line interface
Regenerate docs and AI export artifacts from knowledge/
vectrune knowledge export --rootCommand-line interface
Workspace root containing knowledge/, language/docs/, and documents/ai/
vectrune lambdaCommand-line interface
AWS Lambda tooling for VectRune
vectrune lambda launchCommand-line interface
Launch the Lambda runtime for handling AWS lambda Events
vectrune lambda packageCommand-line interface
Bundle the runtime, Rune sources, and config into a Lambda artifact
vectrune lambda package --binaryCommand-line interface
Path to the Lambda-compatible VectRune binary
vectrune lambda package --configCommand-line interface
Optional config file or directory to include
vectrune lambda package --image-nameCommand-line interface
Optional container image tag metadata
vectrune lambda package --modeCommand-line interface
Select packaging mode [default: zip] [possible values: zip, container]
vectrune lambda package --outputCommand-line interface
Output artifact path
vectrune lambda package --runeCommand-line interface
Rune file or directory to include (default: app.rune)
vectrune lambda package -oCommand-line interface
Alias of vectrune lambda package --output. Output artifact path
vectrune lambda package -rCommand-line interface
Alias of vectrune lambda package --rune. Rune file or directory to include (default: app.rune)
vectrune mcpCommand-line interface
Run a local read-only Model Context Protocol (MCP) server over stdio for Vectrune docs
vectrune mcp --cache-dirCommand-line interface
Directory used to cache downloaded docs-index.json and HTTP metadata
vectrune mcp --indexCommand-line interface
Load docs-index.json from a local file instead of fetching remotely [env: VECTRUNE_DOCS_INDEX=]
vectrune mcp --offlineCommand-line interface
Use only the local file or cached docs-index.json without network requests
vectrune mcp --refreshCommand-line interface
Revalidate the remote docs-index.json even when the local cache is still fresh
vectrune mcp --urlCommand-line interface
Remote docs-index.json URL to fetch and cache [env: VECTRUNE_DOCS_INDEX_URL=] [default: https://vectrune.com/docs-index.json]
vectrune nativeCommand-line interface
Inspect and approve experimental native libraries
vectrune native approveCommand-line interface
Approve a package library for one project without loading it
vectrune native approve --globalCommand-line interface
Use the user-wide package project
vectrune native approve --packageCommand-line interface
Specify the native owner directly instead of a dependency alias
vectrune native approve --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune native approve --sha256Command-line interface
Match this SHA-256 without prompting (required for non-interactive approval)
vectrune native approve -gCommand-line interface
Alias of vectrune native approve --global. Use the user-wide package project
vectrune native inspectCommand-line interface
Print a library path and SHA-256 without loading it
vectrune native revokeCommand-line interface
Revoke a package approval
vectrune native revoke --globalCommand-line interface
Use the user-wide package project
vectrune native revoke --packageCommand-line interface
Specify the native owner directly instead of a dependency alias
vectrune native revoke --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune native revoke -gCommand-line interface
Alias of vectrune native revoke --global. Use the user-wide package project
vectrune native statusCommand-line interface
Check a package approval and current library digest
vectrune native status --globalCommand-line interface
Use the user-wide package project
vectrune native status --packageCommand-line interface
Specify the native owner directly instead of a dependency alias
vectrune native status --projectCommand-line interface
Project directory (defaults to the nearest project or current directory)
vectrune native status -gCommand-line interface
Alias of vectrune native status --global. Use the user-wide package project
vectrune replCommand-line interface
Start the Vectrune REPL shell
vectrune repl --log-levelCommand-line interface
Set log level (debug, info, warn, error) [possible values: debug, info, warn, error]
vectrune repl -lCommand-line interface
Alias of vectrune repl --log-level. Set log level (debug, info, warn, error) [possible values: debug, info, warn, error]
vectrune samCommand-line interface
AWS SAM tooling for VectRune
vectrune sam generateCommand-line interface
Generate a SAM YAML file for a Lambda ZIP bundle
vectrune sam generate --bundleCommand-line interface
Lambda ZIP bundle to deploy (containing bootstrap and rune files)
vectrune sam generate --outputCommand-line interface
Output SAM YAML file
vectrune sam generate -bCommand-line interface
Alias of vectrune sam generate --bundle. Lambda ZIP bundle to deploy (containing bootstrap and rune files)
vectrune sam generate -oCommand-line interface
Alias of vectrune sam generate --output. Output SAM YAML file
vectrune sam localCommand-line interface
Run local SAM testing for a Lambda ZIP bundle
vectrune sam local --bundleCommand-line interface
Lambda ZIP bundle to test locally (containing bootstrap and rune files)
vectrune sam local --samCommand-line interface
SAM YAML file to use
vectrune sam local -bCommand-line interface
Alias of vectrune sam local --bundle. Lambda ZIP bundle to test locally (containing bootstrap and rune files)
vectrune sam local -sCommand-line interface
Alias of vectrune sam local --sam. SAM YAML file to use
vectrune testCommand-line interface
Run native and Rune-Web logic @Test sections without opening a port
vectrune test --appCommand-line interface
Run a separate suite for this Rune entry file or app directory; repeat for multiple apps
vectrune test --filterCommand-line interface
Only run test names containing NAME
vectrune test --jsonCommand-line interface
Emit a JSON report
vectrune test --listCommand-line interface
List matching tests without running startup or test code
vectrune test --timeoutCommand-line interface
Timeout in seconds per test, including application startup [default: 10]
vectrune test --typeCommand-line interface
Select native HTTP tests, JavaScript logic tests, or both [default: all] [possible values: native, logic, all]
vectrune test --watchCommand-line interface
Rerun tests after source and fixture changes; Ctrl-C exits
vectrune tvosCommand-line interface
Experimental Apple TV tools: check, bundle, deploy and debug Pixel-3D games, build and run tvOS Xcode projects (macOS only)
vectrune tvos buildCommand-line interface
Build an existing signed Xcode project for a paired Apple TV
vectrune tvos build --derived-dataCommand-line interface
Xcode build output directory
vectrune tvos build --deviceCommand-line interface
Paired Apple TV name or identifier from `vectrune tvos devices` (default: tvos.toml, then the only paired Apple TV)
vectrune tvos build --projectCommand-line interface
Existing .xcodeproj directory
vectrune tvos build --schemeCommand-line interface
Xcode scheme to build
vectrune tvos build-runtimeCommand-line interface
Build the Apple TV runtime libraries for device and simulator
vectrune tvos build-runtime --outputCommand-line interface
Receives appletvos/ and appletvsimulator/ libraries
vectrune tvos build-runtime --sourceCommand-line interface
Rune TV runtime crate from a Vectrune checkout [default: native/tvos/runtime]
vectrune tvos build-runtime -oCommand-line interface
Alias of vectrune tvos build-runtime --output. Receives appletvos/ and appletvsimulator/ libraries
vectrune tvos bundleCommand-line interface
Generate an Xcode project that wraps a Pixel-3D game for Apple TV
vectrune tvos bundle --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos bundle --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos bundle --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos bundle --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos bundle --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos bundle --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos bundle --outputCommand-line interface
Project directory to create or refresh (default: <build-dir>/project)
vectrune tvos bundle --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos bundle --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos bundle --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos bundle -oCommand-line interface
Alias of vectrune tvos bundle --output. Project directory to create or refresh (default: <build-dir>/project)
vectrune tvos checkCommand-line interface
Report whether a Pixel-3D game can run in the Apple TV runtime
vectrune tvos deployCommand-line interface
Check, bundle, build, install and launch a game on a paired Apple TV
vectrune tvos deploy --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos deploy --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos deploy --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos deploy --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos deploy --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos deploy --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos deploy --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos deploy --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos deploy --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos devicesCommand-line interface
List Apple devices known to Xcode
vectrune tvos doctorCommand-line interface
Check Xcode, Rust targets, signing and Apple TV pairing
vectrune tvos doctor --configCommand-line interface
Settings file to validate
vectrune tvos iconCommand-line interface
Generate the tvOS app icon and top shelf asset catalog from an image
vectrune tvos icon --outputCommand-line interface
Asset catalog directory to create or replace [default: Assets.xcassets]
vectrune tvos icon -oCommand-line interface
Alias of vectrune tvos icon --output. Asset catalog directory to create or replace [default: Assets.xcassets]
vectrune tvos initCommand-line interface
Write a tvos.toml with this game's Apple TV settings
vectrune tvos init --forceCommand-line interface
Replace an existing tvos.toml
vectrune tvos logsCommand-line interface
Relaunch the installed game and stream its console output
vectrune tvos logs --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos logs --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos logs --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos logs --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos logs --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos logs --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos logs --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos logs --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos logs --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos packageCommand-line interface
Archive and export the game for App Store Connect or TestFlight
vectrune tvos package --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos package --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos package --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos package --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos package --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos package --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos package --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos package --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos package --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos pull-savesCommand-line interface
Copy the game's saved progress from the Apple TV
vectrune tvos pull-saves --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos pull-saves --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos pull-saves --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos pull-saves --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos pull-saves --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos pull-saves --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos pull-saves --outputCommand-line interface
Directory that receives the RuneSaves folder [default: saves]
vectrune tvos pull-saves --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos pull-saves --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos pull-saves --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos pull-saves -oCommand-line interface
Alias of vectrune tvos pull-saves --output. Directory that receives the RuneSaves folder [default: saves]
vectrune tvos reset-savesCommand-line interface
Delete the game's saved progress on the Apple TV and relaunch it
vectrune tvos reset-saves --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos reset-saves --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos reset-saves --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos reset-saves --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos reset-saves --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos reset-saves --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos reset-saves --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos reset-saves --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos reset-saves --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos runCommand-line interface
Install and launch an existing signed tvOS .app on a paired Apple TV
vectrune tvos run --appCommand-line interface
Signed .app bundle to install
vectrune tvos run --deviceCommand-line interface
Paired Apple TV name or identifier from `vectrune tvos devices` (default: tvos.toml, then the only paired Apple TV)
vectrune tvos statsCommand-line interface
Relaunch the installed game and report frame rate and memory
vectrune tvos stats --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos stats --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos stats --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos stats --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos stats --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos stats --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos stats --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos stats --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos stats --secondsCommand-line interface
How long to measure (at least 6, since stats arrive every 3 seconds) [default: 20]
vectrune tvos stats --teamCommand-line interface
Apple development team ID used for signing
vectrune tvos watchCommand-line interface
Redeploy to the Apple TV whenever the game's .rune files change
vectrune tvos watch --build-dirCommand-line interface
Generated project and build output (default: build/tvos)
vectrune tvos watch --bundle-idCommand-line interface
Bundle identifier (default: dev.vectrune.games.<name>)
vectrune tvos watch --configCommand-line interface
Settings file (default: tvos.toml beside the game or in the current directory)
vectrune tvos watch --deviceCommand-line interface
Paired Apple TV name or identifier (default: the only paired Apple TV)
vectrune tvos watch --iconCommand-line interface
Image used for the app icon and top shelf
vectrune tvos watch --nameCommand-line interface
App and scheme name (default: the game file name)
vectrune tvos watch --runtime-libsCommand-line interface
Prebuilt output of `tvos build-runtime`
vectrune tvos watch --runtime-sourceCommand-line interface
Rune TV runtime crate used to build libraries (default: native/tvos/runtime)
vectrune tvos watch --teamCommand-line interface
Apple development team ID used for signing
VECTRUNE_AI_MODELRuntime context and environment
Default model for CLI AI and dynamic AI generation when no explicit model is configured.
VECTRUNE_MEMORY_BACKENDRuntime context and environment
Choose the implemented shared-memory backend.
VECTRUNE_OLLAMA_URLRuntime context and environment
Override the Ollama endpoint used by native AI helpers.
verifyNative functions
Parse JSON and validate required fields against a named schema.
voxel camera statePixel and 3D configuration
Animate voxel terrain and a side-on backdrop through a live camera record; finite render cameras may orbit outside the world.
voxel camera state.backdropPixel and 3D configuration
Render a background from a side-on camera looking toward negative Y. Set y, z, and things. The optional x pins the view horizontally. By default it follows the main camera’s X position.
voxel camera state.terrainPosePixel and 3D configuration
Render this voxel world around an X-axis hinge. Set world, a local Y/Z pivot, a scene Y/Z position, and angle in degrees. Scene collision continues to use the scene world.
voxel point lightPixel and 3D configuration
Apply colored light to nearby visible scene and model surfaces.
voxel point light.colorPixel and 3D configuration
RGB color as #RRGGBB or an integer from 0 to 16777215.
voxel point light.intensityPixel and 3D configuration
Light strength from 0 to 1. Zero switches the light off.
voxel point light.radiusPixel and 3D configuration
Reach in world units, greater than zero and at most 64.
voxel point light.x / y / zPixel and 3D configuration
Finite world-space position.
voxel_fillFrontend expressions
Fill or carve a rectangular block region.
voxel_generateFrontend expressions
Generate a seeded block world.
voxel_getFrontend expressions
Read block occupancy at integer coordinates.
voxel_mineFrontend expressions
Mine the block targeted by a player.
voxel_moveFrontend expressions
Advance movement with voxel collision, gravity, jumping, and elevation.
voxel_targetFrontend expressions
Trace the block targeted by a player camera.

W

watchRune-Web commands
Declarative reactive side-effect hook that runs when any watched state or computed key changes.
@WebsocketApplication declarations
Mount a WebSocket endpoint on a REST application.
@Websocket.on_connectApplication declarations
Run after connection registration.
@Websocket.on_disconnectApplication declarations
Run when receiving ends, before removal.
@Websocket.on_messageApplication declarations
Handle generic incoming text.
withLanguage and documents
Alias of object overlays. Copy an object, or apply overrides to every object in a batch, without changing the template.
ws.broadcastNative functions
Broadcast a message to connections registered on a WebSocket path.
ws.idNative functions
Read the identifier of the current WebSocket connection.
ws.sendNative functions
Send a message to one WebSocket connection.

_

___last_exec_result___Runtime context and environment
Context slot written by builtins that expose a last execution result.