Skip to content

FormTxt 0.35.0: Antigravity beside Claude Code, Codex and Cursor, and the four found however FormTxt was started - #12

Merged
nodemode-ai merged 9 commits into
mainfrom
feat/four-agent-programs-0.35.0
Nov 20, 2026
Merged

nodemode-ai merged 9 commits into
mainfrom
feat/four-agent-programs-0.35.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormTxt 0.35.0: Antigravity beside Claude Code, Codex and Cursor, and the four found however FormTxt was started

What changes for people

Four agent programs

  • Antigravity, Google's agy program, is the fourth agent program FormTxt works with, beside Claude Code, Codex and Cursor. The terminal panel has an Antigravity tab when the program is found on this computer.
  • ./formtxt agents install also adds FormTxt to Antigravity (~/.gemini/config/mcp_config.json). It keeps everything else in that file, leaves alone a server named formtxt that it did not write, and a second run changes nothing.
  • An Antigravity tab runs in a folder of FormTxt's own inside its data folder, not in the folder of the open document.

Finding the programs

  • FormTxt finds Claude Code, Codex, Cursor and Antigravity however it was started. Started from the Dock, the Finder or the Start menu it used to report a program installed by Homebrew, npm or a version manager as not installed, and a program it did find could still fail to start in a tab or in Chat.
  • When a tab or Chat cannot start because a program is missing, FormTxt says where it looked and how to install it. When the program is there but does not start, it says so and shows the program's own error line.

Also

  • Windows: the engine starts when it is built without a console. An engine with no output to write to could stop at its first line.
  • The terminal panel is brought up to date with the other Form apps (the family's shared panel, 2.2.0).
  • For people who build FormTxt: its tests can no longer start a real agent program on the computer that runs them, and the README, the launcher's help and the agent pages name the four programs.

How it was checked

All on Linux, Python 3.13, with stand-ins for the agent programs.

  • The engine's test suite on the release commit: 207 passed, none skipped (195 on 0.34.0). It was run with a decoy folder of the session's own first on PATH and a stand-in login shell: the decoys were started 0 times, and the suite's own closing line said its stand-ins were started 0 times.
  • tsc --noEmit clean. ./formtxt agents sync --check, agents check, mcpb check and icons --check clean. The finder file and the 15 files of the panel match their recorded hashes.
  • An engine from source with a stand-in agy first on PATH: the status reported Antigravity as found, version 1.2.3; a tab opened through the engine's real tab route (refused without the window's key) and its stream showed the stand-in's banner; the tab's settings file held a server and a key that were there before, beside FormTxt's own entry, readable by the user only; after the tab was closed the file was exactly as it was before.
  • ./formtxt agents install antigravity against a made-up home, seven cases: a dry run, a first run that kept another server and another key, a second run that changed nothing, an entry of FormTxt's own at another path brought up to date, a server of the same name that FormTxt did not write left alone, only the older file present, a file that is not JSON left alone.
  • The engine's entry started with its three streams closed answered its health route; before the change the same start gave no answer. Started normally it still printed its log lines.
  • Earlier on this branch, with an engine started from a bare environment and a made-up home: the four programs found in known folders, then through the shell's PATH, then reported missing with the list of places, and one that does not start with its error line; Claude Code, Codex and Cursor tabs and Chat started through the engine's routes.

Not run

  • A real Claude Code, Codex, Cursor or Antigravity. Nobody has seen a real agy read the tab's settings file, ask for its folder to be trusted, or sign in inside a tab.
  • Nothing was run on Windows or macOS. The fix for an engine without a console was seen only on Linux with closed streams, and not on a frozen engine.
  • The desktop shell (src-tauri) was not compiled on the build machine; this branch changes only its version.
  • The terminal panel was not looked at in a browser on this branch: the fourth button and row were type-checked only. No production build, npm audit or browser test folder was run.
  • A call to FormTxt's MCP route with an Antigravity tab's token, two Antigravity tabs at once, a restart of an Antigravity tab.
  • The three browser demo pages were not rebuilt: they still say 0.32.0 and carry the earlier terminal panel.

