@regle/mcp-server 1.21.0-beta.1 → 1.21.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/regle-mcp-server.js +3 -10
- package/package.json +3 -3
package/dist/regle-mcp-server.js
CHANGED
|
@@ -5,8 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
import { createHash } from "crypto";
|
|
6
6
|
import { hostname, userInfo } from "os";
|
|
7
7
|
import { PostHog } from "posthog-node";
|
|
8
|
-
|
|
9
|
-
var docs_data_default = {
|
|
8
|
+
const rawData = {
|
|
10
9
|
docs: [
|
|
11
10
|
{
|
|
12
11
|
"id": "advanced-usage-extend-properties",
|
|
@@ -1846,8 +1845,6 @@ var docs_data_default = {
|
|
|
1846
1845
|
"@regle/nuxt": []
|
|
1847
1846
|
}
|
|
1848
1847
|
};
|
|
1849
|
-
|
|
1850
|
-
const rawData = docs_data_default;
|
|
1851
1848
|
const data = rawData && typeof rawData === "object" && "docs" in rawData ? rawData : {
|
|
1852
1849
|
docs: rawData,
|
|
1853
1850
|
api: {}
|
|
@@ -2005,9 +2002,7 @@ function searchApi(query) {
|
|
|
2005
2002
|
});
|
|
2006
2003
|
return results;
|
|
2007
2004
|
}
|
|
2008
|
-
|
|
2009
|
-
var version = "1.21.0-beta.1";
|
|
2010
|
-
|
|
2005
|
+
var version = "1.21.0";
|
|
2011
2006
|
let posthogClient = null;
|
|
2012
2007
|
posthogClient = new PostHog("phc_kqgJoylCpKkGkkRGxb4MyN2mViehoQcUFEGwVkk4l8E", {
|
|
2013
2008
|
host: "https://eu.i.posthog.com",
|
|
@@ -2043,7 +2038,6 @@ function captureEvent(event, clientInfo, inputArgs) {
|
|
|
2043
2038
|
async function shutdown() {
|
|
2044
2039
|
if (posthogClient) await posthogClient.shutdown();
|
|
2045
2040
|
}
|
|
2046
|
-
|
|
2047
2041
|
function jsonResponse(data) {
|
|
2048
2042
|
return { content: [{
|
|
2049
2043
|
type: "text",
|
|
@@ -2492,5 +2486,4 @@ main().catch(async (error) => {
|
|
|
2492
2486
|
await shutdown();
|
|
2493
2487
|
process.exit(1);
|
|
2494
2488
|
});
|
|
2495
|
-
|
|
2496
|
-
export { };
|
|
2489
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/mcp-server",
|
|
3
|
-
"version": "1.21.0
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "MCP Server for Regle",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
49
|
-
"posthog-node": "5.28.
|
|
49
|
+
"posthog-node": "5.28.5",
|
|
50
50
|
"zod": "4.3.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "24.12.0",
|
|
54
54
|
"@typescript/native-preview": "7.0.0-dev.20260317.1",
|
|
55
55
|
"dotenv": "17.3.1",
|
|
56
|
-
"tsdown": "0.
|
|
56
|
+
"tsdown": "0.21.4",
|
|
57
57
|
"tsx": "4.21.0",
|
|
58
58
|
"typescript": "5.9.3"
|
|
59
59
|
},
|