Spillway 0.1.0
0.1.0
Hosting: bandwidth past the allowance; Kits keep their content up to date; Edit API tokens, and 107 more.
Added
- Hosting: bandwidth past the allowance. At each renewal the hosting service measures a site's egress over the period just ended from Fly's metrics and adds whole GB past the plan's allowance, at $0.10 per GB and never more than the overage budget, to that site's renewal invoice; a cancelled site's last period gets an invoice of its own.
- Kits keep their content up to date. A sample item marked
"managed": truefollows the kit on every install with sample content, like a managed page. - Edit API tokens. **Edit** on the API tokens screen and
PUT /api/tokens/:idchange a token's label and permissions in place, so whatever uses it keeps its secret and gets the new set on its next request. - Modules for agents. MCP clients and the site agent can call the AI tools installed modules add (
mod_<module>__<tool>), each gated by the module's new **Use its AI tools** permission (and, for the site agent, its new **Use module tools** action, off by default); before, module AI tools were registered but no one could call them. - Free photos. Modules can offer stock photo libraries (capability
media.source, themedia_searchandmedia_getcalls): the media picker gets a **Free photos** tab and the Media screen a **Free photos** button, and **Use this** copies the photo into the library with its credit (author, link, license;MediaItem.credit, migration 0066), filling an empty Image caption when the license asks for credit. - Meaning versus exact words. Site settings → Search has a slider that weighs search by meaning against exact words on the results page, from keyword search alone to meaning first; the default keeps today's even blend.
- Patterns in kits. A kit or theme can ship
patterns: they install into the page builder's Patterns list, shared, marked with the kit's name and read-only (people save a copy), and installing the kit again with updates replaces them. - Patterns over MCP. The tools
list_patternsandget_patterngive agents the site's patterns and their blocks (to insert withedit_layout), andsave_patternsaves a block of a page as a pattern, private unless shared withbrand.manage. - Patterns in the page builder. The blocks panel lists ready-made sections (heroes, feature cards, calls to action, testimonials, questions and answers, key figures, partner logos), grouped by category; a click adds a copy of the blocks after the selected one, as one undo step.
- Module admin pages in the admin. Pages that trusted modules register with
api.registerAdminPagenow appear in the sidebar under **Module pages** and open at/admin/modules/<module><path>: the admin imports the page's bundle from the module'spublic/folder and mounts it with a host (site,user,can,fetch,navigate,toast;ModuleAdminHostin the SDK). - Patterns in the page builder. The blocks panel lists ready-made sections (heroes, feature cards, calls to action, testimonials, questions and answers, key figures, partner logos), grouped by category; a click adds a copy of the blocks after the selected one, as one undo step.
- Scheduling on custom workflows. Content on a custom workflow can be scheduled again: a publish date needs a transition the person may take from the item's state into a published state, an unpublish date one from a published into an archived state.
- Media folders, where used and replace file. The media library has nested folders (Media → the folder list: new, rename, delete, and a Folder choice per file); a file's details list where it is used (content, shared blocks, the site's logo and settings); **Replace file** uploads a new version that every page using the file shows, under a new URL so caches refresh, with the old URL forwarding to it.
- Workflows. Content → Workflows defines the states content goes through (each meaning draft, review, published or archived) and the transitions between them, per content type; each transition is a permission (
workflow.<workflow>.<transition>). - Field permissions. A content type's field can be restricted with permissions (**Restrict with permissions**): only roles with its View permission see it, and only those with Edit change it.
- Permissions per vocabulary, menu, form and module.
terms.<vocabulary>.editand.delete,menus.<menu>.edit,forms.<form>.manageand.view_submissionsact on one item; modules may declare permissions in their manifest (module.<name>.<key>) and tie an admin page to one. - Permissions per content type. A role may hold any content action for one content type only:
content.<type>.view_drafts,create,edit_own,edit_any,delete,submit_review,publishandunpublish(Drupal's per-bundle permissions). - FAQ, Testimonials, Stats and Logo strip blocks. in the page builder's Marketing group.
- Roles and permissions per site. Users → **Roles and permissions** shows the site's roles and a permissions matrix.
- AI tools for media and menus. MCP clients and the Site agent can add images to the media library from a URL or data (
upload_media, through the same checks as uploads), fix alt text and titles (update_media), have the site's AI write alt text (generate_alt_text), and withsite.settingsread, create and change menus (list_menus,get_menu,create_menu,update_menu). - AI tools for page layouts. MCP clients and the Site agent can read the block schema they may use (
get_block_schema, applying the site's hidden blocks, the type's allowed blocks and the caller's styles), outline a page's blocks with their ids (get_layout_outline), check a layout without saving it (validate_layout) and change a page block by block (edit_layout: insert, update, move, remove and duplicate, saved as one revision, all or none) instead of resending the whole layout. - MCP toolsets. A client can ask for some toolsets only (
?toolsets=content,reviewon/mcp, or theX-Spillway-Toolsetsheader), so a model is not sent every tool; the server's instructions list them. - MCP toolsets. A client can ask for some toolsets only (
?toolsets=content,reviewon/mcp, or theX-Spillway-Toolsetsheader), so a model is not sent every tool; the server's instructions list them. - Move blocks from the keyboard. The page builder's block action bar has **Move up** and **Move down**, and Alt+Up and Alt+Down do the same: the selected block moves one place within its list and stays selected.
- Allowed blocks per content type. A layout field can list the blocks editors may add to it (Structure → Content types → the field's **Allowed blocks**), so posts offer a few text and media blocks while landing pages keep everything.
- Rich results for events, people, courses and FAQs. Pages get
Event,Person,CourseorFAQPagestructured data when their type's fields say what they are (a date range, a job title, a degree level, a question and answer), so the kits' types show in search with dates, places and answers without any setup. - One registry for AI tools. MCP tools are grouped in toolsets, and each declares its agent action, permissions, chat label and whether it returns an entity; the Site agent's tool set, its labels and its audit list come from it.
- Content dated in the future is scheduled, not published early. Publishing an item that is not live yet and whose date (
publishDateordate) is still to come is refused with422 future_dateunless the request sayspublishNow; the editor and the page builder ask **Schedule for** that day or **Publish now**, and the checks warn withdate:future. - Collections compare dates with now. A date filter's value can be
now,now+7dornow-30d; at most and before keep undated items. - Collections level 2. The Collection block gains a **Table** display, **Fields to show** (columns, or lines under cards and list items, with option labels, term names, referenced titles and formatted dates), **Visitors can sort by** (table headers or a Sort by control), **Group by field** and **Downloads** of what the visitor sees as CSV or Excel (
/api/collections/:id/export.csv|.xlsx). - Spillway releases update hosted sites' image. With a
FLY_SITES_TOKENsecret, the release workflow copies the released image toregistry.fly.io/spillway-image(the image the hosting service builds sites from) asvX.Y.Zandlatest. - Read-only instances.
SPILLWAY_READ_ONLYmakes an instance read-only: changes by signed-in users answer423 read_onlywith the reason, which the admin shows in a banner (readOnlyonGET /api/auth/me), while reading, exporting, signing in and the public site keep working. - Hosted sites' image. The hosting service builds sites from
registry.fly.io/spillway-image:latest(FLEET_IMAGEinpackages/hosting/fly.toml), pushed from the repository withfly deploy --build-only --push, since no public release image exists yet. - Members get past Site lock. With accounts on, a locked site keeps its account pages open (log in, sign up, password reset, email confirmation), the password page links to **Log in**, and a signed-in member sees the site without the lock password.
- Site lock. Site settings → **Site lock** puts a password in front of the public site while it is not live: visitors get a password page (unlocked for 30 days once entered), anyone signed in to the admin passes, tools can use HTTP Basic auth, and locked responses are
private, no-storeandnoindexwithrobots.txtdisallowing everything. - Deploying the hosting service.
packages/hostinggains a Dockerfile and afly.tomlfor thespillway-hostingFly app, and reads an invoice's subscription in both of Stripe's webhook shapes, so an endpoint on Stripe's newer API versions works. - Your sites and Billing on the account page. With
HOSTING_SERVICE_URLandHOSTING_SERVICE_TOKENset, the public account page lists the member's hosted sites (address, plan, status, trial end, a failed payment's deadline), opens their admin, shows the generated admin password once, cancels at the end of the period and undoes it, and offers **Start a site** to invited accounts, continuing to Stripe Checkout. - Hosting service.
packages/hosting(spillway-hosting, private) runs the hosting private beta: invited accounts start a Starter or Site plan through Stripe Checkout with the 14-day trial, Stripe's webhooks build the site through the fleet on<name>.spillwaysites.comwith its DNS on Cloudflare, track the trial, payments, the seven-day grace period and cancellation, and delete a cancelled site after 30 days. - Placements: hide them on a page, and ship them in kits. The editor's rail gains **Placed blocks**: the placements that show on the page, by region, each region with a switch to leave it off that page (saved with the page as
hideRegions). - Continue with GitHub on account pages. Site settings → Accounts → **Offer Continue with GitHub** puts a GitHub button on the log in and sign up pages, through the GitHub sign-in already set up under Sign-in (its app must list
<origin>/account/github/callback). - Kit pages the kit manages. A kit page with
"managed": truefollows the kit: every install brings the existing page back to the kit's title, layout and SEO description when they differ, and publishes it. - Starter hosting plan in the fleet.
spillway-fleetknows astarterplan: $19 a month on the Site stack with a 5 GB volume, 25 GB of bandwidth, daily backups kept 7 days and no single sign-on. - Menu block. One of the site's menus as a list of links, in the page builder or a placement: the whole menu, or only the branch that holds the page (a section navigation with the current page marked and its parent as the heading), one or two levels, stacked or in a row.
- Placements. Structure → Placements shows a shared block or a menu above the content, in a left or right sidebar, or below the content of every page that matches: by content type, path patterns (
/blog/*, with exceptions), section and language, ordered within each region. - The page builder in posts, events and profiles. A layout field can now show its blocks inside the article instead of being the whole page (Structure → Content types → the field's details → **Show the blocks**, or
"placement": "inline"): the title, date, hero image and fields stay, and the blocks show full width where the field sits. - Publish to the registry from your account. On a registry host such as spillwaycms.com, the public account page has **Publisher profile**, **Packages** and **API tokens**: a publisher signs up, sets their handle, creates a token and runs
spillway publish, without an admin account. - Ask from the corner of every screen. An **Ask** button in the bottom-right corner of every admin screen opens the site agent beside the screen, for everyone who may use it (authors and up); the agent still does only what the person's role allows.
- Spam filter modules. A new module hook,
form.beforeSubmit, lets a module such as an Akismet filter look at a submission before it is stored: it can hold it as spam (stored with status Spam; no connectors, notifications orform.afterSubmit, and the visitor sees the usual thanks) or refuse it with a message. - DeepL translation. Site settings → Languages offers DeepL as a translation provider: a job is machine-translated at once, rich text with its markup, and Pull lands the drafts for review like any other provider.
- Modules that reach a host chosen in their settings. The capability
http:setting:<key>lets a sandboxed module call thehttps://host in one of its settings, such as a CRM on the organization's own domain; a private or internal address is never allowed, and changing the setting changes the host at once. - Module blocks that refresh. A module block may declare
maxAge(60 seconds to a day): a page showing it is rendered again after that long instead of staying in the page cache until an edit, and the headless render API returnsmaxAge. - Site accounts. Site settings → **Accounts** gives a site a public account area for members, customers or alumni, separate from the admin: log in, create an account (confirmed by email, with the site's CAPTCHA), reset a forgotten password, and an account page to change the name and password, download the data, delete the account and see sections modules add with
registerAccountSection. - Donations and payments on forms. A form's new **Payment** section takes a donation (or a fee) through Stripe Checkout: suggested amounts, another amount with a minimum, once, monthly or the donor's choice, in any Stripe currency.
- New registry modules. Salesforce leads (Web-to-Lead), CiviCRM (contacts and groups through APIv4), Slate (a source format's web service import), Akismet (holds spam on
form.beforeSubmit), and three blocks: YouTube videos (a channel's or playlist's latest videos, no key), Google reviews (Places API with Google's attributions) and Chat with us (WhatsApp, Messenger, Telegram, Signal, phone and email links). - Google Analytics 4 and Search Console in Analytics. Site settings → Integrations connects a Google account per site through the site's own OAuth client, read-only, and Analytics then shows GA4 users, sessions, views, top pages and sources and Search Console clicks, impressions, click-through rate, position, top queries and pages for the chosen range, cached an hour.
- CAS sign-in. Site settings → Sign-in adds CAS (Apereo CAS 3.0), the campus single sign-on of many universities: people go to the CAS login page and Spillway validates the ticket at
/p3/serviceValidate, reads the email from an attribute or builds it from the user name and a domain, takes the name and groups from attributes, and maps groups to roles like OIDC and SAML. - Component library. A new **Components** screen (Structure) shows every block the site has, drawn by the real renderer in the site's brand: two or three examples per core block, at phone, tablet or desktop width, in light, dark or high contrast, in each named style or all of them, in the published or draft brand, with controls that redraw a block as you change its fields.
- Agent tasks. Agents → **Tasks** gives the site agent work to do once later or on a schedule (daily, weekdays, weekly on chosen days, monthly on a day or a weekday such as the first Monday, in any time zone), with the result as a report, drafts, comments on content or an answer, sent by email and to the bell of the people chosen, and optionally only when there is something to report.
- Site agents. A new **Agents** area and an **Ask** button in the top bar put an AI agent beside every screen.
- Updates. A new **Updates** screen (System) shows this server's Spillway version with its channel, commit and build date, the newest build the registry publishes, and every module, kit, theme and brand installed from the registry with its installed and newest version and an **Update** button.
- More CAPTCHA providers. Site settings → Forms adds Google reCAPTCHA v2 (the checkbox), reCAPTCHA v3 (invisible and scored, with a **Minimum score**, 0.5 by default, and the action checked on the server) and Friendly Captcha (proof of work, made in the EU) beside Turnstile and hCaptcha.
- Tracking tags. Site settings → Integrations takes the IDs of a Meta Pixel, a LinkedIn Insight Tag, a TikTok Pixel, Microsoft Clarity, Hotjar and Matomo and writes each vendor's standard tag, with exactly that vendor's hosts in the CSP.
- Footer code. Site settings → Integrations → Footer code places scripts last in every public page (a chat or booking widget), under the head markup's rules, including
data-consent. - Calendly embeds.
calendly.comis among the hosts the Embed block frames by default. - More in the visual editors. The page builder's Text block toolbar gains tables (insert, then add or delete rows and columns, toggle the header row, delete the table), images from the media library, superscript and subscript, a divider, clear formatting, and undo and redo.
- Search by meaning. The results page now also finds pages by what they mean: "how much does it cost to attend" finds the Tuition page, "where do I put my car" finds Parking permits, and a search about nothing on the site still finds nothing.
- Visual editing in the page builder. The Text block edits visually by default: a toolbar in the fields panel (heading, lists, bold, italic, underline, link, quote) and typing directly on the canvas, with a small formatting menu over a selection.
- Edit HTML for rich text fields. The content editor's rich text fields gain **Edit HTML**, which swaps the editor for the field's markup and back.
- A richer results page. Each result shows its type and date; visitors narrow the results by type (with counts), by how recently pages were updated and sort by newest, all as a plain form that works without JavaScript; a search that finds nothing offers **Did you mean** with the closest words the site's own pages use, when that search finds something.
- Synonyms and pinned results. Site settings → Search takes synonym groups (
tuition, cost, fees; phrases such asfinancial aid, fafsatoo), so searching for one word finds pages with the others, and pins: up to three pages shown first, labeled Recommended, for chosen searches. - Search insights. Analytics gains a **Search** section: how many searches, the share that found nothing and the share where a visitor opened a result, with the top searches, the searches that found nothing and those whose results nobody opened.
- Search suggestions. After two letters, the header search field and the Search block list up to six published pages that match, titles starting with what was typed first, each with its type, as an accessible combobox (arrow keys, Enter, Escape, the count announced to screen readers).
- Site search box. Every site now has an always-visible search field with a search button in its header, styled by the brand and opening the results page for the visitor's language.
- security.txt. : Site settings → SEO defaults has a box for
/.well-known/security.txt(RFC 9116), so a site can tell security researchers where to report a vulnerability. - Footer note. (Site settings → General,
footerNote): plain text in small type at the bottom of every public page, one paragraph per line, for trademark attributions or a short legal line. - Consent banner with categories. The banner now offers Accept all, Reject all (the same weight) and Choose, with Analytics and Marketing and embedded content as categories, and its text, privacy policy link and labels can be set under Settings → Integrations → Privacy.
- Gallery block. (Content): a grid of images in 2, 3 or 4 columns, square, 4:3 or as uploaded, with alt text and captions.
- First-party registry packages. in
registry/, published under@spillway/: the Maps, Data table and Share links modules (sandboxed, in Rust, Maps with a settings page and a secret API key), the Harbor, Meadow and Ledger themes with the brand kits they require (self-hosted fonts, contrast checked), and the four sector kits. - Kits → Install from registry. Admins install themes, kits and brand kits from the package registry in the admin, as they could modules: a searchable list with a screenshot for each theme, a filter by kind and the version installed here, then the same confirm dialog with the dependency plan and an option for sample content.
- Module settings pages. A module manifest can declare
settingsSchema: up to 40 fields (text, textarea, number, select, radio, boolean, link and secret) with labels, help, defaults and required flags. - Font picker. Brand → Type picks the heading and body fonts from **Your fonts**, system fonts or a custom stack, and warns when a stack names a font the site does not load.
- Suggest changes. An author on a page they may not edit clicks **Suggest changes**, edits the fields (and the layout in the page builder, which then saves the suggestion instead of the page) and sends it with a note.
Changed
- Another file name for an existing media item redirects to its current file. (301) instead of answering 404, so a link to a file that was replaced keeps working; an unknown item is still a 404.
- Workstreams are now called Releases. Pantheon uses "Workstreams" for its own feature, so the admin (Content → Releases at
/admin/releases, the release switcher, **Edit in release**, **Save to release**), the docs ([releases.md](docs/releases.md), the guide *Launch a campaign with a release*), the CLI (spillway import --no-release) and the API (/api/releases, theX-Spillway-Releaseheader and?release=) use the new name. - Terms have their own permission. Adding, editing and deleting terms needs **Manage terms** (
terms.manage) instead of **Manage the content model**; every role and API token that held the content model gets it in the upgrade, and the Manager and Administrator presets hold it. - The brand and menus checks in the AI tools follow the split permissions. Block style access in MCP tools, the AI page task, suggestions and the component brand draft now needs **Manage the brand**, and the MCP menu tools need **Manage menus**, as their admin screens do.
- Site settings is split into feature permissions. Brand, menus, redirects, sections, placements, personalization (audiences and experiments), integrations (Google, CDN, DAM, Stripe, translation management), AI settings, modules and kit installs each have their own permission, so a role can manage redirects or the brand without the rest of the site settings.
- Faster uncompressed cache hits. A cache hit for a client that takes neither gzip nor brotli (a CDN that compresses on its own sends
Accept-Encoding: identity) is now sent from the page encoded once per cache entry, with each response's own CSP nonce spliced in, instead of encoding the whole page again. - A smaller Docker image. The image no longer copies everything under
/appinto a second layer to change its owner (only/datais written at runtime), and the compilersbetter-sqlite3may need are installed and removed in the same layer, so they no longer stay in the image. - Field type names in plain words. The content type editor and the importer's type review list field types as **Text, one line**, **Plain text, several lines**, **Rich text (visual editor)** and so on, instead of their keys.
- Plain text fields keep their line breaks. on the page (opening hours, an address, one fee per line), and a Text block whose content has no tags renders as paragraphs whatever its format.
- Kits: links where people expect them. The City kit's service **Contact** and the Nonprofit kit's program **How to help** are rich text, so they can link a phone number, an email or the sign-up and donate pages; their sample content does.
- Site search matches word forms. "studies" finds a page about "study" and "installing" finds "Install".
Fixed
- Plain text from rich text keeps punctuation next to bold or linked words. Summaries, table cells and CSV and XLSX downloads turned "<strong>B</strong>," into "B ,".
- A field keyed `body` that is not rich text no longer makes a page an Article. in its structured data.
- Save and Create can be clicked with the Ask button showing. On form screens the Ask button in the corner moved up to clear the sticky Save bar, but once the form was scrolled to its end the bar came to rest exactly there, so the button covered **Save** or **Create** (for example **Create** on a new content type).
- The Text block's heading and list menus open. In the page builder, the heading and list dropdowns of the visual editor (in the fields panel and over a selection on the canvas) opened behind the builder's panels, so they seemed not to work.
- Search by meaning on large sites finds nothing for unrelated searches. With hundreds of pages, a search like "football season tickets" matched documentation pages by chance.
- Search by meaning no longer slows the site while it indexes. The first indexing of a site's pages ran the model on every core at full speed; on a small shared-CPU machine that throttled the whole server and requests waited up to 20 seconds.
- The importer's page cap is filled. A page still being fetched when the others reached the cap held its slot even when it turned out to be skipped (a redirect to a page already crawled), so the crawl could stop a page or more short of **Max pages** with URLs left in the queue.
Security
- Restricted fields stay off the public site. A field restricted with permissions was hidden in the admin and the API for signed-in people without access, but visitors still got it: on rendered pages, in
/api/public/*, anonymous reads by path, collection items and downloads, and site search. - MCP tools follow the person's roles on the site. A token's tools used its person's global roles only, so site roles (and a site's changes to a preset) did not reach MCP; they use the person's site-wide permissions on the request's site now, narrowed by the token.
- The AI tools follow the block style rule. An MCP token or the Site agent could give a block a style limited to roles its user lacks (Brand → Styles);
create_entityandupdate_entitynow refuse it as the admin does, and AI page drafts offer only the styles the caller may use. - A site admin could make anyone a global admin.
adminheld as a site role grantedusers.manageandsites.manageon that site, and the user routes accepted global roles from it, so a site admin could make anyone, including themselves, an administrator of the whole instance, and reach sites, SSO, mail, backups, the registry and trusted module installs. - MCP no longer hands out the CAPTCHA secret.
get_site_settingsand thespillway://siteresource returned the site settings unmasked to any token, a viewer's included; the CAPTCHA secret is masked now, as onGET /api/site. - MCP `update_entity` respects editing locks. An agent could save over someone who was editing the same item in the admin; it is refused with
lock_heldnow, as in the admin. - Account takeover through a pre-registered address. Someone could sign up with another person's email and a password of their choosing; when the owner later confirmed the address (Continue with GitHub, or the emailed link), the stranger's password kept working.
- Site lock covers the API's content. Search, search suggestions and collections answered anonymous requests on a locked site; only the admin's sign-in, setup, the public sign-in providers and webhooks stay open now.
- Redirects after sign-in stay on the site. A
nextsuch as/<tab>/evil.examplepassed the check and browsers read it as another host; control characters and backslashes are refused and the path must resolve on the site (account pages, GitHub sign-in, the Site lock's password page). - Hosting service: billing and deletion edge cases. A discarded or expired Checkout stayed payable for a day, so a member could be billed for a site that was never built and could not see it; the session is now closed, and a payment that still arrives ends its subscription at once.