Skip to content
nodemode-devPublic

About

form.ext - where the community can create, preview against a simulated copy of each app, check, package, sign/publish extensions, & send them to FormPortal as well as the formai.studio site. Free & open-source under GPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

170 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

form.ext icon: the puzzle piece in the Form family colours on a rounded square

form.ext

The extension studio; make extensions for every Form app.
Start from a working project, try it in a simulated app, check it against the contract,
then run it in the real app, sign it and publish it. Free and open source.

version 0.13.0 Python FastAPI engine TypeScript Tauri 2 Extension API 1 License: GPL-3.0 Status: released

Try the browser demo · Manual · Extension Contract · Run it from source


The Studio with Preview split beside the editor: Golden Hour running inside a simulated FormLit with its catalogue and sun chart, the Permissions inspector with consent, and the Host calls log of every message between the extension and the host
The Studio: Golden Hour, a FormLit extension, previewed in a simulated FormLit beside its manifest, with consent, permissions and every host call logged.

Features · In the box · Agents · Under the hood · Demo · Run from source


Every Form app

Starters for all twelve hosts, each a panel, a command or both, that read the app's document and run a real command from day one.

Try before the app

Preview runs the extension in a simulated host for its app, with the contract's own bridge, a realistic document, events and consent.

The contract, checked

Check reads the manifest and the code the way a host and its sandbox will, and says what to change, line by line.

Agent-ready

The window, a command line and an MCP server share one engine, so Claude Code, Codex, Cursor and Antigravity make extensions the way a person does.

Features

The Home page in the dark theme: Make an extension with the twelve Form app icons, New Extension, Open Folder and Import .formpkg, and the Recent projects as cards
Home, in Studio Dark.
The same Home page in the warm light theme
Home, in warm light paper.

Home, one click away

The Home button in the top bar (Mod+Shift+H) and the sidebar's Home, Recent, Registry and Docs open the Start page from anywhere: make an extension for any of the twelve apps, open a folder, import a .formpkg, or pick up a recent project. The theme button or Mod+Shift+L switches between dark and light; Preferences, Interface, Theme also offers AMOLED Black, a true-black theme for OLED screens.
The New Extension page with the twelve Form apps as cards, FormVis selected, its three starters and the name and description fields
Pick the app, pick a starter, name it.

New extension in one step

Twelve apps, three starters each. The project already works: it reads the open document and runs a command, with the SDK beside it.
The Studio: the Files and Library tabs, manifest.json in the code editor, the Manifest inspector with name, id, app, kind, version and licence fields, and the bottom panel
The manifest form and the JSON stay in sync, both ways.

The Studio, with the manifest in view

One window per project: Files and Library on the left, a CodeMirror editor with Split for Preview in the middle, the Manifest, Permissions and Check inspector on the right, and Problems, Host calls, Output and Terminal below. The toolbar runs Check, Preview, Run in App and Package; Publish is beside it.
The Studio with Check: no errors, warnings or info for Golden Hour, the three groups Check reads all clear, and No problems in the Problems tab
Golden Hour checks clean: ready to package.

Check against the contract

Schema and package rules, what an API 1 host accepts, and lint for what the sandbox blocks: inline script, direct network use, eval, browser storage, missing files, and permissions used but not declared. Check on save, or F7; click a problem to open the line.
The Package and Sign sheet: golden-hour-0.1.1.formpkg built again with the same bytes, its SHA-256, size and check, the reproducibility note, publisher keys and the index entry
A deterministic build, built again to the same bytes.

Package, reproduce, sign

The kit's deterministic `.formpkg`, its SHA-256 and size, a byte-for-byte reproducibility check, and Ed25519 publisher keys kept in form.ext's data folder.
The Studio's Terminal tab open under the editor: a shell in the Golden Hour project folder listing the package, the Claude Code and Chat buttons, and the Ask Claude Code field
Mod+J opens the Terminal in the project's folder.

Terminal and Claude Code

A real shell in the open project's folder, a Claude Code tab with formext and formMCP already connected, Codex, Cursor and Antigravity tabs when those programs are installed, and a Chat tab on claude -p with tool chips and permission cards. Ask Claude Code to work on this extension from the field below.
Preferences on the Interface section: the Studio Dark and warm light theme swatches, the code editor's font size, tab size and wrapping, and the simulated app's theme
Preferences (Mod+,): General, Interface, Editor, Preview, Publishing, Registry, FormPortal, Developer.

