Repository navigation
chore: shared Windows agent launcher and full third-party licence notices - #12
Merged
Merged
Conversation
… pnpm and bun shims (0.11.0) backend/app/services/agent_lookup.py is now FormVis's 1.1.0, byte for byte (SHA-256 313fcd40541199c920314516026a0b225aeb4915e9a5dc26bf51d1ba05f1da8e, recorded in setup/agents.py LOOKUP_HASHES). It follows npm, pnpm and bun shims in any letter case and refuses, as CommandLineRefused, any cmd.exe start whose words the interpreter would change. command_script.py and the wrapper in claude_code.py only duplicated that work and are removed; the prompt is still typed into a tab that starts through cmd.exe, and the agent open routes answer a refusal with 409 command_refused. Checked: pytest tests/cb03 (176 passed), setup/agents.py sync --check.
… everything that ships, checked in CI (0.11.0) setup/notices.py and setup/notices_crates.py, modelled on FormDAM's, write THIRD-PARTY-NOTICES.txt from the Python runtime, the PyInstaller bootloader, every Python package the engine freezes on macOS, Linux and Windows, the npm production packages, the 496 locked crates (licence files from the cargo registry, or SPDX id and repository with a note when a crate ships none) and a reference to the downloaded FFmpeg release and its LGPL text. The file ships under licenses/ in every installer, is frozen into the engine, is served at GET /api/notices and is shown from About formcraft, Third-party notices. --check runs in the CI tests job. LICENSES.md stays the human list; its gap entry about uncollected texts is closed. Checked: vitest (56 files, 1189 tests), pytest (645 passed), notices.py --check, typecheck, build, selfcheck, versions.py, check_skills.py, agents sync --check.
…ream text from setup/licence_texts 38 crates in THIRD-PARTY-NOTICES.txt shipped no licence file and listed only their SPDX id. Their texts are now vendored in setup/licence_texts/crate, each with a SOURCE.txt naming the upstream file and commit (37) or the SPDX text it was reconstructed from (selectors 0.38.0). The generator reads them, notes the source on each entry, keeps a crate's previous text when its source is not in the local registry, and --check fails on any crate left without a text.
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
python setup/notices.py --checkruns in the CI tests jobTests
How to ship