Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #21

Merged
nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The shared agent finder 1.1.0 is now form.ext's one Windows launcher. It is a byte-for-byte copy from FormVis, and its hash is recorded in setup/agents.py.
  • The agent_start.py wrapper is removed. claude_code and agent_programs start programs through agent_lookup.start_argv and agent_lookup.run, and the refusal is agent_lookup.CommandLineRefused, an OSError.
  • The launcher tests now run against the shared finder: npm, pnpm and bun shims, program names as Windows reads them, cmd.exe refusals including a program path with a space, and the macOS and Linux login-shell start.
  • THIRD-PARTY-NOTICES.txt carries the full licence texts of the Python runtime, the PyInstaller bootloader, 33 Python packages across all platforms, 30 production npm packages and 493 Rust crates. It is generated by setup/notices.py.
  • setup/notices.py --check runs in the CI test job and fails when the file no longer matches what ships.
  • The notices file is bundled as a Tauri resource, frozen into the engine, served at GET /api/notices and shown in a new Preferences > About section.
  • The About dialog and the native About menu item now say GPL-3.0-only, matching LICENSE. NOTICE.md has current versions and a bootloader row, and the engine and interface HASHOUT logs record both changes.
  • Tests: 10 new engine tests for the route and the check, including failures for a new package, a changed pin and a crate that no longer ships, plus 3 new interface tests for the About panel.

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

Copy agent_lookup.py 1.1.0 byte for byte from FormVis and record its hash.
It follows npm, pnpm and bun shims and refuses words cmd.exe would change,
so the agent_start wrapper that repeated that hardening is removed and its
callers start programs through agent_lookup directly.
setup/notices.py writes THIRD-PARTY-NOTICES.txt from the backend venv,
the production npm packages and every crate Cargo.lock reaches, with the
Python runtime and the PyInstaller bootloader; its check mode runs in the
CI test job. The file is bundled in the installers and the frozen engine,
served at /api/notices and shown in Preferences, About.
The About dialog and menu item said Apache-2.0 while LICENSE is GPL-3.0-only.
NOTICE.md gains the bootloader row and the current versions, and the engine
and interface logs record the launcher and notices changes.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:11
Keep the upstream licence texts (or the SPDX text where none exists upstream)
for the 40 crates whose notice was bare in setup/licence_texts, each with its
SOURCE.txt. The generator prints them with a note naming each file's source,
and --check now fails when a kept text is missing from the notices or no
longer matches a shipping package.
@nodemode-ai
nodemode-ai merged commit 0cd2d6f into main Nov 30, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:32
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.

2 participants