Preferences

The author and licence for new projects, the theme, the editor, the simulated app's theme and consent, publishing, the registry address, FormPortal's folder and developer switches, kept in form.ext's data folder.

Run in the real app

Writes the app's `dev.json` in FormPortal's folder so the installed app loads the extension live, shows which Form apps are installed, and opens them.

Library and publishing

Import or inspect any `.formpkg`, compare two builds, and start from form.ext-registry's verified extensions, read from its signed index. Publish writes the extensions index entry and a submission folder, sends the package to FormPortal, or submits the project to the registry: its layout, the registry's own checks run from form.ext's copy, and the pull request opened in one step through `gh` (or the commands to run by hand).

The app's real source

The source code of the app you make an extension for is pulled into form.ext's data folder (sources/), read-only, when you make or open a project: a shallow git clone, or an archive when git is missing. You and your agent read the commands, document fields and events as the app really has them. family lists the apps, source pulls one, and the app's own skills are found with skills. GPL apps are for reading, not copying.

Everything in the box

In the window

Home · New · Studio (files, code, manifest, Check, Preview, Library) · Terminal and Claude Code · Run in App · Package · Publish · Docs · Preferences

33 MCP tools

status · docs · templates · new · read · write · manifest · validate · preview · package · sign · verify · run_in_app · publish · submit · family · source · source_files · source_read · source_search · skills and the rest

Twelve hosts

FormVis · FormCut · FormWav · FormPDF · FormDeck · FormLit · form.md · FormEncoder · FormVFX · FormMCP · FormTray · FormSkills

Built for agents

The window, the command line and the MCP server call one engine, so an agent and a person see the same projects, and every change an agent makes appears in the open window at once.

./formext cli new "Beat Board" --app formwav --starter panel   # a working project from a starter
./formext cli validate beat-board                              # Check, in the same words as the window
./formext cli package beat-board                               # the deterministic .formpkg
./formext cli family                                           # every Form app, its repository, whether its source is here
./formext cli source formwav                                   # pull FormWav's source to read (read-only)
./formext cli skills formwav                                   # the skills that teach an agent FormWav
./formext cli submit beat-board --ready                        # can the one-step registry pull request run here
./formext mcp                                                  # MCP server on stdio

.mcp.json, .codex/config.toml and .cursor/mcp.json are already wired in this repo, with the formext-harness skill for making extensions and formext-skillset for changing form.ext. See AGENTS.md.

Agents

./formext claude            # Claude Code in this repo, already connected to formext (and formMCP when found)
./formext agents install    # the same MCP servers and skills for your account: Claude Code, Codex, Cursor and Antigravity
./formext agents status     # what is installed, which servers, how many skills, whether formMCP is found
./formext agents sync       # regenerate the tool reference and agents/manifest.json, and mirror .claude/skills to .agents/skills
./formext agents sync --check   # exits 1 on any drift, for CI

Two MCP servers are registered: formext (this studio) and formmcp, the Form family hub that reaches every installed Form app's own tools. formMCP is a separate app: when it is not installed, formmcp shows as failed or unavailable in your agent and everything else works; install it with FormPortal and run ./formext agents install again. The skills include formext-harness (the build loop), formext-hosts (what an extension can do in each of the twelve apps, which host skill explains the app, how to test live) and the host skills copied from the apps themselves, recorded with their source commits in .claude/skills/HOSTS.md. With these, "make a FormWav extension that does X" can be built, checked, previewed, packaged and run in the app by Claude Code, Codex, Cursor or Antigravity. An agent can also read the app's real source (source, source_files, source_read, source_search), and submit with pull_request opens the registry pull request once the person agrees.

Outside agents

An outside agent is any program that reaches form.ext from outside the app: Claude Code, Codex, Cursor or Antigravity through ./formext mcp, any other MCP client through the engine, and ./formext cli itself. Of the 33 MCP tools, the 19 that only read always run. The 14 that change something follow one setting, Settings, Developer, Outside agents:

  • Ask (the default): the form.ext window asks you, naming the tool and the project, with Deny, Allow once and Always allow (which switches the setting to Allowed). With no form.ext window open the change is refused; a question nobody answers is refused after two minutes.
  • Allowed: outside agents change projects without asking.
  • Blocked: every change from an agent is refused, the Studio's own Claude Code and Chat tabs included. Reading still works.

