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
2 changes: 1 addition & 1 deletion .agents/skills/formpdf-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Does PDF work with formpdf through its MCP server. Use whenever th
license: Apache-2.0
metadata:
author: formpdf
version: "0.65.0"
version: "0.66.0"
---

# formpdf harness
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/formpdf-skillset/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Guides development of the formpdf codebase: its FastAPI engine, va
license: Apache-2.0
metadata:
author: formpdf
version: "0.65.0"
version: "0.66.0"
---

# formpdf skillset
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formpdf-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Does PDF work with formpdf through its MCP server. Use whenever th
license: Apache-2.0
metadata:
author: formpdf
version: "0.65.0"
version: "0.66.0"
---

# formpdf harness
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formpdf-skillset/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Guides development of the formpdf codebase: its FastAPI engine, va
license: Apache-2.0
metadata:
author: formpdf
version: "0.65.0"
version: "0.66.0"
---

# formpdf skillset
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
</p>

<p align="center">
<img alt="version 0.65.0" src="https://img.shields.io/badge/version-0.65.0-eef0f4?style=flat-square">
<img alt="version 0.66.0" src="https://img.shields.io/badge/version-0.66.0-eef0f4?style=flat-square">
<img alt="Python" src="https://img.shields.io/badge/python-3.12%2B-3776ab?style=flat-square&logo=python&logoColor=white">
<img alt="TypeScript" src="https://img.shields.io/badge/typescript-vite-3178c6?style=flat-square">
<img alt="macOS, Windows, Linux" src="https://img.shields.io/badge/macOS%20%C2%B7%20Windows%20%C2%B7%20Linux-native-2f7bf5?style=flat-square">
<img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-3a3a3a?style=flat-square">
<img alt="Status: pre-release" src="https://img.shields.io/badge/status-pre--release-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 @@ -149,7 +149,7 @@ cd formpdf
| `FORMPDF_ENGINE_WINDOWED` | On Windows the engine is frozen with no console window; set to `0` before `setup/freeze_backend` to keep the console |

> [!IMPORTANT]
> **Status:** pre-release. Gaps include hosted sharing, form JavaScript beyond the standard AcroForm functions and print production (CMYK, flattening). See [`docs/PARITY.md`](docs/PARITY.md).
> **Status:** released. FormPDF is built and bundled for macOS, Windows and Linux and has been tested on all three. Gaps include hosted sharing, form JavaScript beyond the standard AcroForm functions and print production (CMYK, flattening). See [`docs/PARITY.md`](docs/PARITY.md).

**Contributing:** branch from `main`, keep changes to source here, and leave packaging and releases to FormCompiler. See [`CLAUDE.md`](CLAUDE.md) and [`AGENTS.md`](AGENTS.md).

