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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to formlit. Versions are `v*.*.*`; each release lists what it added, what it fixed and what is not verified yet.

## v0.56.0 · 2026-11-20

- Added: Preferences has a field each for the Codex, Cursor and Antigravity programs, right under the Claude Code one. Leave a field empty and formlit finds the program by itself; type a path and formlit looks there first. The places are protected the same way as your agent access choice, as since 0.55.0. The labels are in every language formlit carries; no native speaker has read them yet.
- Changed: when Codex, Cursor or Antigravity is not found, the message now also says you can give its path in Preferences, as it already did for Claude Code.
- Fixed: in Preferences, saving a Claude Code path that formlit cannot run no longer pushes the fields below it down; nothing in the window moves when Preferences opens or when a value is saved.
- Changed: formlit's colour and layout settings now carry every name the rest of the Form family uses. Nothing looks different.
- Known: the two sentences of the terminal panel's guide that name Codex, Cursor and Antigravity are in English in every language, like the rest of that guide.
- Checked here, on Linux only, with stand-in programs in place of the agent programs. Nothing was run on Windows or macOS, and the desktop app itself was not built on the machine this was written on.

## v0.55.0 · 2026-11-20

- Fixed: on macOS, an engine that has just ended is now seen as gone at once, so a quit or a restart of formlit no longer waits on an engine that is already stopped.
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.55.0" src="https://img.shields.io/badge/version-0.55.0-eef0f4?style=flat-square">
<img alt="version 0.56.0" src="https://img.shields.io/badge/version-0.56.0-eef0f4?style=flat-square">
<img alt="TypeScript" src="https://img.shields.io/badge/TypeScript-7-3178c6?style=flat-square&logo=typescript&logoColor=white">
<img alt="Python" src="https://img.shields.io/badge/Python-3.12-3776ab?style=flat-square&logo=python&logoColor=white">
<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 @@ -140,7 +140,7 @@ cd formlit
On Windows use `formlit.bat install` and `formlit.bat boot`. The engine listens on http://127.0.0.1:8390 (API under `/api`, MCP at `/mcp`); `FORMLIT_DATA_DIR` moves the data root (default `~/Formlit`).

> [!IMPORTANT]
> **Status:** pre-release. The desktop bundle has not been built from a release branch yet, and tethering, printing and Windows terminals are untested on real hardware. See [`docs/PARITY.md`](docs/PARITY.md).
> **Status:** released. FormLit is built and bundled for macOS, Windows and Linux and has been tested on all three. Where it trails its reference is listed in [`docs/PARITY.md`](docs/PARITY.md).

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

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ check whether the problem is still there.

| Version | Supported |
| --- | --- |
| 0.55.x (latest release) | Yes |
| 0.56.x (latest release) | Yes |
| Anything older | No |

## Reporting a vulnerability
Expand Down
9 changes: 8 additions & 1 deletion backend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Living log of all comment content, explainers, rationale, TODOs and removed code for the engine. Source files stay comment-free; everything they would have said lives here, indexed. Read this first, then edit code surgically.

