Skip to content

chore(license): relicense the current distribution as MIT - #361

Merged
T-Auto merged 1 commit into
mainfrom
work/license-mit
Oct 21, 2026
Merged

T-Auto merged 1 commit into
mainfrom
work/license-mit

Conversation

@T-Auto

@T-Auto T-Auto commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Closes #

What was wrong

The current tree no longer contains any FastCtx code or binary: FastCtx was removed in 0.3.2 together with the background component, and native/ is original dsh-ops code. The distribution still declared the composite MIT AND Apache-2.0 in README/LICENSE/NOTICE and in the package metadata, which no longer describes what ships. The READMEs also said the Rust tools are based on FastCtx, which stopped being true in 0.3.2.

No issue: this is a maintainer-requested licensing correction. It changes no behaviour, dependency or version.

The change

  • package.json, package-lock.json, dsh-plugin.json: license → MIT.
  • READMEs (zh/en): the license section states that the current distribution is MIT; the acknowledgements are reframed as historical attribution for versions before 0.3.2, and the FastCtx notice stays verbatim.
  • LICENSE: drop the composite footer, keep the MIT text.
  • NOTICE: MIT license section; FastCtx content moved to HISTORICAL ATTRIBUTION — FastCtx (versions before 0.3.2); third-party notices (Git for Windows GPL-2.0, PowerShell MIT, DOCX libraries, DeepSeek Harness) unchanged.
  • docs/PROVENANCE.md, docs/CONTRIBUTING.md, docs/贡献指南.md: current releases are MIT; the composite statement applies only to earlier FastCtx-containing releases; the FastCtx pin row is marked historical.
  • docs/CHANGELOG.md: [Unreleased] entry (EN + ZH).
  • test/manifest.test.mjs: the manifest/package license assertion is MIT; licenses/fastctx/ must still ship.

Not done: no removal of licenses/fastctx/, no change to earlier release notes or tarballs. Those keep their own FastCtx attribution; the composite statement is documented as applying only to them.

Validation

$ node test/run.mjs manifest docs-facts package-source
dsh-ops docs-facts: all 4 checks passed
dsh-ops manifest: all 14 checks passed
dsh-ops package-source: all 1 checks passed
dsh-ops test: 3 suite(s) passed in 2s

$ node scripts/validate-manifest.mjs
validate-manifest: all 73 checks passed

$ git diff aae90ce..HEAD --check
(no whitespace errors)

CI required run (pull_request event):

https://github.com/T-Auto/dsh-ops/actions/runs/39619829078/job/119291774025 (event: pull_request, `CI required`: pass)

Environment

  • Windows 11 (MINGW64_NT-10.0-26200), Node.js v24.18.0
  • Based on upstream main at aae90ce
  • Local checkout (developing against the linked source tree; no registry install in this PR)

FastCtx was removed in 0.3.2, so the composite MIT AND Apache-2.0 statement no longer describes the current code. Declare the current distribution as MIT and keep FastCtx's Apache-2.0 text and required attribution in licenses/fastctx/ and NOTICE for the earlier releases that shipped it.
@T-Auto
T-Auto merged commit 695f703 into main Oct 21, 2026
9 checks passed
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