fh-library 0.2.0 → 0.2.1
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/CHANGELOG.md +1 -1
- package/README.md +3 -3
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
### v0.2.0 — 2026-11-08
|
|
4
4
|
|
|
5
|
-
* **Renamed to FH Library.** The npm packages are `fh-library` (public) and `fh-library-dev` (dev), the MCP Registry entry `io.github.forever-healthy/fh-library`, the repos `forever-healthy/
|
|
5
|
+
* **Renamed to FH Library.** The npm packages are `fh-library` (public) and `fh-library-dev` (dev), the MCP Registry entry `io.github.forever-healthy/fh-library`, the repos `forever-healthy/fh-library` and `fh-library-dev`; the server announces itself as `fh-library`, and client configs use the keys `fh-library`, `fh-library-dev`, `fh-library-local` (the `d-` prefix is for MCP servers Forever Healthy did not write). The `ai4l-library` packages are deprecated and point here.
|
|
6
6
|
* **Tools lose the `library_` prefix:** `add`, `status`, `read`, `verify`, `info`, `version` (was `get_version`). The server name namespaces them in every client.
|
|
7
7
|
* **Environment variables are `FH_LIBRARY_*`** (was `AI4L_LIBRARY_*`), hard cut: every `.env` must follow. Keys other servers share (`NCBI_API_KEY`, `BRIGHTDATA_API_TOKEN`, `BRIGHTDATA_ZONE`) are unchanged. The browser helper is `fh-chrome` (service, window class, `~/.fh-chrome` profile), the browser server container `fh-browser`.
|
|
8
8
|
* Entries in the changelog below this line use the old names; they describe the versions that carried them.
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-

|
|
2
2
|

|
|
3
3
|
[_2026-Forever_Healthy-573D7D.svg)](https://forever-healthy.org)
|
|
4
4
|
[](https://www.npmjs.com/package/fh-library)
|
|
5
5
|
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.forever-healthy/fh-library)
|
|
6
|
-
[](https://glama.ai/mcp/servers/forever-healthy/fh-library)
|
|
7
7
|
|
|
8
|
-

|
|
9
9
|
|
|
10
10
|
**FH Library** - MCP server that builds a local library of the scientific papers an evidence review cites, part of [AI4L](https://github.com/forever-healthy/AI4L)
|
|
11
11
|
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ var contactEmail = (env = process.env) => str("FH_LIBRARY_CONTACT_EMAIL", env) |
|
|
|
60
60
|
// src/http.ts
|
|
61
61
|
var TIMEOUT_MS = 3e4;
|
|
62
62
|
var CHROME_UA = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36";
|
|
63
|
-
var LIBRARY_UA = `fh-library (+https://github.com/forever-healthy/
|
|
63
|
+
var LIBRARY_UA = `fh-library (+https://github.com/forever-healthy/fh-library; ${contactEmail()})`;
|
|
64
64
|
function httpReason(status, body) {
|
|
65
65
|
const m = body.length < 4e3 && /<statusCode>([A-Z_]+)<\/statusCode>|"statusCode"\s*:\s*"([A-Z_]+)"/.exec(body);
|
|
66
66
|
return m ? `HTTP ${status} ${m[1] ?? m[2]}` : `HTTP ${status}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fh-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"mcpName": "io.github.forever-healthy/fh-library",
|
|
5
5
|
"description": "MCP Server that builds a local Markdown library of the scientific papers cited by evidence reviews — fetches metadata, abstract and full text per PubMed ID through a configurable cascade of retrieval services",
|
|
6
6
|
"type": "module",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
],
|
|
34
34
|
"author": "Forever Healthy Foundation",
|
|
35
35
|
"license": "MIT",
|
|
36
|
-
"homepage": "https://github.com/forever-healthy/
|
|
36
|
+
"homepage": "https://github.com/forever-healthy/fh-library",
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/forever-healthy/
|
|
39
|
+
"url": "https://github.com/forever-healthy/fh-library.git"
|
|
40
40
|
},
|
|
41
41
|
"private": false
|
|
42
42
|
}
|