litepaseo 0.2.0 → 0.3.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/CHANGELOG.md +78 -0
- package/README.md +113 -39
- package/dist/server/cli.mjs +1346 -150
- package/dist/web/assets/{CodeBlockNode-CehKIzSk.js → CodeBlockNode-fLbELjCG.js} +1 -1
- package/dist/web/assets/CodeBlockNode-fLbELjCG.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-fLbELjCG.js.gz +0 -0
- package/dist/web/assets/{FileViewer-01t53KTX.js → FileViewer-C7zGfiFt.js} +1 -1
- package/dist/web/assets/FileViewer-C7zGfiFt.js.br +0 -0
- package/dist/web/assets/FileViewer-C7zGfiFt.js.gz +0 -0
- package/dist/web/assets/{FilesPanel-B7NknFvl.js → FilesPanel-B1YfdWK8.js} +1 -1
- package/dist/web/assets/FilesPanel-B1YfdWK8.js.br +0 -0
- package/dist/web/assets/FilesPanel-B1YfdWK8.js.gz +0 -0
- package/dist/web/assets/{MarkdownMessage-UlvozPc5.js → MarkdownMessage-C30PkBRA.js} +5 -5
- package/dist/web/assets/MarkdownMessage-C30PkBRA.js.br +0 -0
- package/dist/web/assets/{MarkdownMessage-UlvozPc5.js.gz → MarkdownMessage-C30PkBRA.js.gz} +0 -0
- package/dist/web/assets/{PreCodeBlock-DPQTlYty.js → PreCodeBlock-3ozveRNf.js} +1 -1
- package/dist/web/assets/{PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js → PreCodeBlock.vue_vue_type_style_index_0_lang-BPnMZFbo.js} +1 -1
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-BPnMZFbo.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-BPnMZFbo.js.gz +0 -0
- package/dist/web/assets/{TerminalPanel-BdmAonFr.js → TerminalPanel-BR2okuCE.js} +1 -1
- package/dist/web/assets/TerminalPanel-BR2okuCE.js.br +0 -0
- package/dist/web/assets/TerminalPanel-BR2okuCE.js.gz +0 -0
- package/dist/web/assets/{Tooltip-BJ2o2M_0.js → Tooltip-Dh7ELGI1.js} +1 -1
- package/dist/web/assets/Tooltip-Dh7ELGI1.js.br +0 -0
- package/dist/web/assets/Tooltip-Dh7ELGI1.js.gz +0 -0
- package/dist/web/assets/index-BJ4CkuXT.js +30 -0
- package/dist/web/assets/index-BJ4CkuXT.js.br +0 -0
- package/dist/web/assets/index-BJ4CkuXT.js.gz +0 -0
- package/dist/web/assets/index-CaFqUnEO.css +1 -0
- package/dist/web/assets/index-CaFqUnEO.css.br +0 -0
- package/dist/web/assets/index-CaFqUnEO.css.gz +0 -0
- package/dist/web/assets/{index10-WpTfisco.js → index10-BXOnBXXV.js} +1 -1
- package/dist/web/assets/index10-BXOnBXXV.js.br +0 -0
- package/dist/web/assets/index10-BXOnBXXV.js.gz +0 -0
- package/dist/web/assets/index3-C1CbKHXb.js +1 -0
- package/dist/web/assets/index4-CE4EA6Rx.js +1 -0
- package/dist/web/assets/{index5-BCbIyN1t.js → index5-BrR0S3K6.js} +1 -1
- package/dist/web/assets/index5-BrR0S3K6.js.br +0 -0
- package/dist/web/assets/index5-BrR0S3K6.js.gz +0 -0
- package/dist/web/assets/{index6-CbdnTDhy.js → index6-DWBoE2gM.js} +1 -1
- package/dist/web/assets/index6-DWBoE2gM.js.br +0 -0
- package/dist/web/assets/index6-DWBoE2gM.js.gz +0 -0
- package/dist/web/assets/{index7-BzNzdNxO.js → index7-CoJTOvQ5.js} +1 -1
- package/dist/web/assets/index7-CoJTOvQ5.js.br +0 -0
- package/dist/web/assets/index7-CoJTOvQ5.js.gz +0 -0
- package/dist/web/assets/{index8-CD8jmACo.js → index8-CQGhir4p.js} +1 -1
- package/dist/web/assets/index8-CQGhir4p.js.br +0 -0
- package/dist/web/assets/index8-CQGhir4p.js.gz +0 -0
- package/dist/web/assets/{index9-9FYLmtt9.js → index9-D_kItRZJ.js} +1 -1
- package/dist/web/assets/index9-D_kItRZJ.js.br +0 -0
- package/dist/web/assets/index9-D_kItRZJ.js.gz +0 -0
- package/dist/web/index.html +2 -2
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/docs/cloudflare-access.md +111 -0
- package/docs/performance-plan.md +119 -241
- package/package.json +5 -2
- package/dist/web/assets/CodeBlockNode-CehKIzSk.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-CehKIzSk.js.gz +0 -0
- package/dist/web/assets/FileViewer-01t53KTX.js.br +0 -0
- package/dist/web/assets/FileViewer-01t53KTX.js.gz +0 -0
- package/dist/web/assets/FilesPanel-B7NknFvl.js.br +0 -0
- package/dist/web/assets/FilesPanel-B7NknFvl.js.gz +0 -0
- package/dist/web/assets/MarkdownMessage-UlvozPc5.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Cdy-YZRP.js.gz +0 -0
- package/dist/web/assets/TerminalPanel-BdmAonFr.js.br +0 -0
- package/dist/web/assets/TerminalPanel-BdmAonFr.js.gz +0 -0
- package/dist/web/assets/Tooltip-BJ2o2M_0.js.br +0 -0
- package/dist/web/assets/Tooltip-BJ2o2M_0.js.gz +0 -0
- package/dist/web/assets/index-D_YTh7Zw.css +0 -1
- package/dist/web/assets/index-D_YTh7Zw.css.br +0 -0
- package/dist/web/assets/index-D_YTh7Zw.css.gz +0 -0
- package/dist/web/assets/index-civcSERr.js +0 -27
- package/dist/web/assets/index-civcSERr.js.br +0 -0
- package/dist/web/assets/index-civcSERr.js.gz +0 -0
- package/dist/web/assets/index10-WpTfisco.js.br +0 -0
- package/dist/web/assets/index10-WpTfisco.js.gz +0 -0
- package/dist/web/assets/index3-C4yf5W5o.js +0 -1
- package/dist/web/assets/index4-Cwl0ij4U.js +0 -1
- package/dist/web/assets/index5-BCbIyN1t.js.br +0 -0
- package/dist/web/assets/index5-BCbIyN1t.js.gz +0 -0
- package/dist/web/assets/index6-CbdnTDhy.js.br +0 -0
- package/dist/web/assets/index6-CbdnTDhy.js.gz +0 -0
- package/dist/web/assets/index7-BzNzdNxO.js.br +0 -0
- package/dist/web/assets/index7-BzNzdNxO.js.gz +0 -0
- package/dist/web/assets/index8-CD8jmACo.js.br +0 -0
- package/dist/web/assets/index8-CD8jmACo.js.gz +0 -0
- package/dist/web/assets/index9-9FYLmtt9.js.br +0 -0
- package/dist/web/assets/index9-9FYLmtt9.js.gz +0 -0
- package/docs/operations.md +0 -143
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
### Faster voice input
|
|
6
|
+
|
|
7
|
+
- Voice input uploads audio while recording. Compatible services use Realtime transcription;
|
|
8
|
+
file-only services transcribe phrases during pauses so earlier speech is processed before
|
|
9
|
+
recording ends. Partial text appears above the composer; stopping inserts the final result.
|
|
10
|
+
- Cancel stops microphone capture and pending transcription. Voice sessions use one-use
|
|
11
|
+
tickets, expire with sign-in sessions, and keep API credentials on the server.
|
|
12
|
+
- Completion logs include audio duration, first-text latency, and time from Stop to final
|
|
13
|
+
text, without recording audio or transcript content.
|
|
14
|
+
|
|
15
|
+
### Sign-in hardening
|
|
16
|
+
|
|
17
|
+
- Fixed: with authenticator sign-in off, a bearer token in the `Authorization` header was checked
|
|
18
|
+
without any limit on failed attempts. Bearer tokens now share the sign-in failure budget, and
|
|
19
|
+
are accepted only on direct connections: never through Cloudflare Tunnel or another proxy,
|
|
20
|
+
where only browser sign-in admits anyone. Upgrade if LitePaseo is reachable from the internet.
|
|
21
|
+
- `litepaseo token set` chooses your own access token (at least 16 characters, typed without
|
|
22
|
+
echo or read from standard input); `litepaseo token rotate` replaces it with a new random one.
|
|
23
|
+
Both take effect in the running server without a restart, sign out every browser, and end
|
|
24
|
+
open streams that used the old token.
|
|
25
|
+
- New guide: [Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md), including
|
|
26
|
+
the bypass rule that keeps app install and notifications working.
|
|
27
|
+
|
|
28
|
+
**Upgrading from 0.3.0:** existing transcription settings and model selection are preserved.
|
|
29
|
+
Reverse proxies must allow WebSocket upgrades on `/api/dictation/stream`. Scripts that sent the
|
|
30
|
+
bearer token through a tunnel or proxy must sign in instead or run on the LitePaseo machine.
|
|
31
|
+
|
|
32
|
+
## 0.3.0
|
|
33
|
+
|
|
34
|
+
### Voice input, configured once in LitePaseo
|
|
35
|
+
|
|
36
|
+
- Add an OpenAI-compatible speech-to-text service once in **Settings → Voice input**: base URL,
|
|
37
|
+
API key, model, the languages you speak, and vocabulary to spell correctly. The microphone
|
|
38
|
+
then appears in the composer on every device and works for every host. Paseo daemons are
|
|
39
|
+
no longer involved.
|
|
40
|
+
- `gpt-transcribe` is the default model. It receives `languages[]` and `keywords[]`. This fixes
|
|
41
|
+
mixed-language dictation, such as `zh, en`, which Paseo's dictation cannot do because it
|
|
42
|
+
always sends a single `language` that defaults to `en`. Whisper-style models (`whisper-1`,
|
|
43
|
+
`gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive one `language` and the
|
|
44
|
+
vocabulary as a `prompt`. If a model rejects the language field, LitePaseo retries once with
|
|
45
|
+
the other format.
|
|
46
|
+
- The API key stays on the LitePaseo server and is included in backups. Browsers see only its
|
|
47
|
+
last four characters.
|
|
48
|
+
|
|
49
|
+
**Upgrading from 0.2.0:** voice input no longer uses each host's Paseo dictation settings
|
|
50
|
+
(`features.dictation` in `~/.paseo/config.json`). The microphone stays hidden until you set up
|
|
51
|
+
a transcription service in Settings → Voice input.
|
|
52
|
+
|
|
53
|
+
### Command line
|
|
54
|
+
|
|
55
|
+
- Commands in `litepaseo help` are grouped by purpose, and `litepaseo help <command>` or
|
|
56
|
+
`<command> --help` describes options and examples. Unknown commands exit 2 and suggest a
|
|
57
|
+
correction for typos.
|
|
58
|
+
- `-v`/`--version` prints the version. `litepaseo version` also shows Node.js, platform, data
|
|
59
|
+
directory and the version of the running instance.
|
|
60
|
+
- `status` shows a readable summary (address, uptime, processes, restarts, last error). Add
|
|
61
|
+
`--json` for scripts; it exits 3 when stopped. `start`, `status` and `version` warn when an
|
|
62
|
+
upgrade needs a restart.
|
|
63
|
+
- `logs` supports `-n`/`--lines` and `-f`/`--follow`, and `--follow` continues across log
|
|
64
|
+
rotation. `stop` waits until the instance has exited.
|
|
65
|
+
|
|
66
|
+
### Web
|
|
67
|
+
|
|
68
|
+
- Schedules and Hosts moved to icons in the sidebar footer. The Hosts icon shows a warning dot
|
|
69
|
+
while any host is disconnected.
|
|
70
|
+
- On a phone, the sidebar footer and usage panel are reachable again, and schedule rows use
|
|
71
|
+
the full width.
|
|
72
|
+
- Decorative motion advances once per second, together with the turn timer.
|
|
73
|
+
- The stop button in the composer has a larger glyph.
|
|
74
|
+
|
|
75
|
+
### Fixes
|
|
76
|
+
|
|
77
|
+
- The worker no longer crashes with "database is not open" when host updates arrive during
|
|
78
|
+
shutdown.
|
package/README.md
CHANGED
|
@@ -1,37 +1,44 @@
|
|
|
1
|
+
<img src="public/icons/mark.svg" width="56" height="56" alt="" />
|
|
2
|
+
|
|
1
3
|
# LitePaseo
|
|
2
4
|
|
|
3
|
-
**
|
|
5
|
+
**Your Paseo agents, in a lighter web UI.**
|
|
4
6
|
|
|
5
7
|
Keep track of coding agents across machines, read their output, send messages,
|
|
6
8
|
and respond when they need your input—from a desktop browser or your phone.
|
|
7
|
-
|
|
9
|
+
One console for your existing Paseo daemons, designed to stay open without keeping
|
|
10
|
+
your browser busy.
|
|
11
|
+
|
|
12
|
+
[Get started](#install-and-start) · [Performance comparison](docs/performance-plan.md) · [HTTPS & remote access](#https--remote-access)
|
|
13
|
+
|
|
14
|
+
<img src="docs/images/readme-dark.png" alt="LitePaseo in dark mode showing agent conversations grouped by workspace, a code review conversation, usage indicators, and model, effort, and access controls in the composer." width="1280" />
|
|
15
|
+
|
|
16
|
+
*Your workspaces, conversations, and agent controls in one view. Shown with demo data.*
|
|
8
17
|
|
|
9
18
|
## Why LitePaseo?
|
|
10
19
|
|
|
11
|
-
An agent dashboard often stays open for hours.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Resource
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
workload. Very large single code blocks can still be expensive. See the
|
|
34
|
-
[rendering measurements and limitations](docs/markstream-integration-validation.md).
|
|
20
|
+
An agent dashboard often stays open for hours. LitePaseo leaves more CPU and memory
|
|
21
|
+
available for your agents and the rest of your work, with battery life in mind.
|
|
22
|
+
|
|
23
|
+
In our local comparison with the **official Paseo 0.15.4 web UI**:
|
|
24
|
+
|
|
25
|
+
| Resource | LitePaseo used |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| Browser CPU | **91–95% less** across the tested waiting and streaming scenarios |
|
|
28
|
+
| Browser memory | **55–73% less** sampled peak PSS |
|
|
29
|
+
| Compressed JavaScript + CSS | **92% less** — 290 KiB vs. 3,764 KiB, including the deferred renderer |
|
|
30
|
+
|
|
31
|
+
Measured in headless Chromium on the same Linux laptop, with five runs per UI per
|
|
32
|
+
scenario. LitePaseo uses 1 fps status animation and batches messages every 500 ms,
|
|
33
|
+
trading some update latency for lower CPU use. These are resource measurements;
|
|
34
|
+
battery runtime has not been measured.
|
|
35
|
+
|
|
36
|
+
**[Read the full comparison →](docs/performance-plan.md)** for workload details,
|
|
37
|
+
latency, rendering differences, raw data and reproduction steps.
|
|
38
|
+
|
|
39
|
+
The approach is simple: update less often, send only changes, keep rendered history
|
|
40
|
+
bounded, and pause streams while a tab is hidden. Everything ships in one npm
|
|
41
|
+
package, with no separate database service to deploy.
|
|
35
42
|
|
|
36
43
|
## What you can do
|
|
37
44
|
|
|
@@ -39,6 +46,8 @@ workload. Very large single code blocks can still be expensive. See the
|
|
|
39
46
|
- Create sessions, choose a provider/model, send messages, stop turns, and answer
|
|
40
47
|
permission requests or structured questions.
|
|
41
48
|
- Attach files and images, with previews and upload status.
|
|
49
|
+
- Dictate messages through one OpenAI-compatible speech-to-text service set up in
|
|
50
|
+
LitePaseo, rather than configuring each Paseo host.
|
|
42
51
|
- Keep a Todo / Doing / Done board linked to conversations.
|
|
43
52
|
- Receive notifications when an agent needs input or finishes, and install the
|
|
44
53
|
console as a phone or desktop web app.
|
|
@@ -67,22 +76,79 @@ The npm package includes the built web interface; installation requires no
|
|
|
67
76
|
frontend build. `start` runs LitePaseo in the background with crash recovery and
|
|
68
77
|
rotating logs. It does not install or start Paseo daemons for you.
|
|
69
78
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
79
|
+
### HTTPS & remote access
|
|
80
|
+
|
|
81
|
+
LitePaseo serves HTTP on `127.0.0.1:8787`. For access from your phone or another
|
|
82
|
+
machine, **put an HTTPS tunnel or reverse proxy in front of it**. We recommend
|
|
83
|
+
**Cloudflare Tunnel**: it gives you an HTTPS address without opening an inbound
|
|
84
|
+
port on your machine.
|
|
85
|
+
|
|
86
|
+
1. Follow [Cloudflare's tunnel setup](https://developers.cloudflare.com/tunnel/get-started/)
|
|
87
|
+
to create a tunnel and run `cloudflared` on the same machine as LitePaseo.
|
|
88
|
+
2. Add a published application route for a hostname such as `agents.example.com`,
|
|
89
|
+
pointing to **`http://127.0.0.1:8787`** (service type **HTTP**).
|
|
90
|
+
3. Open `https://agents.example.com` and sign in with your LitePaseo access token.
|
|
91
|
+
|
|
92
|
+
Keep LitePaseo's default localhost binding; Cloudflare handles HTTPS in front of
|
|
93
|
+
it. A signed-in session can run commands through your agents, so on a public
|
|
94
|
+
hostname also enable **Cloudflare Access** and an authenticator code: see
|
|
95
|
+
[Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md). Push
|
|
96
|
+
notifications keep working behind Access. An existing HTTPS reverse proxy works too, provided it supports streaming
|
|
97
|
+
responses (SSE) without buffering.
|
|
98
|
+
|
|
99
|
+
### Phone app & notifications
|
|
100
|
+
|
|
101
|
+
Open your HTTPS address and install from the browser's menu. On iPhone/iPad,
|
|
102
|
+
use Safari → Share → **Add to Home Screen**, then open the installed app to enable
|
|
103
|
+
push notifications. Turn them on in **Settings → Notifications** to hear when an
|
|
104
|
+
agent needs input or finishes. Set `LITEPASEO_PUSH_SUBJECT=mailto:you@example.com`
|
|
105
|
+
before starting the server for Apple push delivery.
|
|
106
|
+
|
|
107
|
+
Optional two-factor sign-in is under **Settings → Authenticator code**; signed-in
|
|
108
|
+
devices can be revoked in Settings. If you lose your authenticator, run
|
|
109
|
+
`litepaseo totp-reset` on the server.
|
|
110
|
+
|
|
111
|
+
The access token is generated on first start. Choose your own with
|
|
112
|
+
`litepaseo token set`, or replace it with `litepaseo token rotate` if it may have leaked.
|
|
113
|
+
Both take effect immediately and sign out every browser. A token sent as
|
|
114
|
+
`Authorization: Bearer` (for scripts) is accepted only on direct connections, never
|
|
115
|
+
through a tunnel or proxy, and only while authenticator sign-in is off.
|
|
116
|
+
|
|
117
|
+
### Voice input
|
|
118
|
+
|
|
119
|
+
Voice input is off until you add a transcription service in **Settings → Voice input**: a
|
|
120
|
+
base URL (`https://api.openai.com/v1` by default), an API key, and a model
|
|
121
|
+
(`gpt-transcribe` by default). The microphone button then appears in the composer on every
|
|
122
|
+
device. Recording needs HTTPS or localhost. Audio uploads to LitePaseo while you speak.
|
|
123
|
+
LitePaseo uses a Realtime transcription connection when supported; file-only services
|
|
124
|
+
receive phrases at natural pauses through `/audio/transcriptions`. Long continuous speech
|
|
125
|
+
is split after 30 seconds. Recognized text appears above the composer while recording, then
|
|
126
|
+
the final text is inserted into your draft when you stop. Cancel discards the recording.
|
|
127
|
+
The key stays on the server and is included in backups. Paseo daemons are not involved.
|
|
128
|
+
Reverse proxies must allow WebSocket upgrades on `/api/dictation/stream`.
|
|
129
|
+
|
|
130
|
+
List every language you speak, such as `zh, en` when you mix Chinese and English. Under
|
|
131
|
+
**Vocabulary**, add names and terms the model should spell correctly. `gpt-transcribe`
|
|
132
|
+
receives these as `languages[]` and `keywords[]`. Whisper-style models (`whisper-1`,
|
|
133
|
+
`gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive a single `language` (only
|
|
134
|
+
when you list exactly one) and the vocabulary as a `prompt`. If a model rejects the language
|
|
135
|
+
field, LitePaseo retries once with the other format.
|
|
73
136
|
|
|
74
137
|
## Everyday commands
|
|
75
138
|
|
|
76
139
|
| Command | Purpose |
|
|
77
140
|
| --- | --- |
|
|
78
141
|
| `litepaseo start` | Start in the background |
|
|
79
|
-
| `litepaseo status` |
|
|
142
|
+
| `litepaseo status` | Show state, address, uptime and processes (`--json` for scripts; exits 3 when stopped) |
|
|
80
143
|
| `litepaseo stop` | Stop the background service |
|
|
81
|
-
| `litepaseo restart` | Restart a manually launched instance |
|
|
82
|
-
| `litepaseo logs` | Show recent logs |
|
|
144
|
+
| `litepaseo restart` | Restart a manually launched instance (also after an upgrade) |
|
|
145
|
+
| `litepaseo logs` | Show recent logs (`-n 500` for more, `-f` to follow) |
|
|
83
146
|
| `litepaseo token` | Print the sign-in token |
|
|
147
|
+
| `litepaseo token set` | Choose your own token (at least 16 characters; typed without echo or read from stdin) |
|
|
148
|
+
| `litepaseo token rotate` | Replace the token with a new random one |
|
|
84
149
|
| `litepaseo serve` | Run in the foreground |
|
|
85
|
-
| `litepaseo
|
|
150
|
+
| `litepaseo version` | Show the installed and running versions (`-v` prints just the number) |
|
|
151
|
+
| `litepaseo --help` | List commands; `litepaseo help <command>` explains one |
|
|
86
152
|
|
|
87
153
|
For automatic startup, install a systemd user service on Linux or a LaunchAgent
|
|
88
154
|
on macOS:
|
|
@@ -95,8 +161,7 @@ litepaseo service install
|
|
|
95
161
|
|
|
96
162
|
Use `litepaseo service restart` for an OS-managed installation. Linux startup
|
|
97
163
|
before login requires user lingering; macOS starts the service at login.
|
|
98
|
-
|
|
99
|
-
for configuration and lifecycle details.
|
|
164
|
+
Reinstall the service after changing its environment settings or Node/CLI paths.
|
|
100
165
|
|
|
101
166
|
### Configuration
|
|
102
167
|
|
|
@@ -118,6 +183,15 @@ LITEPASEO_PORT=9000 litepaseo start
|
|
|
118
183
|
LitePaseo's data directory contains credentials and settings. Conversation
|
|
119
184
|
history stays on your daemons, and drafts stay in browser storage.
|
|
120
185
|
|
|
186
|
+
### Backups & upgrades
|
|
187
|
+
|
|
188
|
+
Run `litepaseo backup /path/to/new-backup-directory` before upgrading; the destination
|
|
189
|
+
must not exist. Keep backups private because they include credentials. Use
|
|
190
|
+
`litepaseo help restore` for recovery instructions.
|
|
191
|
+
|
|
192
|
+
Upgrade with `npm install --global litepaseo`, then run `litepaseo restart`
|
|
193
|
+
(or `litepaseo service restart` for an OS-managed installation).
|
|
194
|
+
|
|
121
195
|
## How it fits together
|
|
122
196
|
|
|
123
197
|
```text
|
|
@@ -166,7 +240,7 @@ To test a local npm installation:
|
|
|
166
240
|
```sh
|
|
167
241
|
npm run build
|
|
168
242
|
npm pack
|
|
169
|
-
npm install --global ./litepaseo-0.
|
|
243
|
+
npm install --global ./litepaseo-0.3.1.tgz
|
|
170
244
|
litepaseo start
|
|
171
245
|
```
|
|
172
246
|
|
|
@@ -182,10 +256,10 @@ node tests/package.mjs
|
|
|
182
256
|
|
|
183
257
|
## Further reading
|
|
184
258
|
|
|
185
|
-
- [
|
|
186
|
-
|
|
259
|
+
- [Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md).
|
|
260
|
+
|
|
187
261
|
- [Markstream integration and measurements](docs/markstream-integration-validation.md).
|
|
188
|
-
- [
|
|
262
|
+
- [LitePaseo vs. official Paseo web UI](docs/performance-plan.md) and the
|
|
189
263
|
[benchmark harness](benchmarks/README.md).
|
|
190
264
|
|
|
191
265
|
## License
|