litepaseo 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +191 -2
- package/dist/server/cli.mjs +3401 -0
- package/dist/web/assets/CodeBlockNode-CHQVlCcV.js +3 -0
- package/dist/web/assets/CodeBlockNode-CHQVlCcV.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-CHQVlCcV.js.gz +0 -0
- package/dist/web/assets/MarkdownMessage-IYvqW4k2.js +199 -0
- package/dist/web/assets/MarkdownMessage-IYvqW4k2.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-IYvqW4k2.js.gz +0 -0
- package/dist/web/assets/MarkdownMessage-bqphU8I9.css +1 -0
- package/dist/web/assets/MarkdownMessage-bqphU8I9.css.br +0 -0
- package/dist/web/assets/MarkdownMessage-bqphU8I9.css.gz +0 -0
- package/dist/web/assets/PreCodeBlock-B2Mi6ata.js +1 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Twzt_rFe.js +1 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Twzt_rFe.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-Twzt_rFe.js.gz +0 -0
- package/dist/web/assets/Tooltip-CKXNC_qW.js +1 -0
- package/dist/web/assets/Tooltip-CKXNC_qW.js.br +0 -0
- package/dist/web/assets/Tooltip-CKXNC_qW.js.gz +0 -0
- package/dist/web/assets/__vite-optional-peer-dep_katex_markstream-vue-Bg9-FXxr.js +1 -0
- package/dist/web/assets/__vite-optional-peer-dep_mermaid_markstream-vue-cPZl55sA.js +1 -0
- package/dist/web/assets/d2_markstream-vue-xMoF3M5G.js +1 -0
- package/dist/web/assets/extended-BP0HZdSW.js +1 -0
- package/dist/web/assets/extended-BP0HZdSW.js.br +0 -0
- package/dist/web/assets/extended-BP0HZdSW.js.gz +0 -0
- package/dist/web/assets/floating-ui.dom-WZBoikmf.js +1 -0
- package/dist/web/assets/floating-ui.dom-WZBoikmf.js.br +0 -0
- package/dist/web/assets/floating-ui.dom-WZBoikmf.js.gz +0 -0
- package/dist/web/assets/index-DKzFEex_.js +11 -0
- package/dist/web/assets/index-DKzFEex_.js.br +0 -0
- package/dist/web/assets/index-DKzFEex_.js.gz +0 -0
- package/dist/web/assets/index-D_IXICNJ.css +1 -0
- package/dist/web/assets/index-D_IXICNJ.css.br +0 -0
- package/dist/web/assets/index-D_IXICNJ.css.gz +0 -0
- package/dist/web/assets/index10-tc5-49RH.js +6 -0
- package/dist/web/assets/index10-tc5-49RH.js.br +0 -0
- package/dist/web/assets/index10-tc5-49RH.js.gz +0 -0
- package/dist/web/assets/index3-C0ZPykQc.js +1 -0
- package/dist/web/assets/index4-D1FQ6lkb.js +1 -0
- package/dist/web/assets/index5-SOHOEHRz.js +1 -0
- package/dist/web/assets/index5-SOHOEHRz.js.br +0 -0
- package/dist/web/assets/index5-SOHOEHRz.js.gz +0 -0
- package/dist/web/assets/index6-DczfWbCr.js +1 -0
- package/dist/web/assets/index6-DczfWbCr.js.br +0 -0
- package/dist/web/assets/index6-DczfWbCr.js.gz +0 -0
- package/dist/web/assets/index7-CzZrkyqI.js +2 -0
- package/dist/web/assets/index7-CzZrkyqI.js.br +0 -0
- package/dist/web/assets/index7-CzZrkyqI.js.gz +0 -0
- package/dist/web/assets/index8-g00UcLGR.js +2 -0
- package/dist/web/assets/index8-g00UcLGR.js.br +0 -0
- package/dist/web/assets/index8-g00UcLGR.js.gz +0 -0
- package/dist/web/assets/index9-EOMgiANd.js +1 -0
- package/dist/web/assets/index9-EOMgiANd.js.br +0 -0
- package/dist/web/assets/index9-EOMgiANd.js.gz +0 -0
- package/dist/web/assets/layout-BA_bUv_G.js +9 -0
- package/dist/web/assets/layout-BA_bUv_G.js.br +0 -0
- package/dist/web/assets/layout-BA_bUv_G.js.gz +0 -0
- package/dist/web/assets/markstream_markstream-vue-Bj0UewdV.js +1 -0
- package/dist/web/assets/mhchem_markstream-vue-tp86PqxG.js +1 -0
- package/dist/web/assets/safeRaf-BDp3SJMs.js +1 -0
- package/dist/web/assets/vue.runtime.esm-bundler-HH4C0BYQ.js +4 -0
- package/dist/web/assets/vue.runtime.esm-bundler-HH4C0BYQ.js.br +0 -0
- package/dist/web/assets/vue.runtime.esm-bundler-HH4C0BYQ.js.gz +0 -0
- package/dist/web/icons/apple-touch-icon.png +0 -0
- package/dist/web/icons/badge-96.png +0 -0
- package/dist/web/icons/icon-192.png +0 -0
- package/dist/web/icons/icon-512.png +0 -0
- package/dist/web/icons/maskable-512.png +0 -0
- package/dist/web/index.html +23 -0
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/dist/web/manifest.webmanifest +16 -0
- package/dist/web/sw.js +49 -0
- package/dist/web/sw.js.br +0 -0
- package/dist/web/sw.js.gz +0 -0
- package/docs/markstream-integration-validation.md +71 -0
- package/docs/operations.md +143 -0
- package/docs/performance-plan.md +244 -0
- package/package.json +68 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 txchen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,192 @@
|
|
|
1
|
-
#
|
|
1
|
+
# LitePaseo
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**A resource-conscious web console for your Paseo agents.**
|
|
4
|
+
|
|
5
|
+
Keep track of coding agents across machines, read their output, send messages,
|
|
6
|
+
and respond when they need your input—from a desktop browser or your phone.
|
|
7
|
+
LitePaseo connects to existing Paseo daemons through the official SDK.
|
|
8
|
+
|
|
9
|
+
## Why LitePaseo?
|
|
10
|
+
|
|
11
|
+
An agent dashboard often stays open for hours. Its job is to keep you informed
|
|
12
|
+
while leaving CPU and memory available for your agents and the rest of your work.
|
|
13
|
+
That is the reason for LitePaseo: a console designed around doing less work when
|
|
14
|
+
there is less to show.
|
|
15
|
+
|
|
16
|
+
Resource use shapes how it works:
|
|
17
|
+
|
|
18
|
+
- **Send changes, not entire conversations.** The server shares daemon subscriptions
|
|
19
|
+
and sends incremental updates to browsers.
|
|
20
|
+
- **Batch streaming output every 500 ms.** Messages remain live without rendering
|
|
21
|
+
every arriving token. Persistent status animations advance twice per second.
|
|
22
|
+
- **Keep rendering bounded.** The sidebar is windowed, and conversation history
|
|
23
|
+
mounts at most 150 message rows, even after paging through older messages.
|
|
24
|
+
- **Pause hidden tabs.** Browser streams close while a tab is hidden and resume
|
|
25
|
+
from their cursors when it becomes visible.
|
|
26
|
+
- **Reuse rendered content.** Markstream retains settled Markdown blocks while the
|
|
27
|
+
message tail grows, with smooth streaming and typewriter effects disabled.
|
|
28
|
+
- **Load the heavy parts later.** Markstream (about 700 KB) loads after sign-in, while
|
|
29
|
+
the browser is idle; until then messages use a small built-in renderer. Built assets
|
|
30
|
+
are served precompressed (Brotli/gzip) and cached permanently by content hash.
|
|
31
|
+
|
|
32
|
+
These are concrete design choices, not a claim of lower resource use in every
|
|
33
|
+
workload. Very large single code blocks can still be expensive. See the
|
|
34
|
+
[rendering measurements and limitations](docs/markstream-integration-validation.md).
|
|
35
|
+
|
|
36
|
+
## What you can do
|
|
37
|
+
|
|
38
|
+
- Manage conversations across multiple Paseo hosts in one place.
|
|
39
|
+
- Create sessions, choose a provider/model, send messages, stop turns, and answer
|
|
40
|
+
permission requests or structured questions.
|
|
41
|
+
- Attach files and images, with previews and upload status.
|
|
42
|
+
- Keep a Todo / Doing / Done board linked to conversations.
|
|
43
|
+
- Receive notifications when an agent needs input or finishes, and install the
|
|
44
|
+
console as a phone or desktop web app.
|
|
45
|
+
- Keep drafts across reloads and check uncertain message delivery without
|
|
46
|
+
automatically resending.
|
|
47
|
+
|
|
48
|
+
## Install and start
|
|
49
|
+
|
|
50
|
+
You need **Node.js 24.11 or newer**, npm, and at least one existing Paseo daemon.
|
|
51
|
+
The server targets Linux and macOS; live validation has primarily been on Linux.
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
npm install --global litepaseo
|
|
55
|
+
litepaseo start
|
|
56
|
+
litepaseo token
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
1. Open **http://127.0.0.1:8787** on the machine running LitePaseo.
|
|
60
|
+
2. Sign in with the access token printed by `litepaseo token`.
|
|
61
|
+
3. Open **Hosts** and add your daemon using a connection URL, pairing offer, or
|
|
62
|
+
SSH target supported by the Paseo SDK.
|
|
63
|
+
4. Open an existing conversation or create a new session.
|
|
64
|
+
|
|
65
|
+
The npm package includes the built web interface; installation requires no
|
|
66
|
+
frontend build. `start` runs LitePaseo in the background with crash recovery and
|
|
67
|
+
rotating logs. It does not install or start Paseo daemons for you.
|
|
68
|
+
|
|
69
|
+
For access from another device, put LitePaseo behind your HTTPS reverse proxy or
|
|
70
|
+
tunnel. The default listener is local to the server. HTTPS also enables web-app
|
|
71
|
+
installation and push notifications.
|
|
72
|
+
|
|
73
|
+
## Everyday commands
|
|
74
|
+
|
|
75
|
+
| Command | Purpose |
|
|
76
|
+
| --- | --- |
|
|
77
|
+
| `litepaseo start` | Start in the background |
|
|
78
|
+
| `litepaseo status` | Check readiness and process status |
|
|
79
|
+
| `litepaseo stop` | Stop the background service |
|
|
80
|
+
| `litepaseo restart` | Restart a manually launched instance |
|
|
81
|
+
| `litepaseo logs` | Show recent logs |
|
|
82
|
+
| `litepaseo token` | Print the sign-in token |
|
|
83
|
+
| `litepaseo serve` | Run in the foreground |
|
|
84
|
+
| `litepaseo --help` | List commands |
|
|
85
|
+
|
|
86
|
+
For automatic startup, install a systemd user service on Linux or a LaunchAgent
|
|
87
|
+
on macOS:
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
litepaseo service print
|
|
91
|
+
litepaseo stop
|
|
92
|
+
litepaseo service install
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Use `litepaseo service restart` for an OS-managed installation. Linux startup
|
|
96
|
+
before login requires user lingering; macOS starts the service at login.
|
|
97
|
+
See the [operations guide](docs/operations.md#supervision-autostart-and-logs)
|
|
98
|
+
for configuration and lifecycle details.
|
|
99
|
+
|
|
100
|
+
### Configuration
|
|
101
|
+
|
|
102
|
+
Set these variables before starting LitePaseo:
|
|
103
|
+
|
|
104
|
+
| Variable | Default | Purpose |
|
|
105
|
+
| --- | --- | --- |
|
|
106
|
+
| `LITEPASEO_PORT` | `8787` | HTTP port |
|
|
107
|
+
| `LITEPASEO_BIND` | `127.0.0.1` | Listening address |
|
|
108
|
+
| `LITEPASEO_HOME` | `~/.litepaseo` | Application data directory |
|
|
109
|
+
| `LITEPASEO_PUSH_SUBJECT` | — | Contact URL or `mailto:` address for push services |
|
|
110
|
+
|
|
111
|
+
For example:
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
LITEPASEO_PORT=9000 litepaseo start
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
LitePaseo's data directory contains credentials and settings. Conversation
|
|
118
|
+
history stays on your daemons, and drafts stay in browser storage.
|
|
119
|
+
|
|
120
|
+
## How it fits together
|
|
121
|
+
|
|
122
|
+
```text
|
|
123
|
+
Browser / installed web app
|
|
124
|
+
Vue 3 + Markstream
|
|
125
|
+
│
|
|
126
|
+
│ HTTP actions + Server-Sent Events
|
|
127
|
+
▼
|
|
128
|
+
LitePaseo server
|
|
129
|
+
Node.js + Hono + SQLite
|
|
130
|
+
│
|
|
131
|
+
│ Official Paseo SDK
|
|
132
|
+
├── Paseo daemon · machine A
|
|
133
|
+
└── Paseo daemon · machine B
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
The **browser** renders the interface and keeps local drafts. It receives only
|
|
137
|
+
the changes it needs to display.
|
|
138
|
+
|
|
139
|
+
The **server** owns daemon connections, authentication, shared subscriptions,
|
|
140
|
+
notifications and bounded timeline updates. SQLite stores LitePaseo's metadata,
|
|
141
|
+
including hosts, the board and signed-in devices. Daemon credentials stay here.
|
|
142
|
+
|
|
143
|
+
The **daemons** run the agents and own their conversation history. LitePaseo is
|
|
144
|
+
a client of those daemons; no daemon plugin is required.
|
|
145
|
+
|
|
146
|
+
Everything ships as one npm package: a Node service and prebuilt browser assets.
|
|
147
|
+
There is no separate database service to deploy.
|
|
148
|
+
|
|
149
|
+
## Run from source
|
|
150
|
+
|
|
151
|
+
From a checkout of this repository:
|
|
152
|
+
|
|
153
|
+
```sh
|
|
154
|
+
npm ci
|
|
155
|
+
npm run build
|
|
156
|
+
node dist/server/cli.mjs start
|
|
157
|
+
node dist/server/cli.mjs token
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
For frontend development, run `node dist/server/cli.mjs serve` and `npm run dev`
|
|
161
|
+
in separate terminals. The development proxy targets port 8787.
|
|
162
|
+
|
|
163
|
+
To test a local npm installation:
|
|
164
|
+
|
|
165
|
+
```sh
|
|
166
|
+
npm run build
|
|
167
|
+
npm pack
|
|
168
|
+
npm install --global ./litepaseo-0.1.0.tgz
|
|
169
|
+
litepaseo start
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Use the tarball filename printed by `npm pack` if the version has changed.
|
|
173
|
+
|
|
174
|
+
Validation:
|
|
175
|
+
|
|
176
|
+
```sh
|
|
177
|
+
npx playwright install chromium
|
|
178
|
+
npm run check
|
|
179
|
+
node tests/package.mjs
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## Further reading
|
|
183
|
+
|
|
184
|
+
- [Operations guide](docs/operations.md): phone setup, notifications, backups,
|
|
185
|
+
service management, diagnostics and attachment limits.
|
|
186
|
+
- [Markstream integration and measurements](docs/markstream-integration-validation.md).
|
|
187
|
+
- [Performance measurements](docs/performance-plan.md) and the
|
|
188
|
+
[benchmark harness](benchmarks/README.md).
|
|
189
|
+
|
|
190
|
+
## License
|
|
191
|
+
|
|
192
|
+
[MIT](LICENSE).
|