@getengram/cli 0.6.1 → 0.7.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.
Files changed (206) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/auth.d.ts.map +1 -1
  3. package/dist/commands/auth.js +38 -11
  4. package/dist/commands/auth.js.map +1 -1
  5. package/dist/commands/conversations.d.ts.map +1 -1
  6. package/dist/commands/conversations.js +8 -2
  7. package/dist/commands/conversations.js.map +1 -1
  8. package/dist/commands/exclude.d.ts.map +1 -1
  9. package/dist/commands/exclude.js +73 -21
  10. package/dist/commands/exclude.js.map +1 -1
  11. package/dist/commands/import.d.ts +30 -3
  12. package/dist/commands/import.d.ts.map +1 -1
  13. package/dist/commands/import.js +374 -45
  14. package/dist/commands/import.js.map +1 -1
  15. package/dist/commands/login.d.ts.map +1 -1
  16. package/dist/commands/login.js +144 -29
  17. package/dist/commands/login.js.map +1 -1
  18. package/dist/commands/search.js +2 -2
  19. package/dist/commands/search.js.map +1 -1
  20. package/dist/commands/status.d.ts +16 -0
  21. package/dist/commands/status.d.ts.map +1 -0
  22. package/dist/commands/status.js +51 -0
  23. package/dist/commands/status.js.map +1 -0
  24. package/dist/commands/store.d.ts.map +1 -1
  25. package/dist/commands/store.js +19 -3
  26. package/dist/commands/store.js.map +1 -1
  27. package/dist/commands/upgrade.d.ts +24 -0
  28. package/dist/commands/upgrade.d.ts.map +1 -1
  29. package/dist/commands/upgrade.js +64 -15
  30. package/dist/commands/upgrade.js.map +1 -1
  31. package/dist/commands/usage.d.ts +44 -0
  32. package/dist/commands/usage.d.ts.map +1 -1
  33. package/dist/commands/usage.js +79 -19
  34. package/dist/commands/usage.js.map +1 -1
  35. package/dist/commands/vault.d.ts +11 -2
  36. package/dist/commands/vault.d.ts.map +1 -1
  37. package/dist/commands/vault.js +372 -53
  38. package/dist/commands/vault.js.map +1 -1
  39. package/dist/config-file.d.ts +74 -0
  40. package/dist/config-file.d.ts.map +1 -0
  41. package/dist/config-file.js +152 -0
  42. package/dist/config-file.js.map +1 -0
  43. package/dist/config-guard.d.ts +96 -0
  44. package/dist/config-guard.d.ts.map +1 -0
  45. package/dist/config-guard.js +184 -0
  46. package/dist/config-guard.js.map +1 -0
  47. package/dist/config.d.ts +48 -4
  48. package/dist/config.d.ts.map +1 -1
  49. package/dist/config.js +101 -12
  50. package/dist/config.js.map +1 -1
  51. package/dist/daemon/as-root.d.ts +46 -0
  52. package/dist/daemon/as-root.d.ts.map +1 -0
  53. package/dist/daemon/as-root.js +64 -0
  54. package/dist/daemon/as-root.js.map +1 -0
  55. package/dist/daemon/backoff.d.ts +26 -0
  56. package/dist/daemon/backoff.d.ts.map +1 -0
  57. package/dist/daemon/backoff.js +37 -0
  58. package/dist/daemon/backoff.js.map +1 -0
  59. package/dist/daemon/codex-parser.d.ts +38 -4
  60. package/dist/daemon/codex-parser.d.ts.map +1 -1
  61. package/dist/daemon/codex-parser.js +111 -23
  62. package/dist/daemon/codex-parser.js.map +1 -1
  63. package/dist/daemon/command-path.d.ts +13 -0
  64. package/dist/daemon/command-path.d.ts.map +1 -0
  65. package/dist/daemon/command-path.js +35 -0
  66. package/dist/daemon/command-path.js.map +1 -0
  67. package/dist/daemon/commands.d.ts +146 -5
  68. package/dist/daemon/commands.d.ts.map +1 -1
  69. package/dist/daemon/commands.js +2766 -316
  70. package/dist/daemon/commands.js.map +1 -1
  71. package/dist/daemon/db.d.ts +255 -27
  72. package/dist/daemon/db.d.ts.map +1 -1
  73. package/dist/daemon/db.js +749 -53
  74. package/dist/daemon/db.js.map +1 -1
  75. package/dist/daemon/exclusions.d.ts +23 -3
  76. package/dist/daemon/exclusions.d.ts.map +1 -1
  77. package/dist/daemon/exclusions.js +91 -21
  78. package/dist/daemon/exclusions.js.map +1 -1
  79. package/dist/daemon/homebrew.d.ts +26 -0
  80. package/dist/daemon/homebrew.d.ts.map +1 -0
  81. package/dist/daemon/homebrew.js +43 -0
  82. package/dist/daemon/homebrew.js.map +1 -0
  83. package/dist/daemon/instance.d.ts +427 -0
  84. package/dist/daemon/instance.d.ts.map +1 -0
  85. package/dist/daemon/instance.js +1201 -0
  86. package/dist/daemon/instance.js.map +1 -0
  87. package/dist/daemon/key-source.d.ts +41 -0
  88. package/dist/daemon/key-source.d.ts.map +1 -0
  89. package/dist/daemon/key-source.js +89 -0
  90. package/dist/daemon/key-source.js.map +1 -0
  91. package/dist/daemon/launch.d.ts +56 -0
  92. package/dist/daemon/launch.d.ts.map +1 -0
  93. package/dist/daemon/launch.js +153 -0
  94. package/dist/daemon/launch.js.map +1 -0
  95. package/dist/daemon/launchd.d.ts +215 -0
  96. package/dist/daemon/launchd.d.ts.map +1 -0
  97. package/dist/daemon/launchd.js +527 -0
  98. package/dist/daemon/launchd.js.map +1 -0
  99. package/dist/daemon/login-start.d.ts +2 -0
  100. package/dist/daemon/login-start.d.ts.map +1 -0
  101. package/dist/daemon/login-start.js +25 -0
  102. package/dist/daemon/login-start.js.map +1 -0
  103. package/dist/daemon/ownership.d.ts +123 -0
  104. package/dist/daemon/ownership.d.ts.map +1 -0
  105. package/dist/daemon/ownership.js +245 -0
  106. package/dist/daemon/ownership.js.map +1 -0
  107. package/dist/daemon/package-runner.d.ts +28 -0
  108. package/dist/daemon/package-runner.d.ts.map +1 -0
  109. package/dist/daemon/package-runner.js +113 -0
  110. package/dist/daemon/package-runner.js.map +1 -0
  111. package/dist/daemon/parser.d.ts +45 -7
  112. package/dist/daemon/parser.d.ts.map +1 -1
  113. package/dist/daemon/parser.js +153 -53
  114. package/dist/daemon/parser.js.map +1 -1
  115. package/dist/daemon/powershell.d.ts +25 -0
  116. package/dist/daemon/powershell.d.ts.map +1 -0
  117. package/dist/daemon/powershell.js +30 -0
  118. package/dist/daemon/powershell.js.map +1 -0
  119. package/dist/daemon/preflight.d.ts.map +1 -1
  120. package/dist/daemon/preflight.js +5 -1
  121. package/dist/daemon/preflight.js.map +1 -1
  122. package/dist/daemon/prune.d.ts +101 -0
  123. package/dist/daemon/prune.d.ts.map +1 -0
  124. package/dist/daemon/prune.js +287 -0
  125. package/dist/daemon/prune.js.map +1 -0
  126. package/dist/daemon/queue-error.d.ts +47 -0
  127. package/dist/daemon/queue-error.d.ts.map +1 -0
  128. package/dist/daemon/queue-error.js +59 -0
  129. package/dist/daemon/queue-error.js.map +1 -0
  130. package/dist/daemon/root-daemon.d.ts +60 -0
  131. package/dist/daemon/root-daemon.d.ts.map +1 -0
  132. package/dist/daemon/root-daemon.js +86 -0
  133. package/dist/daemon/root-daemon.js.map +1 -0
  134. package/dist/daemon/scoop.d.ts +52 -0
  135. package/dist/daemon/scoop.d.ts.map +1 -0
  136. package/dist/daemon/scoop.js +84 -0
  137. package/dist/daemon/scoop.js.map +1 -0
  138. package/dist/daemon/scrubber.d.ts +396 -14
  139. package/dist/daemon/scrubber.d.ts.map +1 -1
  140. package/dist/daemon/scrubber.js +915 -52
  141. package/dist/daemon/scrubber.js.map +1 -1
  142. package/dist/daemon/status.d.ts +306 -11
  143. package/dist/daemon/status.d.ts.map +1 -1
  144. package/dist/daemon/status.js +568 -43
  145. package/dist/daemon/status.js.map +1 -1
  146. package/dist/daemon/supervise.d.ts +78 -0
  147. package/dist/daemon/supervise.d.ts.map +1 -0
  148. package/dist/daemon/supervise.js +121 -0
  149. package/dist/daemon/supervise.js.map +1 -0
  150. package/dist/daemon/supervisor.d.ts +18 -0
  151. package/dist/daemon/supervisor.d.ts.map +1 -0
  152. package/dist/daemon/supervisor.js +56 -0
  153. package/dist/daemon/supervisor.js.map +1 -0
  154. package/dist/daemon/syncer.d.ts +380 -21
  155. package/dist/daemon/syncer.d.ts.map +1 -1
  156. package/dist/daemon/syncer.js +1432 -182
  157. package/dist/daemon/syncer.js.map +1 -1
  158. package/dist/daemon/systemd.d.ts +109 -0
  159. package/dist/daemon/systemd.d.ts.map +1 -0
  160. package/dist/daemon/systemd.js +363 -0
  161. package/dist/daemon/systemd.js.map +1 -0
  162. package/dist/daemon/types.d.ts +58 -6
  163. package/dist/daemon/types.d.ts.map +1 -1
  164. package/dist/daemon/vault-changed.d.ts +29 -0
  165. package/dist/daemon/vault-changed.d.ts.map +1 -0
  166. package/dist/daemon/vault-changed.js +47 -0
  167. package/dist/daemon/vault-changed.js.map +1 -0
  168. package/dist/daemon/vault-key-missing.d.ts +70 -0
  169. package/dist/daemon/vault-key-missing.d.ts.map +1 -0
  170. package/dist/daemon/vault-key-missing.js +125 -0
  171. package/dist/daemon/vault-key-missing.js.map +1 -0
  172. package/dist/daemon/watcher.d.ts +87 -4
  173. package/dist/daemon/watcher.d.ts.map +1 -1
  174. package/dist/daemon/watcher.js +286 -36
  175. package/dist/daemon/watcher.js.map +1 -1
  176. package/dist/daemon/worker-main.js +352 -64
  177. package/dist/daemon/worker-main.js.map +1 -1
  178. package/dist/daemon/worker.js +19 -1
  179. package/dist/daemon/worker.js.map +1 -1
  180. package/dist/import-resume.d.ts +163 -0
  181. package/dist/import-resume.d.ts.map +1 -0
  182. package/dist/import-resume.js +267 -0
  183. package/dist/import-resume.js.map +1 -0
  184. package/dist/index.js +242 -33
  185. package/dist/index.js.map +1 -1
  186. package/dist/message-bounds.d.ts +52 -0
  187. package/dist/message-bounds.d.ts.map +1 -0
  188. package/dist/message-bounds.js +157 -0
  189. package/dist/message-bounds.js.map +1 -0
  190. package/dist/output.d.ts +14 -0
  191. package/dist/output.d.ts.map +1 -1
  192. package/dist/output.js +33 -5
  193. package/dist/output.js.map +1 -1
  194. package/dist/private-files.d.ts +126 -0
  195. package/dist/private-files.d.ts.map +1 -0
  196. package/dist/private-files.js +372 -0
  197. package/dist/private-files.js.map +1 -0
  198. package/dist/server-url.d.ts +31 -0
  199. package/dist/server-url.d.ts.map +1 -0
  200. package/dist/server-url.js +47 -0
  201. package/dist/server-url.js.map +1 -0
  202. package/dist/vault-key.d.ts +122 -0
  203. package/dist/vault-key.d.ts.map +1 -0
  204. package/dist/vault-key.js +273 -0
  205. package/dist/vault-key.js.map +1 -0
  206. package/package.json +2 -2
