Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## v0.10.0 · 2026-11-20

form.ext understands the Form family's shared style names, its browser demo is rebuilt, and the README says it is released.

- **Shared style names:** every style name FormVis uses now works in form.ext too, each one following form.ext's own colours, sizes and three themes, so a panel shared across the family looks right here without changes. Nothing in form.ext looks different: the screens were compared before and after in Studio Dark, light and AMOLED Black.
- **The browser demo is rebuilt:** the demo you open from `demo/index.html` now shows this version and everything added since 0.4.1, and it opens with no error in the browser's console (it no longer asks for a window key that only the app has).
- **The README's status** now says released, built and tested on macOS, Windows and Linux (the owner's statement).
- Checked here: on Linux, the demo built before and after and opened in three themes and three views, the value of every style name compared, the tests in `tests/` (41, none of which can start a real agent program), the agents check, the engine's self check, the hosts check and the frontend build as the repository's own checks run them.
- Not verified by this release: the desktop shell was not compiled on the build machine. No real agent program was run.

## v0.9.0 · 2026-11-20

The Windows engine opens no console window, the app waits a shorter time for its engine, and the terminal panel's guide names all four agent programs.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</p>

<p align="center">
<img alt="version 0.9.0" src="https://img.shields.io/badge/version-0.9.0-4f6bff?style=flat-square">
<img alt="version 0.10.0" src="https://img.shields.io/badge/version-0.10.0-4f6bff?style=flat-square">
<img alt="Python FastAPI engine" src="https://img.shields.io/badge/Python-FastAPI%20engine-3776ab?style=flat-square&logo=python&logoColor=white">
<img alt="TypeScript" src="https://img.shields.io/badge/TypeScript-interface-3178c6?style=flat-square">
<img alt="Tauri 2" src="https://img.shields.io/badge/Tauri-2-24C8DB?style=flat-square">
<img alt="Extension API 1" src="https://img.shields.io/badge/extension%20API-1-4f6bff?style=flat-square">
<img alt="License: GPL-3.0" src="https://img.shields.io/badge/license-GPL--3.0-3a3a3a?style=flat-square">
<img alt="Status: in development" src="https://img.shields.io/badge/status-in%20development-d69e2e?style=flat-square">
<img alt="Status: released" src="https://img.shields.io/badge/status-released-d69e2e?style=flat-square">
</p>

<p align="center">
Expand Down Expand Up @@ -215,7 +215,7 @@ cd form.ext
Ports: interface 5640 (Vite, localhost only), engine 8640 (`FORMEXT_PORT`). `./formext serve` serves a production build from the engine alone, `./formext desktop dev` opens the desktop window, and `./formext doctor` checks the toolchain. `FORMEXT_HOME` moves the data folder.

> [!IMPORTANT]
> **Status:** in development. Run in App and Send to FormPortal need FormPortal and the Form apps installed on the same computer.
> **Status:** released. form.ext is built and bundled for macOS, Windows and Linux and has been tested on all three. Run in App and Send to FormPortal need FormPortal and the Form apps installed on the same computer.

