jaylog-mcp 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11,10 +11,13 @@ const keyUsers_1 = require("./tools/keyUsers");
11
11
  const logs_1 = require("./tools/logs");
12
12
  const schedules_1 = require("./tools/schedules");
13
13
  const services_1 = require("./tools/services");
14
+ // `require` (not `import`) keeps package.json out of tsc's rootDir; the path resolves
15
+ // the same from src/ (bun) and dist/ (published), so the reported version can't drift.
16
+ const { version } = require('../package.json');
14
17
  async function runServer() {
15
18
  const server = new mcp_js_1.McpServer({
16
19
  name: 'Jaylog',
17
- version: '0.1.0'
20
+ version
18
21
  });
19
22
  (0, logs_1.registerLogTools)(server);
20
23
  (0, services_1.registerServiceTools)(server);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaylog-mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Model Context Protocol server for Jaylog observability (logs, metrics, services, schedules)",
5
5
  "bin": {
6
6
  "jaylog-mcp-server": "dist/index.js"