Held at the safer choice, for the owner to overrule

  • The Antigravity tab runs in FormTxt's own folder, because its settings file has to hold the tab's token. Codex and Cursor tabs still run in the open document's folder.
  • ./formtxt agents install with no program named now also writes Antigravity's settings file, for a person who may not have Antigravity, as it already wrote Codex's and Cursor's.
  • The trademark sentence at the foot of the README and in NOTICE.md still names three programs and their owners. Adding Antigravity and its owner was left to the owner.
  • The row of a missing program in the panel's menu still shows the panel's general sentence; FormTxt's own sentence shows when a tab or Chat is refused.

Merge

Merge with a merge commit. Do not squash and do not rebase-merge.

…gine, held to its recorded hash, and agents install finds claude through it

backend/app/services/agent_lookup.py is the family's one finder for Claude Code, Codex, Cursor and Antigravity, copied whole and byte for byte from FormVis 146dddd1 (VERSION 1.0.0, SHA-256 252ea9bb9419d4990f174f91914f09800497bc69e98f849f5643bbf4217cc3f3). It uses the standard library only and nothing in it is edited here. The engine starts using it in the next commit.

setup/agents.py records the hash for each version of the file. agents check, agents sync --check and agents sync name the file and exit 1 when it does not match the hash recorded for its version, or is missing.

agents install claude finds the program through the finder instead of a bare which, so a Claude Code installed by Homebrew, npm or a version manager is found when the script runs with a short PATH. The mcp get, remove and add calls go through the finder's run in its child environment. When the program is missing or does not start, the line printed is the finder's own sentence.

Run on Linux, Python 3.13: the hash of the copied file; agents check and agents sync --check clean; on a copy of the kit a changed finder and a missing finder each gave their line and exit 1; agents install claude against a made-up home, a stand-in login shell, PATH /usr/bin:/bin:/usr/sbin:/sbin and a node-style stand-in claude that records its calls (dry run: --version and mcp get; real run: mcp add after them; nothing anywhere: the "was not found" sentence). Three tests added to backend/tests/test_dock_manifest.py after that was seen. The suite was run on the whole branch, not on this commit alone: 203 passed.
Not run: the real Claude Code, macOS, Windows.
…ough the family's finder, and the status reports Antigravity

FormTxt started from the Dock, the Finder or the Start menu gets the system's short program path, not the one a Terminal has. The engine asked which, a few folders and a login shell that was not interactive, so a program installed by Homebrew, npm or a version manager was reported as not installed, and one that was found could still fail to start in a tab or in Chat because it ran with the engine's PATH.

Every lookup and every start now goes through backend/app/services/agent_lookup.py: the status answers, opening a Claude Code, Codex or Cursor tab, Chat, the version and sign-in checks. claude_code and agent_programs keep their function names and what they return; their bodies call the finder. A program counts as installed only when its --version ran, and each status entry also says how it was found, where the engine looked, the error line of a program that does not start, and one sentence for the person. A tab and Chat start through the login shell with the program's own folder first on PATH.

Both status answers report a fourth program, Antigravity (agy), like the others. There is no Antigravity tab, label or file: the tab route still takes codex and cursor only.

Where the engine refused a tab or Chat with "is not installed", it now answers with the finder's sentence, which names the places it looked or the reason the program does not start. frontend/src/dock-adapter.ts reads those sentences as the same kind of refusal, one changed test; nothing in frontend/src/dock is touched. The dock's own general sentences for a missing program are left as they are.

Tests that pinned the old lookup were changed for that reason only: the stand-ins in test_agent_programs.py now answer --version (a program that does not is reported as not starting), the fixture that replaced terminal.login_shell is now a made-up home with a stand-in shell because the finder asks the shell itself, and the two sets of program names include antigravity. test_agent_lookup.py is new, written after the behaviour was seen.

