imsg-mcp 1.3.1 → 1.3.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 +7 -0
- package/dist/cli.js +5 -5
- package/dist/{imessage-db-vDZF7E8B.js → imessage-db-Cz8MIIpG.js} +2 -2
- package/dist/{imessage-db-vDZF7E8B.js.map → imessage-db-Cz8MIIpG.js.map} +1 -1
- package/dist/index.js +26 -10
- package/dist/index.js.map +1 -1
- package/dist/{meta-DCZ9Xe9g.js → meta-DzE7CSrZ.js} +2 -2
- package/dist/{meta-DCZ9Xe9g.js.map → meta-DzE7CSrZ.js.map} +1 -1
- package/dist/{setup-B2HejfMT.js → setup-BuXuKAHA.js} +2 -2
- package/dist/{setup-B2HejfMT.js.map → setup-BuXuKAHA.js.map} +1 -1
- package/dist/{shutdown-CikCSZru.js → shutdown-pPAPSnk3.js} +40 -45
- package/dist/shutdown-pPAPSnk3.js.map +1 -0
- package/dist/tui.js +3 -3
- package/dist/{watchdog-CnbBZnfg.js → watchdog-Cbgm050b.js} +2 -2
- package/dist/{watchdog-CnbBZnfg.js.map → watchdog-Cbgm050b.js.map} +1 -1
- package/package.json +1 -1
- package/dist/shutdown-CikCSZru.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and follows [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [1.3.2](https://github.com/george43g/imsg-mcp/compare/v1.3.1...v1.3.2) (2026-07-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **send:** route on the thread's real service — AppleScript can't detect wrong-service sends ([ff30b7a](https://github.com/george43g/imsg-mcp/commit/ff30b7a9a5fa2837a0e20278d61ba20f27db1780))
|
|
12
|
+
|
|
6
13
|
## [1.3.1](https://github.com/george43g/imsg-mcp/compare/v1.3.0...v1.3.1) (2026-07-12)
|
|
7
14
|
|
|
8
15
|
|
package/dist/cli.js
CHANGED
|
@@ -3,10 +3,10 @@ import { existsSync, realpathSync } from "node:fs";
|
|
|
3
3
|
import { createInterface } from "node:readline";
|
|
4
4
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
5
5
|
import { Command } from "commander";
|
|
6
|
-
import { c as checkLocalAccess, f as formatAccessReport, q as installShutdownHandlers, r as registerCleanup, E as looksLikeThreadSlug } from "./shutdown-
|
|
6
|
+
import { c as checkLocalAccess, f as formatAccessReport, q as installShutdownHandlers, r as registerCleanup, E as looksLikeThreadSlug } from "./shutdown-pPAPSnk3.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { join, dirname } from "node:path";
|
|
9
|
-
import { A as APP_VERSION } from "./meta-
|
|
9
|
+
import { A as APP_VERSION } from "./meta-DzE7CSrZ.js";
|
|
10
10
|
function distRoot() {
|
|
11
11
|
return dirname(fileURLToPath(import.meta.url));
|
|
12
12
|
}
|
|
@@ -357,8 +357,8 @@ async function runExportCommand(target, opts) {
|
|
|
357
357
|
const { existsSync: existsSync2, mkdirSync, copyFileSync, statSync } = await import("node:fs");
|
|
358
358
|
const { homedir } = await import("node:os");
|
|
359
359
|
const { dirname: dirname2, join: join2, isAbsolute, resolve } = await import("node:path");
|
|
360
|
-
const { getContactsDbPaths, getImsgDbPath, getSlugsDbPath } = await import("./shutdown-
|
|
361
|
-
const { IMessageDB } = await import("./imessage-db-
|
|
360
|
+
const { getContactsDbPaths, getImsgDbPath, getSlugsDbPath } = await import("./shutdown-pPAPSnk3.js").then((n) => n.V);
|
|
361
|
+
const { IMessageDB } = await import("./imessage-db-Cz8MIIpG.js").then((n) => n.i);
|
|
362
362
|
const { streamExport } = await import("./exportStream-BCoZYUUZ.js");
|
|
363
363
|
const { parseUserDate } = await import("./dateParse-DJXMfq3a.js");
|
|
364
364
|
const format = normalizeFormat(opts.format ?? "md");
|
|
@@ -557,7 +557,7 @@ program.command("tui").description("Launch the read-only terminal UI").option("-
|
|
|
557
557
|
});
|
|
558
558
|
program.command("export <target>").description("Export a conversation to a file (md/csv/json/ndjson)").option("-f, --format <fmt>", "Output format: md (default), csv, json, ndjson", "md").option("--since <date>", "Earliest date (ISO or relative, e.g. '3 months ago')").option("--until <date>", "Latest date (ISO or relative)").option("-o, --output <path>", "Output path (default: ~/imsg-export-<target>-<YYYY-MM-DD>.<ext>)").option("--include-attachments", "Copy attachments next to the export").option("--attachments-dir <path>", "Where to copy attachments (default: <output>.attachments/)").option("--page-size <n>", "Messages per DB page (100-5000)", "1000").action(runExportCommand);
|
|
559
559
|
program.command("setup").description("Autodetect DB paths and emit an MCP host config snippet").option("-w, --write <host>", 'Write into a host config: "claude" or "cursor"').option("-r, --runtime <runtime>", 'Runtime command: "npx" (default), "bunx", or "global"').option("--print-only", "Just print the snippet (default behaviour)").action(async (opts) => {
|
|
560
|
-
const { probeMachine, buildMcpSnippet, writeHostConfig } = await import("./setup-
|
|
560
|
+
const { probeMachine, buildMcpSnippet, writeHostConfig } = await import("./setup-BuXuKAHA.js");
|
|
561
561
|
const report = probeMachine();
|
|
562
562
|
if (!report.imsgDb.readable) {
|
|
563
563
|
log(`✗ Messages DB is not readable: ${report.imsgDb.path}`, "err");
|
|
@@ -4,7 +4,7 @@ import Database from "better-sqlite3";
|
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import { existsSync, readdirSync, mkdirSync } from "node:fs";
|
|
7
|
-
import { O as OBJECT_REPLACEMENT_CHAR, p as perf, J as isGroupGuid, K as isGroupChatIdentifier, L as generateThreadSlug, T as Tables, M as AssociatedMessageType, N as macAutoTimestampToDate, P as isReactionType, Q as MAC_EPOCH_OFFSET, R as NANOS_PER_SECOND, S as parseAssociatedMessageGuid$1, U as macTimestampToDate$1 } from "./shutdown-
|
|
7
|
+
import { O as OBJECT_REPLACEMENT_CHAR, p as perf, J as isGroupGuid, K as isGroupChatIdentifier, L as generateThreadSlug, T as Tables, M as AssociatedMessageType, N as macAutoTimestampToDate, P as isReactionType, Q as MAC_EPOCH_OFFSET, R as NANOS_PER_SECOND, S as parseAssociatedMessageGuid$1, U as macTimestampToDate$1 } from "./shutdown-pPAPSnk3.js";
|
|
8
8
|
import { parseBuffer } from "bplist-parser";
|
|
9
9
|
function normalizePhoneNumber(phone) {
|
|
10
10
|
const digits = phone.replace(/\D/g, "");
|
|
@@ -2662,4 +2662,4 @@ export {
|
|
|
2662
2662
|
imessageDb as i,
|
|
2663
2663
|
normalizedPhoneVariants as n
|
|
2664
2664
|
};
|
|
2665
|
-
//# sourceMappingURL=imessage-db-
|
|
2665
|
+
//# sourceMappingURL=imessage-db-Cz8MIIpG.js.map
|