Only the form.ext window can change this setting. An agent, the command line or an edit of settings.json cannot: a hand edit puts it back to Ask, and the window says so once. The Studio's own Claude Code and Chat tabs are not outside agents and are never asked; each tab gets its own pass from the engine when you open it, and the pass stops working when the tab closes. Blocked is the one choice that stops them as well.

Terminal

The Studio's bottom panel has a Terminal tab (View, Terminal, or Mod+J) next to Problems, Host calls and Output. The engine owns the sessions: a real shell in the open project's folder, an xterm view, a Claude Code tab that starts claude with formext and formMCP connected and the skills available, Codex, Cursor and Antigravity tabs when those programs are installed, and a Chat tab that runs claude -p with streamed output, tool chips and permission cards. If Claude Code is not installed the tab says so and shows the install command. The routes answer on 127.0.0.1 only and refuse any other Host or Origin, and only the form.ext window can change anything through the engine: open or type into a shell, answer a permission card, save settings or change a project. Agents and the command line go through the MCP server. In the Claude Code tab, tools that only read run without asking; every other formext and formMCP tool asks first.

Under the hood

  • One contract: the Form Extension Contract kit is vendored unchanged in contract/: the spec, schemas, SDK, host bridge, the Python resolver and formpkg. Preview runs the kit's own bridge; Package builds with the kit's own rules.
  • One engine: a FastAPI engine on 127.0.0.1:8640 owns the projects, checks, builds, keys and FormPortal's folder; the interface, the command line and the MCP server are thin layers over its routes.
  • Built from a registry: each pane registers itself, and the shell lays out every pane before the first paint, so nothing moves when it opens.
  • The SDK: sdk/ is the publishable @formai/ext package (formext.ts with built .js and .d.ts).

Demo

demo/index.html runs the real interface offline in any browser, by double-click or from any static server, with an engine written for the page: Golden Hour open, Mail Merge and Rating Desk beside it, every pane usable, the first-party extensions previewed live, real deterministic packages and Ed25519 signatures in the browser. See demo/README.md.

The app opens the same demo in its own window: Home, Demos, or Help, Demo: The Studio with Sample Projects. It runs on the page engine and its own sample disk, never on your projects folder, keys or FormPortal folder, and the Demo button in the title bar leaves it.

Run it from source

Requires: Node 20.19 or newer, Python 3.12, git (and GitHub's gh, signed in once, only for the one-step registry pull request). Rust stable and the Tauri prerequisites only for the desktop window.

git clone git@github.com:nodemode-dev/form.ext.git
cd form.ext
./formext_oc_install        # engine venv and interface packages
./formext           # interface at http://localhost:5640, engine on 127.0.0.1:8640

./formext_oc_install is the install, ./formext is the boot, and ./build_app makes the desktop app start to finish and logs to build_app.log. On Windows use formext_oc_install.bat, formext.bat and build_app.bat.

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: 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 instead, and changes to the contract go to the Form Extension Contract kit first. See CONTRIBUTING.md, CODE_OF_CONDUCT.md and AGENTS.md. Report security issues privately as SECURITY.md describes.

Repository

Path What it is
frontend/ the interface (vanilla TypeScript and Vite): the shell and one folder per pane
backend/ the FastAPI engine, the command line and the MCP server
src-tauri/ the Tauri 2 shell
contract/ the Form Extension Contract kit, vendored unchanged
templates/ the starters, three for each of the twelve apps
sdk/ @formai/ext, the extension SDK package
docs/ the manual and each app's extension API page
demo/ the offline browser demo

Docs: docs/MANUAL.md, .docs/wiki · Agents: CLAUDE.md, AGENTS.md · Changes: CHANGELOG.md


Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

License

form.ext is licensed under the GNU General Public License v3.0 (LICENSE, SPDX GPL-3.0-only). Copyright 2026 NodeAgentc, Inc. The Form Extension Contract kit (contract/), the @formai/ext SDK (sdk/) and the starters (templates/) stay under the Apache License 2.0 (each folder's own LICENSE, or the kit's), so the extensions you make with form.ext are yours to license as you choose. Third-party notices: NOTICE.md.

Screenshots show form.ext 0.2.0 from source (interface and engine) at 1440 by 900; the extensions in them are the Form family's first-party examples, imported from their .formpkg files.

About

form.ext - where the community can create, preview against a simulated copy of each app, check, package, sign/publish extensions, & send them to FormPortal as well as the formai.studio site. Free & open-source under GPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages