litepaseo 0.2.0 → 0.3.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/CHANGELOG.md +49 -0
- package/README.md +96 -39
- package/dist/server/cli.mjs +712 -134
- package/dist/web/assets/{CodeBlockNode-CehKIzSk.js → CodeBlockNode-D-c_NpDN.js} +1 -1
- package/dist/web/assets/CodeBlockNode-D-c_NpDN.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-D-c_NpDN.js.gz +0 -0
- package/dist/web/assets/{FileViewer-01t53KTX.js → FileViewer-C6rgOMRo.js} +1 -1
- package/dist/web/assets/FileViewer-C6rgOMRo.js.br +0 -0
- package/dist/web/assets/FileViewer-C6rgOMRo.js.gz +0 -0
- package/dist/web/assets/{FilesPanel-B7NknFvl.js → FilesPanel-CNkBvKGD.js} +1 -1
- package/dist/web/assets/FilesPanel-CNkBvKGD.js.br +0 -0
- package/dist/web/assets/FilesPanel-CNkBvKGD.js.gz +0 -0
- package/dist/web/assets/{MarkdownMessage-UlvozPc5.js → MarkdownMessage-DjRNZCD0.js} +5 -5
- package/dist/web/assets/MarkdownMessage-DjRNZCD0.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-DjRNZCD0.js.gz +0 -0
- package/dist/web/assets/{PreCodeBlock-DPQTlYty.js → PreCodeBlock-BitPoeXT.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-DVJqSz-5.js} +1 -1
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-DVJqSz-5.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-DVJqSz-5.js.gz +0 -0
- package/dist/web/assets/{TerminalPanel-BdmAonFr.js → TerminalPanel-CpGnkfa7.js} +1 -1
- package/dist/web/assets/TerminalPanel-CpGnkfa7.js.br +0 -0
- package/dist/web/assets/TerminalPanel-CpGnkfa7.js.gz +0 -0
- package/dist/web/assets/{Tooltip-BJ2o2M_0.js → Tooltip-C9GHriiI.js} +1 -1
- package/dist/web/assets/Tooltip-C9GHriiI.js.br +0 -0
- package/dist/web/assets/Tooltip-C9GHriiI.js.gz +0 -0
- package/dist/web/assets/index-D4mQel3H.js +30 -0
- package/dist/web/assets/index-D4mQel3H.js.br +0 -0
- package/dist/web/assets/index-D4mQel3H.js.gz +0 -0
- package/dist/web/assets/index-Wf4Xa0ob.css +1 -0
- package/dist/web/assets/index-Wf4Xa0ob.css.br +0 -0
- package/dist/web/assets/index-Wf4Xa0ob.css.gz +0 -0
- package/dist/web/assets/{index10-WpTfisco.js → index10-QexvIpKb.js} +1 -1
- package/dist/web/assets/index10-QexvIpKb.js.br +0 -0
- package/dist/web/assets/index10-QexvIpKb.js.gz +0 -0
- package/dist/web/assets/index3-B9LRPNVQ.js +1 -0
- package/dist/web/assets/index4-CTBFr99S.js +1 -0
- package/dist/web/assets/{index5-BCbIyN1t.js → index5-DaBM1kaC.js} +1 -1
- package/dist/web/assets/index5-DaBM1kaC.js.br +0 -0
- package/dist/web/assets/index5-DaBM1kaC.js.gz +0 -0
- package/dist/web/assets/{index6-CbdnTDhy.js → index6-1dcCVob7.js} +1 -1
- package/dist/web/assets/index6-1dcCVob7.js.br +0 -0
- package/dist/web/assets/index6-1dcCVob7.js.gz +0 -0
- package/dist/web/assets/{index7-BzNzdNxO.js → index7-DGSFcnYT.js} +1 -1
- package/dist/web/assets/index7-DGSFcnYT.js.br +0 -0
- package/dist/web/assets/index7-DGSFcnYT.js.gz +0 -0
- package/dist/web/assets/{index8-CD8jmACo.js → index8-BjPxjipz.js} +1 -1
- package/dist/web/assets/index8-BjPxjipz.js.br +0 -0
- package/dist/web/assets/index8-BjPxjipz.js.gz +0 -0
- package/dist/web/assets/{index9-9FYLmtt9.js → index9-VNQsX15e.js} +1 -1
- package/dist/web/assets/index9-VNQsX15e.js.br +0 -0
- package/dist/web/assets/index9-VNQsX15e.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/performance-plan.md +119 -241
- package/package.json +2 -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/MarkdownMessage-UlvozPc5.js.gz +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,49 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Voice input, configured once in LitePaseo
|
|
6
|
+
|
|
7
|
+
- Add an OpenAI-compatible speech-to-text service once in **Settings → Voice input**: base URL,
|
|
8
|
+
API key, model, the languages you speak, and vocabulary to spell correctly. The microphone
|
|
9
|
+
then appears in the composer on every device and works for every host. Paseo daemons are
|
|
10
|
+
no longer involved.
|
|
11
|
+
- `gpt-transcribe` is the default model. It receives `languages[]` and `keywords[]`. This fixes
|
|
12
|
+
mixed-language dictation, such as `zh, en`, which Paseo's dictation cannot do because it
|
|
13
|
+
always sends a single `language` that defaults to `en`. Whisper-style models (`whisper-1`,
|
|
14
|
+
`gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive one `language` and the
|
|
15
|
+
vocabulary as a `prompt`. If a model rejects the language field, LitePaseo retries once with
|
|
16
|
+
the other format.
|
|
17
|
+
- The API key stays on the LitePaseo server and is included in backups. Browsers see only its
|
|
18
|
+
last four characters.
|
|
19
|
+
|
|
20
|
+
**Upgrading from 0.2.0:** voice input no longer uses each host's Paseo dictation settings
|
|
21
|
+
(`features.dictation` in `~/.paseo/config.json`). The microphone stays hidden until you set up
|
|
22
|
+
a transcription service in Settings → Voice input.
|
|
23
|
+
|
|
24
|
+
### Command line
|
|
25
|
+
|
|
26
|
+
- Commands in `litepaseo help` are grouped by purpose, and `litepaseo help <command>` or
|
|
27
|
+
`<command> --help` describes options and examples. Unknown commands exit 2 and suggest a
|
|
28
|
+
correction for typos.
|
|
29
|
+
- `-v`/`--version` prints the version. `litepaseo version` also shows Node.js, platform, data
|
|
30
|
+
directory and the version of the running instance.
|
|
31
|
+
- `status` shows a readable summary (address, uptime, processes, restarts, last error). Add
|
|
32
|
+
`--json` for scripts; it exits 3 when stopped. `start`, `status` and `version` warn when an
|
|
33
|
+
upgrade needs a restart.
|
|
34
|
+
- `logs` supports `-n`/`--lines` and `-f`/`--follow`, and `--follow` continues across log
|
|
35
|
+
rotation. `stop` waits until the instance has exited.
|
|
36
|
+
|
|
37
|
+
### Web
|
|
38
|
+
|
|
39
|
+
- Schedules and Hosts moved to icons in the sidebar footer. The Hosts icon shows a warning dot
|
|
40
|
+
while any host is disconnected.
|
|
41
|
+
- On a phone, the sidebar footer and usage panel are reachable again, and schedule rows use
|
|
42
|
+
the full width.
|
|
43
|
+
- Decorative motion advances once per second, together with the turn timer.
|
|
44
|
+
- The stop button in the composer has a larger glyph.
|
|
45
|
+
|
|
46
|
+
### Fixes
|
|
47
|
+
|
|
48
|
+
- The worker no longer crashes with "database is not open" when host updates arrive during
|
|
49
|
+
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,64 @@ 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. An existing HTTPS reverse proxy works too, provided it supports streaming
|
|
94
|
+
responses (SSE) without buffering.
|
|
95
|
+
|
|
96
|
+
### Phone app & notifications
|
|
97
|
+
|
|
98
|
+
Open your HTTPS address and install from the browser's menu. On iPhone/iPad,
|
|
99
|
+
use Safari → Share → **Add to Home Screen**, then open the installed app to enable
|
|
100
|
+
push notifications. Turn them on in **Settings → Notifications** to hear when an
|
|
101
|
+
agent needs input or finishes. Set `LITEPASEO_PUSH_SUBJECT=mailto:you@example.com`
|
|
102
|
+
before starting the server for Apple push delivery.
|
|
103
|
+
|
|
104
|
+
Optional two-factor sign-in is under **Settings → Authenticator code**; signed-in
|
|
105
|
+
devices can be revoked in Settings. If you lose your authenticator, run
|
|
106
|
+
`litepaseo totp-reset` on the server.
|
|
107
|
+
|
|
108
|
+
### Voice input
|
|
109
|
+
|
|
110
|
+
Voice input is off until you add a transcription service in **Settings → Voice input**: a
|
|
111
|
+
base URL (`https://api.openai.com/v1` by default), an API key, and a model
|
|
112
|
+
(`gpt-transcribe` by default). The microphone button then appears in the composer on every
|
|
113
|
+
device. Recording needs HTTPS or localhost. The browser sends the clip to LitePaseo, and
|
|
114
|
+
LitePaseo calls `/audio/transcriptions`. The key stays on the server and is included in
|
|
115
|
+
backups. Paseo daemons are not involved.
|
|
116
|
+
|
|
117
|
+
List every language you speak, such as `zh, en` when you mix Chinese and English. Under
|
|
118
|
+
**Vocabulary**, add names and terms the model should spell correctly. `gpt-transcribe`
|
|
119
|
+
receives these as `languages[]` and `keywords[]`. Whisper-style models (`whisper-1`,
|
|
120
|
+
`gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive a single `language` (only
|
|
121
|
+
when you list exactly one) and the vocabulary as a `prompt`. If a model rejects the language
|
|
122
|
+
field, LitePaseo retries once with the other format.
|
|
73
123
|
|
|
74
124
|
## Everyday commands
|
|
75
125
|
|
|
76
126
|
| Command | Purpose |
|
|
77
127
|
| --- | --- |
|
|
78
128
|
| `litepaseo start` | Start in the background |
|
|
79
|
-
| `litepaseo status` |
|
|
129
|
+
| `litepaseo status` | Show state, address, uptime and processes (`--json` for scripts; exits 3 when stopped) |
|
|
80
130
|
| `litepaseo stop` | Stop the background service |
|
|
81
|
-
| `litepaseo restart` | Restart a manually launched instance |
|
|
82
|
-
| `litepaseo logs` | Show recent logs |
|
|
131
|
+
| `litepaseo restart` | Restart a manually launched instance (also after an upgrade) |
|
|
132
|
+
| `litepaseo logs` | Show recent logs (`-n 500` for more, `-f` to follow) |
|
|
83
133
|
| `litepaseo token` | Print the sign-in token |
|
|
84
134
|
| `litepaseo serve` | Run in the foreground |
|
|
85
|
-
| `litepaseo
|
|
135
|
+
| `litepaseo version` | Show the installed and running versions (`-v` prints just the number) |
|
|
136
|
+
| `litepaseo --help` | List commands; `litepaseo help <command>` explains one |
|
|
86
137
|
|
|
87
138
|
For automatic startup, install a systemd user service on Linux or a LaunchAgent
|
|
88
139
|
on macOS:
|
|
@@ -95,8 +146,7 @@ litepaseo service install
|
|
|
95
146
|
|
|
96
147
|
Use `litepaseo service restart` for an OS-managed installation. Linux startup
|
|
97
148
|
before login requires user lingering; macOS starts the service at login.
|
|
98
|
-
|
|
99
|
-
for configuration and lifecycle details.
|
|
149
|
+
Reinstall the service after changing its environment settings or Node/CLI paths.
|
|
100
150
|
|
|
101
151
|
### Configuration
|
|
102
152
|
|
|
@@ -118,6 +168,15 @@ LITEPASEO_PORT=9000 litepaseo start
|
|
|
118
168
|
LitePaseo's data directory contains credentials and settings. Conversation
|
|
119
169
|
history stays on your daemons, and drafts stay in browser storage.
|
|
120
170
|
|
|
171
|
+
### Backups & upgrades
|
|
172
|
+
|
|
173
|
+
Run `litepaseo backup /path/to/new-backup-directory` before upgrading; the destination
|
|
174
|
+
must not exist. Keep backups private because they include credentials. Use
|
|
175
|
+
`litepaseo help restore` for recovery instructions.
|
|
176
|
+
|
|
177
|
+
Upgrade with `npm install --global litepaseo`, then run `litepaseo restart`
|
|
178
|
+
(or `litepaseo service restart` for an OS-managed installation).
|
|
179
|
+
|
|
121
180
|
## How it fits together
|
|
122
181
|
|
|
123
182
|
```text
|
|
@@ -166,7 +225,7 @@ To test a local npm installation:
|
|
|
166
225
|
```sh
|
|
167
226
|
npm run build
|
|
168
227
|
npm pack
|
|
169
|
-
npm install --global ./litepaseo-0.
|
|
228
|
+
npm install --global ./litepaseo-0.3.0.tgz
|
|
170
229
|
litepaseo start
|
|
171
230
|
```
|
|
172
231
|
|
|
@@ -182,10 +241,8 @@ node tests/package.mjs
|
|
|
182
241
|
|
|
183
242
|
## Further reading
|
|
184
243
|
|
|
185
|
-
- [Operations guide](docs/operations.md): phone setup, notifications, backups,
|
|
186
|
-
service management, diagnostics and attachment limits.
|
|
187
244
|
- [Markstream integration and measurements](docs/markstream-integration-validation.md).
|
|
188
|
-
- [
|
|
245
|
+
- [LitePaseo vs. official Paseo web UI](docs/performance-plan.md) and the
|
|
189
246
|
[benchmark harness](benchmarks/README.md).
|
|
190
247
|
|
|
191
248
|
## License
|