@@ -1,23 +1,164 @@
1
+ import { type ChildProcess } from "node:child_process";
2
+ import { type UnitState } from "./systemd.js";
3
+ import { type PlistState } from "./launchd.js";
1
4
  export declare function daemonStart(_args: string[], flags: Record<string, string>): Promise<void>;
5
+ /**
6
+ * Wait for the daemon the service manager was asked to start (kickstartAgent,
7
+ * startUnit) to answer on its socket as ready, as waitForWorker waits for
8
+ * one spawned. Its PID is the service manager's (`pidOf`: agentPid by
9
+ * default), asked for at once: launchd names the process as it starts it,
10
+ * and systemd keeps naming the last one it started, so one that exits as it
11
+ * starts is still seen to have started. Gives up as soon as that process
12
+ * has exited with nothing holding the socket: it couldn't start. A daemon
13
+ * that answers, ready, is the one running: the service manager's, or one
14
+ * started beside it, which the service manager's leaves the capture to
15
+ * (engram#612).
16
+ *
17
+ * Null when the service manager hasn't started a process within
18
+ * `spawnWaitMs`: the caller spawns the daemon then. Exported for tests.
19
+ */
20
+ export declare function waitForAgent(timeoutMs?: number, spawnWaitMs?: number, pidOf?: () => number | null): Promise<WorkerStart | null>;
21
+ export type WorkerStart = {
22
+ state: "running";
23
+ pid: number;
24
+ } | {
25
+ state: "starting";
26
+ pid: number | null;
27
+ } | {
28
+ state: "failed";
29
+ };
30
+ /**
31
+ * Wait for a worker just spawned to answer on the daemon's socket as ready:
32
+ * past the preflight, capture set up. A fixed half-second pause was too
33
+ * short on Windows, where Node loads slowly the first time while antivirus
34
+ * scans each file: `engram start` reported a failure, exited 1 and skipped
35
+ * --install, and the daemon came up a moment later (engram#602). Gives up as
36
+ * soon as the worker exits with an error.
37
+ *
38
+ * `supervisor`: `child` is the Windows supervisor (engram#613), which starts
39
+ * the worker, so the worker's PID is the one that answers. While this
40
+ * waits, the supervisor exits only when its first worker does: with
41
+ * START_FAILED_EXIT when that one couldn't start, and 0 when it found
42
+ * another daemon running. After any other error it starts the worker again.
43
+ */
44
+ export declare function waitForWorker(child: ChildProcess, timeoutMs?: number, options?: {
45
+ supervisor?: boolean;
46
+ }): Promise<WorkerStart>;
47
+ /**
48
+ * How long `engram stop` waits on Windows for the daemon to take its request
49
+ * to stop (engram#613). The daemon looks for one every second.
50
+ */
51
+ export declare const STOP_PICKUP_MS = 10000;
52
+ /**
53
+ * Stop the daemon: only a process confirmed to be it is signalled
54
+ * (engram#612), and this waits for it to finish a send in progress and exit,
55
+ * so an `engram start` straight after starts a new one.
56
+ *
57
+ * On Windows a signal can't be caught there: process.kill ends the process
58
+ * wherever it is (TerminateProcess), in the middle of a send or of writing
59
+ * its queue. So there `engram stop` asks the daemon to stop through
60
+ * STOP_FILE, and it stops as it does for SIGTERM elsewhere (engram#613).
61
+ * Only a daemon from before that, or one that doesn't take the request in
62
+ * STOP_PICKUP_MS, is ended outright. Nothing queued is lost either way: what
63
+ * it was sending is sent again when it next starts. One that holds its pipe
64
+ * and doesn't answer is left running there: that is most often a daemon
65
+ * rebuilding better-sqlite3, which ending it would cut off half done
66
+ * (engram#640).
67
+ */
2
68
  export declare function daemonStop(): Promise<void>;
