@vinihcrosa/lumem-os 0.5.0 → 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.
- package/README.md +16 -5
- package/bin/lumem.mjs +1110 -181
- package/dist/server/main.mjs +6477 -2785
- package/dist/web/assets/{codemirror-setup-DJO1HmWW.js → codemirror-setup-Dz1snhDw.js} +1 -1
- package/dist/web/assets/index-CS8iEPU6.css +32 -0
- package/dist/web/assets/index-e0RfxsGe.js +107 -0
- package/dist/web/index.html +2 -2
- package/drizzle/0033_agente_sempre_acp.sql +65 -0
- package/drizzle/0034_motivo_do_pendente.sql +1 -0
- package/drizzle/0035_conta_de_agente.sql +84 -0
- package/drizzle/0036_conta_do_encaixe.sql +5 -0
- package/drizzle/0037_continuacao_de_conta.sql +5 -0
- package/drizzle/0038_conta_principal.sql +7 -0
- package/drizzle/0039_espera_da_cota.sql +2 -0
- package/drizzle/0040_configuracao_do_daemon.sql +11 -0
- package/drizzle/meta/0033_snapshot.json +2644 -0
- package/drizzle/meta/0034_snapshot.json +2651 -0
- package/drizzle/meta/0035_snapshot.json +2823 -0
- package/drizzle/meta/0036_snapshot.json +2850 -0
- package/drizzle/meta/0037_snapshot.json +2870 -0
- package/drizzle/meta/0038_snapshot.json +2870 -0
- package/drizzle/meta/0039_snapshot.json +2885 -0
- package/drizzle/meta/0040_snapshot.json +2931 -0
- package/drizzle/meta/_journal.json +56 -0
- package/package.json +2 -2
- package/dist/web/assets/index-BV0JIdw9.css +0 -32
- package/dist/web/assets/index-Dzie5jh_.js +0 -101
package/README.md
CHANGED
|
@@ -20,13 +20,24 @@ npm i -g @vinihcrosa/lumem-os
|
|
|
20
20
|
lumem
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
`lumem` installs the daemon as a service of your login session (launchd on macOS,
|
|
24
|
+
`systemd --user` on Linux) and starts it, so closing the terminal does not stop it.
|
|
25
|
+
It serves the interface on `http://127.0.0.1:4317`. `lumem --open` opens a browser
|
|
26
|
+
too. `lumem status` says whether it is running, `lumem logs [-f]` shows its log and
|
|
27
|
+
`lumem stop` stops it and takes it out of your login. Where there is no supervisor,
|
|
28
|
+
or you would rather keep it in a terminal, `lumem run` is the foreground process.
|
|
25
29
|
|
|
26
30
|
`lumem upgrade` updates it: it asks npm for the latest version, reinstalls with
|
|
27
|
-
the package manager that owns the installed copy
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
the package manager that owns the installed copy and, when the daemon runs as a
|
|
32
|
+
service, restarts it and says which version answers afterwards; a daemon in a
|
|
33
|
+
terminal (`lumem run`) is told it keeps the old code until it is restarted.
|
|
34
|
+
`lumem upgrade --check` only reports.
|
|
35
|
+
|
|
36
|
+
The daemon also looks for a new version by itself, at boot and every six hours,
|
|
37
|
+
with one `GET` to the npm registry and nothing else in it. Under the service the
|
|
38
|
+
top bar then shows `Atualizar`, which installs and restarts in one gesture and
|
|
39
|
+
brings the page back on the new version. Set `LUMEM_NO_UPDATE_CHECK=1`, or turn the
|
|
40
|
+
check off in `/settings`, to make no request at all.
|
|
30
41
|
|
|
31
42
|
The name is neither short nor pretty for a reason: npm refuses the bare `lumem`
|
|
32
43
|
as too similar to `mem`, and `@vinihcrosa/lumem` is already a different project.
|