Repository navigation
chore: shared Windows agent launcher and full third-party licence notices - #18
Merged
Merged
Conversation
Copy backend/app/services/agent_lookup.py byte for byte from formvis (VERSION 1.1.0, sha256 313fcd40541199c920314516026a0b225aeb4915e9a5dc26bf51d1ba05f1da8e) in place of formfabric's own 1.0.1 copy. It reads program names the way Windows opens them, follows npm, pnpm and bun shims, and refuses words the command interpreter would change with CommandLineRefused, an OSError. Claude Code and the agent tabs answer a refused start with a 400 and its sentence, and a refused agent tab no longer keeps its MCP key. The tests follow the new behaviour and hold the file to the recorded hash.
setup/notices.py writes THIRD-PARTY-NOTICES.txt with the licence texts of the Python runtime and service packages, the production npm packages and every registry crate in the engine module, the in-page engine and the desktop shell. --check runs in the CI test job and fails when the file misses something that ships or lists something that no longer does. The file ships beside the app, is frozen into the engine, is served at /api/notices and is shown in a Third-party notices section of About FormFabric, translated in every table. NOTICE.md stays the human ledger, with its versions brought up to date and the Linux keychain packages (cryptography, cffi, pycparser) added. The HASHOUT logs record both this and the finder change.
The 44 crates whose published package has no licence file now carry the upstream licence files (or, for selectors, the SPDX text reconstructed with the holders its metadata names), kept in setup/licence_texts/crate with a SOURCE.txt naming the repository, ref and file URLs. setup/notices.py uses them, prints a note naming the source and includes SOURCE.txt, and --check flags a kept folder no crate ships or a notice that drops its kept texts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
How to ship