@333eco/corpus 2.1.6 → 2.2.0
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 +14 -6
- package/dist/corpus.json +293 -115
- package/package.json +1 -1
- package/src/base-tools.mjs +58 -2
- package/src/search.mjs +5 -1
- package/src/server.mjs +16 -2
package/README.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# corpus.333.eco
|
|
2
2
|
|
|
3
|
-
An **MCP server** for an open-licensed corpus —
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
An **MCP server** for an open-licensed corpus — mechanism papers, essays,
|
|
4
|
+
institutional positions, white papers and the Letters to Miss Aquarius — served
|
|
5
|
+
with **verifiable provenance**.
|
|
6
|
+
|
|
7
|
+
<!-- COUNTS:START -->
|
|
8
|
+
**142 documents.** 134 CC0-1.0 · 8 CC-BY-4.0. 72 carry a DOI; 142 carry an OpenTimestamps proof.
|
|
9
|
+
|
|
10
|
+
*Written by `npm run build` from the index itself — see scripts/build-index.mjs.*
|
|
11
|
+
<!-- COUNTS:END -->
|
|
6
12
|
|
|
7
13
|
```sh
|
|
8
14
|
npx @333eco/corpus
|
|
@@ -58,7 +64,7 @@ excerpt need not contain the words you typed.
|
|
|
58
64
|
|
|
59
65
|
⚠️ **This replaced a bare `indexOf`, and a real caller paid for it.** The first external
|
|
60
66
|
client to reach the hosted endpoint searched `"gratitude alignment human wellbeing kindness"`
|
|
61
|
-
and got **zero results** — while
|
|
67
|
+
and got **zero results** — while each of those words alone matches many documents.
|
|
62
68
|
Nothing was missing from the corpus; the matcher demanded that exact five-word string appear
|
|
63
69
|
verbatim. **A zero result was recording the matcher's limits while being read as a gap.**
|
|
64
70
|
|
|
@@ -143,10 +149,12 @@ would destroy the only property this server has.
|
|
|
143
149
|
|
|
144
150
|
## Licences, and the gate
|
|
145
151
|
|
|
152
|
+
<!-- LICENCES:START -->
|
|
146
153
|
| Licence | Documents |
|
|
147
154
|
| --- | --- |
|
|
148
|
-
| CC0-1.0 |
|
|
149
|
-
| CC-BY-4.0 |
|
|
155
|
+
| CC0-1.0 | 134 |
|
|
156
|
+
| CC-BY-4.0 | 8 |
|
|
157
|
+
<!-- LICENCES:END -->
|
|
150
158
|
|
|
151
159
|
CC-BY documents carry `attribute_to` inside their licence block, so an agent can
|
|
152
160
|
comply without parsing a licence identifier.
|