@launchframe/mcp 1.1.7 → 1.1.8

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/cli.js CHANGED
@@ -6,6 +6,11 @@ import { execSync } from 'child_process';
6
6
  * client does not support elicitation (fails safe — aborts rather than proceeds).
7
7
  */
8
8
  async function confirmDestructive(server, message) {
9
+ const capabilities = server.server.getClientCapabilities();
10
+ // If client doesn't support elicitation, proceed — the LLM already has user intent
11
+ if (!capabilities?.elicitation) {
12
+ return true;
13
+ }
9
14
  try {
10
15
  const result = await server.server.elicitInput({
11
16
  mode: 'form',
@@ -24,7 +29,7 @@ async function confirmDestructive(server, message) {
24
29
  return result.action === 'accept' && result.content?.confirmed === true;
25
30
  }
26
31
  catch {
27
- // Client does not support elicitation — fail safe
32
+ // Elicitation failed unexpectedly — fail safe
28
33
  return false;
29
34
  }
30
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchframe/mcp",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "LaunchFrame MCP Server — knowledge tools for AI agents building LaunchFrame projects",
5
5
  "bin": {
6
6
  "launchframe-mcp": "dist/index.js"