@mnemonik/cli 7.105.1 → 7.106.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/dist/help.js ADDED
@@ -0,0 +1,609 @@
1
+ import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+
3
+ // packages/cli/src/help.ts
4
+ var screens = /* @__PURE__ */ new Map([
5
+ [
6
+ "",
7
+ `Mnemonik is the memory and continuity layer for AI coding agents: it keeps
8
+ them grounded while they work, through long tasks and context compression,
9
+ and across sessions, tools, machines, agents, and teams. It quietly carries
10
+ forward the codebase's history, decisions, conventions, and accumulated
11
+ experience, giving every agent the context to act as part of an ongoing body
12
+ of work rather than as an intelligence encountering it for the first time.
13
+
14
+ Usage: mnemonik <command> [options]
15
+
16
+ Commands
17
+ install Set up Mnemonik on this machine.
18
+ status Show whether Mnemonik is working here.
19
+ add <folder> Start indexing a project folder.
20
+ remove <folder> Stop indexing a project folder.
21
+ connect <editor> Sign an editor in to Mnemonik.
22
+ project <subcommand> Manage the project in a folder.
23
+ update Update Mnemonik on this machine.
24
+ repair Re-apply the installation on this machine.
25
+ doctor Check this machine and explain any problem.
26
+ uninstall Remove Mnemonik from this machine.
27
+ auth <subcommand> Sign in, sign out, or see what is signed in.
28
+ logout Sign this machine out.
29
+
30
+ Run mnemonik <command> --help for that command's arguments and options.
31
+
32
+ Example
33
+ mnemonik install
34
+
35
+ Global options
36
+ --json Print machine-readable output and never ask.
37
+ --non-interactive Never ask; fail instead when an answer is needed.
38
+ --no-browser Print sign-in links instead of opening a browser.
39
+ --help Show help for a command. Changes nothing.
40
+ --version Print the installed version.
41
+
42
+ Exit codes
43
+ 0 done 1 failed 2 wrong usage
44
+ 3 something on this machine or your account needs attention
45
+ 130 cancelled
46
+ `
47
+ ],
48
+ [
49
+ "install",
50
+ `Set up Mnemonik on this machine: sign in, connect your editors, choose the
51
+ project folders to index, and start background indexing. Asks before each
52
+ step unless you pass the consent options below.
53
+
54
+ Usage: mnemonik install [options]
55
+
56
+ Options
57
+ --hosts <list> Editors to connect: claude-code, codex, cursor.
58
+ Default: every editor found on this machine.
59
+ --scan-roots <list> Project folders to index, comma separated.
60
+ --exclusions <list> Folders inside those to skip, comma separated.
61
+ --without-scanner Connect editors only; do not index anything.
62
+ --accept-indexing Agree to index the folders in --scan-roots.
63
+ --accept-limited Agree to a limited setup with no indexing.
64
+ --apply Make the changes. Required with --non-interactive.
65
+ --dry-run Show what would happen and change nothing.
66
+ --no-browser Print the sign-in link instead of opening it.
67
+
68
+ With --non-interactive or --json, pass --apply, --scan-roots and either
69
+ --accept-indexing or --accept-limited, or the command stops with exit 3.
70
+
71
+ Example
72
+ mnemonik install --non-interactive --apply --accept-indexing \\
73
+ --scan-roots ~/projects/app,~/projects/site
74
+ `
75
+ ],
76
+ [
77
+ "status",
78
+ `Show whether Mnemonik is installed and working on this machine, which
79
+ editors are connected, and which folders are indexed. Works signed out.
80
+ When signed in, it updates this machine's status in your account so the
81
+ console shows it.
82
+
83
+ Usage: mnemonik status [--json]
84
+
85
+ Example
86
+ mnemonik status
87
+ `
88
+ ],
89
+ [
90
+ "add",
91
+ `Start indexing a project folder. Connects the folder to a project in your
92
+ account (creating one if the folder has none), writes a .mnemonik.json file
93
+ in it, and adds it to background indexing. Asks first unless you pass the
94
+ options below. The folder must be a project's top folder, not a folder
95
+ inside one.
96
+
97
+ Usage: mnemonik add <folder> [options]
98
+
99
+ Arguments
100
+ <folder> The project folder. Required.
101
+
102
+ Options
103
+ --accept-indexing Agree to index this folder without being asked.
104
+ --apply Make the change. Required with --non-interactive.
105
+
106
+ Example
107
+ mnemonik add ~/projects/app
108
+ `
109
+ ],
110
+ [
111
+ "remove",
112
+ `Stop indexing a project folder. The project and its memories stay in your
113
+ account; only this machine stops sending it. Asks first.
114
+
115
+ Usage: mnemonik remove <folder> [--apply]
116
+
117
+ Arguments
118
+ <folder> The project folder. Required.
119
+
120
+ Options
121
+ --apply Stop without being asked. Required with
122
+ --non-interactive or --json.
123
+
124
+ Example
125
+ mnemonik remove ~/projects/old-site
126
+ `
127
+ ],
128
+ [
129
+ "connect",
130
+ `Sign an editor in to Mnemonik. For Codex, prints one link; open it in any
131
+ browser, approve, and Codex on this machine is signed in, including over
132
+ SSH. For Claude Code and Cursor, prints the steps to sign in inside the
133
+ editor.
134
+
135
+ Usage: mnemonik connect <editor>
136
+
137
+ Arguments
138
+ <editor> claude-code, codex, or cursor. Required.
139
+
140
+ Example
141
+ mnemonik connect codex
142
+ `
143
+ ],
144
+ [
145
+ "project",
146
+ `Manage the project a folder belongs to. A folder is a project when it has a
147
+ .mnemonik.json file; add, install and project init create one.
148
+
149
+ Usage: mnemonik project <subcommand> [options]
150
+
151
+ Subcommands
152
+ status [path] Show which project this folder belongs to.
153
+ init [path] Make this folder a new project in your account.
154
+ link <project-id> [path] Make this folder belong to an existing project.
155
+ delete [id or name] Delete a project and everything in it.
156
+ ensure For agents: connect this folder, creating a
157
+ project if needed, and print the result.
158
+
159
+ Run mnemonik project <subcommand> --help for details.
160
+
161
+ Example
162
+ mnemonik project status
163
+ `
164
+ ],
165
+ [
166
+ "project status",
167
+ `Show which project this folder belongs to, from its .mnemonik.json file and
168
+ your account. Changes nothing.
169
+
170
+ Usage: mnemonik project status [path]
171
+
172
+ Arguments
173
+ [path] The folder to check. Default: current folder.
174
+
175
+ Example
176
+ mnemonik project status
177
+ `
178
+ ],
179
+ [
180
+ "project init",
181
+ `Make this folder a new project in your account and write its .mnemonik.json
182
+ file. Use it when a folder was never connected. Asks first unless you pass
183
+ --apply.
184
+
185
+ Usage: mnemonik project init [path] [options]
186
+
187
+ Arguments
188
+ [path] The project folder. Default: current folder.
189
+
190
+ Options
191
+ --apply Make the change. Required with --non-interactive.
192
+ --owner <account-id> Create the project under another account you
193
+ belong to.
194
+
195
+ Example
196
+ mnemonik project init --apply
197
+ `
198
+ ],
199
+ [
200
+ "project link",
201
+ `Make this folder belong to an existing project, for example after cloning a
202
+ repository on a new machine. Rewrites the folder's .mnemonik.json file.
203
+
204
+ Usage: mnemonik project link <project-id> [path] [options]
205
+
206
+ Arguments
207
+ <project-id> The project to link to. Required.
208
+ [path] The folder. Default: current folder.
209
+
210
+ Options
211
+ --apply Make the change. Required with --non-interactive.
212
+ --replace Replace a .mnemonik.json that names another
213
+ project.
214
+ --confirm-mismatch Link even if the folder's Git remote is not the
215
+ one the project was set up with.
216
+
217
+ Example
218
+ mnemonik project link <project-id> ~/projects/app --apply
219
+ `
220
+ ],
221
+ [
222
+ "project delete",
223
+ `Delete a project: its memories, code index and summaries, for everyone.
224
+ This cannot be undone. Only the project's owner can delete it. The folder
225
+ and its .mnemonik.json file stay on disk; the folder leaves background
226
+ indexing on this machine. Asks you to type the project's name unless you
227
+ pass --confirm.
228
+
229
+ Usage: mnemonik project delete [id or name] [options]
230
+
231
+ Arguments
232
+ [id or name] The project to delete. Default: the project
233
+ this folder belongs to.
234
+
235
+ Options
236
+ --confirm "<name>" Skip the question by giving the project's name.
237
+ Required with --non-interactive or --json.
238
+
239
+ Example
240
+ mnemonik project delete "Old Site" --confirm "Old Site"
241
+ `
242
+ ],
243
+ [
244
+ "project ensure",
245
+ `For agents. Connect the current folder to a project, creating one in your
246
+ account if the folder has none, and print the result as JSON. Never asks.
247
+
248
+ Usage: mnemonik project ensure
249
+
250
+ Example
251
+ mnemonik project ensure
252
+ `
253
+ ],
254
+ [
255
+ "update",
256
+ `Update Mnemonik on this machine: the mnemonik command, the editor hooks, and
257
+ background indexing if it is installed. Restarts background indexing when
258
+ its software changes. Safe to run while an editor is open.
259
+
260
+ Usage: mnemonik update [options]
261
+
262
+ Options
263
+ --component scanner Update background indexing only.
264
+ --automatic Print nothing. Used by scheduled updates.
265
+
266
+ Example
267
+ mnemonik update
268
+ `
269
+ ],
270
+ [
271
+ "repair",
272
+ `Re-apply the installation recorded on this machine: the mnemonik command,
273
+ each editor's connection and hooks, and background indexing. Use it when
274
+ status or doctor reports something missing.
275
+
276
+ Usage: mnemonik repair [options]
277
+
278
+ Options
279
+ --host <editor> Repair one editor only: claude-code, codex, cursor.
280
+ --component <name> Repair one part only: hooks, mcp, scanner.
281
+
282
+ Example
283
+ mnemonik repair
284
+ `
285
+ ],
286
+ [
287
+ "doctor",
288
+ `Check this machine and explain any problem in plain words: Node version,
289
+ file permissions, the installed files, the editor connections and
290
+ background indexing. Changes nothing and sends nothing.
291
+
292
+ Usage: mnemonik doctor [--json]
293
+
294
+ Example
295
+ mnemonik doctor
296
+ `
297
+ ],
298
+ [
299
+ "uninstall",
300
+ `Remove Mnemonik from this machine: editor connections and hooks, background
301
+ indexing, and the mnemonik command. Your account, your projects' memories
302
+ and your consent records are kept; sign in again on any machine to
303
+ continue. Asks first unless you pass --confirm.
304
+
305
+ Usage: mnemonik uninstall [options]
306
+
307
+ Options
308
+ --host <editor> Disconnect one editor only.
309
+ --component scanner Remove background indexing only.
310
+ --confirm Skip the question. Required with --non-interactive.
311
+
312
+ Example
313
+ mnemonik uninstall --confirm
314
+ `
315
+ ],
316
+ [
317
+ "auth",
318
+ `Sign this machine in or out, and see which editors are signed in.
319
+
320
+ Usage: mnemonik auth <subcommand> [options]
321
+
322
+ Subcommands
323
+ login Sign this machine in to your account.
324
+ status [--host <editor>] Show what is signed in and since when.
325
+ logout [--host <editor>] Sign out this machine, or one editor.
326
+
327
+ Run mnemonik auth <subcommand> --help for details.
328
+
329
+ Example
330
+ mnemonik auth status
331
+ `
332
+ ],
333
+ [
334
+ "auth login",
335
+ `Sign this machine in to your Mnemonik account. Prints a link and a code;
336
+ approve in any browser. Already signed in? Shows who.
337
+
338
+ Usage: mnemonik auth login [options]
339
+
340
+ Options
341
+ --no-browser Print the link instead of opening it.
342
+ --reopen-install Continue an installation this account started
343
+ and did not finish.
344
+
345
+ Example
346
+ mnemonik auth login --no-browser
347
+ `
348
+ ],
349
+ [
350
+ "auth status",
351
+ `Show what is signed in from this machine: the account, and each editor's
352
+ sign-in with when it was created and last used. Changes nothing.
353
+
354
+ Usage: mnemonik auth status [--host <editor>]
355
+
356
+ Options
357
+ --host <editor> One editor only: claude-code, codex, cursor.
358
+
359
+ Example
360
+ mnemonik auth status
361
+ `
362
+ ],
363
+ [
364
+ "auth logout",
365
+ `Sign out. With no options, signs this machine's mnemonik command out and
366
+ leaves editors as they are. With --host, signs one editor out of your
367
+ account so it must sign in again. Asks first unless you pass --confirm.
368
+
369
+ Usage: mnemonik auth logout [--host <editor>] [--confirm]
370
+
371
+ Options
372
+ --host <editor> Sign out one editor: claude-code, codex, cursor.
373
+ --component scanner Revoke background indexing's access to your
374
+ account. Indexing stops on its next upload.
375
+ --confirm Skip the question.
376
+
377
+ Example
378
+ mnemonik auth logout --host codex --confirm
379
+ `
380
+ ],
381
+ [
382
+ "logout",
383
+ `Sign this machine's mnemonik command out. Editors stay signed in. Same as
384
+ mnemonik auth logout with no options.
385
+
386
+ Usage: mnemonik logout
387
+
388
+ Example
389
+ mnemonik logout
390
+ `
391
+ ],
392
+ [
393
+ "scanner",
394
+ `Control background indexing on this machine. Most people never need these;
395
+ install, status, update and repair handle indexing for you.
396
+
397
+ Usage: mnemonik scanner <subcommand> [options]
398
+
399
+ Subcommands
400
+ status Show whether indexing is running and what it covers.
401
+ start Start indexing if it is stopped.
402
+ stop Stop indexing until the next start or restart.
403
+ pause Pause indexing while it stays running.
404
+ resume Resume paused indexing.
405
+ enable Set indexing up again from scratch.
406
+ uninstall Remove background indexing from this machine.
407
+ export-preview --out <file> Write what indexing would send, for you to read.
408
+
409
+ Run mnemonik scanner <subcommand> --help for details.
410
+
411
+ Example
412
+ mnemonik scanner status
413
+ `
414
+ ],
415
+ [
416
+ "scanner enable",
417
+ `Set background indexing up from scratch: choose folders, record your
418
+ consent, and install and start the indexing service. install does this for
419
+ you; use enable only after uninstall.
420
+
421
+ Usage: mnemonik scanner enable [options]
422
+
423
+ Options
424
+ --scan-roots <list> Project folders to index, comma separated.
425
+ --exclusions <list> Folders inside those to skip.
426
+ --accept-indexing Agree to index those folders.
427
+ --apply Make the changes.
428
+
429
+ With --non-interactive or --json, all three of --scan-roots,
430
+ --accept-indexing and --apply are required.
431
+
432
+ Example
433
+ mnemonik scanner enable --scan-roots ~/projects --accept-indexing --apply
434
+ `
435
+ ],
436
+ [
437
+ "scanner start",
438
+ `Start background indexing if it is stopped. Says so if it is already
439
+ running.
440
+
441
+ Usage: mnemonik scanner start [--json]
442
+
443
+ Example
444
+ mnemonik scanner start
445
+ `
446
+ ],
447
+ [
448
+ "scanner stop",
449
+ `Stop background indexing. It starts again when this machine restarts.
450
+
451
+ Usage: mnemonik scanner stop [--json]
452
+
453
+ Example
454
+ mnemonik scanner stop
455
+ `
456
+ ],
457
+ [
458
+ "scanner pause",
459
+ `Pause indexing while the service keeps running. Nothing is sent until you
460
+ run resume.
461
+
462
+ Usage: mnemonik scanner pause [--json]
463
+
464
+ Example
465
+ mnemonik scanner pause
466
+ `
467
+ ],
468
+ [
469
+ "scanner resume",
470
+ `Resume paused indexing.
471
+
472
+ Usage: mnemonik scanner resume [--json]
473
+
474
+ Example
475
+ mnemonik scanner resume
476
+ `
477
+ ],
478
+ [
479
+ "scanner status",
480
+ `Show whether background indexing is running, which folders it covers, and
481
+ when each was last sent. Changes nothing.
482
+
483
+ Usage: mnemonik scanner status [--json]
484
+
485
+ Example
486
+ mnemonik scanner status
487
+ `
488
+ ],
489
+ [
490
+ "scanner uninstall",
491
+ `Stop background indexing and remove it from this machine. Your consent and
492
+ cloud data are kept; run mnemonik scanner enable to set it up again.
493
+
494
+ Usage: mnemonik scanner uninstall [--json]
495
+
496
+ Example
497
+ mnemonik scanner uninstall
498
+ `
499
+ ],
500
+ [
501
+ "scanner export-preview",
502
+ `Write to a file exactly what background indexing would send for its
503
+ folders, so you can read it before anything leaves this machine. Sends
504
+ nothing.
505
+
506
+ Usage: mnemonik scanner export-preview --out <file>
507
+
508
+ Options
509
+ --out <file> Where to write the preview. Required.
510
+
511
+ Example
512
+ mnemonik scanner export-preview --out ~/mnemonik-preview.json
513
+ `
514
+ ],
515
+ [
516
+ "roots",
517
+ `Older names for add and remove, plus a list of the indexed folders.
518
+
519
+ Usage: mnemonik roots <subcommand> [folder]
520
+
521
+ Subcommands
522
+ add <folder> Same as mnemonik add <folder>.
523
+ remove <folder> Same as mnemonik remove <folder>.
524
+ list Show the folders being indexed. Changes nothing.
525
+
526
+ Example
527
+ mnemonik roots list
528
+ `
529
+ ],
530
+ [
531
+ "data delete",
532
+ `Delete everything background indexing has sent for one project from your
533
+ account, and confirm the count is zero. The project and its memories stay.
534
+ Asks first.
535
+
536
+ Usage: mnemonik data delete --project <id> [--confirm]
537
+
538
+ Options
539
+ --project <id> The project. Required.
540
+ --confirm Delete without being asked. Required with
541
+ --non-interactive or --json.
542
+
543
+ Example
544
+ mnemonik data delete --project <project-id>
545
+ `
546
+ ],
547
+ [
548
+ "diagnostics",
549
+ `Prepare and send a diagnostics bundle when support asks for one. preview
550
+ writes the bundle to a file for you to read first; send uploads it.
551
+
552
+ Usage: mnemonik diagnostics preview [--out <file>]
553
+ mnemonik diagnostics send <bundle-id>
554
+
555
+ Options
556
+ --out <file> Where preview writes the bundle.
557
+
558
+ Arguments
559
+ <bundle-id> The id preview printed, once you have read
560
+ the file and want support to have it.
561
+
562
+ Example
563
+ mnemonik diagnostics preview
564
+ `
565
+ ],
566
+ [
567
+ "identity migrate",
568
+ `Bring older .mnemonik.json files up to the current format. Reports by
569
+ default and changes nothing; --backup saves copies; --apply rewrites them;
570
+ --verify checks the result; --rollback restores a saved run.
571
+
572
+ Usage: mnemonik identity migrate [paths...] [options]
573
+
574
+ Arguments
575
+ [paths...] Extra folders to check, on top of the
576
+ projects your editors already know about.
577
+
578
+ Options
579
+ --report List what would change. The default.
580
+ --backup Save a copy of each file before changing it.
581
+ --apply Rewrite the files.
582
+ --verify Check that rewritten files are correct.
583
+ --rollback <run-id> Restore the copies saved by an earlier --backup.
584
+
585
+ Example
586
+ mnemonik identity migrate --report
587
+ `
588
+ ]
589
+ ]);
590
+ var groupsWithSubcommandHelp = /* @__PURE__ */ new Set(["auth", "project", "scanner"]);
591
+ var sharedGroupScreens = /* @__PURE__ */ new Map([
592
+ ["diagnostics", /* @__PURE__ */ new Set(["preview", "send"])],
593
+ ["roots", /* @__PURE__ */ new Set(["add", "remove", "list"])]
594
+ ]);
595
+ function helpScreen(positionals) {
596
+ if (!positionals.length) return screens.get("");
597
+ const [command, subcommand] = positionals;
598
+ if (groupsWithSubcommandHelp.has(command ?? "") && subcommand)
599
+ return screens.get(`${command} ${subcommand}`);
600
+ const sharedSubcommands = sharedGroupScreens.get(command ?? "");
601
+ if (sharedSubcommands && subcommand)
602
+ return sharedSubcommands.has(subcommand) ? screens.get(command ?? "") : void 0;
603
+ if ((command === "data" || command === "identity") && subcommand)
604
+ return screens.get(`${command} ${subcommand}`);
605
+ return screens.get(command ?? "");
606
+ }
607
+ export {
608
+ helpScreen
609
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.js","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,IAAI,GAAG,CAAiB;IACtC;QACE,EAAE;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCH;KACE;IACD;QACE,SAAS;QACT;;;;;;;;;;;;;;;;;;;;;;;;CAwBH;KACE;IACD;QACE,QAAQ;QACR;;;;;;;;;CASH;KACE;IACD;QACE,KAAK;QACL;;;;;;;;;;;;;;;;;CAiBH;KACE;IACD;QACE,QAAQ;QACR;;;;;;;;;;;;;;CAcH;KACE;IACD;QACE,SAAS;QACT;;;;;;;;;;;;CAYH;KACE;IACD;QACE,SAAS;QACT;;;;;;;;;;;;;;;;;CAiBH;KACE;IACD;QACE,gBAAgB;QAChB;;;;;;;;;;CAUH;KACE;IACD;QACE,cAAc;QACd;;;;;;;;;;;;;;;;CAgBH;KACE;IACD;QACE,cAAc;QACd;;;;;;;;;;;;;;;;;;CAkBH;KACE;IACD;QACE,gBAAgB;QAChB;;;;;;;;;;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EAAE,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC,OAAO,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;CAC9C,CAAC,CAAC;AAEH,MAAM,UAAU,UAAU,CAAC,WAAqB;IAC9C,IAAI,CAAC,WAAW,CAAC,MAAM;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAChD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,WAAW,CAAC;IAC1C,IAAI,wBAAwB,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,IAAI,UAAU;QAC3D,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,IAAI,UAAU,EAAE,CAAC,CAAC;IACjD,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;IAChE,IAAI,iBAAiB,IAAI,UAAU;QACjC,OAAO,iBAAiB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACpF,IAAI,CAAC,OAAO,KAAK,MAAM,IAAI,OAAO,KAAK,UAAU,CAAC,IAAI,UAAU;QAC9D,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,IAAI,UAAU,EAAE,CAAC,CAAC;IACjD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;AACpC,CAAC"}
package/dist/router.d.ts CHANGED
@@ -21,6 +21,8 @@ export declare const alreadyConnectedFolderLine: (name: string) => string;
21
21
  export declare const removedFolderLine: (name: string) => string;
22
22
  export declare const projectDeletionWarning: (name: string) => string;
23
23
  export declare const projectDeletedLine: (name: string) => string;
24
+ export declare const NOTHING_DELETED_LINE = "Nothing was deleted.";
25
+ export declare const dataDeletePrompt: (projectId: string) => string;
24
26
  export declare const stillWatchedLine: (root: string) => string;
25
27
  export declare const identityFileKeptLine = "This folder's .mnemonik.json still points at the deleted project. Connecting the folder again creates a new project.";
26
28
  export declare const CODEX_SIGNED_IN_MESSAGE = "Codex is signed in to Mnemonik.";
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AACA,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAK5F,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAML,KAAK,gBAAgB,EAErB,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAiD,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAGpG,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAiC,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAwB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAOL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAKL,KAAK,kBAAkB,EACvB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG3E,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAEpF,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAC;AAErB,OAAO,EA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