Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a9ffe9e
fix(agents): only the formencoder window can change things, answer pr…
nodemode-ai Nov 19, 2026
6218e4d
fix(agents): only the window can change the preferences that pick a p…
nodemode-ai Nov 19, 2026
2725e9e
fix(ffmpeg): download from formai-binaries, falling back to formcut-b…
nodemode-ai Nov 19, 2026
f8bd4b3
docs(agents): state the real counts: 29 curated tools, 125 in the ful…
nodemode-ai Nov 19, 2026
113a952
fix(engine): outputs and inputs are local files, never an address or …
nodemode-ai Nov 19, 2026
8638880
fix(window): a reload uses the kept window key before asking the boot…
nodemode-ai Nov 19, 2026
845467a
fix(shell): the engine gets as long to start as before; the 10 second…
nodemode-ai Nov 19, 2026
1fc7d2d
test(ffmpeg): the error names both addresses when both fail
nodemode-ai Nov 19, 2026
973b643
feat(agents): tell the person when the saved agent permission was cha…
nodemode-ai Nov 19, 2026
1b941d5
feat(theme): AMOLED Black, a true-black theme for OLED screens
nodemode-ai Nov 19, 2026
dafc610
feat(agents): agents/manifest.json says what the app offers agents
nodemode-ai Nov 19, 2026
90c74e5
fix(agents): FORMENCODER_AGENTS can block outside agents but can no l…
nodemode-ai Nov 19, 2026
caff237
docs(demos): the demo READMEs say sixteen themes
nodemode-ai Nov 19, 2026
506af7b
docs: formcompiler is under nodemode-dev
nodemode-ai Nov 19, 2026
3eba669
docs(wiki): the Parity links point to docs/PARITY.md
nodemode-ai Nov 19, 2026
9fc0cb6
feat(agents): the permission question can be answered once, says what…
nodemode-ai Nov 19, 2026
61398c4
feat(terminal): Claude Code, Codex and Cursor as engine-started tabs …
nodemode-ai Nov 19, 2026
ad13e47
chore(release): 0.9.0
nodemode-ai Nov 19, 2026
4a62c98
feat(dock): the family's shared dock module 2.1.0 is in the tree, unc…
nodemode-ai Nov 20, 2026
de0fb09
feat(dock): the Terminal panel is the family's shared dock, with tabs…
nodemode-ai Nov 20, 2026
9c09be0
feat(agents): a question is withdrawn when its caller goes away, tabs…
nodemode-ai Nov 20, 2026
6bc616a
docs(dock): the logs say how the Terminal panel became the shared doc…
nodemode-ai Nov 20, 2026
e2350c0
feat(agents): the agent programs are found by the family's finder 1.0…
nodemode-ai Nov 20, 2026
1aec7f9
test(agents): the whole test run finds only stand-in agent programs
nodemode-ai Nov 20, 2026
50691ed
feat(dock): the family's shared dock module is 2.2.0, unchanged
nodemode-ai Nov 20, 2026
4f4a205
feat(agents): formencoder opens an Antigravity tab, and agents instal…
nodemode-ai Nov 20, 2026
9b8d25d
fix(engine): the engine starts when it has no output streams
nodemode-ai Nov 20, 2026
480c7f7
docs(agents): the texts name four agent programs: Claude Code, Codex,…
nodemode-ai Nov 20, 2026
f8b47ef
chore(release): 0.10.0
nodemode-ai Nov 20, 2026
0ce1120
fix(functions): a function call refuses a pixel aspect value with any…
nodemode-ai Nov 20, 2026
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/formencoder-harness/references/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Generated from the formencoder engine by `./formencoder agents sync`; do not edit by hand.

