@public-ui/mcp 4.5.0 → 5.0.0-beta.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/dist/search.cjs +2 -0
- package/dist/search.mjs +2 -0
- package/package.json +7 -7
- package/shared/sample-index.json +1376 -29
- package/shared/template-index.json +79 -79
package/dist/search.cjs
CHANGED
|
@@ -12,6 +12,8 @@ const FUSE_OPTIONS = {
|
|
|
12
12
|
threshold: 0.4,
|
|
13
13
|
// Default threshold for single-word queries
|
|
14
14
|
minMatchCharLength: 2,
|
|
15
|
+
// Descriptions are prose of up to 300 characters, so a term must match anywhere in a field, not only near its start.
|
|
16
|
+
ignoreLocation: true,
|
|
15
17
|
// useExtendedSearch is set dynamically based on query type
|
|
16
18
|
keys: [
|
|
17
19
|
{ name: "id", weight: 0.2 },
|
package/dist/search.mjs
CHANGED
|
@@ -6,6 +6,8 @@ const FUSE_OPTIONS = {
|
|
|
6
6
|
threshold: 0.4,
|
|
7
7
|
// Default threshold for single-word queries
|
|
8
8
|
minMatchCharLength: 2,
|
|
9
|
+
// Descriptions are prose of up to 300 characters, so a term must match anywhere in a field, not only near its start.
|
|
10
|
+
ignoreLocation: true,
|
|
9
11
|
// useExtendedSearch is set dynamically based on query type
|
|
10
12
|
keys: [
|
|
11
13
|
{ name: "id", weight: 0.2 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
46
|
-
"express": "5.
|
|
46
|
+
"express": "5.3.0",
|
|
47
47
|
"fuse.js": "7.5.0",
|
|
48
48
|
"glob": "13.0.6",
|
|
49
49
|
"simple-git": "3.36.0",
|
|
50
|
-
"zod": "4.6.
|
|
51
|
-
"@public-ui/components": "
|
|
50
|
+
"zod": "4.6.7",
|
|
51
|
+
"@public-ui/components": "5.0.0-beta.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@modelcontextprotocol/inspector": "2.
|
|
54
|
+
"@modelcontextprotocol/inspector": "2.11.0",
|
|
55
55
|
"@types/express": "5.0.6",
|
|
56
56
|
"@types/node": "26.4.0",
|
|
57
57
|
"eslint": "9.39.5",
|
|
58
|
-
"knip": "6.
|
|
58
|
+
"knip": "6.42.1",
|
|
59
59
|
"nodemon": "3.1.14",
|
|
60
|
-
"prettier": "3.9.
|
|
60
|
+
"prettier": "3.9.10",
|
|
61
61
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
62
62
|
"tsx": "4.23.15",
|
|
63
63
|
"typescript": "5.9.3",
|