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
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ Versions follow `v*.*.*` with dots. Dates are UTC. From 1.50.1 the last number r

The app was renamed formvis at 1.50.5; its projects were `.fmv` until 1.87.0 and are `.fvd` since. The entries below read with the new name throughout; the git history keeps the former one.

## 2.8.5 · 2026-11-29

Hardening of how outside agents and formvis's own command line reach the engine, safer file writes, and two fixes to library names.

### Changed

- formvis's command line (`./formvis cli`) is now recognised by a key the engine makes each time it starts and writes to `cli.key` in its data folder, readable by your account only and removed when the engine stops. With that key the command line is not asked about converting files (you name them, and a file is replaced only with `--overwrite`) or running a command (one that undo cannot reverse runs only with `--yes`). A program that only gives the command line's name is treated like any other outside agent.
- The command line finds the data folder the engine uses, including one set by `FORMVIS_DATA_DIR` or `FORMVIS_PORTABLE` in `backend/.env`.
- The saved choices for outside agents (Preferences > Plugins) now cover Blocked and the folder limits too. Choices that no longer match their seal are reported, and outside agents are set to Blocked until you choose again.
- A choice saved by an earlier formvis is sealed again the first time this version starts, with Outside agents set to Blocked. Set it back in Preferences > Plugins if you had it open.
- On Windows, agent programs installed through npm are started directly instead of through the command interpreter, and any other launcher is refused when its words hold characters the command interpreter would read specially. The message says to pass long text through standard input or a file.

### Fixed

- The ComfyUI views that read from a ComfyUI server (status, graph, upscale models, jobs and images) take the same window check as the ones that write to it.
- Files written by agent tools (convert, export, save, mask and layer export, timeline render) are written beside the target and then renamed over it, as the window's own saves are, so a failed write no longer leaves an empty file.
- Moving the library to a new folder picks a free name for each project whose name is already taken there (`name (moved)`, then `name (moved 2)` and on), instead of replacing one.
- Save to Library and Save a Copy ask before replacing a project whose name differs only in letter case, and ignore spaces at the ends of a name, as the engine does.
- The engine's tests keep to a home folder of their own on every system.

## 2.8.4 · 2026-11-29

A long menu now shows that it has more options below.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</p>

<p align="center">
<img alt="version 2.8.4" src="https://img.shields.io/badge/version-2.8.4-eef0f4?style=flat-square">
<img alt="version 2.8.5" src="https://img.shields.io/badge/version-2.8.5-eef0f4?style=flat-square">
<img alt="TypeScript" src="https://img.shields.io/badge/TypeScript-Vite-3178c6?style=flat-square&logo=typescript&logoColor=white">
<img alt="Python" src="https://img.shields.io/badge/Python-FastAPI-3776ab?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">
Expand Down
4 changes: 2 additions & 2 deletions backend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Living log for the engine service side, _v0.1.0. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.

## The command line is known by a key the engine writes, not by its name · after 2.8.3, unreleased (core/cli_key.py new; main.py lifespan; routers/mcp.py _from_cli; setup/cli.py ROOT, KEY_FILE, KEY_HEADER, engine_setting, data_folder, cli_key, headers, call, serve_request; tests/test_cli_key.py new; docs/MANUAL.md; .docs/wiki/Agents.md)
## The command line is known by a key the engine writes, not by its name · _v2.8.5 (core/cli_key.py new; main.py lifespan; routers/mcp.py _from_cli; setup/cli.py ROOT, KEY_FILE, KEY_HEADER, engine_setting, data_folder, cli_key, headers, call, serve_request; tests/test_cli_key.py new; docs/MANUAL.md; .docs/wiki/Agents.md)

- Kind: fix · logged 2026-11-29.
- Why: `_from_cli` took any plain HTTP call with `X-Formvis-Client: formvis-cli` as the command line, and that skips the Ask question for `convert_file` and `run_command`. Any local program can send that header.
Expand All @@ -13,7 +13,7 @@ Living log for the engine service side, _v0.1.0. Read the map and the TOC first;
- Not covered: a frozen portable engine (FormvisData beside the installed program) is found by the command line only through FORMVIS_DATA_DIR. On Windows the file mode is not an access list; the key relies on the per-user data folder there.
- Seen: tests/test_cli_key.py here on macOS; two of its tests fail on the earlier `_from_cli`. Not run: Windows.

