Repository navigation
chore: shared Windows agent launcher and full third-party licence notices - #19
Merged
Merged
Conversation
….1.0 Replace agent_lookup.py with the family's 1.1.0 copy from FormVis, which follows npm, pnpm and bun shims, reads program names the way Windows opens them, and refuses words the command interpreter would change, the program path included. program_start.py only duplicated that hardening and is removed; Chat and the agent tabs call agent_lookup.start_argv directly. The recorded hash accepts 1.1.0 only, and the starter tests now exercise the shared file.
setup/notices.py writes THIRD-PARTY-NOTICES.txt from the Python packages frozen into the engine (every shipped platform's markers and extras), the PyInstaller bootloader, the Python runtime, the production npm packages, every Rust crate Cargo.lock reaches from the shell, and the dictionaries and fonts kept in the repository. Its --check mode runs in the CI test job. The file ships in every installer and inside the engine, which serves it at /api/notices, and Help > About FormTxt shows it. NOTICE.md stays the ledger and gains the bootloader, pywin32-ctypes and the crates under Unicode-3.0, BSD-3-Clause, ISC and Zlib. The backend log also records the finder change in the commit before this one.
Keep the upstream licence files for the 36 Python distributions and Rust crates whose published files carry no licence text in setup/licence_texts, each with its SOURCE.txt. setup/notices.py prints them in place of the bare entry with a note naming the upstream file and commit or tag, or the SPDX text a licence was reconstructed from, and --check fails when a kept text drifts from the notices or no longer matches a shipped package.
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