@memoryrouter/cli 0.1.0 → 0.1.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.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # MemoryRouter CLI
2
+
3
+ Standalone CLI for managing MemoryRouter vaults.
4
+
5
+ ```bash
6
+ memoryrouter auth <mk_key> # authenticate
7
+ memoryrouter upload <path> # upload files/directories
8
+ memoryrouter status # vault stats
9
+ memoryrouter delete # clear vault
10
+ ```
11
+
12
+ ## ChatGPT archive import
13
+
14
+ Deterministic, previewed, resumable, idempotent import of your official ChatGPT
15
+ data export. Re-running never duplicates memories or charges; every write is
16
+ gated behind an explicit approval of an exact preview digest.
17
+
18
+ ```bash
19
+ memoryrouter chatgpt-import inspect ./chatgpt-export.zip
20
+ memoryrouter chatgpt-import prepare ./chatgpt-export.zip --out ./mr-import
21
+ memoryrouter chatgpt-import approve ./mr-import
22
+ memoryrouter chatgpt-import run ./mr-import # resume with `resume`
23
+ memoryrouter chatgpt-import status ./mr-import
24
+ memoryrouter chatgpt-import receipt ./mr-import
25
+ memoryrouter chatgpt-import cancel ./mr-import
26
+ ```
27
+
28
+ The importer never automates ChatGPT login/export/email/MFA — you download the
29
+ official export yourself and point the CLI at the `.zip` or extracted folder.
30
+ The workspace never stores your Memory Key or message plaintext.
31
+
32
+ Full guide, guarantees, and server/deployment details:
33
+ [`docs/chatgpt-import.md`](../docs/chatgpt-import.md).
34
+
35
+ ## Development
36
+
37
+ ```bash
38
+ npm install
39
+ npm run build # tsup → dist/index.js
40
+ npm run typecheck # tsc --noEmit
41
+ npm test # vitest (parser, ZIP defenses, discovery, manifest, e2e)
42
+ ```
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node