latitude-mcp-server 3.0.0 → 3.0.1
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/tools.d.ts +3 -3
- package/dist/tools.js +9 -9
- package/package.json +1 -1
package/dist/tools.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* - list_prompts : List all prompt names in LIVE
|
|
6
6
|
* - get_prompt : Get full prompt content by name
|
|
7
7
|
* - run_prompt : Execute a prompt with parameters
|
|
8
|
-
* - push_prompts :
|
|
9
|
-
* -
|
|
10
|
-
* -
|
|
8
|
+
* - push_prompts : FULL SYNC to remote (adds, modifies, DELETES remote prompts not in local)
|
|
9
|
+
* - pull_prompts : FULL SYNC from remote (deletes ALL local, downloads ALL from LIVE)
|
|
10
|
+
* - append_prompts : ADDITIVE only (adds new, optionally updates existing, NEVER deletes)
|
|
11
11
|
* - replace_prompt : Replace/create a single prompt (supports file path)
|
|
12
12
|
* - docs : Documentation (help, get topic, find query)
|
|
13
13
|
*/
|
package/dist/tools.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* - list_prompts : List all prompt names in LIVE
|
|
7
7
|
* - get_prompt : Get full prompt content by name
|
|
8
8
|
* - run_prompt : Execute a prompt with parameters
|
|
9
|
-
* - push_prompts :
|
|
10
|
-
* -
|
|
11
|
-
* -
|
|
9
|
+
* - push_prompts : FULL SYNC to remote (adds, modifies, DELETES remote prompts not in local)
|
|
10
|
+
* - pull_prompts : FULL SYNC from remote (deletes ALL local, downloads ALL from LIVE)
|
|
11
|
+
* - append_prompts : ADDITIVE only (adds new, optionally updates existing, NEVER deletes)
|
|
12
12
|
* - replace_prompt : Replace/create a single prompt (supports file path)
|
|
13
13
|
* - docs : Documentation (help, get topic, find query)
|
|
14
14
|
*/
|
|
@@ -221,11 +221,11 @@ const PushPromptsSchema = zod_1.z.object({
|
|
|
221
221
|
content: zod_1.z.string().describe('Full prompt content'),
|
|
222
222
|
}))
|
|
223
223
|
.optional()
|
|
224
|
-
.describe('Prompts to push
|
|
224
|
+
.describe('Prompts to push - FULL SYNC: replaces ALL existing prompts in LIVE'),
|
|
225
225
|
filePaths: zod_1.z
|
|
226
226
|
.array(zod_1.z.string())
|
|
227
227
|
.optional()
|
|
228
|
-
.describe('File paths to .promptl files
|
|
228
|
+
.describe('File paths to .promptl files - FULL SYNC: deletes remote prompts not in this list'),
|
|
229
229
|
});
|
|
230
230
|
async function handlePushPrompts(args) {
|
|
231
231
|
try {
|
|
@@ -310,16 +310,16 @@ const AppendPromptsSchema = zod_1.z.object({
|
|
|
310
310
|
content: zod_1.z.string().describe('Prompt content'),
|
|
311
311
|
}))
|
|
312
312
|
.optional()
|
|
313
|
-
.describe('Prompts to append'),
|
|
313
|
+
.describe('Prompts to append - ADDITIVE: keeps existing prompts, adds new ones'),
|
|
314
314
|
filePaths: zod_1.z
|
|
315
315
|
.array(zod_1.z.string())
|
|
316
316
|
.optional()
|
|
317
|
-
.describe('File paths to .promptl files
|
|
317
|
+
.describe('File paths to .promptl files - ADDITIVE: never deletes existing prompts'),
|
|
318
318
|
overwrite: zod_1.z
|
|
319
319
|
.boolean()
|
|
320
320
|
.optional()
|
|
321
321
|
.default(false)
|
|
322
|
-
.describe('If true,
|
|
322
|
+
.describe('If true, update existing prompts with same name (still no deletions)'),
|
|
323
323
|
});
|
|
324
324
|
async function handleAppendPrompts(args) {
|
|
325
325
|
try {
|
|
@@ -436,7 +436,7 @@ const PullPromptsSchema = zod_1.z.object({
|
|
|
436
436
|
outputDir: zod_1.z
|
|
437
437
|
.string()
|
|
438
438
|
.optional()
|
|
439
|
-
.describe('Output directory (default: ./prompts)'),
|
|
439
|
+
.describe('Output directory (default: ./prompts) - FULL SYNC: deletes ALL local .promptl files first'),
|
|
440
440
|
});
|
|
441
441
|
async function handlePullPrompts(args) {
|
|
442
442
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "latitude-mcp-server",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Simplified MCP server for Latitude.so prompt management - 8 focused tools for push, pull, run, and manage prompts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|