3
69
  export declare function daemonStatus(): Promise<void>;
70
+ /** What repairLaunchdIfStale did. */
71
+ export type LaunchdRepair =
72
+ /** Rewrote the plist, and reloaded the job. */
73
+ "repaired"
74
+ /** Nothing: the plist is current, or left as it is. */
75
+ | "unchanged"
76
+ /** The plist needs rewriting, and ~/Library/LaunchAgents isn't the user's (engram#715). */
77
+ | "refused"
78
+ /**
79
+ * Nothing, and it is broken: this CLI runs from a package runner's cache,
80
+ * which nothing is pointed at (engram#665).
81
+ */
82
+ | "runner";
4
83
  /**
5
- * Rewrite and reload a stale launchd plist (engram#469).
84
+ * Rewrite and reload a plist of ours that an older CLI wrote (engram#469),
85
+ * or that can't start the daemon (engram#616): one launchd can't read, or
86
+ * one naming a Node or a CLI that has since moved. Or one naming them in a
87
+ * Homebrew version that the next upgrade removes (engram#652).
6
88
  *
7
89
  * Without this, a plist defect is permanent: `brew upgrade` / `npm i -g`
8
90
  * replaces the code but leaves the plist, so the machine keeps launching the
9
91
  * old entry point forever. That is how a self-heal shipped in 0.4.2 was still
10
92
  * inert on a 0.6.0 install. Runs on any daemon start; silent when current.
93
+ *
94
+ * One the user switched off in launchd is left as it is, as on Linux: only
95
+ * `engram install` switches it back on (engram#654).
96
+ *
97
+ * In a ~/Library/LaunchAgents that isn't the user's, it can't be rewritten:
98
+ * that is said, unless `quiet` (engram#715). It used to be left broken
99
+ * without a word, while `engram status` said to run `engram install`,
100
+ * which failed on it too. Auto-capture says it with the rest, and `engram
101
+ * start --install` as it turns start at login on.
102
+ *
103
+ * From a CLI that a package runner runs from its cache, it is left as it
104
+ * is (engram#665): the cache can be cleared at any time. "runner" when it
105
+ * is broken, and not switched off, for the caller to say.
11
106
  */