Run on Linux, Python 3.13, an engine from source on port 4735 started with env -i, a made-up home, a stand-in login shell, PATH /usr/bin:/bin:/usr/sbin:/sbin and node-style stand-in programs: the four programs found under known folders, then through the shell's PATH, then missing with the list of places, and one that does not start with its error line; Codex, Cursor and Claude Code tabs opened through the routes and read over the stream, each run by the stand-in node beside it; Chat started and answered a message; 404 and 409 with the sentence when the programs were gone. Suite: 195 passed before, 203 after. tsc --noEmit clean.
Not run: the real Claude Code, Codex, Cursor or Antigravity; macOS; Windows; a frozen engine; a real zsh, bash or fish with real rc files; the window in a browser.
… holds both versions

backend/app/services/agent_lookup.py is replaced whole by the copy from FormVis ddc893ae (VERSION 1.0.1, SHA-256 62667f9b68b7d101e1896ce617240424e33b7e498c560bc79d45f0ab26c77d51). Against 1.0.0 two lines differ: the version, and the line that picks a program's error line, which no longer takes env's own hint as the error. Nothing in the file is edited here.

setup/agents.py LOOKUP_HASHES records 1.0.0 and 1.0.1. The test of the changed-file sentence reads the version from the file; it had 1.0.0 written in it, which is the only reason it was changed. The dock_start fixture already removes the six folder variables.

Run on Linux, Python 3.13: the hash of the copied file; agents check clean; the five test files about agents and the panel, 26 passed.
Not run: the real Claude Code, Codex, Cursor or Antigravity; macOS; Windows.
…rograms

backend/tests/conftest.py gives the run, before any test module is imported, a PATH of its own stand-ins folder and the system's four folders, a stand-in login shell as SHELL, and none of the six folder variables the finder reads. An autouse fixture empties the finder's system install folders for every test. The stand-ins answer --version, exit 1 for anything else and write one line per start; the run ends with a line that says how many were started and which.

Run on Linux, Python 3.13, with a decoy folder of my own first on PATH and a stand-in SHELL of my own: the six test files about agents, the panel and the agents kit, 27 passed and 1 skipped, the summary line said 0 starts, and my decoys' log stayed empty. The whole suite is run at the end of the branch.
Not run: macOS, Windows (the guard is skipped where os.name is nt).
…ns an Antigravity tab, and agents install adds FormTxt to Antigravity

frontend/src/dock is the family's shared module 2.2.0, copied whole and byte for byte from FormVis ddc893ae (16 entries with MANIFEST.json; agents.ts is new). The module takes its agent kinds from the adapter: frontend/src/dock-adapter.ts is typed for the fourth kind and lists antigravity among its tabs. Nothing else in the adapter changed.

The engine's tab route takes kind antigravity and starts agy the way it starts Codex and Cursor: found by the family's finder, started through its start path, with the tab's own token in its environment. Antigravity reads its MCP servers from a file, so the tab also gets the entry formtxt_tab (the address and the tab's token) in .agents/mcp_config.json of its working folder. Everything else in that file is kept, the file is the user's alone, and the entry is taken out when the tab closes, when the token also stops being accepted.

Decision: FormTxt's Codex and Cursor tabs run in the open document's folder, and the Cursor tab's file there names variables, never the token. The Antigravity tab runs in a folder of FormTxt's own inside the data folder (agent-tabs/antigravity), so a token is never written beside the person's documents.

./formtxt agents install takes antigravity, and includes it when no client is named. It writes FormTxt's MCP server into ~/.gemini/config/mcp_config.json, keeps everything else, backs the file up and replaces it whole; a second run changes nothing. A server named formtxt that FormTxt did not write is left alone and reported, and so is a file that is not an MCP servers file. When only the path that guides for earlier versions name is there, the documented file is written and the result says the older one was seen and left alone. No skill is copied for Antigravity. ./formtxt agents sync regenerated agents/manifest.json (the panel's tab list).