Current build version: v0.55.0
Current build version: v0.56.0
Last updated: 2026-11-17 · unreleased: overlay.sharpen views, missingModel on 409 answers with model choices, BiRefNet and SAM 2.1 base plus as the recommended selection models, removable and card flags on file roots and camera roots (#review-gaps); camera import, bundled Lensfun profiles and DCP checks merged from feat/camera-import-profiles (#camera-import-profiles). Before: 2026-11-11 · v0.51.3 a failed move to the Trash leaves no copy behind; a cached thumbnail or preview removed while it is read no longer fails the request; setup picks Python by the interpreter's own architecture, native first on Apple silicon (#v0-51-3). Before: 2026-11-10 · v0.51.2 the i18n review covers the demo strings; clean --all removes the venv on Windows whatever else is there; the MCP status names the engine's real port; chat and first messages that start with a dash reach Claude Code as text; FTP makes relative remote folders; eject after import works on Windows; tethered and auto-imported shots count {seq} on; virtual copies follow their master in a copying catalog import; agents install writes a valid Codex config on Windows; session settings find their photos on Windows; video exports check collisions under the name they write; exports stack with their own originals; Rename and Move commit the files that went through when one fails; TIFF orientation and planar TIFFs read one way; agents cannot change the consent and program preferences or open a demo through run_command; TIFF and DNG leave non-ASCII text out of their ASCII tags; Delete from Disk moves each file before it removes the photo (#v0-51-2). Before: 2026-11-10 · v0.51.1 no engine changes (version string only). Before: 2026-11-09 · v0.51.0 demo.open builds the three browser demos as new demo catalogs under Formlit/Demos (#demo-open), _switch_catalog takes publish. Before: 2026-11-07 · v0.50.0 the Form extension host (formext_host.py vendored, cmd_extensions, the extensions router, the files-route guard exemption for GET and HEAD, extensions_list and extension_command); v0.49.3 no backend changes (version string only); v0.49.2 no backend changes (version string only); v0.49.1 no backend changes (version string only); v0.49.0 no backend changes (version string only); 2026-11-05 · v0.48.0 the engine install makes its environment with the same Python choice as the rest of setup (3.13 or 3.12 on Intel Macs), and remakes one an Intel Mac made with 3.14; v0.47.9 the install picks Python 3.12 to 3.14 (3.13 on Intel Macs) and Intel Macs pin the last libraries with Intel builds; 2026-11-04 · v0.47.8 no engine changes (the folder-removal test looks the folder up by its resolved path, as the importer stores it, so it passes on macOS where the temp folder is under the /var symlink); v0.47.7 no engine changes (README in the Form family template, Mackin's #6, merged with main); v0.47.6 no engine changes (version string only); 2026-11-03 · v0.47.5 no engine changes (version string only); 2026-10-31 · v0.47.4 .js, .mjs and .css keep their types on Windows, ffmpeg arrives on first run, the Linux packages pull in the media plugins; 2026-10-30 · v0.47.3 no engine changes (Windows desktop build passes --config, macOS OpenCV pinned, .gitattributes); 2026-10-26 · v0.47.1 the family test suite, no engine changes; 2026-10-23 · v0.46.2 Intelligent Previews and Adaptable preset groups with every built-in id kept (builtin_id), five presets retuned; v0.46.1 no engine changes (releases move to formcompiler, version string only); v0.46.0 no engine changes (the app icon was redrawn, see the frontend log); v0.45.3 no engine changes (LCM DreamShaper and MI-GAN fills measured against LaMa in Remove and not kept; for MI-GAN the mask is 255 to keep, the hole is not blanked, and input must be sRGB: RESEARCH_GENFILL.md); v0.45.2 no engine changes (the SD 1.5 Detail pass was built, measured softer than LaMa and not kept: RESEARCH_GENFILL.md in the sidecar); v0.45.1 no engine changes (generative fill researched and not added: see the sidecar's RESEARCH_GENFILL.md); v0.45.0 Same Surface and Same Depth sample windows, develop.sampleDepth; v0.44.0 Keep Lines for Remove (lines_fill, keep_lines), brush Edge Snap; v0.43.0 control maps (ai.controlMaps, get_control_maps), Remove from the same surface; v0.42.2 no engine changes; v0.42.1 no engine changes; v0.42.0 678 researched presets (978 built in), preset zip packs and group export, Edge Range masks, Remove from the same depth; v0.41.1 no engine changes; v0.41.0 the learned style calibrates itself per control on the person's edits; v0.40.0 PDF/X-1a:2001 passing the preflight gem, Check My Style, the i18n review round trip; v0.39.0 PDF/X-1a with embedded fonts and a self-check, shadows hidden behind the subject; v0.38.0 per-window blend exposure, SFTP, freeze collects all modules, Remove sample-from area, low-sun shadows, CMYK books; v0.37.0 KDP inside margin by page count, proofing pick limit, Send by FTP after export; v0.36.0 Apply My Style (develop.applyStyle, apply_my_style), collapsed-stack filtering, describe smart rule, skin maxSize; v0.35.1 new imports indexed for search; v0.35.0 book PDFs for Lulu, Amazon KDP and IngramSpark; v0.34.1 no engine changes (its user-facing strings are in the window's translation catalogs); v0.34.0 remove controls (shadows and reflections, seeded Refresh, plainest first), remove_object; v0.33.0 flash and window blending, ai.flashBlend, merge_flash_blend; v0.32.0 batch skin retouching, retouch.skin, retouch_skin; v0.31.0 search by description and Find Similar (SigLIP), search.* commands, two MCP tools; v0.30.2 astro sky line at full size, landscape aligned when the camera moved; v0.30.1 astro alignment for wide lenses, checked on a real time-lapse; v0.30.0 client proofing without accounts, astro check on a real photo; v0.29.0 astro stacking; v0.28.0 sessions, settings kept in the session folder, rendered exports without the recipe, MCP session tools; v0.27.0 the learned denoiser (SCUNet); v0.26.3 edge points on AI masks, develop.maskOutline; v0.26.2 hair and skin parts from the parts model, each person apart with the instances model, fills on a crop; v0.26.1 the model features on their real models, four fixes; v0.26.0 skin-tone uniformity, develop.skinPick; v0.25.0 focus stacking; v0.24.0 adjustment layers, addLayer and setLayer; v0.23.0 refine, shift and feather on AI mask components, the refine op; v0.22.0 code replacements, caption variables, required fields; v0.21.0 per-face cull scores, cull.groups, get_cull_groups; v0.20.0 no engine changes; v0.19.0 chat token usage, tool-result images, chat.sessions and chat.adopt, claudecode.open resume; v0.18.0 no engine changes; v0.17.0 photo ids on chat tool events; v0.16.0 chat text, context and note, Stop verified; v0.15.0 the Chat tab's chat.* commands; v0.14.0 Claude Code settings from preferences; v0.13.0 no engine changes; v0.12.0 show_in_window reference; v0.11.0 shoot recipes, templates, noise reduction by ISO, export presets, {shoot} at import; v0.10.0 professional workflow prompts, pro ingest, Refine Photos, version tools, 300 presets; v0.9.1 face-part model requirement, empty masks refused, model pins verified; v0.9.0 match_look, reports on writes, set analysis, save_preset, part masks, a forgiving run_command, 66 more presets; v0.8.0 photo analysis, 134 researched presets, preset previews and search, broken built-in profiles, scaled hues and curves; v0.7.0 the terminal, Claude Code in formlit, the in-app consent token, modern list fields; v0.6.0 outside-agent consent, MCP sessions, the sidecar port; v0.3.4 the preview deadlock, keyword and stack integrity, value ranges; v0.3.3 previews read before answering, search operators; v0.3.2 originals protected, undo moves files, typed parameters, sanitized settings; v0.3.0 look tables, maker notes, DCP baselines, the frozen engine

---
Expand Down Expand Up @@ -2287,6 +2287,13 @@ A Windows program built without a console starts with `sys.stdin`, `sys.stdout`

Seen on Linux, where closing the streams (`python formlit_engine.py >&- 2>&-`) also leaves the three as `None`: the entry as it was before this change stopped with exit code 1 and never answered `/api/health`; with the change it answers. Started normally it still prints uvicorn's log, before and after. Not run on Windows and not as a frozen engine. No test added: the suite's engine fixture starts uvicorn directly and not this entry.

### app/engine/claude_code.py · otherwise
- refers-to: app/engine/claude_code.py :: otherwise; tests/test_dock_contract.py :: test_a_missing_program_comes_with_its_install_line
- kind: feat
- logged: unreleased · 2026-11-20

Preferences now has a field for the Codex, Cursor and Antigravity programs beside the Claude Code one (frontend log, #prefs-four-programs), so the sentence for a program that is not found or does not start ends with "give its path in Preferences" for all four, not only for Claude Code. `otherwise` returns the clause for every kind the finder knows (`agent_lookup.PROGRAMS`) and nothing for any other. The test asserts the ending for Codex, Cursor and Antigravity as it did for Claude Code; `test_dock_contract.py` and `test_window_key.py` 43 passed.

## Files with no entries {#no-entries}

No logged content at v0.1.0 for: `app/__init__.py`, `app/main.py`, `app/engine/events.py`, `app/engine/tasks.py`, `app/engine/query.py`, `app/engine/records.py`, `app/develop/settings.py`, `app/develop/geometry.py`, `app/develop/planes.py`, `app/develop/retouch.py`, `app/develop/colorops.py`, `app/develop/colour.py`, `app/develop/curves.py`, `app/develop/auto.py`, `app/develop/camera_look.py`, `app/develop/lensprofile.py`, `app/develop/fringe.py`, `app/develop/output.py`, `app/ai/models.py`, `app/ai/nets.py`, `app/ai/parts.py`, `app/ai/cull.py`, `app/ai/upright.py`, `app/ai/dng.py`, `app/output/icc.py`, `app/output/web.py`, `app/services/importer.py`, `app/services/metadata.py`, `app/services/xmp_presets.py`, `app/services/xmpwrite.py`, `app/services/xmpembed.py`, `app/services/rename.py`, `app/services/lensdb.py`, `app/services/watch.py`, `app/services/catalog_io.py`, and the remaining routers.
2 changes: 1 addition & 1 deletion backend/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""formlit engine: the catalog, the develop pipeline's reference renderer, import, export and the agent surface."""

__version__ = "0.55.0"
__version__ = "0.56.0"
2 changes: 1 addition & 1 deletion backend/app/engine/claude_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def setting(kind: str) -> str | None:


def otherwise(kind: str) -> str:
return "give its path in Preferences" if kind == "claude" else ""
return "give its path in Preferences" if kind in agent_lookup.PROGRAMS else ""


def located(kind: str, fresh: bool = False) -> agent_lookup.Found:
Expand Down
1 change: 1 addition & 0 deletions backend/tests/test_dock_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def test_a_missing_program_comes_with_its_install_line(client, none_found):
assert found[kind] == found[kind] | {"installed": False, "path": None, "version": None, "signedIn": None, "finding": "missing"}
assert found[kind]["install"] and found[kind]["install"] in found[kind]["said"]
assert found[kind]["looked"][:2] == ["your setting (empty)", "PATH (/usr/bin:/bin)"] and "~/.local/bin" in found[kind]["looked"][2]
assert found[kind]["said"].endswith(", or give its path in Preferences.")
assert found["claude"]["looked"][0] == "your setting (empty)" and found["claude"]["said"].endswith(", or give its path in Preferences.")
reply = run(client, "terminal.openAgent", {"kind": "codex"})
assert reply.status_code == 400 and reply.json()["error"] == found["codex"]["said"]
Expand Down
2 changes: 1 addition & 1 deletion demo/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Rationale, decisions and removed or never-written comments for the offline demo. Source files stay comment-free.

Current build version: v0.55.0
Current build version: v0.56.0

## Why a TypeScript port of the pipeline

Expand Down
Loading
Loading