apple-mail-mcp 2.19.12 → 2.19.13
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/build/index.js +2 -2
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -84534,7 +84534,7 @@ ${indent}end try${this.sanitizeFragment("_uacct", indent)}${this.sanitizeFragmen
|
|
|
84534
84534
|
replyToMessage(id, body, replyAll = false, send = true) {
|
|
84535
84535
|
const safeBody = escapeForAppleScriptBody(body);
|
|
84536
84536
|
const replyAllClause = replyAll ? " with reply to all" : "";
|
|
84537
|
-
const finalAction = send ? "send theReply" : "save theReply";
|
|
84537
|
+
const finalAction = send ? "send theReply" : "save theReply\n close theReply saving yes";
|
|
84538
84538
|
const script = this.findMessageScript(
|
|
84539
84539
|
id,
|
|
84540
84540
|
`
|
|
@@ -84555,7 +84555,7 @@ ${indent}end try${this.sanitizeFragment("_uacct", indent)}${this.sanitizeFragmen
|
|
|
84555
84555
|
*/
|
|
84556
84556
|
forwardMessage(id, to, body, send = true) {
|
|
84557
84557
|
const safeBody = body ? escapeForAppleScriptBody(body) : "";
|
|
84558
|
-
const finalAction = send ? "send theForward" : "save theForward";
|
|
84558
|
+
const finalAction = send ? "send theForward" : "save theForward\n close theForward saving yes";
|
|
84559
84559
|
let recipientCommands = "";
|
|
84560
84560
|
for (const addr of to) {
|
|
84561
84561
|
recipientCommands += `make new to recipient at end of to recipients of theForward with properties {address:"${escapeForAppleScript(addr)}"}
|
package/package.json
CHANGED