chemweave 0.1.0 → 0.1.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD-PARTY-NOTICES.md +2 -2
- package/chemweave.mjs +26444 -22628
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Chemweave command line and MCP server
|
|
2
2
|
|
|
3
|
-
Version 0.1.
|
|
3
|
+
Version 0.1.340. Chemweave's own readers and writers, without the window: convert, draw and
|
|
4
4
|
describe chemistry files, and save pictures, from scripts or from AI assistants such as Claude.
|
|
5
5
|
|
|
6
6
|
```
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -40,7 +40,7 @@ Chemweave is licensed under the GNU General Public License, version 3 or later (
|
|
|
40
40
|
| [jsdom](https://github.com/jsdom/jsdom) by the jsdom contributors, and the packages it uses | The command line and MCP server only (`src/cli/`, not the app): reading and writing XML files in Node. The Claude Desktop extension carries them, each with its own license file | jsdom: MIT; the packages it uses: MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0, MIT-0, CC0-1.0 and BlueOak-1.0.0 |
|
|
41
41
|
| Microsoft Edge WebView2 (part of Windows, not bundled) | Shows the app's window contents on Windows | Microsoft software licence, free to use |
|
|
42
42
|
|
|
43
|
-
Used only to build and test, not shipped: TypeScript (Apache-2.0), Vite (MIT), Vitest (MIT), jsdom (MIT; also used by the command line, above), Playwright (Apache-2.0), Tauri CLI (MIT or Apache-2.0), and axe-core 4.14.0 (Mozilla Public License 2.0, https://github.com/dequelabs/axe-core), which the accessibility check of the browser smoke test (`scripts/a11y-check.mjs`) loads into the page it tests; it is never bundled into the app. The Office samplers' schema check (`tests/ooxml-schema.ts`) uses xmllint-wasm 5.3.0 (libxml2 compiled to WebAssembly; MIT, https://github.com/noppa/xmllint-wasm) and the Office Open XML Transitional schemas of ECMA-376 Part 4, 5th edition (Ecma International), which `scripts/fetch-ooxml-schemas.mjs` downloads from Ecma when the tests run; they are not kept in the repository. The ChemDraw library check (`tests/revvity-oracle.test.ts`) uses Revvity's ChemDraw file-format library (BSD 3-Clause, Copyright (c) 1986-2025 Revvity Inc, CambridgeSoft Corp and others, with files added by Glysade Inc under the same licence; https://github.com/Glysade/chemdraw, tag v1.0.14), built with expat (MIT) and Boost's headers (Boost Software License 1.0); `scripts/revvity-oracle/build.mjs` downloads and builds it when the check runs, and it is not kept in the repository. The library's own copy of expatpp (Mozilla Public License) is not downloaded or used. Rebuilding the OPSIN files (`opsin-js/`, rarely needed) also uses Java, Maven (Apache-2.0) and the TeaVM compiler (Apache-2.0).
|
|
43
|
+
Used only to build and test, not shipped: TypeScript (Apache-2.0), Vite (MIT), Vitest (MIT), jsdom (MIT; also used by the command line, above), Playwright (Apache-2.0), Tauri CLI (MIT or Apache-2.0), and axe-core 4.14.0 (Mozilla Public License 2.0, https://github.com/dequelabs/axe-core), which the accessibility check of the browser smoke test (`scripts/a11y-check.mjs`) loads into the page it tests; it is never bundled into the app. The Office samplers' schema check (`tests/ooxml-schema.ts`) uses xmllint-wasm 5.3.0 (libxml2 compiled to WebAssembly; MIT, https://github.com/noppa/xmllint-wasm) and the Office Open XML Transitional schemas of ECMA-376 Part 4, 5th edition (Ecma International), which `scripts/fetch-ooxml-schemas.mjs` downloads from Ecma when the tests run; they are not kept in the repository. The ChemDraw library check (`tests/revvity-oracle.test.ts`) uses Revvity's ChemDraw file-format library (BSD 3-Clause, Copyright (c) 1986-2025 Revvity Inc, CambridgeSoft Corp and others, with files added by Glysade Inc under the same licence; https://github.com/Glysade/chemdraw, tag v1.0.14; its README puts every file under that licence, though CDXUtils.cpp, CDXUtils_Win.cpp and cs_specialchardefs.h still carry CambridgeSoft's older "All Rights Reserved" notice and CDXAttachedDataHelper.cpp, CDXAttachedDataHelper.h, CoreChemistryAPI.h and CDXML.dtd carry none, as `scripts/license-headers.mjs` checks), built with expat (MIT) and Boost's headers (Boost Software License 1.0); `scripts/revvity-oracle/build.mjs` downloads and builds it when the check runs, and it is not kept in the repository. The library's own copy of expatpp (Mozilla Public License) is not downloaded or used. Rebuilding the OPSIN files (`opsin-js/`, rarely needed) also uses Java, Maven (Apache-2.0) and the TeaVM compiler (Apache-2.0).
|
|
44
44
|
Remaking the font width tables (`scripts/font-widths.py`, rarely needed) uses Python and fontTools (MIT).
|
|
45
45
|
|
|
46
46
|
`src/text-metrics.ts` holds the standard character widths of Helvetica/Arial, regular and bold (the widths in Adobe's freely distributed Helvetica font metrics), so saved files and copied pictures place text as ChemDraw does. No font files are included.
|
|
@@ -64,7 +64,7 @@ The app also ships these data sets, or tables made from them. Each licence was r
|
|
|
64
64
|
| [nmrshiftdb2](https://nmrshiftdb.nmr.uni-koeln.de) by Christoph Steinbeck, Stefan Kuhn and contributors: experimental spectra only | `public/nmr/nmr-hose.dat`, `public/nmr/nmr-measured.dat`, `public/nmr/nmr-net.dat`, `public/nmr/nmr-ch2split.json`, `public/nmr/nmr-fp.dat` (tables and network weights made from it by `scripts/nmr/`, which is how they were made, as clause 4.7 asks) | NMR panel: predicted and measured shifts | [nmrshiftdb2 Database License](https://nmrshiftdb.nmr.uni-koeln.de/nmrshiftdbhtml/nmrshiftdb2datalicense.txt): the ODC Open Database License 1.0 with an added clause 4.5 (software that relies on the data must be under an Open Source Initiative-approved licence, which GPL-3.0 is). Attribution and share-alike. Notice: "Contains information from nmrshiftdb2 (www.nmrshiftdb.org), which is made available here under the nmrshiftdb2 Database License." |
|
|
65
65
|
| [NMRBank](https://huggingface.co/datasets/sweetssweets/NMRBank): peak lists taken from open-access articles in PubMed Central | `public/nmr/nmr-hose.dat`, `public/nmr/nmr-measured.dat`, `public/nmr/nmr-net.dat` | NMR panel | The data set: MIT. Only numbers from articles published under CC BY or CC0 are used; each article is credited to its authors under CC BY, listed by PMC number in `public/nmr/nmrbank-sources.txt`. |
|
|
66
66
|
| [NMRexp](https://doi.org/10.5281/zenodo.17296666) by Jun-Jie Wang and Rong Zhu ("NMRexp: A database of 3.37 million experimental NMR spectra", Zenodo, October 9, 2025; the second version of record 10.5281/zenodo.16809533, which itself gives no version number) | `public/nmr/nmr-net.dat`, `public/nmr/nmr-fp.dat` | NMR panel: training the networks and the 19F and 31P tables; no records are included | CC BY 4.0. "Contains data from NMRexp (CC BY 4.0), DOI 10.5281/zenodo.17296666." Changed: peak lists turned into network weights and median shifts. |
|
|
67
|
-
|
|
|
67
|
+
| Physical data from [PubChem](https://pubchem.ncbi.nlm.nih.gov) records of the Hazardous Substances Data Bank (HSDB, US National Library of Medicine), NIOSH (CDC), NOAA CAMEO Chemicals, OSHA and DOE Protective Action Criteria | `src/kb/compounds-data.json`, `src/kb/compounds-extra.json` (made by `scripts/kb/build-compounds.mjs` with `src/kb/pubchem-record.ts`) | Knowledge Base: Physical Constants and pKa in Water | US government works, not subject to copyright in the US: HSDB (NLM: public domain), NIOSH ("Source: CDC/NIOSH", as CDC asks), CAMEO Chemicals (NOAA: CC0 1.0), OSHA and DOE. Sources whose terms don't allow reuse (Haz-Map, ILO cards, NITE) are left out. |
|
|
68
68
|
| pKa compilations of the ACS Division of Organic Chemistry ([organicchemistrydata.org](https://organicchemistrydata.org/hansreich/resources/pka/)): Bordwell's DMSO table as compiled by Hans J. Reich, and pKa Data Compiled by R. Williams | `src/kb/pka-dmso.json`, `src/kb/pka-water.json`, `src/kb/pka-acidic.json`, `src/kb/pka-key.json`, `src/kb/pka-series.json`; drawings by Chemweave in `src/kb/pka-pics.json` and `src/kb/pka-key-pics.json` | Knowledge Base: pKa Values and Key pKa Values | The compilations say "© ACS Division of Organic Chemistry" and state no licence. Only values the compilations credit to a paper or book are used, each shown with that original source; names, SMILES, drawings and classes are Chemweave's. |
|
|
69
69
|
| Hammett constants from C. Hansch, A. Leo and R. W. Taft, *Chem. Rev.* 1991, 91, 165 (Tables I and V) | `src/kb/hammett.ts`, `src/kb/hammett-data.ts`; drawings by Chemweave in `src/kb/hammett-pics.json` | Knowledge Base: Hammett Constants | Numbers only, each credited to the paper it was measured in and to the review; names, SMILES and drawings are Chemweave's. |
|
|
70
70
|
| Hard and soft acid and base classes (R. G. Pearson, *J. Chem. Educ.* 1968, 45, 581), absolute hardness values (R. G. Pearson, *Inorg. Chem.* 1988, 27, 734), Pauling's early electronegativities (*The Nature of the Chemical Bond*, 3rd ed., 1960) and Allen's configuration-energy electronegativities (J. B. Mann, T. L. Meek, L. C. Allen et al., *J. Am. Chem. Soc.* 2000, 122, 2780 and 5132), as tabulated in G. L. Miessler, P. J. Fischer and D. A. Tarr, *Inorganic Chemistry*, 5th ed. (Pearson, 2014), Tables 3.3, 3.5 and 6.14 to 6.16 | `src/kb/inorganic.ts` | Knowledge Base: Hard and Soft Acids and Bases, and Electronegativity | Facts and numbers only, each row credited to the original paper or book and to the textbook table; no wording is taken from the textbook. |
|