Skip to content

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

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

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

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Windows launcher: agent_lookup.py is now FormVis's canonical 1.1.0, byte for byte, with its hash recorded in setup/agents.py. Program names are read as Windows opens them, npm, pnpm and bun shims start their runner directly, and cmd.exe is only used when every word is safe.
  • Callers handle the new refusal type, CommandLineRefused, an OSError: agent tabs answer it as a ProgramError before a token is issued, the Claude Code tab catches it in pty.py, and Chat's existing OSError clause covers it. macOS and Linux behaviour is unchanged.
  • The Windows launcher tests moved to backend/tests/test_agent_lookup_windows.py: FormVis's 1.1.0 tests plus three FormDesign-specific ones.
  • Added setup/notices.py and its helpers, which generate THIRD-PARTY-NOTICES.txt with the full licence texts of the Python runtime and packages (all platforms), PyInstaller's bootloader, the production npm packages, both Cargo.lock closures, the bundled fonts, the dictionary and the ICC profile.
  • setup/notices.py --check runs in the CI test job.
  • The frozen engine and the installers ship the file, GET /api/notices serves it, and Preferences > General > About FormDesign shows it, with the 3 new strings translated in all 25 tables.
  • NOTICE.md stays the human ledger and links the full texts; README and both HASHOUT logs are updated. No version bump.

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.

…ws program names as Windows opens them and starts npm, pnpm and bun shims directly (finder 1.1.0)

agent_lookup.py is FormVis's 1.1.0 byte for byte and its hash is recorded. A refused command line is now CommandLineRefused, an OSError: a Codex, Cursor or Antigravity tab answers it as a program error before a token is issued, and the Claude Code tab and Chat report it as before. The Windows launcher tests move to their own file.
…t of every bundled package, crate, font and data file, checked in CI and shown in Preferences

setup/notices.py writes the file from the installed Python packages (with wheels for the ones that ship only on another platform), the window's production npm packages, both Cargo.lock closures with each crate's licence files from the cargo registry, and the fonts, dictionary and profile in the tree; --check runs in the CI test job. The frozen engine and the installers carry the file, GET /api/notices serves it, and Preferences > General > About FormDesign shows it. NOTICE.md stays the human ledger.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:12
…e none exists upstream, for the 49 crates that publish no licence file, vendored in licence-texts/ with a SOURCE.txt each and named in each notice
@nodemode-ai
nodemode-ai merged commit 9d6ab00 into main Nov 30, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:39
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