Expand Down
8 changes: 8 additions & 0 deletions backend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -911,3 +911,11 @@ Entry 129's folders go when their tab closes. When the engine ends without closi
Seen: the test opens a real tab with the stand-in `agy` beside five folders (one the app made with an entry and a half-written part file, one the app made and empty, one the app made holding a person's file, one with a name FormPDF does not use, one a link to a folder elsewhere): the two the app made are swept; the open tab's folder and file are byte for byte as they were; the person's file stays with the entry gone; the other two are untouched; a second sweep finds nothing. And at a real start: two leftover folders made with the app's functions in a scratch data folder, then `uvicorn app.main:app` started and stopped in one script: after the start the empty one was gone and the one holding `notes.txt` held only that.

Ran: `tests/test_dock_contract.py` 14 passed.

## 136. The terminal help names all four agent programs · _v0.66.0, logged 2026-11-20 (formpdf help; formpdf.bat help; setup/agents.py install's next steps)

kind: change · logged: v0.66.0 · 2026-11-20

Entry 134's wave made every sentence in the window that lists the agent programs name Claude Code, Codex, Cursor and Antigravity. Three lines printed in a terminal still named three: the `agents install|sync` line of `./formpdf help` and of its twin `formpdf.bat help`, and the second of the next steps `./formpdf agents install` prints ("Open Claude Code, Codex or Cursor in ..."). They now name the four, in that order. The install already sets up Antigravity for the user (`install_antigravity_user`), and Antigravity reads that user file wherever it is opened, so the next step is true as written. The `agents` usage text already named Antigravity ("and Antigravity for this user") and was left.

Ran: `bash -n formpdf`; `./formpdf help` shows the new line; `formpdf.bat` by reading (the `^|` escape kept); `python -m py_compile setup/agents.py`; `setup/agents.py install` in a scratch copy of the tree with a scratch home and caller folder printed the new step 2.
2 changes: 1 addition & 1 deletion backend/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.65.0"
__version__ = "0.66.0"
2 changes: 1 addition & 1 deletion demo/assets/demo.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo/assets/demo.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo/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 demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "formpdf-demo",
"private": true,
"version": "0.65.0",
"version": "0.66.0",
"description": "formpdf offline browser demo",
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion demos/protect/assets/protect.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion formpdf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ usage: ./formpdf [command] [options]
desktop dev|build run or bundle the desktop app
doctor check the toolchain, installs and ports
mcp formpdf over MCP's stdio transport, for Claude Desktop and other MCP clients
agents install|sync set up Claude Code, Codex and Cursor (install), or refresh the skills (sync)
agents install|sync set up Claude Code, Codex, Cursor and Antigravity (install), or refresh the skills (sync)
run <action> [args] a PDF job headlessly, without the window (./formpdf run actions lists them)
cli list|describe|run the window's commands: list them, describe one, run one in the open window
claude [args] Claude Code in this terminal with formpdf's MCP tools attached
Expand Down
2 changes: 1 addition & 1 deletion formpdf.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ echo freeze freeze the backend into the Tauri sidecar binary
echo desktop dev^|build run or bundle the desktop app
echo doctor check the toolchain, installs and ports
echo mcp formpdf over MCP's stdio transport, for Claude Desktop and other MCP clients
echo agents install^|sync set up Claude Code, Codex and Cursor (install), or refresh the skills (sync)
echo agents install^|sync set up Claude Code, Codex, Cursor and Antigravity (install), or refresh the skills (sync)
echo run ^<action^> [args] a PDF job headlessly, without the window (formpdf.bat run actions lists them)
echo cli list^|describe^|run the window's commands: list them, describe one, run one in the open window
echo claude [args] Claude Code in this terminal with formpdf's MCP tools attached
Expand Down
11 changes: 11 additions & 0 deletions frontend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -952,3 +952,14 @@ kind: change · logged: v0.65.0 · 2026-11-20
Under "Claude Code program" the Agents part of Preferences now has "Codex program", "Cursor program" and "Antigravity program", each with the same "Leave empty to find it automatically" placeholder. They are filled from `/api/settings` and saved on change through the same loop as the Claude Code field, so they go to the sealed choice the backend keeps (backend HASHOUT 134). The three labels are in each of the 23 full tables, right after "Claude Code program", built the way each table builds that label; no native speaker has read them.

Ran: `setup/i18n.py parity`: 2503 keys (three more), every full table three entries more, missing and stale counts unchanged.

## 136. Every FormVis token name resolves, and the one differing shared value takes FormVis's · _v0.66.0, logged 2026-11-20 (styles/tokens.css)

kind: change · logged: v0.66.0 · 2026-11-20

The family's design alignment, values pass: FormVis's token names are the family's names. `tokens.css` defined 133 of FormVis's 154; it now defines all 154. The one shared name whose value differed, `--text-muted` (#8a8a8b), takes FormVis's #717072. Every theme profile in `themes.ts` and in the boot table of `index.html` sets `--text-muted` on the root before first paint (Studio Dark's is already #717072), so this changes only the value under no profile.

Added with FormVis's values, because FormPDF had no such token: `--z-under` -1, `--z-local-2` 2, `--z-local-4` 4, `--z-local-5` 5, `--cv-rail-w`, `--cv-layers-w`, `--cv-row-h`, `--cv-thumb`, `--cv-checker-a`, `--cv-checker-b`, `--cv-ants-a`, `--cv-ants-b`, `--cv-pixel-grid`, `--cv-handle-fill`, `--cv-doc-edge`, `--cv-action-blue`, `--cv-action-violet`. Nothing in FormPDF uses them yet. Added with FormPDF's own values, because FormPDF has the corresponding token and its layout must not move: `--cv-titlebar-h` 44px (FormVis 40), `--cv-tabs-h` 32px (FormVis 34), `--cv-status-h` 28px (same), `--cv-options-h` 44px (FormVis 40: FormPDF's options row under its tabs). FormPDF's names are now aliases of them: `--fs-titlebar-h: var(--cv-titlebar-h)`, `--fs-tabs-h: var(--cv-tabs-h)`, `--fs-status-h: var(--cv-status-h)`, and `--fs-options-h` stays the tabs and the options row together, `calc(var(--fs-tabs-h) + var(--cv-options-h))`. The rules that set FormPDF's names elsewhere (`--fs-titlebar-h: 38px` under the macOS overlay title bar in `shell.css`, `--fs-options-h: 0px` in the viewer in `pdf.css`) are untouched and still win where they did. FormPDF's own names with no FormVis counterpart stay as they were: `--z-page-layer`, `--z-page-pop`, `--z-float`, `--z-dock`, `--fs-pasteboard`, `--shadow-ink`, `--redact-ink`. Accent, base font size and every z-index value unchanged.

Seen: the built window of the tree before and after, each with its own engine, in Studio Dark, Light and AMOLED Black at 1440x900: Start, the Pages and search demo in the viewer (the page and the page list), the File menu open, and Preferences. The computed value of all 165 names on the root and on the workbench, before and after: the only differences are the 21 new names (empty before). `--text-muted` reads #717072 in Studio Dark, #8b887a in Light and #858585 in AMOLED Black, before and after. Pixel differences: 0 in 10 of the 12 pairs; Studio Dark File menu 187 pixels (a small red count badge drawn over the Print tab in one run only) and AMOLED Black Preferences 3071 pixels (the blurred glow behind the dialog's backdrop at the top): both are timing in the window behind, no colour of a token. No console error in either run.

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": "formpdf",
"private": true,
"version": "0.65.0",
"version": "0.66.0",
"description": "formpdf · a PDF editor in the form family",
"license": "Apache-2.0",
"type": "module",
Expand Down
31 changes: 26 additions & 5 deletions frontend/src/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--border-light: #34333a;
--text-primary: #f7f7f7;
--text-secondary: #a4a4a4;
--text-muted: #8a8a8b;
--text-muted: #717072;
--canvas-bg: #1c1b1d;
--grid-color: #5e5e60;
--node-shadow: 0 6px 18px rgba(0,0,0,0.45);
Expand Down Expand Up @@ -122,9 +122,13 @@
--brand-orange: #f97316;
--redact-ink: #000000;

--z-under: -1;
--z-base: 0;
--z-page-layer: 1;
--z-page-pop: 2;
--z-local-2: 2;
--z-local-4: 4;
--z-local-5: 5;
--z-raised: 8;
--z-selected: 9;
--z-rail: 10;
Expand Down Expand Up @@ -194,10 +198,27 @@ body.animations-disabled * { transition: none !important; animation: none !impor
body.nm-home .nm-canvas-surface { display: none !important; }

:root {
--fs-titlebar-h: 44px;
--fs-tabs-h: 32px;
--fs-options-h: calc(var(--fs-tabs-h) + 44px);
--fs-status-h: 28px;
--cv-titlebar-h: 44px;
--cv-options-h: 44px;
--cv-tabs-h: 32px;
--cv-status-h: 28px;
--cv-rail-w: 52px;
--cv-layers-w: 288px;
--cv-row-h: 40px;
--cv-thumb: 30px;
--cv-checker-a: #ffffff;
--cv-checker-b: #cccccc;
--cv-ants-a: #000000;
--cv-ants-b: #ffffff;
--cv-pixel-grid: rgba(128, 128, 140, 0.35);
--cv-handle-fill: #ffffff;
--cv-doc-edge: rgba(0, 0, 0, 0.55);
--cv-action-blue: #3b82f6;
--cv-action-violet: #8b5cf6;
--fs-titlebar-h: var(--cv-titlebar-h);
--fs-tabs-h: var(--cv-tabs-h);
--fs-options-h: calc(var(--fs-tabs-h) + var(--cv-options-h));
--fs-status-h: var(--cv-status-h);
--fs-pasteboard: var(--canvas-bg);
--z-toast: 3000;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.65.0';
export const VERSION = '0.66.0';
2 changes: 1 addition & 1 deletion setup/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def install(dry: bool) -> int:
print(f"""
Next:
1. Start formpdf: ./formpdf (the window at http://localhost:5198; the engine at http://127.0.0.1:{PORT}).
2. Open Claude Code, Codex or Cursor in {where} and approve the formpdf MCP server
2. Open Claude Code, Codex, Cursor or Antigravity in {where} and approve the formpdf MCP server
(Claude Code: /mcp; the formpdf-stdio entry starts the engine itself when it is not running).
3. Ask: "Use formpdf: add page numbers and a CONFIDENTIAL watermark to ./report.pdf". The first change asks you once, in the formpdf window, to allow agents.""")
return 0
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

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

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "formpdf"
version = "0.65.0"
version = "0.66.0"
description = "formpdf desktop shell"
authors = ["NodeAgentc, Inc."]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "FormPDF",
"version": "0.65.0",
"version": "0.66.0",
"identifier": "ai.nodemode.formpdf",
"build": {
"frontendDist": "../frontend/dist"
Expand Down
Loading