MR Studio

v0.75.0
io.github.snjsomnath/mr-studio Checked 12 hours ago Published 1 day ago

Build MR Studio tables (interactive city models) by describing them: layers, tours, dashboards.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

overview MR Studio overview

Start here. What MR Studio is, how a project is structured, what this core offers, and the workflow for building a project with these tools.

read_doc Read an MR Studio doc

Read a core document: "architecture", "roadmap", "changelog", a Help guide such as "guide/13-controller-pages", or a contract such as "contracts/site", "contracts/layer", "contracts/dashboard" (panels, data queries, text values, tone and showIf rules, drawings, charts, linked panels, pages that follow the table), "contracts/expressions" (safe formulas), "contracts/recording", "contracts/session" or "contracts/engine". Call with no name to list them.

ParameterTypeDescription
namestringDoc name, e.g. "contracts/site"

whats_new What's new in MR Studio

What changed in the core, newest first, from CHANGELOG.md: new layers, settings and fixes per version, and the notes merged since the last version. Use it when someone asks for something that may have been built recently, or to tell a team what an update brings.

ParameterTypeDescription
limitintegerHow many versions (default 5)
sincestringOnly versions newer than this one, e.g. "0.3.0"

list_layers List layers

Layers that can go into a scene: the core layers of this MR Studio version (plus a site's own, if a site is given), and the planned layers on the roadmap with what each reuses.

ParameterTypeDescription
include_roadmapbooleanInclude planned roadmap layers (default true)
sitestringSite folder, to include its own layers

describe_layer Describe a layer

The full manifest of a layer: controls (with types, ranges, options and defaults), tools, required kernels and data, TV panels. Use it before choosing params.

ParameterTypeDescription
layer *stringCore layer id, or ./layers/<name> for a site layer
sitestringSite folder, needed for site layers

list_building_blocks List building blocks

The shared primitives layers are composed from (visuals, data sources, interactions, TV panels), whether each is built or planned in this core, and the kernels. Superseded by find_capabilities with kind "block" or "kernel", which gives the same with evidence; this name works for this release only.

ParameterTypeDescription
groupstring

find_capabilities Find what MR Studio can do for a goal

Search everything MR Studio can do (layers, building blocks, kernels, site features) and what it cannot (planned items, constraints) for a goal, question or idea in plain words, e.g. "help residents see how a new development changes sun and wind". Returns ranked capabilities, each with why it matched, its status from the code (available, needs_setup, planned, unsupported), what it needs (data, keys, services), what the table, controller and phones do, what it pairs with, and the files that prove it. Use it before proposing an experience; a planned or unsupported capability is a development req…

ParameterTypeDescription
goalstringWhat the people at the table should see, understand or do, in plain words
kindstringOnly this kind
limitintegerHow many (default 12; all when no goal)
sitestringSite folder: check requirements against its data and services
statusstringOnly this status
surfacestringOnly capabilities that use this surface

describe_capability Describe one capability

Everything known about one capability by id (from find_capabilities): purpose, questions it answers, status and why, requirements, surfaces, interactions, what it uses and pairs with, limits, example sites that use it, evidence files and related issues. For a layer, also its controls (the params a site sets).

ParameterTypeDescription
id *stringe.g. "layer:sunlight", "block:phone-tools", "kernel:thermal", "site:ribbons", "constraint:table-3d"
sitestringSite folder, to check requirements and include its own layers

suggest_features Suggest features that fit an idea

Suggest 3 to 5 existing features that would help this idea and this table, including ones people would never search for (life on the map at rest, strips in the projector's margin, a second layer over the first, a guided tour with notes, a starter pack for designers). Give the person's goal in their words and the site: the table's shape, data, layers, languages and tour are read from site.json, and features already on are left out. Each suggestion has a one-line reason tied to the idea or the table, what it needs, and enable: the exact tool call that switches it on (or how, when nothing needs s…

ParameterTypeDescription
goalstringThe idea in the person's words, e.g. "an exhibition about the new tram line for residents"
limitintegerHow many (default 5)
sitestringSite folder: read what the table already has

assess_experience Check an experience plan

Check a whole experience against what MR Studio can do, before building it. A plan is a title, a goal, the audience, and steps: each step is what the table shows and people do (want, or a layer chosen with find_capabilities as use), its settings, layers inside it (with), what the controller says, what phones do, and notes for the guide. Add layers at rest and other needs. Returns, per step and need, the layer that serves it and why, alternatives, setup still needed (data, services), param problems, a constraint it runs into, and gaps with the kind of development request they need; and a verdic…

ParameterTypeDescription
goal *stringWhat people should leave understanding, having seen or having said
steps *array
title *string
at_restarrayLayers playing when nobody touches the controller, e.g. ["cars", "trees"]
audiencestring
guidedbooleanMake a guided sequence of the steps (default: yes for two or more steps)
needsarrayOther things the experience needs that are not a step, e.g. "people vote on each other's ideas"
sitestringSite folder: check data and services against it

build_experience Build an experience plan

Build the parts of an experience plan that exist, in one validated change to the site: a layer for each buildable step (an existing instance is reused), the layers inside them, the layers at rest, and, for two or more steps, a guided sequence (a slideshow named after the plan) with each step's settings, title, controller text and notes. Steps that need development or run into a constraint are skipped and listed with their gaps; nothing that does not exist is written. Call assess_experience first and show the person the result.

ParameterTypeDescription
goal *stringWhat people should leave understanding, having seen or having said
site *string
steps *array
title *string
at_restarrayLayers playing when nobody touches the controller, e.g. ["cars", "trees"]
audiencestring
guidedbooleanMake a guided sequence of the steps (default: yes for two or more steps)
needsarrayOther things the experience needs that are not a step, e.g. "people vote on each other's ideas"

create_site Create a site

Create a new MR Studio site package (site.json, data/, requests/, README) in an empty folder. The table area is a width_m by height_m rectangle centred on lon/lat, rotated by rotation_deg.

ParameterTypeDescription
dir *stringFolder to create the site in, e.g. "." for the current repository or "sites/harbour"
height_m *numberHeight of the area on the table, metres
lat *numberCentre latitude, WGS84
lon *numberCentre longitude, WGS84
name *stringDisplay name, e.g. "Harbour district"
timezone *stringIANA time zone, e.g. Europe/Stockholm
width_m *numberWidth of the area on the table, metres
cell_mnumberSimulation cell size in metres (default 1, coarser for big areas)
idstringLower-case id; derived from the name if omitted
layersarrayInitial scene, bottom to top. Default: sunlight, active
rotation_degnumberBearing of the table's top edge, clockwise from north
table_width_cmnumberPhysical table width; height follows the aspect ratio
titlestringTitle shown on the TV and in the window

get_site Read a site

Read a site's site.json, its scene (layers bottom to top with effective params) and its current problems.

ParameterTypeDescription
site *stringSite folder

update_site Update site settings

Change site settings other than the scene. Settable in this core: name, origin, extent, timezone, table, scene, data, basemap, palette, tv, services, feeds, display, branding, data_licences. Among them: table (size, tile_cm, front, ribbons, glow: the ambient glow around the model, intro: build (the default), fade or zoom, how the table opens, intro_sound: reveal (the default), bloom or sunrise, the opening's music, intro_length: short, normal (the default) or long, how long the opening lasts), scene sources (buildings, terrain, trees, cell_m), basemap (style, black and white, brightness), bran…

ParameterTypeDescription
set *objecte.g. { "branding": { "title": "Harbour 2040" }, "basemap": { "background": "#101418" } }
site *stringSite folder

list_versions List saved versions of a table

The versions of site.json the MR Studio app keeps on this computer (its Version history, the last 200 changes), newest first: who made each (editor, controller, mcp, import, outside, history) and what it changed. Empty for a table the app has not opened on this computer.

ParameterTypeDescription
site *stringSite folder
limitintegerHow many (default 20)

restore_version Go back to a saved version

Puts back a version from list_versions. The app records it as a new version on top ("Went back to: …"), so nothing is lost and Undo in the editor takes it back. Ask the person first: it replaces the current layers and settings.

ParameterTypeDescription
revision *integerThe rev from list_versions
site *stringSite folder

add_layer Add a layer to the scene

Add a core layer, a site layer (./layers/<name>) or a custom layer (custom:<id>) to the scene with optional params and start state. Params are checked against the layer's controls. Layers are drawn bottom to top; position defaults to the top. With parent, the layer becomes an item of that layer instead: it shows only while that layer is open (for example public transport inside a sun study) and has no button of its own.

ParameterTypeDescription
site *string
use *stringCore layer id, ./layers/<name> or custom:<id>
activebooleanTurn on at start; for an item, whether it comes on with its layer (default true)
idstringInstance id; default the layer id, then -2, -3…
paramsobjectControl id to value, overriding defaults
parentstringId of the layer this becomes an item of
positionintegerIndex to insert at in the scene, or in the parent's items (0 is the bottom); default top
stackInside an X-ray glass (lens) or a Reveal line (swipe): 1 the surface, shown around the glass or on the far side of the line; 2 (default) underneath, shown through it (#606)

set_layer Change a layer in the scene

Set params, the start state and the controller button of a layer or item already in the scene. Params merge into the existing overrides (null removes one) unless replace_params is true. The button's fields (name, description, icon, side, group, order, credit: a credit line under its name, legend: auto, full, compact or off) merge the same way; items have no button.

ParameterTypeDescription
site *string
activeboolean
buttonobjecte.g. { "name": "Sun study", "group": "Simulations", "order": 1, "side": "left" }
idstringInstance id of a layer or item (from get_site); the surest way to name one
indexintegerPosition in the scene (0 is the bottom)
paramsobject
replace_paramsboolean
usestringLayer id, if it appears once in the scene

move_layer Reorder the scene

Move a layer or item to another position. Index 0 is drawn at the bottom, the last on top; a layer's items move with it. With parent, the entry becomes an item of that layer; with parent null, an item becomes a layer of the scene.

ParameterTypeDescription
site *string
to *integerNew index in the target list
idstringInstance id of a layer or item (from get_site); the surest way to name one
indexintegerPosition in the scene (0 is the bottom)
parentstring | nullLayer to move it into; null for the scene itself; left out keeps it where it is
usestringLayer id, if it appears once in the scene

remove_layer Remove a layer from the scene

Remove one layer (with its items) or one item. Sequence steps that showed it are removed too.

ParameterTypeDescription
site *string
idstringInstance id of a layer or item (from get_site); the surest way to name one
indexintegerPosition in the scene (0 is the bottom)
usestringLayer id, if it appears once in the scene

set_steps Set how Next moves through a layer

Set or clear a layer's steps: mode (manual or timed), loop, reveal (what Next does after a step's sub-steps: stop or then-next), the sequence's default transition and transition_s and, for a sequence such as the slideshow, the sequence of steps. Each step shows another layer of the scene or one of the sequence's own items, by id, with optional params for that step only, duration_s, transition (cut, fade or dip: through the empty map) and transition_s, next, title, description, source and notes. notes are the presenter's words for that step: they show on the guide's phone (/guide) and in the ed…

ParameterTypeDescription
site *string
steps *e.g. { "mode": "manual", "loop": true, "sequence": [{ "layer": "sunlight", "params": { "hour": 9 }, "title": "Morning", "notes": "Ask who walks here before work." }] }
idstringInstance id of a layer or item (from get_site); the surest way to name one
indexintegerPosition in the scene (0 is the bottom)
usestringLayer id, if it appears once in the scene

save_custom_layer Save a custom layer

Save (or with recipe null, remove) a custom layer in the site: a recipe of blocks the runtime draws without code. A recipe has name, description, icon, category, data (each { id, and one of dataset | path | wms { url, layers, styles, format, source } | tiles }), look, motion and interaction (each a list of { id, block, data?, on?, props }), enter (cut or fade), controls (as in layer.json, with bind: "look.<block id>.<prop>", or "filter.<look id>.<column>" to show only matching features), interaction tap-info (props label, name, facts: the features become pickable, their facts on the controller…

ParameterTypeDescription
id *stringCustom layer id: lowercase letters, digits and dashes
recipe *
site *string

import_data Bring data into a site

Bring a dataset into the site exactly as the editor's Add data does, with the same checks: from a file (GeoJSON, CSV with lon and lat, a zipped shapefile or a GeoPackage as agencies like SGU and Lantmäteriet hand them out (one layer at a time: the report lists the layers, pass layer to choose), GeoTIFF for terrain or for a raster of values such as data:soil-depth), from OpenStreetMap for the table's area (source osm: buildings, trees, walkways, data:roads), or free elevation for the ground (source elevation, target terrain). The coordinate system is detected and reprojected, and what lies off…

ParameterTypeDescription
site *string
target *stringbuildings, trees, water, context (buildings around the table, felt only by the wind), walkways, trips, terrain, or data:<name> for any other dataset (data:roads, data:zones)
cropbooleanLeave out what lies well outside the table
crsstringFor a terrain GeoTIFF that does not say: "EPSG:3006"
filestringPath of the file on this computer
layerstringFor a zip of shapefiles or a GeoPackage with several layers: the layer name the report lists
sourcestringDefault file; osm or elevation fetch for the table's area
swapbooleanThe file has latitude first
writebooleanSave it (default false: check and report only)

add_media Add a picture or video to a site

Copy a picture (PNG, JPEG, WebP, GIF) or video (MP4, WebM) into the site's data/media/, with the same checks as the editor, and return the path to use in a media layer or slide step. Needs the MR Studio app or the mrstudio command line.

ParameterTypeDescription
file *stringPath of the file on this computer
site *string

add_sound Add a sound to a site

Copy a sound (WAV, MP3, OGG, M4A) into the site's data/sounds/, with the same checks as the editor, and return the path a points dataset names for a sound motion. Needs the MR Studio app or the mrstudio command line.

ParameterTypeDescription
file *stringPath of the file on this computer
site *string

export_starter_pack Export a starter pack for outside tools

Make a starter pack (#450): the table's outline, tile grid, building footprints, street network, projection area and at-a-glance boxes as files to draw on in other programs, in one zip with a README of steps per program and how to bring the result back. QGIS gets GeoJSON (WGS84) and a picture placed by a world file; Illustrator a layered SVG at the table's real size (its "MR Studio guides" group is dropped when the drawing comes back as a Masterplan); Photoshop one transparent PNG per feature; PowerPoint a one-slide .pptx the table's shape. The table canvas is exactly the table's frame, so a p…

ParameterTypeDescription
out *stringThe zip to write, for example "Lindholmen starter pack.zip"
site *string
appsarrayDefault all four
canvasstringtable (default): comes back in place; projection: with the margins
featuresarrayDefault table, tiles, buildings, streets
px_per_cmnumberPicture detail, default 20

list_site_files List the files in a site

What is in the site's data/ folder: datasets (GeoJSON, CSV) with feature counts, geometry types, columns (numbers with their range, text with its values when there are few) and bounds; pictures, video and sounds; 3D models. Each file says which site.json keys use it, so unused files and the right column for a custom layer's "by" are plain. Use the paths as they are in params, scene, data and recipes.

ParameterTypeDescription
site *string
kindstringOnly this kind

validate_site Validate a site

Check a site against the site and layer contracts: keys, geometry, data paths, layer ids, params. Also runs `mrstudio validate` (the app's own check, which bakes the scene) when the CLI is installed.

ParameterTypeDescription
site *string
run_clibooleanRun the mrstudio CLI too (default true when found)

preview_site How to preview a site

How to see a site running on this computer (Windows or macOS): with the installed MR Studio app (the usual way), or with the mrstudio CLI on a free port so it does not clash with the running app. Returns the command or steps and the URLs of the editor, table, controller, guide's phone, phone and dev views. Starts nothing.

ParameterTypeDescription
site *string
lanbooleanLet phones on the local network join

sdk_reference Look up the layer SDK

What @mrstudio/sdk really exports, read from its source: functions, classes, constants, interfaces and types, each with its doc comment and declaration (an interface with its members, such as TableContext with ctx.publish, ctx.pointer, ctx.service). Search in words or by name ("rings that pulse", "service jobs", "ctx.sendTool", "defineLayer"). Write layer code only against what this returns; anything missing is a development request (kind sdk-runtime), never a copy of core code. Use find_capabilities first: most ideas need no code at all.

ParameterTypeDescription
limitinteger
namestringOne export by its exact name, in full
querystringWords or a name. Leave out for the list of SDK files and what each exports

create_layer Start a site code layer

Create a layer with its own code inside a site, for what recipes and existing layers cannot do (check find_capabilities and save_custom_layer first). Runs `mrstudio layer new`: <site>/layers/<id>/ with layer.json, src/index.ts (table(), a primary action, a stat panel bound to ctx.publish and a custom panel), locales/sv.json, build.mjs and a README. With plain: true, index.js in plain JavaScript instead, which needs no build and no Node anywhere. It runs in the installed app without changing the core. Then edit the files, check_layer, build_layer, add_layer with use './layers/<id>', and preview…

ParameterTypeDescription
id *stringLowercase letters, digits and dashes: energy-flows
site *string
namestringIts name on buttons and in the palette
plainbooleanPlain JavaScript in index.js, loaded as it is: no build step and no Node on any computer (#680). The SDK is globalThis.MRStudio.sdk. Best for a table whose computers have no Node, such as a managed st…

check_layer Check a site code layer against the rules

Checks a site layer before it goes on a table: layer.json (api, id, controls, TV panels and a stage made of panels within the density budget or a map stage with at most 4 chip or tile panels, control and map panels naming real controls and tools, team widgets declared, text lengths), every word people see in locales/sv.json, the code (no longitudes and latitudes of a place, no talking to surfaces or the host behind ctx's back, only '@mrstudio/sdk' from the core), what it needs of the site (datasets, services, kernels), and whether dist/index.js is newer than its source. A layer whose stage is…

ParameterTypeDescription
id *string
site *string

build_layer Build a site code layer

Bundles a site layer's src/ into dist/index.js with `mrstudio layer build` (esbuild; npm install on the first build), which is what the app loads; commit dist/ so the table's computer needs no Node. Returns the build's errors when it fails, and the layer's checks when it builds. Needs the mrstudio command line and Node 20+ on this computer.

ParameterTypeDescription
id *string
site *string

preview_layer How to see a site layer running

How to see a site layer on this computer: the dev view (/dev) opens the live table with the Developer workbench beside it (every widget at every size with its cost in reads, live shared values and params with bindings to copy, the controller as the 46-inch screen shows it, an action log, and problems such as refused panels or unpublished bindings); the composer (/compose) and editor show it too. Says first whether the layer is built and in the scene. Starts nothing.

ParameterTypeDescription
id *string
site *string
lanboolean

add_service Add an outside compute service to a site

Declare a model or API a site's code layers reach through the host (site.json "services"): a program the host starts with the table and keeps running (run: cwd, command with {port} and {python}, optional venv and requirements, env, health path) or a service elsewhere (url). Layers name it in requires.services and call ctx.service(id).get / post / job; the host caches the last answers, so the table still plays them when the service is down. Replaces a service with the same id. Keys go in the app's Sources and keys, never here. See samples/service-example.

ParameterTypeDescription
id *stringWhat layers call it by: ecom
site *string
commandarray["{python}", "-m", "uvicorn", "app.main:app", "--port", "{port}"]
cwdstringIts folder, relative to the site: services/ecom
envobject
healthstringThe path that answers 200 when ready; default /
namestring
requirementsstringrequirements.txt, installed into the venv
start_snumber
urlstringA service that runs elsewhere: https://ecom.example.org
venvstring.venv, made on the first start

add_feed Add a data feed to a site

A dataset from a web feed (site.json "feeds", #820): the host fetches it through a connection in the app's Sources and keys (source: its id; the person adds it there as a Data feed, with any key), page by page, every every_min minutes, and keeps the last good copy so the table works offline. Layers read it by name like any dataset (a custom layer's data { dataset: name }). The mapping says which field fills each role of an item (id, title, start, end, dates, repeat, lon, lat, place, address, category, link, free), as dotted paths in the rows, plus keep (other fields to carry; pictures never ar…

ParameterTypeDescription
name *stringThe dataset name layers use: events
site *string
creditstringThe credit the source asks for, shown under the layer while it is on (#831): "Source: goteborg.com/Göteborg & Co". Never in About
display_namestringIts name for people
every_minnumberMinutes between fetches, default 60
groupsarrayThe category map (#826), tried in order: [{ "name": "Christmas", "colour": "@cat3", "match": ["Jul"], "season": "11-15/01-06" }, { "name": "Music & stage", "match": ["Konsert", "Jul"] }]. A category m…
licencestringThe data licence named beside the credit: "CC BY 4.0"
liststringWhere the items are in a JSON answer: events, data.items
mappingobject{ "title": "title.rendered", "dates": "information.dates", "lat": "...", "lon": "...", "keep": ["pricing.free"] }
other_colourstringIts colour, default @neutral
other_groupstringThe group of items no group takes. Default Other
pagesobjectHow to ask for more pages: { by: "page", param: "page", size_param: "per_page", size: 100 }
pathstringWhere the feed is on that server: /v1/events?lang=en
presetstringA ready-made feed (#833): goteborg-co fills in the source, address, pages, groups and credit for Göteborg & Co events (open, no key; the person adds "Göteborg & Co events" in Sources and keys). The…
samplestringAn open https address of the feed, or a file of one of its answers, to read its fields from
sourcestringThe Sources connection's id, such as goteborg-co. Required without preset
venuesarrayPositions for places the items name, added to the venue list: [{ "name": "Ullevi", "lon": 11.9866, "lat": 57.7058 }]

draft_development_request Draft a development request

Write an actionable issue for the MR Studio core when an experience needs something it cannot do (a gap from assess_experience, or a planned or missing capability). Searches existing issues first and returns them: if one is a likely duplicate, do not file, comment there. Saves a markdown draft in <site>/requests/ and returns a prefilled issue link; nothing is sent. Kinds: layer-enhancement (A new control, tool, panel or option on an existing layer); new-layer (A new core layer, composed of building blocks that exist where possible); block (A new shared building block (a visual, data source or…

ParameterTypeDescription
acceptance *arrayChecks that say it is done
context *stringThe site, the people at the table, and what they are trying to do
kind *stringOne of layer-enhancement, new-layer, block, kernel, data-integration, interaction, site-setting, sdk-runtime, architecture, other (the older kinds and assess_experience's gap kinds are accepted)
proposal *stringWhat should exist, in plain words
title *stringSpecific and short: "Voting on sketch marks from phones"
user_story *string"As a <who>, I want <what>, so that <why>"
dependenciesarray
exampleThe layer.json or site.json fragment a team would write once it exists
experienceobjectWhat each surface does with it
limitationsstringWhat MR Studio does today and why that falls short
referencesarray
related_capabilitiesarrayCapability ids it reuses or extends
related_issuesarrayRelated issues this is not a duplicate of, and how it differs
sitestringSite folder; the draft is saved in its requests/ folder
technicalstringBlocks it could reuse, kernels, data, risks

submit_development_request Send development requests

Open drafted development requests as GitHub issues on snjsomnath/mr-studio. Only after the person has read the drafts and said yes; one yes may cover the batch. Each draft is checked against existing issues again first and refused as possible_duplicate unless its number is in not_duplicate_of. Signs in with GITHUB_TOKEN, GH_TOKEN or the gh CLI; without one, or when GitHub refuses, nothing is sent and the prefilled link is returned. An issue number and link are reported only when GitHub returned them.

ParameterTypeDescription
paths *arrayDraft paths in <site>/requests/
not_duplicate_ofarrayIssue numbers the person agreed these are not duplicates of

check_layer_idea Check a layer idea

Superseded by assess_experience (a one-step plan gives the same answer); this name works for this release only. Check a sketched layer against the core: which existing layers already cover it, which kernels and building blocks exist or are planned, and whether it should be configured from an existing layer, requested as a new core layer from existing blocks, or needs new blocks or kernels first.

ParameterTypeDescription
description *stringWhat it shows and what people do with it
title *string
blocksarrayBlock ids or names from list_building_blocks, e.g. ["field-overlay", "animated-paths"]
dataarraySite data it reads
kernelsarrayKernel ids it needs, e.g. ["sunlight"]
sitestring
toolsarray

draft_module_request Draft a module request

Superseded by draft_development_request, which also searches existing issues; this name works for this release only. Write a request for the MR Studio core team when a project needs something the core lacks, instead of writing custom code. Saves a markdown draft in <site>/requests/ and returns a prefilled GitHub issue link for snjsomnath/mr-studio. Nothing is sent. Kinds: layer-change (A new control, tool, panel or option on an existing core layer); layer (A new core layer composed of building blocks that already exist); block (A new shared building block (visual, data source or interaction) i…

ParameterTypeDescription
goal *stringWhat the team wants to show or let people do
kind *string
proposal *stringHow it could be built from reusable blocks
title *stringShort, specific: "Animated paths block for vehicles along road data"
why *stringWho it is for and why existing layers and blocks fall short
exampleThe layer.json or site.json fragment the team would write once it exists
missingarray
reusesarray
roadmaparray
sitestringSite folder; the draft is saved in its requests/ folder

submit_module_request Submit a module request

Superseded by submit_development_request, which checks for duplicates and sends a batch; this name works for this release only. Open a drafted module request as a GitHub issue on the core repository. Only call this after the person has read the draft and agreed: it posts publicly. Uses GITHUB_TOKEN or GH_TOKEN, else a signed-in gh CLI, else returns the link to file by hand.

ParameterTypeDescription
path *stringPath of the draft in <site>/requests/