**Contributing:** changes to the studio, its starters and its SDK come here as pull requests into `main`; extensions you made go to [form.ext-registry](https://github.com/nodemode-dev/form.ext-registry) instead, and changes to the contract go to the Form Extension Contract kit first. See [`CONTRIBUTING.md`](CONTRIBUTING.md), [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md) and [`AGENTS.md`](AGENTS.md). Report security issues privately as [`SECURITY.md`](SECURITY.md) describes.

Expand Down
2 changes: 1 addition & 1 deletion backend/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0"
__version__ = "0.10.0"
4 changes: 2 additions & 2 deletions demo/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Living log of the offline browser demo. Source files stay comment-free; what they would have said lives here.

Current build version: v0.4.1
Last updated: 2026-11-11 · v0.4.1 rebuilt: `engine/kit.ts` refuses an `entry.ui` whose last segment is empty or `.` (`ui/index.html/`, `ui/index.html/.`), and its `problems` refuses a backslash, as the kit's `formpkg.py` and `formext_host.py` now do. Before: v0.4.0 rebuilt: the Publish pane's Open pull request answers that it needs form.ext on the computer, the Studio's source row reads "Source: desktop app" (the sources routes are not ported), and starter READMEs carry Permissions and Screenshot as the engine's do. Before: v0.3.1 the version only (the bundle's two version strings edited by hand). Before: v0.3.0 the page engine moved to frontend/src/demo and the app opens this demo in its window. Before: v0.2.1 the version only
Current build version: v0.10.0
Last updated: 2026-11-20 · v0.10.0 rebuilt from the tip with the repository's own build (README "Rebuild"): it carries everything since v0.4.1 and the version 0.10.0, and the page no longer asks for a window key. Before: v0.4.1 rebuilt: `engine/kit.ts` refuses an `entry.ui` whose last segment is empty or `.` (`ui/index.html/`, `ui/index.html/.`), and its `problems` refuses a backslash, as the kit's `formpkg.py` and `formext_host.py` now do. Before: v0.4.0 rebuilt: the Publish pane's Open pull request answers that it needs form.ext on the computer, the Studio's source row reads "Source: desktop app" (the sources routes are not ported), and starter READMEs carry Permissions and Screenshot as the engine's do. Before: v0.3.1 the version only (the bundle's two version strings edited by hand). Before: v0.3.0 the page engine moved to frontend/src/demo and the app opens this demo in its window. Before: v0.2.1 the version only

---

Expand Down
2 changes: 1 addition & 1 deletion demo/assets/formext.css

Large diffs are not rendered by default.

1,087 changes: 558 additions & 529 deletions demo/assets/formext.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@
<title>form.ext</title>
<link rel="icon" href="./favicon.png" type="image/png">
<link rel="apple-touch-icon" href="./apple-touch-icon.png">
<style>html,body{background:#0a0a0a;height:100%;margin:0;padding:0;overflow:hidden}html[data-theme=light],html[data-theme=light] body{background:#ecebe6}#app{visibility:hidden}body.app-ready.demo-ready #app{visibility:visible}</style>
<style>html,body{background:#0a0a0a;height:100%;margin:0;padding:0;overflow:hidden}html[data-theme=light],html[data-theme=light] body{background:#ecebe6}html[data-oled],html[data-oled] body{background:#000}#app{visibility:hidden}body.app-ready.demo-ready #app{visibility:visible}body:not(.app-ready)>.fx-scrim,body:not(.app-ready)>.fx-dialog,body:not(.app-ready)>.fx-palette{visibility:hidden}</style>
<script>
(function () {
var mode = 'dark';
try {
var saved = localStorage.getItem('formext.theme');
if (saved === 'light' || saved === 'dark') mode = saved;
if (saved === 'light' || saved === 'dark' || saved === 'amoled') mode = saved;
} catch (e) {}
var root = document.documentElement;
var OLED = { 'amoled': 1 };
root.setAttribute('data-theme', mode);
root.style.colorScheme = mode;
if (OLED[mode]) root.setAttribute('data-oled', '');
root.style.colorScheme = mode === 'light' ? 'light' : 'dark';
if (window.__TAURI_INTERNALS__ && /Mac/.test(navigator.platform)) {
root.classList.add('has-native-menus', 'has-overlay-titlebar');
}
Expand Down
16 changes: 13 additions & 3 deletions frontend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Living log for the interface: the shell, the shared styles and the build files. Source files stay comment-free; what they would have said lives here. Each pane keeps its own `src/panes/<name>/HASHOUT_LOG.md`.

Current build version: v0.9.0
Last updated: 2026-11-20 · v0.9.0 the shared panel at module 2.2.1 (#panel-221). Before: v0.8.0 the version only. Before: v0.7.0 the shared panel at module 2.2.0 and Antigravity as the fourth agent tab (#panel-four). Before: v0.6.0 the Form family's shared terminal panel and its question for outside agents (#family-panel). Before: v0.5.0 the window key, the question for outside agents and AMOLED Black (#window-key, #agent-consent, #amoled). Before: v0.4.1 the demo's `engine/kit.ts` refuses an `entry.ui` ending in `/` (`demo/HASHOUT_LOG.md`). Before: v0.4.0 the host source row in the Studio and Open pull request in Publish (`panes/studio/HASHOUT_LOG.md#source`, `panes/publish/HASHOUT_LOG.md#pull-request`). Before: v0.3.1 the version only. Before: v0.3.0 the demo opens in the app (#in-app-demo). Before: v0.2.1 the README's screenshots and the community files
Current build version: v0.10.0
Last updated: 2026-11-20 · v0.10.0 every FormVis token name resolves, names only (#fv-names), and the browser demo claims no window key (#window-key). Before: v0.9.0 the shared panel at module 2.2.1 (#panel-221). Before: v0.8.0 the version only. Before: v0.7.0 the shared panel at module 2.2.0 and Antigravity as the fourth agent tab (#panel-four). Before: v0.6.0 the Form family's shared terminal panel and its question for outside agents (#family-panel). Before: v0.5.0 the window key, the question for outside agents and AMOLED Black (#window-key, #agent-consent, #amoled). Before: v0.4.1 the demo's `engine/kit.ts` refuses an `entry.ui` ending in `/` (`demo/HASHOUT_LOG.md`). Before: v0.4.0 the host source row in the Studio and Open pull request in Publish (`panes/studio/HASHOUT_LOG.md#source`, `panes/publish/HASHOUT_LOG.md#pull-request`). Before: v0.3.1 the version only. Before: v0.3.0 the demo opens in the app (#in-app-demo). Before: v0.2.1 the README's screenshots and the community files

---

Expand Down Expand Up @@ -167,12 +167,22 @@ No layout shift: the Demo button sits in `.fx-tb-r` in `index.html` at its final
- kind: decision
- logged: unreleased

The engine refuses every POST, PUT, PATCH and DELETE without the header `X-Formext-Window-Key` (backend `HASHOUT_LOG.md#window-key`). `main.ts` starts `loadWindowKey()` beside `boot()` (never in the demo, which has no engine): the desktop shell's `window.__FORMEXT_WINDOW_KEY` first, read once and deleted; otherwise the key this tab kept in `sessionStorage` (`formext.window-key`); otherwise the one-time `POST /api/window/key`, which only a source run (no shell) offers. `request()` in `api.ts`, the one helper every pane uses, waits for that and sends the header on every call; after a 403 on a write in a source run it claims once more and retries once, which recovers when the engine was restarted (a new engine has a new key and an unclaimed bootstrap). A second tab of a source run gets no key and its writes are refused: one window per engine launch.
The engine refuses every POST, PUT, PATCH and DELETE without the header `X-Formext-Window-Key` (backend `HASHOUT_LOG.md#window-key`). `main.ts` starts `loadWindowKey()` beside `boot()` (never in the demo, which has no engine: not in the in-app demo, and not in the browser demo, `data-demo="page"`, where the claim was a fetch of `file:///api/window/key` that the console showed as an error until v0.10.0): the desktop shell's `window.__FORMEXT_WINDOW_KEY` first, read once and deleted; otherwise the key this tab kept in `sessionStorage` (`formext.window-key`); otherwise the one-time `POST /api/window/key`, which only a source run (no shell) offers. `request()` in `api.ts`, the one helper every pane uses, waits for that and sends the header on every call; after a 403 on a write in a source run it claims once more and retries once, which recovers when the engine was restarted (a new engine has a new key and an unclaimed bootstrap). A second tab of a source run gets no key and its writes are refused: one window per engine launch.

Sockets: the terminal stream and the Chat stream send `windowHello()` (`{"type": "window", "key"}`) as their first message on open; the engine closes them with 4403 otherwise. `/api/live` carries only events and stays as it was. There are no other raw `fetch`, XHR, `sendBeacon` or `EventSource` calls outside `api.ts` and the demo (whose `demo/inapp.ts` reads its own static files). Nothing is drawn, so nothing moves.

Checked in headless Chrome against Vite and a running engine: the page boots (Home), claims the key once, `PUT /api/settings` and a terminal from the page succeed with the header, the terminal socket echoes a command after the hello, a reload writes with the stored key and claims nothing, and after the engine restarts the first write is refused, reclaimed and retried. Not checked: the packaged window (no shell build here).

## FormVis token names, names only {#fv-names}

- refers-to: src/styles/tokens.css
- kind: decision
- logged: v0.10.0 · 2026-11-20

form.ext keeps its own palette and its three themes, and every token name of FormVis's token file (`frontend/src/styles/tokens.css` at FormVis `origin/main`, 154 names) now resolves here, so a stylesheet or a shared module written in FormVis's names works in form.ext unchanged. 54 of those names were already defined and keep form.ext's values, the z-index values included (`--z-raised` 100, `--z-chrome` 300, `--z-overlay` 600, `--z-toast` 800 and the rest of the site scale). The other 100 are one block after the form.ext block, each defined from a form.ext token where one means the same thing, otherwise with FormVis Studio Dark's value: `--bg-node` and `--surface-2` from `--raise`, `--canvas-bg` from `--main`, `--cta-bg`, `--cta-text` and `--text-on-cta` from the primary button's `--pri-bg` and `--pri-ink`, `--cta-bg-hover` with the primary button's own hover mix, `--transition-fast`, `--transition-normal` and `--ease-glass` from `--dur-fast`, `--dur` and `--ease-out`, `--space-8` from `--sp-6`, `--ok` from `--success`, `--warn` from `--warning`, `--danger` from `--error`, `--z-under` from `--z-behind`, `--z-modal` and `--z-settings` from `--z-dialog`, `--z-context` from `--z-menu`, and `--cv-titlebar-h`, `--cv-status-h`, `--cv-rail-w`, `--cv-row-h` from `--title-h`, `--statusbar-h`, `--sidebar-rail-w`, `--row`. FormVis's derived names (`--surface-*`, `--line-*`, `--accent-soft` and its kin, `--glass-*`) keep FormVis's expressions, which read form.ext's own `--bg-*`, `--border-*`, `--text-*` and accent, so they follow every theme. `--fs-16` and `--fs-18` are pixels, because this root's `rem` is 13px. FormVis's light-theme values of `--group-head`, `--line-0` and `--surface-raised` and its true-black values of `--surface-1` and `--line-0` sit under `[data-theme="light"]` and `[data-oled]`. No existing name was given another value and no rule was changed; nothing in form.ext reads the new names yet (the `--ok`, `--warn` and `--danger` in `src/sim/apps/` are keys of the simulated apps' own token maps, not reads of this root).

Checked: the browser demo built from the tip before and after, opened from `file://` at 1440 by 900 in Studio Dark, light and AMOLED Black on Home, the Studio with Golden Hour and Docs: the resolved value of all 344 names on the root was dumped in each theme; the 244 that resolved before are unchanged and the 100 new ones resolve. In the first run the nine screenshots were the same bytes; in two more runs eight were, and the AMOLED Studio differed in 379 pixels, the bracket highlight of CodeMirror's first and last line, which the same build without the change also drew in its first run (its timing, not a token).

## The shared panel at module 2.2.1 {#panel-221}

- refers-to: src/dock/ · ../setup/agents.py · ../tests/test_dock_module.py · ../docs/MANUAL.md
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "formext",
"private": true,
"version": "0.9.0",
"version": "0.10.0",
"description": "form.ext: the Form family's extension studio",
"license": "GPL-3.0-only",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/demo/engine/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function decodeFiles(rawFiles: Json): Record<string, Uint8Array> {
return out;
}

on('GET', '/api/health', () => ({ ok: true, app: 'formext', version: '0.9.0 in this page', api: '1', pid: 0, python: null, frozen: false, home: DATA, contract: 'bundled', uptime: Math.round(performance.now() / 100) / 10, live_clients: 0, routers: ['health', 'settings', 'projects', 'live', 'library', 'package', 'preview', 'publish', 'runapp', 'templates', 'validate'], router_errors: {}, frontend: 'demo', demo: true }));
on('GET', '/api/health', () => ({ ok: true, app: 'formext', version: '0.10.0 in this page', api: '1', pid: 0, python: null, frozen: false, home: DATA, contract: 'bundled', uptime: Math.round(performance.now() / 100) / 10, live_clients: 0, routers: ['health', 'settings', 'projects', 'live', 'library', 'package', 'preview', 'publish', 'runapp', 'templates', 'validate'], router_errors: {}, frontend: 'demo', demo: true }));
on('GET', '/api/settings', () => ({ ...settings.get(), home: DATA }));
on('PUT', '/api/settings', (_m, r) => {
const patch = { ...json(r) };
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './styles/shell.css';
import './styles/settings.css';
import { boot } from './shell/shell';
import { loadWindowKey } from './shell/window-key';
import { demoMode, leaveDemo } from './demo/mode';
import { demoMode, leaveDemo, pageDemo } from './demo/mode';

if (demoMode()) {
import('./demo/inapp').then(
Expand All @@ -17,6 +17,6 @@ if (demoMode()) {
() => leaveDemo(),
);
} else {
void loadWindowKey();
if (!pageDemo()) void loadWindowKey();
boot();
}
2 changes: 1 addition & 1 deletion frontend/src/panes/library/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Living log of the Library module: `frontend/src/panes/library/`, `backend/app/services/library.py`, `backend/app/services/registry.py`, `backend/app/registry_keys.txt`, `backend/app/routers/library.py`. Source files stay comment-free; what they would have said lives here.

Current build version: v0.9.0
Current build version: v0.10.0
Last updated: 2026-11-08 · v0.2.0 a part of the Studio

---
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/panes/publish/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

The Publish pane belongs to the ship module, whose living log is `frontend/src/panes/run/HASHOUT_LOG.md` (sections `#publish`, `#registry` and `#panes`, with `backend/app/services/publish.py` and `backend/app/routers/publish.py`).

Current build version: v0.9.0
Last updated: 2026-11-20 · v0.9.0 the version only. Before: v0.8.0 the version only. Before: v0.7.0 the version only. Before: v0.6.0 the version only. Before: v0.5.0 the version only. Before: v0.4.1 the version only (two pull requests at once now wait for each other in the engine, `backend/HASHOUT_LOG.md#pr-lock`). Before: v0.4.0 Open pull request (#pull-request). Before: v0.2.0 a sheet of the Studio
Current build version: v0.10.0
Last updated: 2026-11-20 · v0.10.0 the version only. Before: v0.9.0 the version only. Before: v0.8.0 the version only. Before: v0.7.0 the version only. Before: v0.6.0 the version only. Before: v0.5.0 the version only. Before: v0.4.1 the version only (two pull requests at once now wait for each other in the engine, `backend/HASHOUT_LOG.md#pr-lock`). Before: v0.4.0 Open pull request (#pull-request). Before: v0.2.0 a sheet of the Studio

---

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/panes/run/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Living log of the ship module: the Run in App pane (`frontend/src/panes/run/`), the Publish pane (`frontend/src/panes/publish/`), `backend/app/services/portal.py`, `backend/app/services/publish.py`, `backend/app/routers/runapp.py` and `backend/app/routers/publish.py`. Source files stay comment-free; what they would have said lives here.

Current build version: v0.9.0
Current build version: v0.10.0
Last updated: 2026-11-08 · v0.2.0 a sheet of the Studio

---
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/panes/studio/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Living log for `frontend/src/panes/studio/` (formerly `edit/`), the Studio module (FX5). Source files stay comment-free; what they would have said lives here.

Current build version: v0.9.0
Current build version: v0.10.0

## The Terminal tab holds the family's shared panel {#family-panel}

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/shell/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.9.0';
export const VERSION = '0.10.0';
Loading
Loading