The `formencoder` MCP server has 29 curated tools, listed here, plus one tool per engine command named from its id (`queue.addSource` is `queue_add_source`; commands.md gives every name). `./formencoder mcp` serves them over stdio (it starts the engine when it is not running); the engine also serves them over Streamable HTTP at `http://127.0.0.1:8270/mcp`. A profile chooses what a client lists: `--profile full` (curated plus every command tool; Claude Code and Codex), `--profile core` (the curated tools only; Cursor) or `--profile core,queue,preset` (curated plus those namespaces); over HTTP pass `?profile=`. Every tool can be called by name whatever the profile. Resources: `formencoder://status`, `queue`, `presets`, `formats`, `encoders`, `commands`, `log/encoding`, `log/error`, `guide/[topic]`, and the templates `output/[id]`, `preset/[id]`, `format/[id]`, `command/[id]`. Prompts: `workflow`, `youtube_version`, `broadcast_master`, `proxies`, `review_copy`. The shell equivalents are in the last section.
The `formencoder` MCP server has 29 curated tools, listed here, plus one tool per engine command named from its id (`queue.addSource` is `queue_add_source`; commands.md gives every name). `./formencoder mcp` serves them over stdio (it starts the engine when it is not running); the engine also serves them over Streamable HTTP at `http://127.0.0.1:8270/mcp`. A profile chooses what a client lists: `--profile full` (curated plus every command tool; Claude Code and Codex), `--profile core` (the curated tools only; Cursor and Antigravity) or `--profile core,queue,preset` (curated plus those namespaces); over HTTP pass `?profile=`. Every tool can be called by name whatever the profile. Resources: `formencoder://status`, `queue`, `presets`, `formats`, `encoders`, `commands`, `log/encoding`, `log/error`, `guide/[topic]`, and the templates `output/[id]`, `preset/[id]`, `format/[id]`, `command/[id]`. Prompts: `workflow`, `youtube_version`, `broadcast_master`, `proxies`, `review_copy`. The shell equivalents are in the last section.

## Contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ description: How an agent reaches formencoder. Use when the formencoder MCP serv

| Started from | Trust | Configuration |
| --- | --- | --- |
| formencoder's Terminal panel (the Claude Code, Codex or Cursor buttons, or typed) | trusted: the shell carries the session token, nothing asks | the agent workspace: `CLAUDE.md`, `AGENTS.md`, `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` and this skill |
| formencoder's Terminal panel, a Claude Code, Codex, Cursor or Antigravity tab (its buttons or the ask line; the MCP server is named `formencoder_tab` there) | trusted while the tab is open: the program carries the tab's token, nothing asks; a program typed into a plain shell tab asks like any other | the agent workspace: `CLAUDE.md`, `AGENTS.md`, `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` and this skill |
| The formencoder repository | asks once per client in the window | `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` at the repository root |
| Any other folder | asks once per client in the window | `./formencoder agents install` (or the Agents panel) adds the MCP server and this skill to the user's Claude Code, Codex and Cursor setup |
| Any other folder | asks once per client in the window | `./formencoder agents install` (or the Agents panel) adds the MCP server and this skill to the user's Claude Code, Codex and Cursor setup, and the MCP server to Antigravity's |

## Permission

- Reads (`status`, `probe`, `preview_frame`, `contact_sheet`, `verify`, `wait`, `log`, `formats`, `list_commands` and every query command) never ask.
- The first change from an outside agent opens a dialog in the formencoder window: **Allow** (this session), **Allow Always** (remembered), **Don't Allow**. Tell the person a prompt is waiting in formencoder when you make the first change.
- `FORMENCODER_AGENTS` on the engine sets the policy: `ask` (default), `allow` (never ask) or `deny` (refuse outside agents; Terminal agents still work).
- `FORMENCODER_AGENTS=deny` on the engine refuses every change from every agent, Terminal agents included (reads still work). Any other value, `allow` included, leaves the person's stored choice in charge: the engine asks, and only the person can answer in the window.
- The Agents panel shows who is allowed and can forget them.

