@drawpro/mcp 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/server.js +9 -2
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -1411,7 +1411,7 @@ function api() {
1411
1411
  return clientInstance;
1412
1412
  }
1413
1413
  var SESSION_ID = Math.random().toString(36).slice(2, 10);
1414
- var VERSION = "0.6.0";
1414
+ var VERSION = "0.6.1";
1415
1415
  var inFlight = [];
1416
1416
  var cachedUser = null;
1417
1417
  async function currentUser() {
@@ -1426,7 +1426,14 @@ async function unlockedKey() {
1426
1426
  const key = loadKey(user.email);
1427
1427
  if (!key) {
1428
1428
  return {
1429
- error: "This account is locked, so names and contents cannot be read. Ask the user to run `DRAWPRO_TOKEN=... npx -y @drawpro/mcp login` in a terminal. It prompts for their passcode and stores the derived key in the OS keychain. Never ask the user for their passcode here \u2014 it must not pass through this conversation."
1429
+ error: `This account (${user.email}) is locked, so names and contents cannot be read.
1430
+
1431
+ Ask the user to run this in a terminal:
1432
+ npx -y @drawpro/mcp login
1433
+
1434
+ It prompts for their passcode and stores the derived key in the OS keychain. They do NOT need to restart \u2014 once it completes, simply try the same tool again and it will work.
1435
+
1436
+ Never ask the user for their passcode here. It is the account's master secret and must not pass through this conversation.`
1430
1437
  };
1431
1438
  }
1432
1439
  return { key };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawpro/mcp",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "MCP server for DrawPro \u2014 read and create end-to-end encrypted Excalidraw diagrams from Claude",
5
5
  "license": "MIT",
6
6
  "repository": {