12
- export declare function migrateLaunchdIfStale(): boolean;
107
+ export declare function repairLaunchdIfStale(plist?: PlistState, { quiet }?: {
108
+ quiet?: boolean;
109
+ }): LaunchdRepair;
110
+ /** The command line Windows runs at sign-in. Exported for tests. */
111
+ export declare function runEntryCommand(nodePath: string, entryPath: string): string;
112
+ /**
113
+ * Our value's data in a `reg export` of the Run key: null when it isn't
114
+ * there, "" when it is but isn't a plain string. Exported for tests.
115
+ *
116
+ * The export, not `reg query`: reg prints in the console's code page, so a
117
+ * path with a letter outside it (the "í" of "C:\Users\Ana María\…") came
118
+ * back mangled and a working entry read as broken. The export is UTF-16.
119
+ */
120
+ export declare function parseRunExport(exported: string): string | null;
121
+ /**
122
+ * Whether a `reg export` of the StartupApproved key has our entry switched
123
+ * off (see APPROVED_KEY). Exported for tests.
124
+ */
125
+ export declare function parseApprovedExport(exported: string): boolean;
126
+ /**
127
+ * Point a broken entry at this CLI, the counterpart of repairLaunchdIfStale:
128
+ * an entry naming a Node or a CLI that has since moved fails at every
129
+ * sign-in without a word. And one naming a package runner's cache, which
130
+ * can be cleared at any time (engram#665), or Node by a Scoop version the
131
+ * next update and cleanup remove (engram#664). A working entry is left as
132
+ * it is. So is any, from a CLI that runs from such a cache: "runner" when
133
+ * it is broken, and not switched off in Startup apps, for the caller to say.
134
+ */
135
+ export declare function repairRunEntryIfStale(entry?: string | null): Exclude<LaunchdRepair, "refused">;
136
+ /**
137
+ * Rewrite an enabled unit of ours that names a Node or a CLI that has since
138
+ * moved, or that an older CLI wrote, or that names them in a Homebrew version
139
+ * (engram#652) or a package runner's cache (engram#665): the counterpart of
140
+ * repairLaunchdIfStale and repairRunEntryIfStale. One the user disabled is
141
+ * left as it is. So is any, from a CLI that runs from such a cache:
142
+ * "runner" when it is broken, for the caller to say.
143
+ */
144
+ export declare function repairSystemdUnitIfStale(unit?: UnitState): Exclude<LaunchdRepair, "refused">;
13
145
  export declare function daemonInstall(): Promise<void>;
