latitude-mcp-server 4.0.2 → 4.0.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.
- package/CHANGELOG.md +10 -0
- package/dist/api.js +1 -1
- package/package.json +93 -93
- package/scripts/update-version.cjs +29 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
## [4.0.3](https://github.com/yigitkonur/latitude-mcp-server/compare/v4.0.2...v4.0.3) (2025-12-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ci:** add --legacy-peer-deps to semantic release workflow ([227bd82](https://github.com/yigitkonur/latitude-mcp-server/commit/227bd8277ad1f7000960b7c8d7744536a5861b6d))
|
|
7
|
+
* **ci:** add --passWithNoTests to Jest command ([4dbdafa](https://github.com/yigitkonur/latitude-mcp-server/commit/4dbdafa4ea70017d76d423025d0b68d8ae5b8793))
|
|
8
|
+
* **ci:** add missing update-version.js script for semantic release ([4fad461](https://github.com/yigitkonur/latitude-mcp-server/commit/4fad461730bf3469f8e65667d6dc85fda5b96886))
|
|
9
|
+
* **ci:** rename update-version.js to .cjs for CommonJS compatibility ([d529643](https://github.com/yigitkonur/latitude-mcp-server/commit/d529643d01c0a1eaf533c61dee6c2e3c347ab2c2))
|
|
10
|
+
* lint errors in api.ts (trailing comma, arrow function parens) ([6aa818b](https://github.com/yigitkonur/latitude-mcp-server/commit/6aa818b4e3af5e55b9dada2059ca1904b594c6bc))
|
package/dist/api.js
CHANGED
|
@@ -486,7 +486,7 @@ async function deployToLive(changes, _versionName) {
|
|
|
486
486
|
deleted: [],
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
const actualChanges = changes.filter(c => c.status !== 'unchanged');
|
|
489
|
+
const actualChanges = changes.filter((c) => c.status !== 'unchanged');
|
|
490
490
|
if (actualChanges.length === 0) {
|
|
491
491
|
logger.info('All prompts are unchanged, nothing to deploy');
|
|
492
492
|
return {
|
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
2
|
+
"name": "latitude-mcp-server",
|
|
3
|
+
"version": "4.0.3",
|
|
4
|
+
"description": "Simplified MCP server for Latitude.so prompt management - 8 focused tools for push, pull, run, and manage prompts",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/yigitkonur/latitude-mcp-server.git"
|
|
11
|
+
},
|
|
12
|
+
"bin": {
|
|
13
|
+
"latitude-mcp": "./dist/index.js",
|
|
14
|
+
"latitude-mcp-server": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"prepare": "npm run build && node scripts/ensure-executable.js",
|
|
19
|
+
"postinstall": "node scripts/ensure-executable.js",
|
|
20
|
+
"clean": "rm -rf dist coverage",
|
|
21
|
+
"test": "jest",
|
|
22
|
+
"test:coverage": "jest --coverage",
|
|
23
|
+
"lint": "eslint src --ext .ts --config eslint.config.mjs",
|
|
24
|
+
"update:deps": "npx npm-check-updates -u && npm install --legacy-peer-deps",
|
|
25
|
+
"format": "prettier --write 'src/**/*.ts' 'scripts/**/*.js'",
|
|
26
|
+
"cli": "npm run build && node dist/index.js",
|
|
27
|
+
"mcp:stdio": "npm run build && TRANSPORT_MODE=stdio node dist/index.js",
|
|
28
|
+
"mcp:http": "npm run build && TRANSPORT_MODE=http node dist/index.js",
|
|
29
|
+
"mcp:inspect": "npm run build && (TRANSPORT_MODE=http node dist/index.js &) && sleep 2 && npx @modelcontextprotocol/inspector http://localhost:3000/mcp",
|
|
30
|
+
"dev:stdio": "npm run build && npx @modelcontextprotocol/inspector -e TRANSPORT_MODE=stdio -e DEBUG=true node dist/index.js",
|
|
31
|
+
"dev:http": "npm run build && DEBUG=true TRANSPORT_MODE=http node dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"mcp",
|
|
35
|
+
"model-context-protocol",
|
|
36
|
+
"latitude",
|
|
37
|
+
"prompt-management",
|
|
38
|
+
"ai",
|
|
39
|
+
"llm",
|
|
40
|
+
"typescript",
|
|
41
|
+
"claude",
|
|
42
|
+
"anthropic",
|
|
43
|
+
"prompts",
|
|
44
|
+
"version-control",
|
|
45
|
+
"mcp-server"
|
|
46
|
+
],
|
|
47
|
+
"author": "Andi Ashari",
|
|
48
|
+
"license": "ISC",
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=18.0.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@eslint/js": "^9.39.1",
|
|
54
|
+
"@jest/globals": "^30.2.0",
|
|
55
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
56
|
+
"@semantic-release/exec": "^7.1.0",
|
|
57
|
+
"@semantic-release/git": "^10.0.1",
|
|
58
|
+
"@semantic-release/github": "^12.0.2",
|
|
59
|
+
"@semantic-release/npm": "^13.1.2",
|
|
60
|
+
"@types/jest": "^30.0.0",
|
|
61
|
+
"@types/node": "^24.10.1",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
63
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
64
|
+
"eslint": "^9.39.1",
|
|
65
|
+
"eslint-config-prettier": "^10.1.8",
|
|
66
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
67
|
+
"jest": "^30.2.0",
|
|
68
|
+
"prettier": "^3.7.3",
|
|
69
|
+
"semantic-release": "^25.0.2",
|
|
70
|
+
"ts-jest": "^29.4.5",
|
|
71
|
+
"typescript": "^5.9.3",
|
|
72
|
+
"typescript-eslint": "^8.48.0"
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
76
|
+
"dotenv": "^17.2.3",
|
|
77
|
+
"promptl-ai": "^0.9.4",
|
|
78
|
+
"zod": "^4.1.13"
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"registry": "https://registry.npmjs.org/",
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"jest": {
|
|
85
|
+
"preset": "ts-jest",
|
|
86
|
+
"testEnvironment": "node",
|
|
87
|
+
"testMatch": [
|
|
88
|
+
"**/src/**/*.test.ts"
|
|
89
|
+
],
|
|
90
|
+
"collectCoverageFrom": [
|
|
91
|
+
"src/**/*.ts",
|
|
92
|
+
"!src/**/*.test.ts"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
95
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Update version in package.json
|
|
5
|
+
* This script is used by semantic-release to update the version before publishing
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
// Get version from command line argument
|
|
12
|
+
const version = process.argv[2];
|
|
13
|
+
|
|
14
|
+
if (!version) {
|
|
15
|
+
console.error('Error: Version argument is required');
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Read package.json
|
|
20
|
+
const packageJsonPath = path.join(process.cwd(), 'package.json');
|
|
21
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
22
|
+
|
|
23
|
+
// Update version
|
|
24
|
+
packageJson.version = version;
|
|
25
|
+
|
|
26
|
+
// Write back to package.json
|
|
27
|
+
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n');
|
|
28
|
+
|
|
29
|
+
console.log(`Updated version to ${version}`);
|