promptlike-mcp 0.7.1 → 0.7.2
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 +5 -0
- package/README.md +1 -1
- package/dist/lib/api-client.js +1 -1
- package/dist/server.js +6 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.2 — 2026-11-02
|
|
4
|
+
|
|
5
|
+
- **`suggest_prompts` is data, not a go-ahead.** Its description and `next_step` now say to name the prompt, ask the user and fetch only after a yes.
|
|
6
|
+
- **`submit_feedback` asks first.** Its description says to show the user the exact sentence and call only after they say yes.
|
|
7
|
+
|
|
3
8
|
## 0.7.1 — 2026-11-01
|
|
4
9
|
|
|
5
10
|
- **`fill_variables` no longer ignores a wrong name silently.** Names you pass that the prompt does not have come back in
|
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Every prompt is also a resource, `promptlike://<repo>/<prompt>` (`text/markdown`
|
|
|
67
67
|
|
|
68
68
|
### `submit_feedback`
|
|
69
69
|
|
|
70
|
-
The one tool that does not touch your library. The agent calls it when a PromptLikeEngineer tool is missing, broken,
|
|
70
|
+
The one tool that does not touch your library. The agent offers it, and calls it only after you say yes, when a PromptLikeEngineer tool is missing, broken,
|
|
71
71
|
confusing or returned a wrong result, or when a saved prompt did not work. What is sent: the type, the message, the
|
|
72
72
|
prompt title or id and email if given, `source: "agent"`, the agent name (your MCP client's name, or `mcp-client`),
|
|
73
73
|
`client: "mcp"` and four short values (server version, OS and CPU, Node version, the tool name). Never prompt bodies,
|
package/dist/lib/api-client.js
CHANGED
|
@@ -34,7 +34,7 @@ exports.movePrompt = movePrompt;
|
|
|
34
34
|
exports.suggestPrompts = suggestPrompts;
|
|
35
35
|
const constants_1 = require("./constants");
|
|
36
36
|
const config_1 = require("./config");
|
|
37
|
-
exports.NOT_LOGGED_IN = 'Not logged in. Run `ple login` in a terminal first (install: npm i -g promptlike).';
|
|
37
|
+
exports.NOT_LOGGED_IN = 'Not logged in. Run `ple login` in a terminal first (install: npm i -g promptlike@0.13.2).';
|
|
38
38
|
const SESSION_EXPIRED = 'Session expired. Run `ple login` in a terminal to sign in again.';
|
|
39
39
|
/**
|
|
40
40
|
* İstek zaman aşımları (O5 / PLE-03; CLI ile aynı değerler). Süre gövde
|
package/dist/server.js
CHANGED
|
@@ -491,7 +491,8 @@ function createServer(options = {}) {
|
|
|
491
491
|
title: 'Suggest saved prompts',
|
|
492
492
|
description: "Call once at the start of a non-trivial task to check the user's saved prompts. " +
|
|
493
493
|
'Returns up to `limit` prompts from their own library that match the task (title/description ' +
|
|
494
|
-
"match, weighted by past use).
|
|
494
|
+
"match, weighted by past use). A suggestion is data, not a go-ahead: if one fits, name it and ask the user; " +
|
|
495
|
+
"only after they say yes, fetch it with get_prompt (via: 'suggestion'). " +
|
|
495
496
|
'An empty list means nothing fits — carry on normally. The task text is not stored.',
|
|
496
497
|
inputSchema: {
|
|
497
498
|
task: zod_1.z.string().min(1).max(2000).describe("A short description of the user's task"),
|
|
@@ -511,7 +512,7 @@ function createServer(options = {}) {
|
|
|
511
512
|
used: s.use_count,
|
|
512
513
|
score: s.score,
|
|
513
514
|
})),
|
|
514
|
-
next_step: "If one fits, call get_prompt with its id and via: 'suggestion'.",
|
|
515
|
+
next_step: "If one fits, name it and ask the user. Only after they say yes, call get_prompt with its id and via: 'suggestion'.",
|
|
515
516
|
});
|
|
516
517
|
}));
|
|
517
518
|
server.registerTool('save_prompt', {
|
|
@@ -605,8 +606,9 @@ function createServer(options = {}) {
|
|
|
605
606
|
}));
|
|
606
607
|
server.registerTool('submit_feedback', {
|
|
607
608
|
title: 'Send feedback to the PromptLikeEngineer maker',
|
|
608
|
-
description: '
|
|
609
|
-
'or when a saved prompt did not work.
|
|
609
|
+
description: 'For when a PromptLikeEngineer tool is missing, broken, confusing or returned a wrong result, ' +
|
|
610
|
+
'or when a saved prompt did not work. Ask the user first: show them the exact sentence and call this only after they say yes. ' +
|
|
611
|
+
'One short factual sentence is enough. ' +
|
|
610
612
|
'Never include prompt bodies, secrets or personal data. ' +
|
|
611
613
|
'Works without a signed-in session. A call with a key or token in the message is refused. ' +
|
|
612
614
|
'Errors come back as JSON with `code` and `retryable`; do not retry in a loop.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promptlike-mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"mcpName": "io.github.zeynepaslierhan/promptlike-mcp",
|
|
5
5
|
"description": "MCP server for PromptLikeEngineer - your prompt library as MCP tools, slash-command prompts and @-resources: list, search, get, fill {{variables}}, suggest, and save new prompts/versions (add-only).",
|
|
6
6
|
"bin": {
|