14
146
  /**
15
147
  * Auto-capture is the product default: a successful interactive login
16
148
  * turns the capture daemon on and enables start-at-login, loudly, with a
17
149
  * one-line off switch. Never fatal — login must succeed even if the
18
- * daemon can't start. Skipped for scripted logins (no TTY) and when
19
- * ENGRAM_NO_AUTOCAPTURE is set.
150
+ * daemon can't start. Skipped for scripted logins (no TTY), when
151
+ * ENGRAM_NO_AUTOCAPTURE is set, and for root run for someone else, which
152
+ * would set capture up for root (engram#653).
153
+ *
154
+ * After any other command it makes sure capture is still on, and says so
155
+ * only when it had to do something: start the daemon, or turn on or repair
156
+ * start at login (engram#644). A reminder after every search pushes the
157
+ * command's own output up, and teaches people to skip what follows a
158
+ * command, which is where a real warning would be.
20
159
  */
21
- export declare function autoEnableCapture(): Promise<void>;
160
+ export declare function autoEnableCapture({ after }: {
161
+ after: "login" | "command";
162
+ }): Promise<void>;
22
163
  export declare function daemonUninstall(): Promise<void>;
23
164
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/daemon/commands.ts"],"names":[],"mappings":"AAiGA,wBAAsB,WAAW,CAC/B,KAAK,EAAE,MAAM,EAAE,EACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC5B,OAAO,CAAC,IAAI,CAAC,CAqDf;AAYD,wBAAsB,UA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