apple-mail-mcp 2.20.26 → 2.20.27

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/build/index.js +2 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -85736,7 +85736,8 @@ ${indent}end try${this.sanitizeFragment("_uacct", indent)}${this.sanitizeFragmen
85736
85736
  */
85737
85737
  resolveById(id, innerAction, hint, opts = {}) {
85738
85738
  const remembered = this.idLocationIndex.get(String(id));
85739
- const loc = hint?.account && hint?.mailbox ? { account: hint.account, mailbox: hint.mailbox, explicit: true } : remembered ? { ...remembered, explicit: false } : void 0;
85739
+ const usable = hint?.account && remembered && remembered.account !== hint.account ? void 0 : remembered;
85740
+ const loc = hint?.account && hint?.mailbox ? { account: hint.account, mailbox: hint.mailbox, explicit: true } : usable ? { ...usable, explicit: false } : void 0;
85740
85741
  if (loc) {
85741
85742
  const scoped = this.resolveScopedById(id, loc, innerAction);
85742
85743
  if (scoped.kind === "hit") return scoped.output;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-mail-mcp",
3
- "version": "2.20.26",
3
+ "version": "2.20.27",
4
4
  "description": "MCP server for Apple Mail - read, search, send, and manage emails via Claude and other AI assistants",
5
5
  "type": "module",
6
6
  "main": "build/index.js",