## FFmpeg
Expand All @@ -42,7 +42,7 @@ formencoder encodes with an LGPL FFmpeg build it pins (the same builds formcut s
| `The formencoder engine is not running and could not be started` | Ask the person to run `./formencoder boot` in the formencoder folder or open the desktop app, then retry. |
| `No formencoder window is open to ask the person for permission` | The policy is `ask` and no window is open. Ask the person to open formencoder (or start the agent from its Terminal panel), then retry. |
| `Nobody answered the permission request` | The dialog timed out. Ask the person to answer it in the formencoder window. |
| `Outside agents are turned off (FORMENCODER_AGENTS=deny)` | Only Terminal agents may change the queue. Suggest starting the agent from the Terminal panel. |
| `Outside agents are turned off (FORMENCODER_AGENTS=deny)` | No agent may change the queue, Terminal agents included; reads still work. Only the person can change this, by starting formencoder without that setting. |
| `The formencoder engine stopped answering` | The engine exited or is busy past the timeout. `status` again; if it fails, ask the person to restart formencoder. |

## Several windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These are queries: they change what the window shows, not the queue, so they nev
- **Family**: the running form family apps and their sources.
- **Log**: the Encoding and Error logs.
- **Info**: the selected source or output's details.
- **Terminal**: the embedded terminal where Claude Code, Codex and Cursor run as trusted agents.
- **Terminal**: the embedded terminal where Claude Code, Codex, Cursor and Antigravity run as trusted agents.
- **Agents**: which outside agents are allowed, the MCP address, and installing the clients.

## Extensions
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formencoder-harness/references/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Generated from the formencoder engine by `./formencoder agents sync`; do not edit by hand.

The `formencoder` MCP server has 29 curated tools, listed here, plus one tool per engine command named from its id (`queue.addSource` is `queue_add_source`; commands.md gives every name). `./formencoder mcp` serves them over stdio (it starts the engine when it is not running); the engine also serves them over Streamable HTTP at `http://127.0.0.1:8270/mcp`. A profile chooses what a client lists: `--profile full` (curated plus every command tool; Claude Code and Codex), `--profile core` (the curated tools only; Cursor) or `--profile core,queue,preset` (curated plus those namespaces); over HTTP pass `?profile=`. Every tool can be called by name whatever the profile. Resources: `formencoder://status`, `queue`, `presets`, `formats`, `encoders`, `commands`, `log/encoding`, `log/error`, `guide/[topic]`, and the templates `output/[id]`, `preset/[id]`, `format/[id]`, `command/[id]`. Prompts: `workflow`, `youtube_version`, `broadcast_master`, `proxies`, `review_copy`. The shell equivalents are in the last section.
The `formencoder` MCP server has 29 curated tools, listed here, plus one tool per engine command named from its id (`queue.addSource` is `queue_add_source`; commands.md gives every name). `./formencoder mcp` serves them over stdio (it starts the engine when it is not running); the engine also serves them over Streamable HTTP at `http://127.0.0.1:8270/mcp`. A profile chooses what a client lists: `--profile full` (curated plus every command tool; Claude Code and Codex), `--profile core` (the curated tools only; Cursor and Antigravity) or `--profile core,queue,preset` (curated plus those namespaces); over HTTP pass `?profile=`. Every tool can be called by name whatever the profile. Resources: `formencoder://status`, `queue`, `presets`, `formats`, `encoders`, `commands`, `log/encoding`, `log/error`, `guide/[topic]`, and the templates `output/[id]`, `preset/[id]`, `format/[id]`, `command/[id]`. Prompts: `workflow`, `youtube_version`, `broadcast_master`, `proxies`, `review_copy`. The shell equivalents are in the last section.

## Contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ description: How an agent reaches formencoder. Use when the formencoder MCP serv

| Started from | Trust | Configuration |
| --- | --- | --- |
| formencoder's Terminal panel (the Claude Code, Codex or Cursor buttons, or typed) | trusted: the shell carries the session token, nothing asks | the agent workspace: `CLAUDE.md`, `AGENTS.md`, `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` and this skill |
| formencoder's Terminal panel, a Claude Code, Codex, Cursor or Antigravity tab (its buttons or the ask line; the MCP server is named `formencoder_tab` there) | trusted while the tab is open: the program carries the tab's token, nothing asks; a program typed into a plain shell tab asks like any other | the agent workspace: `CLAUDE.md`, `AGENTS.md`, `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` and this skill |
| The formencoder repository | asks once per client in the window | `.mcp.json`, `.codex/config.toml`, `.cursor/mcp.json` at the repository root |
| Any other folder | asks once per client in the window | `./formencoder agents install` (or the Agents panel) adds the MCP server and this skill to the user's Claude Code, Codex and Cursor setup |
| Any other folder | asks once per client in the window | `./formencoder agents install` (or the Agents panel) adds the MCP server and this skill to the user's Claude Code, Codex and Cursor setup, and the MCP server to Antigravity's |

## Permission

- Reads (`status`, `probe`, `preview_frame`, `contact_sheet`, `verify`, `wait`, `log`, `formats`, `list_commands` and every query command) never ask.
- The first change from an outside agent opens a dialog in the formencoder window: **Allow** (this session), **Allow Always** (remembered), **Don't Allow**. Tell the person a prompt is waiting in formencoder when you make the first change.
- `FORMENCODER_AGENTS` on the engine sets the policy: `ask` (default), `allow` (never ask) or `deny` (refuse outside agents; Terminal agents still work).
- `FORMENCODER_AGENTS=deny` on the engine refuses every change from every agent, Terminal agents included (reads still work). Any other value, `allow` included, leaves the person's stored choice in charge: the engine asks, and only the person can answer in the window.
- The Agents panel shows who is allowed and can forget them.

## FFmpeg
Expand All @@ -42,7 +42,7 @@ formencoder encodes with an LGPL FFmpeg build it pins (the same builds formcut s
| `The formencoder engine is not running and could not be started` | Ask the person to run `./formencoder boot` in the formencoder folder or open the desktop app, then retry. |
| `No formencoder window is open to ask the person for permission` | The policy is `ask` and no window is open. Ask the person to open formencoder (or start the agent from its Terminal panel), then retry. |
| `Nobody answered the permission request` | The dialog timed out. Ask the person to answer it in the formencoder window. |
| `Outside agents are turned off (FORMENCODER_AGENTS=deny)` | Only Terminal agents may change the queue. Suggest starting the agent from the Terminal panel. |
| `Outside agents are turned off (FORMENCODER_AGENTS=deny)` | No agent may change the queue, Terminal agents included; reads still work. Only the person can change this, by starting formencoder without that setting. |
| `The formencoder engine stopped answering` | The engine exited or is busy past the timeout. `status` again; if it fails, ask the person to restart formencoder. |

## Several windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These are queries: they change what the window shows, not the queue, so they nev
- **Family**: the running form family apps and their sources.
- **Log**: the Encoding and Error logs.
- **Info**: the selected source or output's details.
- **Terminal**: the embedded terminal where Claude Code, Codex and Cursor run as trusted agents.
- **Terminal**: the embedded terminal where Claude Code, Codex, Cursor and Antigravity run as trusted agents.
- **Agents**: which outside agents are allowed, the MCP address, and installing the clients.

## Extensions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: Changing how agents drive formencoder. Use for the MCP tools and gu

| Path | Holds |
| --- | --- |
| `backend/app/agent/tools.py` | `INSTRUCTIONS`, `WORKFLOW`, `GUIDES`, `TOOLS` (21 curated tools) and their handlers; one tool per registry command built by `command_tools()` and served by profile (`full`, `core`, `core,[category]...`, chosen with `--profile` or `x-formencoder-mcp-profile`); `RESOURCES`, `RESOURCE_TEMPLATES` and `read_resource`; `RECIPES` and `prompt()` |
| `backend/app/agent/tools.py` | `INSTRUCTIONS`, `WORKFLOW`, `GUIDES`, `TOOLS` (29 curated tools, the core profile; the full profile adds one per command, 125 today) and their handlers; one tool per registry command built by `command_tools()` and served by profile (`full`, `core`, `core,[category]...`, chosen with `--profile` or `x-formencoder-mcp-profile`); `RESOURCES`, `RESOURCE_TEMPLATES` and `read_resource`; `RECIPES` and `prompt()` |
| `backend/app/agent/workspace.py` `CLIENT_PROFILES` | which profile each client gets (Claude Code and Codex full, Cursor core) in every config formencoder writes |
| `backend/app/routers/mcp.py` | Streamable HTTP MCP at `/mcp` |
| `backend/app/agent/stdio.py`, `setup/mcp_stdio.py` | the stdio relay `./formencoder mcp`, which finds or starts the engine |
Expand All @@ -18,7 +18,7 @@ description: Changing how agents drive formencoder. Use for the MCP tools and gu
| `backend/app/agent/approvals.py` | which actions need the person's approval (`reasons`), the guard that waits or answers `pendingApproval`, `decide`, full faith (`approvals.json`), the agent activity record; decisions and full faith only over the live socket (`agents.decide`, `agents.fullFaith` in `engine/rpc.py`) |
| `backend/app/routers/terminal.py` | the terminal hub: sessions with ids, history, readers and restart; REST under `/api/terminal/sessions`; the websocket attaching with `?session=`; the shell started with the workspace's bash rc file or zsh ZDOTDIR so the `formencoder` shim stays on PATH |
| `backend/app/agent/workspace.py`, `templates/` | the agent workspace (`CLAUDE.md`, `AGENTS.md`, MCP configs, skills) the Terminal panel opens |
| `backend/app/agent/connect.py` | `./formencoder agents install`: user-level MCP entries and skill copies for Claude Code, Codex and Cursor |
| `backend/app/agent/connect.py` | `./formencoder agents install`: user-level MCP entries for Claude Code, Codex, Cursor and Antigravity, and skill copies for the first three |
| `backend/app/agent/cli.py`, `setup/fe.py` | the command line (`encode`, `queue`, `exec`, `batch`, `commands`, `describe`, `presets`, `probe`, `frame`, `wait`) |
| `setup/agents.py` | `sync` generates `references/commands.md`, `tools.md`, `presets.md` and `formats.md` from the engine and mirrors the skill to `.agents/skills` |
| `.claude/skills/formencoder-harness` | the hand-written skill: `SKILL.md`, sub-skills, `references/concepts.md` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ description: Building and releasing formencoder as a desktop app. Use for the Ta
| Windows | `x86_64-pc-windows-msvc` | `.msi`, NSIS `.exe` |
| Linux | `x86_64-unknown-linux-gnu` | `.deb`, `.rpm`, `.AppImage` |

formcompiler (`nodemode-ai/formcompiler`) builds all four when a `compile_vX.Y.Z` branch is pushed here, and the repo's own `ci.yml` builds the interface, checks the engine on each host, runs the text lint and `agents sync --check`.
formcompiler (`nodemode-dev/formcompiler`) builds all four when a `compile_vX.Y.Z` branch is pushed here, and the repo's own `ci.yml` builds the interface, checks the engine on each host, runs the text lint and `agents sync --check`.

## Releasing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A change to settings, formats, presets, effects or the pipeline is verified by e

## Agent paths

Replay tool sequences through `setup/mcp_stdio.py` against a running engine (`FORMENCODER_AGENTS=allow` for unattended runs, `ask` to test the consent dialog with a browser open). Save the images `preview_frame` and `contact_sheet` return and look at them.
Replay tool sequences through `setup/mcp_stdio.py` against a running engine (no variable skips the consent dialog: for an unattended run call read-only tools, or answer the dialog the way CI does, from a from-source run that claims the window key at `/api/window/key` and replies to the `consent` message on the `/api/live` socket; `FORMENCODER_AGENTS=deny` tests the refusal). Save the images `preview_frame` and `contact_sheet` return and look at them.

## Report

Expand Down
4 changes: 2 additions & 2 deletions .docs/BRANCHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
- **Commits** follow Conventional Commits with the version in the summary, for example `fix(core): keep the source range when a preset is applied (0.1.1)`. The commit identity is `nodemode-ai <mackin@nodemode.ai>`.
- **Versions** are `v*.*.*` with dots, everywhere: `frontend/package.json` and its lockfile, `frontend/src/version.ts`, `backend/app/__init__.py`, `native/Cargo.toml` (the workspace version), the seven fencoder entries in `native/Cargo.lock`, `native/fencoder-py/pyproject.toml`, `src-tauri/Cargo.toml`, its `Cargo.lock`, `src-tauri/tauri.conf.json`, the version line in `README.md` and the deliverable zip names. Bump all of them in one commit, the last of a series.
- **Engine commands.** A change to the engine's commands, formats, presets or MCP tools is followed in the same commit by `./formencoder agents sync`, so the harness references follow the engine.
- **FFmpeg.** The pinned build is changed only by replacing `src-tauri/binaries/ffmpeg-licence.json` with a new record from the formcut-binaries release, together with its `LGPL-2.1.txt` and `THIRD-PARTY-NOTICES.txt`, in one commit. Never point the fetch or the bundle at a build that is not recorded there.
- **Releases.** formencoder builds nothing in this repository. After the version bump lands on main, push a branch `compile_vX.Y.Z` cut from that commit. CI runs on it, and formcompiler (`nodemode-ai/formcompiler`) picks it up on its next 8-hourly watch run, or at once when its watch is run by hand. It builds macOS (Apple silicon and Intel), Linux and Windows bundles with the pinned FFmpeg and opens a draft release `formencoder-vX.Y.Z` on formcompiler's release page, which carries the FFmpeg source. Review the draft, then publish it there. Compile branches are kept as the record of what was built.
- **FFmpeg.** The pinned build is changed only by replacing `src-tauri/binaries/ffmpeg-licence.json` with a new record from the formai-binaries release (`nodemode-dev/formai-binaries`; builds made before the rename use the older name, formcut-binaries, which keeps working), together with its `LGPL-2.1.txt` and `THIRD-PARTY-NOTICES.txt`, in one commit. Never point the fetch or the bundle at a build that is not recorded there. The fetch and `setup/bundle_ffmpeg.py` try formai-binaries first and formcut-binaries second, and install only files that match the record; `FORMENCODER_FFMPEG_RELEASE` (a release folder URL such as `https://example.org/ffmpeg-7.1.5-2`) replaces both as the only address, with the same check.
- **Releases.** formencoder builds nothing in this repository. After the version bump lands on main, push a branch `compile_vX.Y.Z` cut from that commit. CI runs on it, and formcompiler (`nodemode-dev/formcompiler`) picks it up on its next 8-hourly watch run, or at once when its watch is run by hand. It builds macOS (Apple silicon and Intel), Linux and Windows bundles with the pinned FFmpeg and opens a draft release `formencoder-vX.Y.Z` on formcompiler's release page, which carries the FFmpeg source. Review the draft, then publish it there. Compile branches are kept as the record of what was built.
- **Wiki.** Edit pages in `.docs/wiki/`, never in the GitHub wiki interface. `.github/workflows/wiki.yml` publishes the folder when it changes on main. The wiki needs one page created by hand once before the first publish.
Loading
Loading