## Hardening of the ComfyUI reads, the agent seal, the agent file writes, the library move and the Windows starter · after 2.8.4, unreleased (routers/comfyui.py status, last_graph, upscale_models_route, job, image; core/seal.py SEALED, EARLIER, VERSION, check, sign; services/agents.py _load; routers/mcp.py _convert, _run; routers/projects.py _free_beside, set_folder; services/agent_lookup.py shim_target, cmd_safe, start_argv, VERSION; setup/agents.py LOOKUP_HASHES)
## Hardening of the ComfyUI reads, the agent seal, the agent file writes, the library move and the Windows starter · _v2.8.5 (routers/comfyui.py status, last_graph, upscale_models_route, job, image; core/seal.py SEALED, EARLIER, VERSION, check, sign; services/agents.py _load; routers/mcp.py _convert, _run; routers/projects.py _free_beside, set_folder; services/agent_lookup.py shim_target, cmd_safe, start_argv, VERSION; setup/agents.py LOOKUP_HASHES)

- Kind: fix · logged 2026-11-29.
- **ComfyUI.** The GET routes that reach a ComfyUI server (`/status`, `/graph`, `/upscale-models`, `/job/{job}`, `/image`) attach the sign-in saved in Preferences > Plugins, and GETs pass `WindowKeyGuard`. Each now calls `window_key.require(request)`; the window already sends the key on every request. `upscale_models(target)` stays a plain function for `/upscale`, and the route is `upscale_models_route`.
Expand Down
2 changes: 1 addition & 1 deletion backend/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
except ImportError:
pass

__version__ = "2.8.4"
__version__ = "2.8.5"
325 changes: 168 additions & 157 deletions demo/assets/demo.js

Large diffs are not rendered by default.

433 changes: 222 additions & 211 deletions demos/design/assets/design.js

Large diffs are not rendered by default.

325 changes: 168 additions & 157 deletions demos/retouch/assets/retouch.js

Large diffs are not rendered by default.

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

Living log for the frontend side, _v0.1.0. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.

## A library save compares names without letter case · after 2.8.4, unreleased (io/library-names.ts sameLibraryName, libraryHas; app.ts saveCore, the Save a Copy path)
## A library save compares names without letter case · _v2.8.5 (io/library-names.ts sameLibraryName, libraryHas; app.ts saveCore, the Save a Copy path)

- Kind: fix · logged 2026-11-29.
- macOS and Windows file systems treat `Poster.fvd` and `poster.fvd` as one file, and the engine's `/projects/save` with no base version replaces what is there. Removed from both places, quoted: `const taken = (await api.library().catch(() => [])).some((i) => i.name === name);`. Save to Library now uses `libraryHas(items, name, p.libraryName ?? null)` (the document's own project is not counted), and Save a Copy `libraryHas(items, name)`; both compare NFC lower case with the ends trimmed, as the engine trims a library name.
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": "formvis",
"private": true,
"version": "2.8.4",
"version": "2.8.5",
"description": "formvis · layered image editor in the NodeMode style",
"license": "Apache-2.0",
"type": "module",
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 = '2.8.4';
export const VERSION = '2.8.5';
1 change: 1 addition & 0 deletions packaging/linux/ai.nodemode.formvis.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</provides>
<content_rating type="oars-1.1"/>
<releases>
<release version="2.8.5" date="2026-11-29"/>
<release version="2.8.4" date="2026-11-29"/>
<release version="2.8.3" date="2026-11-29"/>
<release version="2.8.2" date="2026-11-26"/>
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 = "formvis"
version = "2.8.4"
version = "2.8.5"
description = "formvis 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": "FormVis",
"version": "2.8.4",
"version": "2.8.5",
"identifier": "ai.nodemode.formvis",
"build": {
"frontendDist": "../frontend/dist"
Expand Down
Loading