imsg-mcp 1.1.0 → 1.2.0
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 +19 -0
- package/dist/cli.js +4 -4
- package/dist/{imessage-db-BuxJE7o_.js → imessage-db-BYU5mxM-.js} +2 -2
- package/dist/{imessage-db-BuxJE7o_.js.map → imessage-db-BYU5mxM-.js.map} +1 -1
- package/dist/index.js +3 -331
- package/dist/index.js.map +1 -1
- package/dist/{setup-CI64LGOy.js → setup-C8Ys73o9.js} +2 -2
- package/dist/{setup-CI64LGOy.js.map → setup-C8Ys73o9.js.map} +1 -1
- package/dist/{shutdown-D8JeFB40.js → shutdown-BJifUGdo.js} +24 -18
- package/dist/shutdown-BJifUGdo.js.map +1 -0
- package/dist/tui.js +1274 -70
- package/dist/tui.js.map +1 -1
- package/dist/watchdog-0RGOHpj4.js +679 -0
- package/dist/watchdog-0RGOHpj4.js.map +1 -0
- package/package.json +1 -1
- package/dist/shutdown-D8JeFB40.js.map +0 -1
- package/dist/watchdog-CLWzRrMs.js +0 -337
- package/dist/watchdog-CLWzRrMs.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.2.0](https://github.com/george43g/imsg-mcp/compare/v1.1.1...v1.2.0) (2026-06-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **tui:** module-pane Tab cycles type; defer compute so Loading paints ([a69539a](https://github.com/george43g/imsg-mcp/commit/a69539ae6271dc6623dcfe9663728a760cc4fade))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **tui:** command palette + feature module system ([59d5628](https://github.com/george43g/imsg-mcp/commit/59d5628238fefc65d6806ad9969716fa508ea2c7))
|
|
17
|
+
|
|
18
|
+
## [1.1.1](https://github.com/george43g/imsg-mcp/compare/v1.1.0...v1.1.1) (2026-06-07)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **tui:** stop MCP-shaped shutdown policies from killing user sessions ([f92a92c](https://github.com/george43g/imsg-mcp/commit/f92a92cfb40e463b752a68664b74c7d3efe48909))
|
|
24
|
+
|
|
6
25
|
# [1.1.0](https://github.com/george43g/imsg-mcp/compare/v1.0.0...v1.1.0) (2026-06-07)
|
|
7
26
|
|
|
8
27
|
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ 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-BJifUGdo.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { join, dirname } from "node:path";
|
|
9
9
|
import { A as APP_VERSION } from "./meta-D3NoTAjA.js";
|
|
@@ -331,8 +331,8 @@ async function runExportCommand(target, opts) {
|
|
|
331
331
|
const { existsSync: existsSync2, mkdirSync, copyFileSync, statSync } = await import("node:fs");
|
|
332
332
|
const { homedir } = await import("node:os");
|
|
333
333
|
const { dirname: dirname2, join: join2, isAbsolute, resolve } = await import("node:path");
|
|
334
|
-
const { getContactsDbPaths, getImsgDbPath, getSlugsDbPath } = await import("./shutdown-
|
|
335
|
-
const { IMessageDB } = await import("./imessage-db-
|
|
334
|
+
const { getContactsDbPaths, getImsgDbPath, getSlugsDbPath } = await import("./shutdown-BJifUGdo.js").then((n) => n.V);
|
|
335
|
+
const { IMessageDB } = await import("./imessage-db-BYU5mxM-.js").then((n) => n.i);
|
|
336
336
|
const { streamExport } = await import("./exportStream-Bu5recJ4.js");
|
|
337
337
|
const { parseUserDate } = await import("./dateParse-DJXMfq3a.js");
|
|
338
338
|
const format = normalizeFormat(opts.format ?? "md");
|
|
@@ -515,7 +515,7 @@ program.command("tui").description("Launch the read-only terminal UI").option("-
|
|
|
515
515
|
});
|
|
516
516
|
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);
|
|
517
517
|
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) => {
|
|
518
|
-
const { probeMachine, buildMcpSnippet, writeHostConfig } = await import("./setup-
|
|
518
|
+
const { probeMachine, buildMcpSnippet, writeHostConfig } = await import("./setup-C8Ys73o9.js");
|
|
519
519
|
const report = probeMachine();
|
|
520
520
|
if (!report.imsgDb.readable) {
|
|
521
521
|
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,
|
|
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 macTimestampToDate$1, U as parseAssociatedMessageGuid$1 } from "./shutdown-BJifUGdo.js";
|
|
8
8
|
import { parseBuffer } from "bplist-parser";
|
|
9
9
|
const __dirname$1 = dirname(fileURLToPath(import.meta.url));
|
|
10
10
|
let _native;
|
|
@@ -2244,4 +2244,4 @@ export {
|
|
|
2244
2244
|
hasNativeModule as h,
|
|
2245
2245
|
imessageDb as i
|
|
2246
2246
|
};
|
|
2247
|
-
//# sourceMappingURL=imessage-db-
|
|
2247
|
+
//# sourceMappingURL=imessage-db-BYU5mxM-.js.map
|