Skip to content

fix(agent-question): the UI bundle carries the license notices of the packages compiled into it - #93

Merged
acn-ericlaw merged 1 commit into
mainfrom
fix/question-ui-third-party-notices
Dec 1, 2026
Merged

acn-ericlaw merged 1 commit into
mainfrom
fix/question-ui-third-party-notices

Conversation

@acn-ericlaw

Copy link
Copy Markdown
Collaborator

What

  • The agent-question UI's bundle carries the license notices of the npm packages compiled into it: extensions/agent-question/resources/public/assets/THIRD-PARTY-LICENSES.md, deployed beside the chunk by the UI's release in the Node.js pack.
  • A test in tests/test_agent_question.py holds the bundle to it.
  • The app's README names the file, and the CHANGELOG has the entry (Unreleased, Fixed 13).

Why

This is the twin of Accenture/mercury-nodejs#154. The bundle is built once in the Node.js pack and committed in both. It compiles in six npm packages of other parties: React, react-dom, scheduler and jwt-decode under the MIT license, oidc-client-ts and the Material Design icon paths of @mdi/js under the Apache License 2.0. Their licenses ask for the notice to accompany every copy, and the minified chunk carried none. The source distribution includes extensions/, so the bundle travels with it.

How it was verified

  • The deploy changed nothing but the new file, which is the Node.js pack's byte for byte.
  • The new test passes. It fails when the file is absent and names the package when an entry is renamed; both controls were run and the file restored.
  • ruff check .: clean. pytest -q: 3,014 passed, 76 skipped.
  • Not run locally: basedpyright, which is not installed in this checkout's environment; CI runs it.

Co-Authored-By: Claude Fable 5.2 noreply@anthropic.com

🤖 Generated with Claude Code

… packages compiled into it

The agent-question UI's bundle, built in the Node.js pack and committed in
both packs, compiles in six npm packages of other parties: React,
react-dom, scheduler and jwt-decode under the MIT license, oidc-client-ts
and the Material Design icon paths of @mdi/js under the Apache License
2.0. Their licenses ask for the notice to accompany every copy, and the
minified chunk carried none.

The UI's build now writes them to assets/THIRD-PARTY-LICENSES.md, and its
deploy brought the file here beside the chunk: the Node.js pack's file
byte for byte, with no other file of the bundle changed. A test holds the
bundle to it. The twin of mercury-nodejs #154.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@acn-ericlaw
acn-ericlaw merged commit 9745acb into main Dec 1, 2026
6 checks passed
@acn-ericlaw
acn-ericlaw deleted the fix/question-ui-third-party-notices branch December 1, 2026 01:18
acn-ericlaw added a commit that referenced this pull request Dec 1, 2026
…hnology; memory: the question UI's notices merged (#93)

The maintainer's ruling: Accenture is the organization and Accenture
Technology is its technology arm, so the copyright line of LICENSE.txt
names Accenture Technology, as the authors field of pyproject.toml does.
The edit is the maintainer's, made across the family's five repositories.
No code changed, so it goes to main with the session memory, on the
maintainer's word.

Memory: the session log of the question UI's third-party notices (#93,
merged as 9745acb), the fact that holds the bundle's rule, and the
footers refreshed from the reference log.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.

1 participant