Seen on an engine from source with a stand-in agy first on PATH (a real agy was never started): the status reported it as running, version 1.2.3; the tab opened through POST /api/terminal/agent and its stream showed the stand-in's banner; the file held its seeded server and key beside formtxt_tab at mode 0600; after the tab was closed the file was exactly as seeded. agents install antigravity was run against a made-up home in seven cases. Tests added after that: four in backend/tests/test_agent_programs.py. backend/tests/test_agent_lookup.py expected 422 for an Antigravity tab and now expects the 404 with the finder's sentence, the only reason it changed. Six test files about agents and the panel: 31 passed, 1 skipped. tsc --noEmit exit 0. agents check clean.
Not run: a real agy; the panel in a browser; a production build; Windows; macOS; the desktop window.
backend/formtxt_engine.py, the file the packaging freezes as the engine, replaces a standard input, output or error stream that is None with the null device, at the very top, before any import of FormTxt's own. A Windows engine built without a console has no streams and the first line it printed stopped it at start; a tester saw that in another Form engine. The way FormWeb's entry does it.

Seen on Linux, Python 3.13: Python started with its three streams closed reports all three as None; the entry started that way on port 4742 with its own data folder answered /api/health with 200, and before the change the same start gave no answer and exit code 1. Started normally on port 4743 it still printed its log lines.
Not run: Windows, a frozen engine. No test added.
…tigravity

The launcher's usage text, the README line for ./formtxt mcp, the agents kit line of CLAUDE.md and two skill pages said Claude Code, Codex and Cursor; they now say Claude Code, Codex, Cursor and Antigravity. The harness skill's line about agent_programs.py also says the programs are found by the family's finder and where an Antigravity tab runs. ./formtxt agents sync mirrored the two skill pages into .agents/skills.

Left alone: the trademark sentence at the foot of README.md and in NOTICE.md, AGENTS.md (it names the config files the repository ships), CHANGELOG and log history, the dock folder.

Checked: ./formtxt agents check clean.
…ck's state test runs again

The guard added four commits ago gave the run a PATH of its stand-ins and the system's four folders. That also took node away, and the test of the dock's state.ts in backend/tests/test_dock_manifest.py skipped where it had run before. The run now gets a tools folder in its sandbox, second on PATH, with one link to the node that was on PATH before it was narrowed. The folder node came from stays off PATH; on this machine it also holds a real claude.

Run on Linux, Python 3.13, with a decoy folder of my own first on PATH and a stand-in SHELL of my own: the whole suite, 207 passed, none skipped; the summary line said 0 stand-in starts and my decoys' log stayed empty.
A minor release: Antigravity as the fourth agent program beside Claude Code, Codex and Cursor, with its tab in the terminal panel and its place in agents install; the four programs found however FormTxt was started; the engine starting when it has no output streams; and a test run that can only find stand-ins. The CHANGELOG entry lists them.

Version sites, the same eleven files as 0.34.0: backend/app/__init__.py, frontend/src/version.ts, frontend/package.json, frontend/package-lock.json (the two fields of this project), src-tauri/Cargo.toml, src-tauri/Cargo.lock (package formtxt), src-tauri/tauri.conf.json, README.md (the badge and the version line), CHANGELOG.md (new entry), and the two header lines of backend/HASHOUT_LOG.md and frontend/HASHOUT_LOG.md. Left alone: setup/mcpb/manifest.json (0.0.0, stamped at build), and the log entries headed "after v0.34.0", which keep the words they were written with.

Not rebuilt: the three browser demo pages (demo, demos/paper, demos/newsletter). They still carry 0.32.0 and the earlier terminal panel.

Checked: tsc --noEmit exit 0; the engine's test suite, 207 passed, with a decoy folder of my own first on PATH whose log stayed empty; ./formtxt agents sync --check and agents check clean; mcpb check; icons --check.
Not run: npm run build, npm audit, cargo metadata, a desktop build, the panel in a browser, a real agent program, macOS and Windows.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 02:30
@nodemode-ai
nodemode-ai merged commit ce28881 into main Nov 20, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the feat/four-agent-programs-0.35.0 branch November 20, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant