litepaseo 0.15.0 → 0.17.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 +30 -0
- package/README.md +118 -236
- package/dist/server/cli.mjs +7 -3
- package/dist/server/{worker-B_wvoJUj.mjs → worker-Roc45FR7.mjs} +1180 -187
- package/dist/web/assets/{AddProjectDialog-PiDtkRXA.js → AddProjectDialog-6bLXtbpf.js} +1 -1
- package/dist/web/assets/AddProjectDialog-6bLXtbpf.js.br +0 -0
- package/dist/web/assets/AddProjectDialog-6bLXtbpf.js.gz +0 -0
- package/dist/web/assets/{ArchivedWorkspaces-DToFMnHA.js → ArchivedWorkspaces-CRXCfrD8.js} +1 -1
- package/dist/web/assets/ArchivedWorkspaces-CRXCfrD8.js.br +0 -0
- package/dist/web/assets/ArchivedWorkspaces-CRXCfrD8.js.gz +0 -0
- package/dist/web/assets/BlockDetailsPanel-t3JwYKI3.js +1 -0
- package/dist/web/assets/BlockDetailsPanel-t3JwYKI3.js.br +0 -0
- package/dist/web/assets/BlockDetailsPanel-t3JwYKI3.js.gz +0 -0
- package/dist/web/assets/{ChangesPanel-DeMGznH5.js → ChangesPanel-BtJlfbWc.js} +1 -1
- package/dist/web/assets/ChangesPanel-BtJlfbWc.js.br +0 -0
- package/dist/web/assets/ChangesPanel-BtJlfbWc.js.gz +0 -0
- package/dist/web/assets/{CodeBlockNode-IJ0EDXPe.js → CodeBlockNode-C9FYjLV2.js} +1 -1
- package/dist/web/assets/CodeBlockNode-C9FYjLV2.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-C9FYjLV2.js.gz +0 -0
- package/dist/web/assets/{CommandCenter-BEhVSP7f.js → CommandCenter-AlG1JnuY.js} +1 -1
- package/dist/web/assets/CommandCenter-AlG1JnuY.js.br +0 -0
- package/dist/web/assets/CommandCenter-AlG1JnuY.js.gz +0 -0
- package/dist/web/assets/{ConversationSearch-DB_1a3My.js → ConversationSearch-CUu-hBW_.js} +1 -1
- package/dist/web/assets/ConversationSearch-CUu-hBW_.js.br +0 -0
- package/dist/web/assets/ConversationSearch-CUu-hBW_.js.gz +0 -0
- package/dist/web/assets/{FileViewer-C1DEW7y2.js → FileViewer-BpjJlKl6.js} +1 -1
- package/dist/web/assets/FileViewer-BpjJlKl6.js.br +0 -0
- package/dist/web/assets/FileViewer-BpjJlKl6.js.gz +0 -0
- package/dist/web/assets/FilesPanel-AyupRs1D.css +1 -0
- package/dist/web/assets/FilesPanel-AyupRs1D.css.br +0 -0
- package/dist/web/assets/FilesPanel-AyupRs1D.css.gz +0 -0
- package/dist/web/assets/FilesPanel-z3qJecYP.js +1 -0
- package/dist/web/assets/FilesPanel-z3qJecYP.js.br +0 -0
- package/dist/web/assets/FilesPanel-z3qJecYP.js.gz +0 -0
- package/dist/web/assets/GenUiCard-BTLL-VB7.js +1 -0
- package/dist/web/assets/GenUiCard-BTLL-VB7.js.br +0 -0
- package/dist/web/assets/GenUiCard-BTLL-VB7.js.gz +0 -0
- package/dist/web/assets/HostSettings-Cs5UPwhU.css +1 -0
- package/dist/web/assets/HostSettings-Cs5UPwhU.css.br +0 -0
- package/dist/web/assets/HostSettings-Cs5UPwhU.css.gz +0 -0
- package/dist/web/assets/HostSettings-DOL2h_xk.js +59 -0
- package/dist/web/assets/HostSettings-DOL2h_xk.js.br +0 -0
- package/dist/web/assets/HostSettings-DOL2h_xk.js.gz +0 -0
- package/dist/web/assets/ImportSessionDialog-BW85dOw-.js +1 -0
- package/dist/web/assets/ImportSessionDialog-BW85dOw-.js.br +0 -0
- package/dist/web/assets/ImportSessionDialog-BW85dOw-.js.gz +0 -0
- package/dist/web/assets/KanbanPage-g81OChvF.js +1 -0
- package/dist/web/assets/KanbanPage-g81OChvF.js.br +0 -0
- package/dist/web/assets/KanbanPage-g81OChvF.js.gz +0 -0
- package/dist/web/assets/{LabelsDialog-CFRlobOM.js → LabelsDialog-ClAlGWn2.js} +1 -1
- package/dist/web/assets/LabelsDialog-ClAlGWn2.js.br +0 -0
- package/dist/web/assets/LabelsDialog-ClAlGWn2.js.gz +0 -0
- package/dist/web/assets/{MarkdownMessage-Ce8OWdzN.js → MarkdownMessage-lUo5XlNQ.js} +40 -40
- package/dist/web/assets/MarkdownMessage-lUo5XlNQ.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-lUo5XlNQ.js.gz +0 -0
- package/dist/web/assets/{PreCodeBlock-BAMdTUxU.js → PreCodeBlock-Ks_Ud9g9.js} +1 -1
- package/dist/web/assets/{PreCodeBlock.vue_vue_type_style_index_0_lang-B5xsnVNq.js → PreCodeBlock.vue_vue_type_style_index_0_lang-CtuUXbLL.js} +1 -1
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CtuUXbLL.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CtuUXbLL.js.gz +0 -0
- package/dist/web/assets/SubagentsPanel-57t-MY2D.js +1 -0
- package/dist/web/assets/SubagentsPanel-57t-MY2D.js.br +0 -0
- package/dist/web/assets/SubagentsPanel-57t-MY2D.js.gz +0 -0
- package/dist/web/assets/TerminalPanel-CoZJNIQ2.js +3 -0
- package/dist/web/assets/TerminalPanel-CoZJNIQ2.js.br +0 -0
- package/dist/web/assets/TerminalPanel-CoZJNIQ2.js.gz +0 -0
- package/dist/web/assets/{Tooltip-BnK3kVX9.js → Tooltip-Bd6jQe4a.js} +1 -1
- package/dist/web/assets/Tooltip-Bd6jQe4a.js.br +0 -0
- package/dist/web/assets/Tooltip-Bd6jQe4a.js.gz +0 -0
- package/dist/web/assets/index-B5ebuXtz.css +1 -0
- package/dist/web/assets/index-B5ebuXtz.css.br +0 -0
- package/dist/web/assets/index-B5ebuXtz.css.gz +0 -0
- package/dist/web/assets/index-C3HLuAcz.js +70 -0
- package/dist/web/assets/index-C3HLuAcz.js.br +0 -0
- package/dist/web/assets/index-C3HLuAcz.js.gz +0 -0
- package/dist/web/assets/{index10-BoTa26QQ.js → index10-D83sSYqH.js} +1 -1
- package/dist/web/assets/index10-D83sSYqH.js.br +0 -0
- package/dist/web/assets/index10-D83sSYqH.js.gz +0 -0
- package/dist/web/assets/index3-CFNHpvQK.js +1 -0
- package/dist/web/assets/index4-Da-CnA3h.js +1 -0
- package/dist/web/assets/{index5-bNemGRNM.js → index5-PLR1ihcT.js} +1 -1
- package/dist/web/assets/index5-PLR1ihcT.js.br +0 -0
- package/dist/web/assets/index5-PLR1ihcT.js.gz +0 -0
- package/dist/web/assets/{index6-DwYLPW1J.js → index6-C089Ckf6.js} +1 -1
- package/dist/web/assets/index6-C089Ckf6.js.br +0 -0
- package/dist/web/assets/index6-C089Ckf6.js.gz +0 -0
- package/dist/web/assets/{index7-Cupr13vB.js → index7-Ckz1Fh4L.js} +1 -1
- package/dist/web/assets/index7-Ckz1Fh4L.js.br +0 -0
- package/dist/web/assets/index7-Ckz1Fh4L.js.gz +0 -0
- package/dist/web/assets/{index8-C188jTLe.js → index8-C5JDVe8k.js} +1 -1
- package/dist/web/assets/index8-C5JDVe8k.js.br +0 -0
- package/dist/web/assets/index8-C5JDVe8k.js.gz +0 -0
- package/dist/web/assets/{index9-DMqi3pL7.js → index9-DpRxQfVV.js} +1 -1
- package/dist/web/assets/index9-DpRxQfVV.js.br +0 -0
- package/dist/web/assets/index9-DpRxQfVV.js.gz +0 -0
- package/dist/web/assets/safe-storage-CgMnvN36.js +1 -0
- package/dist/web/index.html +3 -2
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/docs/troubleshooting.md +70 -0
- package/package.json +5 -4
- package/dist/web/assets/AddProjectDialog-PiDtkRXA.js.br +0 -0
- package/dist/web/assets/AddProjectDialog-PiDtkRXA.js.gz +0 -0
- package/dist/web/assets/ArchivedWorkspaces-DToFMnHA.js.br +0 -0
- package/dist/web/assets/ArchivedWorkspaces-DToFMnHA.js.gz +0 -0
- package/dist/web/assets/BlockDetailsPanel-DOmFLUBg.js +0 -1
- package/dist/web/assets/BlockDetailsPanel-DOmFLUBg.js.br +0 -0
- package/dist/web/assets/BlockDetailsPanel-DOmFLUBg.js.gz +0 -0
- package/dist/web/assets/ChangesPanel-DeMGznH5.js.br +0 -0
- package/dist/web/assets/ChangesPanel-DeMGznH5.js.gz +0 -0
- package/dist/web/assets/CodeBlockNode-IJ0EDXPe.js.br +0 -0
- package/dist/web/assets/CodeBlockNode-IJ0EDXPe.js.gz +0 -0
- package/dist/web/assets/CommandCenter-BEhVSP7f.js.br +0 -0
- package/dist/web/assets/CommandCenter-BEhVSP7f.js.gz +0 -0
- package/dist/web/assets/ConversationSearch-DB_1a3My.js.br +0 -0
- package/dist/web/assets/ConversationSearch-DB_1a3My.js.gz +0 -0
- package/dist/web/assets/FileViewer-C1DEW7y2.js.br +0 -0
- package/dist/web/assets/FileViewer-C1DEW7y2.js.gz +0 -0
- package/dist/web/assets/FilesPanel-Bv8k97VP.css +0 -1
- package/dist/web/assets/FilesPanel-Bv8k97VP.css.br +0 -0
- package/dist/web/assets/FilesPanel-Bv8k97VP.css.gz +0 -0
- package/dist/web/assets/FilesPanel-DruA-psq.js +0 -1
- package/dist/web/assets/FilesPanel-DruA-psq.js.br +0 -0
- package/dist/web/assets/FilesPanel-DruA-psq.js.gz +0 -0
- package/dist/web/assets/HostSettings-6VCu_mXO.css +0 -1
- package/dist/web/assets/HostSettings-6VCu_mXO.css.br +0 -0
- package/dist/web/assets/HostSettings-6VCu_mXO.css.gz +0 -0
- package/dist/web/assets/HostSettings-mb6sY_4X.js +0 -5
- package/dist/web/assets/HostSettings-mb6sY_4X.js.br +0 -0
- package/dist/web/assets/HostSettings-mb6sY_4X.js.gz +0 -0
- package/dist/web/assets/ImportSessionDialog-BDWGWOeQ.js +0 -1
- package/dist/web/assets/ImportSessionDialog-BDWGWOeQ.js.br +0 -0
- package/dist/web/assets/ImportSessionDialog-BDWGWOeQ.js.gz +0 -0
- package/dist/web/assets/KanbanPage-CpghGdBA.js +0 -1
- package/dist/web/assets/KanbanPage-CpghGdBA.js.br +0 -0
- package/dist/web/assets/KanbanPage-CpghGdBA.js.gz +0 -0
- package/dist/web/assets/LabelsDialog-CFRlobOM.js.br +0 -0
- package/dist/web/assets/LabelsDialog-CFRlobOM.js.gz +0 -0
- package/dist/web/assets/MarkdownMessage-Ce8OWdzN.js.br +0 -0
- package/dist/web/assets/MarkdownMessage-Ce8OWdzN.js.gz +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-B5xsnVNq.js.br +0 -0
- package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-B5xsnVNq.js.gz +0 -0
- package/dist/web/assets/SubagentsPanel-Bu4csgPS.js +0 -1
- package/dist/web/assets/SubagentsPanel-Bu4csgPS.js.br +0 -0
- package/dist/web/assets/SubagentsPanel-Bu4csgPS.js.gz +0 -0
- package/dist/web/assets/TerminalPanel-C9XPBOEr.js +0 -3
- package/dist/web/assets/TerminalPanel-C9XPBOEr.js.br +0 -0
- package/dist/web/assets/TerminalPanel-C9XPBOEr.js.gz +0 -0
- package/dist/web/assets/Tooltip-BnK3kVX9.js.br +0 -0
- package/dist/web/assets/Tooltip-BnK3kVX9.js.gz +0 -0
- package/dist/web/assets/index-CsLw9gFU.js +0 -65
- package/dist/web/assets/index-CsLw9gFU.js.br +0 -0
- package/dist/web/assets/index-CsLw9gFU.js.gz +0 -0
- package/dist/web/assets/index-TaEDE3Uc.css +0 -1
- package/dist/web/assets/index-TaEDE3Uc.css.br +0 -0
- package/dist/web/assets/index-TaEDE3Uc.css.gz +0 -0
- package/dist/web/assets/index10-BoTa26QQ.js.br +0 -0
- package/dist/web/assets/index10-BoTa26QQ.js.gz +0 -0
- package/dist/web/assets/index3-cIBDnvpb.js +0 -1
- package/dist/web/assets/index4-QCzgQp2U.js +0 -1
- package/dist/web/assets/index5-bNemGRNM.js.br +0 -0
- package/dist/web/assets/index5-bNemGRNM.js.gz +0 -0
- package/dist/web/assets/index6-DwYLPW1J.js.br +0 -0
- package/dist/web/assets/index6-DwYLPW1J.js.gz +0 -0
- package/dist/web/assets/index7-Cupr13vB.js.br +0 -0
- package/dist/web/assets/index7-Cupr13vB.js.gz +0 -0
- package/dist/web/assets/index8-C188jTLe.js.br +0 -0
- package/dist/web/assets/index8-C188jTLe.js.gz +0 -0
- package/dist/web/assets/index9-DMqi3pL7.js.br +0 -0
- package/dist/web/assets/index9-DMqi3pL7.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
- **Self-contained sandboxed interactive views (```` ```app ```` GenUI)**:
|
|
6
|
+
- Added a zero-dependency, lazy-loaded `GenUiCard` (~3.6 kB gzip) that renders top-level ```` ```app title="..." ```` HTML/CSS/SVG/JS blocks inline in chat while keeping ordinary Markdown on the unsegmented fast path.
|
|
7
|
+
- Served a dedicated opaque-origin sandbox route (`GET /__genui-sandbox`) with strict CSP (`sandbox allow-scripts; default-src 'none'; connect-src 'none'; frame-ancestors 'self'`), content-hashed `ETag` / `304` revalidation, and conditional `immutable` caching—leaving the main app's CSP untouched.
|
|
8
|
+
- Bridged host light/dark palette variables, `ResizeObserver` auto-sizing (clamped with an Expand toggle), and `window.litepaseo.draft(text)` / `send(text)` over a private per-frame `MessageChannel` with bound native `UserActivation` gating, host-side rate limiting, single-flight confirmation dialogs (defaulting focus to **Cancel** with full WYSIWYS text preview), and a `Confirm` / `Draft only` preference.
|
|
9
|
+
- Added streaming skeleton states (never mounting incomplete frames), offscreen state preservation with a bounded LRU budget (`MAX_LIVE_FRAMES = 4`), `KeepAlive` scroll-anchor protection, Code/Preview/Copy/Reset/Collapse controls, and CSP/script diagnostic banners.
|
|
10
|
+
- Added opt-in **Interactive UI in new sessions** (`systemPrompt` injection with idempotency marker, ~170 tokens), a per-session **Interactive UI** toggle chip in `NewSession`, and a built-in `/ui <request>` composer slash command (folded via `<system-notice>` and stripped cleanly on copy, optimistic display, and rewind).
|
|
11
|
+
|
|
12
|
+
## 0.16.0
|
|
13
|
+
|
|
14
|
+
- **Paseo 0.19.0 SDK & lean client architecture**:
|
|
15
|
+
- Upgraded `@getpaseo/client` and `@getpaseo/protocol` to `0.19.0` and switched live host connections to `createLeanHostClient` (envelope-level protocol parsing with forward compatibility and zero per-message AOT/Zod overhead), reporting `appVersion` and `clientInfo` (`LitePaseo` / `web`) to connected daemons.
|
|
16
|
+
- Added safe relay E2EE and changed daemon-key diagnostics, rendered `provider_switch` timeline cards, served signed host/agent-scoped URLs for daemon-uploaded `user_message.images` (while keeping local message images prioritized), added proportional client-side 2000 px image resizing (skipping animated GIFs and guarding against size growth/upload limits), and added safe worktree archive handling (`force` retry confirmation, structured `canceled` handling, `directoryLeftBehind` notices, and automatic notice cleanup on Undo).
|
|
17
|
+
- **Mid-chat provider switching & searchable Model Picker**:
|
|
18
|
+
- Added `POST /api/hosts/:host/agents/:agent/switch-provider` (gated on `providerSwitching` and `agentMessageQueue`, with destination-provider attachment capability checks and sanitized errors) and forwarded `expectedProvider` on `/config` updates.
|
|
19
|
+
- Added a lazy-mounted, zero-dependency searchable `ModelPicker` supporting cross-provider search, `shownModels` ordering, collapsible `More models` / `Legacy models` (revealed during search), keyboard navigation, one-tap **Save as profile…**, and running-agent control snap-back protection.
|
|
20
|
+
- Added per-agent provider-switch draft banners in the composer with idle/queued switching, separate target-provider image incompatibility warnings, and optimistic bubble suppression for queued switches.
|
|
21
|
+
- **Host-native persistent message queues**:
|
|
22
|
+
- Integrated Paseo 0.19 host-native queues (`features.agentMessageQueue` + `nonAgentMessageQueue`) via an on-demand, ref-counted `HostQueueWatcher` (zero idle polling, `state: "dispatching"` mapping, and authoritative `data: null` clearing), merging seamlessly with legacy `ServerSendQueue` fallback on older hosts.
|
|
23
|
+
- Host-queued messages support idempotent attachment-bearing enqueue, steer-first **Steer now / Send now** promotion, and withdraw-to-composer **Edit** with draft protection and pre-withdrawal confirmation for attachments or provider switches.
|
|
24
|
+
- **Host Settings & Device Settings 0.19 parity**:
|
|
25
|
+
- Updated Host Settings with unified **Agent tools** master and group switches (`orchestration`, `schedules`, `changeRequests`, `browser`) with legacy fallback, creation-only Agent Profile `systemPrompt`, host-wide Metadata Generation `instructions`, per-provider `shownModels` selection, always-visible `relay.requireProtectedSecurity` defaults on 0.19 hosts, first-class **Tailscale** controls (fast status, refresh, toggle, and disconnect confirmation), and on-demand **Connected devices** inspection with top-bar jump navigation.
|
|
26
|
+
- Added a **Host settings** shortcut card (with daemon version and live status) directly inside LitePaseo Settings, and split Web Push preferences into three per-device toggles: **When an agent needs your input**, **When a turn fails**, and **When a turn finishes** (with backwards-compatible fallback for existing subscriptions).
|
|
27
|
+
- **Usage reports upgrade (`listUsageReports`)**:
|
|
28
|
+
- Upgraded `UsageService` to `listUsageReports` (with legacy `listProviderUsage` fallback), surfacing enterprise spending `details`, `balances`, actionable `unavailable.problem` explanations, manual-refresh `not_fetched` quotas (such as Antigravity) with independent per-report cooldowns and concurrent coalescing, per-report recency cross-host deduplication, and zero-polling turn-end cache invalidation.
|
|
29
|
+
- **Workspace Script tunnels, Plugin Scorecards, Files filter & session import**:
|
|
30
|
+
- Added on-demand public tunnel sharing to `ScriptsMenu` (`/tunnel-providers`, `/tunnel/open` with 45 s timeout and failure reconciliation, `/tunnel/close`, strict HTTP(S) URL validation, and BFF tunnel-diagnostic sanitization).
|
|
31
|
+
- Surfaced Plugin Gallery **Scorecards** (health grade, review score/notes/capabilities, revision history, and safe HTTPS links/funding via `@getpaseo/protocol/plugin-registry` helpers), added debounced file search plus **Copy path** and **Download** quick actions to `FilesPanel`, and added **Open in a new workspace** (`newWorkspace`) to CLI Session Import.
|
|
32
|
+
|
|
3
33
|
## 0.15.0
|
|
4
34
|
|
|
5
35
|
- **Selection floating bar (`Copy` & `Add to chat`)**: selecting text in replies, reasoning, tool output, or prompts opens a floating bar to copy or quote straight into the composer (automatically formatting code surfaces as fenced blocks with language tags and prose as blockquotes).
|
package/README.md
CHANGED
|
@@ -4,21 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
**Your Paseo agents, in a lighter web UI.**
|
|
6
6
|
|
|
7
|
-
Keep track of coding agents across machines, read their output,
|
|
8
|
-
and respond when they need your input—from a desktop browser or your phone.
|
|
9
|
-
One console for your existing Paseo daemons, designed to stay open without keeping
|
|
10
|
-
your browser busy.
|
|
7
|
+
Keep track of coding agents across machines, read their output, switch providers mid-chat, manage Git changes, and respond when they need your input—from a desktop browser or your phone. One console for your existing Paseo daemons, designed to stay open all day without keeping your browser busy.
|
|
11
8
|
|
|
12
|
-
|
|
9
|
+
Supports Paseo daemons up to **0.19** · Requires **Node.js 24.11+**
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
[Install](#install-and-start) · [What you can do](#what-you-can-do) · [Why LitePaseo](#why-litepaseo) · [Remote access](#https--remote-access) · [CLI & Config](#everyday-commands)
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
<picture>
|
|
14
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/images/readme-dark.png" />
|
|
15
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/images/readme-light.png" />
|
|
16
|
+
<img src="docs/images/readme-dark.png" alt="LitePaseo showing agent conversations grouped by workspace, syntax-highlighted code with wrap/copy actions, usage indicators, and model, thinking, and access controls in the composer." width="1280" />
|
|
17
|
+
</picture>
|
|
18
|
+
|
|
19
|
+
*Your workspaces, conversations, usage summary, and agent controls in one view. Shown with demo data.*
|
|
17
20
|
|
|
18
21
|
## Why LitePaseo?
|
|
19
22
|
|
|
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.
|
|
23
|
+
An agent dashboard often stays open for hours. LitePaseo leaves more CPU and memory available for your agents and the rest of your work, with battery life in mind.
|
|
22
24
|
|
|
23
25
|
In our local comparison with the **official Paseo 0.15.4 web UI**:
|
|
24
26
|
|
|
@@ -28,54 +30,49 @@ In our local comparison with the **official Paseo 0.15.4 web UI**:
|
|
|
28
30
|
| Browser memory | **55–73% less** sampled peak PSS |
|
|
29
31
|
| Compressed JavaScript + CSS | **92% less** — 290 KiB vs. 3,764 KiB, including the deferred renderer |
|
|
30
32
|
|
|
31
|
-
Measured in headless Chromium on the same Linux laptop, with five runs per UI per
|
|
32
|
-
scenario. In that benchmark LitePaseo used 1 fps status animation and 500 ms message
|
|
33
|
-
batching (the current Wake+Pull timeline pulls running watched chats every 1.5 s and
|
|
34
|
-
does zero polling while idle), trading some update latency for lower CPU use. These
|
|
35
|
-
are resource measurements; battery runtime has not been measured.
|
|
33
|
+
Measured in headless Chromium on the same Linux laptop, with five runs per UI per scenario. In that benchmark LitePaseo used 1 fps status animation and 500 ms message batching; the current **Wake + Pull** timeline pulls running watched chats every 1.5 s and does **zero polling while idle**, and host connections use Paseo 0.19's `createLeanHostClient` for lightweight, forward-compatible protocol parsing. These are resource measurements; battery runtime has not been measured.
|
|
36
34
|
|
|
37
|
-
**[Read the full comparison →](docs/performance-plan.md)** for workload details,
|
|
38
|
-
latency, rendering differences, raw data and reproduction steps.
|
|
35
|
+
**[Read the full comparison →](docs/performance-plan.md)** for workload details, latency, rendering differences, raw data, and reproduction steps.
|
|
39
36
|
|
|
40
|
-
The approach is simple: update less often, send only changes, keep rendered history
|
|
41
|
-
bounded, and pause streams while a tab is hidden. Recently opened conversations stay
|
|
42
|
-
rendered but idle, so switching back costs neither a re-render nor a re-download.
|
|
43
|
-
Everything ships in one npm package, with no separate database service to deploy.
|
|
37
|
+
The approach is simple: update less often, send only changes, keep rendered history bounded, and pause streams while a tab is hidden. Recently opened conversations stay rendered but idle, so switching back costs neither a re-render nor a re-download. Everything ships in one npm package, with no separate database service to deploy.
|
|
44
38
|
|
|
45
39
|
## What you can do
|
|
46
40
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
41
|
+
### Multi-host, workspaces & live board
|
|
42
|
+
|
|
43
|
+
- **Multi-host console**: manage workspaces and conversations across multiple Paseo daemons from one interface, with live status and daemon versions.
|
|
44
|
+
- **Projects, pins, labels & archive recovery**: pin projects (synced across devices), assign color-coded workspace labels, batch-archive workspaces with a 6-second Undo toast (`Cmd/Ctrl+Z`) and safe dirty-worktree protection, and restore archived sessions any time.
|
|
45
|
+
- **Flexible workspace & session creation**: add projects from existing host folders, GitHub clone, or new folders; create worktrees from a new branch, existing branch, PR number, or existing worktree; import existing local CLI sessions (Claude Code, Codex, Pi, Antigravity, and more); or fork any conversation into a new draft with its context carried over.
|
|
46
|
+
- **Multi-session workspaces & Command Center (`Cmd/Ctrl+K`)**: run multiple agent tabs in one workspace (with an **All sessions** picker, per-session rename, and tab close), jump across workspaces, files, actions, and Agent Profiles from the Command Center, and track work on the live **Agents Kanban Board** (with filters, sorting, detail drawers, and inline permission approval) or the built-in Markdown **Task Board**.
|
|
47
|
+
|
|
48
|
+
### Conversations & rich reading
|
|
49
|
+
|
|
50
|
+
- **Instant switching & long-history reading**: recent conversations reopen scrolled where you left them and fetch only deltas; scroll back through full history on demand, jump via the prompt outline rail, and search across the full conversation.
|
|
51
|
+
- **Selection bar, tables & image gallery**: highlight text to copy or quote into the composer (`Add to chat`), copy Markdown tables as GFM or native PNG images (including multi-cell selection), inspect conversation images in a zoomable multi-image gallery, and hover desktop links for file-size or page-title previews.
|
|
52
|
+
- **Grouped tools, Block Details & structured cards**: consecutive same-file reads/writes/edits collapse into a single row with cumulative diff stats; inspect long tool calls, reasoning, or todos in a resizable **Block Details** panel / mobile drawer; pin a live Todo checklist; and view delegated and provider subagents (Claude Task, Codex, pi-subagents) live and read-only.
|
|
53
|
+
- **Customizable reading & appearance**: configure content width, font size, chat detail density (Full / Compact / Replies), auto-expand thinking or failed tools, and send shortcut in **Settings → Reading & Chat**, and choose themes and color palettes in **Settings → Appearance**.
|
|
54
|
+
|
|
55
|
+
### Composer, switching & queueing
|
|
56
|
+
|
|
57
|
+
- **Searchable Model Picker & mid-chat provider switching**: search models across providers (`Cmd/Ctrl+/`), prioritize configured `shownModels` with collapsible legacy models, cycle thinking levels (`Cmd/Ctrl+Shift+/`), save the current setup as a reusable Agent Profile in one click, and **switch providers mid-chat** on Paseo 0.19 hosts while preserving conversation context.
|
|
58
|
+
- **Host-native persistent message queues**: on Paseo 0.19+ hosts, queued messages live on the daemon—staying synchronized with official Paseo Desktop/Mobile clients and surviving restarts—with steer-first **Steer now / Send now** promotion and withdraw-to-composer editing. Older daemons automatically fall back to LitePaseo's durable server send queue (with pause, resume, reorder, and delivery verification).
|
|
59
|
+
- **Steer, Interrupt, Rewind & smart composer**: choose Queue, Interrupt, or native Steer (see [provider support](docs/provider-message-delivery.md)), rewind conversations (and tracked files where supported), autocomplete `/` commands/skills and `@` workspace files, recall prompt history (`↑`/`↓`), paste rich-text links or long blocks as collapsible chips, and attach files or images (with automatic 2000 px resizing and daemon-uploaded image previews).
|
|
60
|
+
|
|
61
|
+
### Git, files, terminals & services
|
|
62
|
+
|
|
63
|
+
- **Full Git & PR workflow (`Changes` panel)**: review uncommitted changes or diff against a base branch, browse commit history, add inline diff review comments to send directly to the agent, commit (with optional generated messages), push, create pull requests, and inspect PR status & CI checks.
|
|
64
|
+
- **Workspace files & terminals**: filter the **Files** tree by name, open files with syntax highlighting and line links directly from agent messages, copy paths, download binary or text files, and open interactive xterm terminals with terminal profiles.
|
|
65
|
+
- **Workspace scripts & public tunnel sharing**: start and stop `paseo.json` scripts and services from the chat header, open local service ports, and share running services at public HTTPS URLs via Paseo 0.19 tunnel providers (`cloudflared`, Tailscale Funnel, etc.).
|
|
66
|
+
|
|
67
|
+
### Host management, usage & mobile PWA
|
|
68
|
+
|
|
69
|
+
- **Complete Host Settings**: configure unified **Agent tools** groups, providers (including `shownModels` and online CLI updates), Agent Profiles (with creation-only `systemPrompt`), host metadata generation instructions, terminal profiles, skills, **Plugin Gallery & Scorecards**, Relay protection, **Tailscale**, **Connected devices**, and remote daemon restarts/updates—accessible from **Hosts → Settings** or directly from **Settings → Host settings**.
|
|
70
|
+
- **Usage monitoring**: track provider quotas across hosts with exhaustion forecasts (`runsOutAt`), balance & enterprise spend details, on-demand manual quota refreshes (such as Antigravity), and automatic cache invalidation when turns finish.
|
|
71
|
+
- **Mobile PWA, per-device notifications & centralized AI helpers**: install as a desktop or phone web app, configure independent Web Push toggles (**Needs input**, **Turn fails**, **Turn finishes**), and set up **Voice input** and **Next message suggestions** once in LitePaseo for every connected host.
|
|
74
72
|
|
|
75
73
|
## Install and start
|
|
76
74
|
|
|
77
|
-
You need **Node.js 24.11 or newer**, npm, and at least one existing Paseo daemon.
|
|
78
|
-
The server targets Linux and macOS; live validation has primarily been on Linux.
|
|
75
|
+
You need **Node.js 24.11 or newer**, npm, and at least one existing Paseo daemon. The server targets Linux and macOS; live validation has primarily been on Linux.
|
|
79
76
|
|
|
80
77
|
```sh
|
|
81
78
|
npm install --global litepaseo
|
|
@@ -84,128 +81,74 @@ litepaseo token
|
|
|
84
81
|
```
|
|
85
82
|
|
|
86
83
|
1. Open **http://127.0.0.1:8787** on the machine running LitePaseo.
|
|
87
|
-
2. Sign in with the access token printed by `litepaseo token`. If TOTP is enabled,
|
|
88
|
-
|
|
89
|
-
3. Open **Hosts** and add your daemon using a connection URL, pairing offer, or
|
|
90
|
-
SSH target supported by the Paseo SDK.
|
|
84
|
+
2. Sign in with the access token printed by `litepaseo token`. If TOTP is enabled, enter your authenticator code as well.
|
|
85
|
+
3. Open **Hosts** and add your daemon using a connection URL, pairing offer, or SSH target supported by the Paseo SDK.
|
|
91
86
|
4. Open an existing conversation or create a new session.
|
|
92
87
|
|
|
93
|
-
The npm package includes the built web interface; installation requires no
|
|
94
|
-
frontend build. `start` runs LitePaseo in the background with crash recovery and
|
|
95
|
-
rotating logs. It does not install or start Paseo daemons for you.
|
|
88
|
+
The npm package includes the built web interface; installation requires no frontend build. `start` runs LitePaseo in the background with crash recovery and rotating logs. It does not install or start Paseo daemons for you.
|
|
96
89
|
|
|
97
90
|
### HTTPS & remote access
|
|
98
91
|
|
|
99
|
-
LitePaseo serves HTTP on `127.0.0.1:8787`. For access from your phone or another
|
|
100
|
-
machine, **put an HTTPS tunnel or reverse proxy in front of it**. We recommend
|
|
101
|
-
**Cloudflare Tunnel**: it gives you an HTTPS address without opening an inbound
|
|
102
|
-
port on your machine.
|
|
92
|
+
LitePaseo serves HTTP on `127.0.0.1:8787`. For access from your phone or another machine, **put an HTTPS tunnel or reverse proxy in front of it**. We recommend **Cloudflare Tunnel**: it gives you an HTTPS address without opening an inbound port on your machine.
|
|
103
93
|
|
|
104
|
-
1. Follow [Cloudflare's tunnel setup](https://developers.cloudflare.com/tunnel/get-started/)
|
|
105
|
-
|
|
106
|
-
2. Add a published application route for a hostname such as `agents.example.com`,
|
|
107
|
-
pointing to **`http://127.0.0.1:8787`** (service type **HTTP**).
|
|
94
|
+
1. Follow [Cloudflare's tunnel setup](https://developers.cloudflare.com/tunnel/get-started/) to create a tunnel and run `cloudflared` on the same machine as LitePaseo.
|
|
95
|
+
2. Add a published application route for a hostname such as `agents.example.com`, pointing to **`http://127.0.0.1:8787`** (service type **HTTP**).
|
|
108
96
|
3. Open `https://agents.example.com` and sign in with your LitePaseo access token.
|
|
109
97
|
|
|
110
|
-
Keep LitePaseo's default localhost binding; Cloudflare handles HTTPS in front of
|
|
111
|
-
it. A signed-in session can run commands through your agents, so on a public
|
|
112
|
-
hostname also enable **Cloudflare Access** and an authenticator code: see
|
|
113
|
-
[Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md). Push
|
|
114
|
-
notifications keep working behind Access. An existing HTTPS reverse proxy works too, provided it supports streaming
|
|
115
|
-
responses (SSE) without buffering.
|
|
116
|
-
|
|
117
|
-
### Phone app & notifications
|
|
118
|
-
|
|
119
|
-
When any foreground browser is viewing a conversation, notifications for that
|
|
120
|
-
conversation are suppressed on every device connected to the same LitePaseo
|
|
121
|
-
instance. Switching away restores notifications for new events; suppressed events
|
|
122
|
-
are not replayed. Disconnected browsers stop suppressing within 45 seconds.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
Open your HTTPS address and install from the browser's menu. On iPhone/iPad,
|
|
126
|
-
use Safari → Share → **Add to Home Screen**, then open the installed app to enable
|
|
127
|
-
push notifications. Turn them on in **Settings → Notifications** to hear when an
|
|
128
|
-
agent needs input or finishes. For Apple devices, set a contact once with
|
|
129
|
-
`litepaseo config set push-subject mailto:you@example.com` and restart (see
|
|
130
|
-
[Configuration](#configuration)).
|
|
131
|
-
|
|
132
|
-
If turning notifications on fails with **"Registration failed - push service error"**,
|
|
133
|
-
the browser could not reach its own push service; LitePaseo is not involved yet.
|
|
134
|
-
|
|
135
|
-
- **Brave** disables push by default. Open `brave://settings/privacy`, turn on
|
|
136
|
-
**Use Google services for push messaging**, restart Brave, and try again.
|
|
137
|
-
- **Chromium builds without Google services** (many Linux distribution packages,
|
|
138
|
-
ungoogled-chromium) cannot receive Web Push. Use Google Chrome, Edge or Firefox.
|
|
139
|
-
- **Chrome or Edge**: open `chrome://gcm-internals` (`edge://gcm-internals`). If
|
|
140
|
-
**Connection State** is not `CONNECTED`, a proxy, VPN or firewall is blocking the push
|
|
141
|
-
service (Chrome needs `mtalk.google.com:5228` and `fcm.googleapis.com`).
|
|
142
|
-
- Private and incognito windows do not support push.
|
|
143
|
-
|
|
144
|
-
Optional two-factor sign-in is under **Settings → Authenticator code**; signed-in
|
|
145
|
-
devices can be revoked in Settings. If you lose your authenticator, run
|
|
146
|
-
`litepaseo totp-reset` on the server.
|
|
147
|
-
|
|
148
|
-
The access token is generated on first start. Choose your own with
|
|
149
|
-
`litepaseo token set`, or replace it with `litepaseo token rotate` if it may have leaked.
|
|
150
|
-
Both take effect immediately and sign out every browser. A token sent as
|
|
151
|
-
`Authorization: Bearer` (for scripts) is accepted only on direct connections, never
|
|
152
|
-
through a tunnel or proxy, and only while authenticator sign-in is off.
|
|
98
|
+
Keep LitePaseo's default localhost binding; Cloudflare handles HTTPS in front of it. A signed-in session can run commands through your agents, so on a public hostname also enable **Cloudflare Access** and an authenticator code: see [Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md). Push notifications keep working behind Access. An existing HTTPS reverse proxy works too, provided it supports streaming responses (SSE) without buffering.
|
|
153
99
|
|
|
154
|
-
|
|
100
|
+
## Features & setup
|
|
101
|
+
|
|
102
|
+
### Phone app, notifications & security
|
|
103
|
+
|
|
104
|
+
When any foreground browser is viewing a conversation, notifications for that conversation are suppressed on every device connected to the same LitePaseo instance. Switching away restores notifications for new events; suppressed events are not replayed. Disconnected browsers stop suppressing within 45 seconds.
|
|
105
|
+
|
|
106
|
+
Open your HTTPS address and install from the browser's menu. On iPhone/iPad, use Safari → Share → **Add to Home Screen**, then open the installed app to enable push notifications. Under **Settings → Notifications**, each device independently controls:
|
|
107
|
+
|
|
108
|
+
- **When an agent needs your input** (permission requests and questions)
|
|
109
|
+
- **When a turn fails** (errors and failed runs)
|
|
110
|
+
- **When a turn finishes** (completed replies)
|
|
111
|
+
|
|
112
|
+
For Apple devices, set a contact once with `litepaseo config set push-subject mailto:you@example.com` and restart (see [Configuration](#configuration)). If browser push registration fails, see [Web Push troubleshooting](docs/troubleshooting.md#web-push-registration-errors).
|
|
113
|
+
|
|
114
|
+
Optional two-factor sign-in (TOTP) is under **Settings → Authenticator code**; signed-in devices can be revoked in Settings. If you lose your authenticator, run `litepaseo totp-reset` on the server.
|
|
155
115
|
|
|
156
|
-
|
|
157
|
-
servers. The name appears in browser tabs, the sidebar and the sign-in screen,
|
|
158
|
-
and is saved on this instance for every device. Connected pages update immediately.
|
|
159
|
-
Clear the name to restore **LitePaseo**.
|
|
116
|
+
The access token is generated on first start. Choose your own with `litepaseo token set`, or replace it with `litepaseo token rotate` if it may have leaked. Both take effect immediately and sign out every browser. A token sent as `Authorization: Bearer` (for scripts) is accepted only on direct connections, never through a tunnel or proxy, and only while authenticator sign-in is off.
|
|
160
117
|
|
|
161
118
|
### Host settings
|
|
162
119
|
|
|
163
|
-
Open **Hosts → Settings** beside a connected host to configure
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
Agent profiles
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
must be updated through Paseo Desktop. Remote lifecycle operations continue
|
|
173
|
-
on the LitePaseo server if you leave the page. Reopen the settings page to
|
|
174
|
-
check progress. Completion requires a replacement daemon; updates also verify
|
|
175
|
-
its running version. Operation tracking is in memory: after a LitePaseo server
|
|
176
|
-
restart, check the host version/status before retrying an uncertain operation.
|
|
177
|
-
|
|
178
|
-
Voice input and notifications keep their existing LitePaseo settings. Provider
|
|
179
|
-
credentials and arbitrary runtime environment overrides remain managed on the
|
|
180
|
-
host; this form does not expose them. Plugin-specific custom settings screens
|
|
181
|
-
and reviewed plugin-source updates remain available in the official client.
|
|
120
|
+
Open **Hosts → Settings** beside a connected host—or jump straight there from **Settings → Host settings**—to configure:
|
|
121
|
+
|
|
122
|
+
- **General & Agent tools**: unified **Agent tools** master and group toggles (`Orchestration`, `Schedules`, `Change requests`, `Browser`) on Paseo 0.19+ daemons (with legacy toggles on older hosts), idle cleanup, restart recovery, and host-wide appended instructions.
|
|
123
|
+
- **Providers**: enable/disable providers, pick prioritized `shownModels`, add custom models/providers, inspect diagnostics, and check or install provider CLI updates.
|
|
124
|
+
- **Agent profiles, Metadata & Terminals**: manage named Agent Profiles (including creation-only `systemPrompt`), host-wide metadata generation providers and `instructions`, and terminal profiles.
|
|
125
|
+
- **Skills & Plugins**: manage agent skills, enable/disable/reload/remove plugins, and browse the **Plugin Gallery** with Paseo 0.19 **Scorecards** (health grades, review summaries, revision history, and sponsor/project links).
|
|
126
|
+
- **Network, Devices & Daemon**: configure Relay connections and protected E2EE enforcement, toggle **Tailscale** with disconnect confirmation, inspect on-demand **Connected devices** and permissions, view full daemon status, and trigger remote **Restart** or **Update & restart** (Desktop-managed daemons update through Paseo Desktop).
|
|
127
|
+
|
|
128
|
+
Changes are saved on that Paseo host and apply to all its clients. Save explicitly; reload if another client changed the configuration. Remote restart and update jobs continue on the LitePaseo server if you leave the page (see [remote daemon lifecycle notes](docs/troubleshooting.md#remote-daemon-restarts--updates)). Provider credentials and arbitrary runtime environment overrides stay managed on the host and are never exposed in this form.
|
|
182
129
|
|
|
183
130
|
### Voice input
|
|
184
131
|
|
|
185
|
-
Voice input is off until you add a transcription service in **Settings → Voice input**: a
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
**
|
|
198
|
-
receives these as `languages[]` and `keywords[]`. Whisper-style models (`whisper-1`,
|
|
199
|
-
`gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive a single `language` (only
|
|
200
|
-
when you list exactly one) and the vocabulary as a `prompt`. If a model rejects the language
|
|
201
|
-
field, LitePaseo retries once with the other format.
|
|
132
|
+
Voice input is off until you add a transcription service in **Settings → Voice input**: a base URL (`https://api.openai.com/v1` by default), an API key, and a model (`gpt-transcribe` by default). The microphone button then appears in the composer on every device. Recording needs HTTPS or localhost. Audio uploads to LitePaseo while you speak.
|
|
133
|
+
|
|
134
|
+
LitePaseo uses a Realtime transcription connection when supported; file-only services receive phrases at natural pauses through `/audio/transcriptions` (long continuous speech splits after 30 seconds). Recognized text appears above the composer while recording and inserts into your draft when you stop. The key stays on the server and is included in backups; Paseo daemons are not involved. Reverse proxies must allow WebSocket upgrades on `/api/dictation/stream`.
|
|
135
|
+
|
|
136
|
+
List every language you speak, such as `zh, en` when mixing languages. Under **Vocabulary**, add names and terms the model should spell correctly. `gpt-transcribe` receives these as `languages[]` and `keywords[]`; Whisper-style models (`whisper-1`, `gpt-4o(-mini)-transcribe`, Groq, local Whisper servers) receive a single `language` (when exactly one is listed) and vocabulary as a `prompt`. If a model rejects the language field, LitePaseo retries once with the other format.
|
|
137
|
+
|
|
138
|
+
### Next message suggestions
|
|
139
|
+
|
|
140
|
+
Set up one OpenAI-compatible chat endpoint in **Settings → Next message suggestions** to predict an editable follow-up prompt after completed turns across all connected hosts—without installing any daemon plugin. Press `Tab` in an empty composer to accept a suggestion, and use **Test** in Settings to verify the endpoint. API keys are origin-bound and stay on the LitePaseo server.
|
|
141
|
+
|
|
142
|
+
### Instance name
|
|
143
|
+
|
|
144
|
+
Set **Settings → Instance → Instance name** to distinguish multiple LitePaseo servers. The name appears in browser tabs, the sidebar, and the sign-in screen, and updates connected pages immediately. Clear the name to restore **LitePaseo**.
|
|
202
145
|
|
|
203
146
|
## Everyday commands
|
|
204
147
|
|
|
205
148
|
| Command | Purpose |
|
|
206
149
|
| --- | --- |
|
|
207
150
|
| `litepaseo start` | Start in the background |
|
|
208
|
-
| `litepaseo status` | Show state, address, uptime and processes (`--json` for scripts; exits 3 when stopped) |
|
|
151
|
+
| `litepaseo status` | Show state, address, uptime, and processes (`--json` for scripts; exits 3 when stopped) |
|
|
209
152
|
| `litepaseo stop` | Stop the background service |
|
|
210
153
|
| `litepaseo restart` | Restart a manually launched instance (also after an upgrade) |
|
|
211
154
|
| `litepaseo logs` | Show recent logs (`-n 500` for more, `-f` to follow) |
|
|
@@ -217,8 +160,7 @@ field, LitePaseo retries once with the other format.
|
|
|
217
160
|
| `litepaseo -v` | Print just the installed version number (also `--version`) |
|
|
218
161
|
| `litepaseo --help` | List commands; `litepaseo help <command>` explains one |
|
|
219
162
|
|
|
220
|
-
For automatic startup, install a systemd user service on Linux or a LaunchAgent
|
|
221
|
-
on macOS:
|
|
163
|
+
For automatic startup, install a systemd user service on Linux or a LaunchAgent on macOS:
|
|
222
164
|
|
|
223
165
|
```sh
|
|
224
166
|
litepaseo service print
|
|
@@ -226,14 +168,11 @@ litepaseo stop
|
|
|
226
168
|
litepaseo service install
|
|
227
169
|
```
|
|
228
170
|
|
|
229
|
-
Use `litepaseo service restart` for an OS-managed installation. Linux startup
|
|
230
|
-
before login requires user lingering; macOS starts the service at login.
|
|
231
|
-
Reinstall the service after changing its environment settings or Node/CLI paths.
|
|
171
|
+
Use `litepaseo service restart` for an OS-managed installation. Linux startup before login requires user lingering; macOS starts the service at login. Reinstall the service after changing its environment settings or Node/CLI paths.
|
|
232
172
|
|
|
233
173
|
### Configuration
|
|
234
174
|
|
|
235
|
-
Save settings once with `litepaseo config`; they apply on every start and are
|
|
236
|
-
included in backups:
|
|
175
|
+
Save settings once with `litepaseo config`; they apply on every start and are included in backups:
|
|
237
176
|
|
|
238
177
|
```sh
|
|
239
178
|
litepaseo config # show settings and where each comes from
|
|
@@ -250,68 +189,19 @@ litepaseo restart # apply (or: litepaseo
|
|
|
250
189
|
| `push-subject` | `mailto:litepaseo@example.com` | Contact for push services (see below) | `LITEPASEO_PUSH_SUBJECT` |
|
|
251
190
|
| `compression` | `on` | Compress API responses and live streams (`on` or `off`) | `LITEPASEO_COMPRESSION` |
|
|
252
191
|
|
|
253
|
-
An environment variable, when set, wins over the saved value for that run.
|
|
254
|
-
|
|
255
|
-
is
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
history stays on your daemons, and drafts stay in browser storage.
|
|
267
|
-
|
|
268
|
-
### Backups & upgrades
|
|
269
|
-
|
|
270
|
-
Run `litepaseo backup /path/to/new-backup-directory` before upgrading; the destination
|
|
271
|
-
must not exist. Keep backups private because they include credentials. Use
|
|
272
|
-
`litepaseo help restore` for recovery instructions.
|
|
273
|
-
|
|
274
|
-
Upgrade with `npm install --global litepaseo`, then run `litepaseo restart`
|
|
275
|
-
(or `litepaseo service restart` for an OS-managed installation).
|
|
276
|
-
|
|
277
|
-
### Slow conversations
|
|
278
|
-
|
|
279
|
-
A conversation that takes more than 3 seconds to show is logged, without its content.
|
|
280
|
-
`timeline_slow` is the server's side: the daemon subscription (`subscribeMs`), the
|
|
281
|
-
daemon's history read (`fetchMs`; a closed agent is resumed from disk first), and retries
|
|
282
|
-
(`attempts`, `failures`). `timeline_slow_client` is the browser's side: when the stream
|
|
283
|
-
connected (`connectedMs`), when its first bytes arrived (`firstByteMs`), when rows
|
|
284
|
-
arrived (`rowsMs`; `null` if you left first), rendering (`renderMs`), and how long the
|
|
285
|
-
page had just been in the background (`backgroundMs`, `visibleForMs`). A late
|
|
286
|
-
`connectedMs` with no matching `timeline_slow` means the request took that long to reach
|
|
287
|
-
the server, typically a connection the browser reused after sleep or a network change. A
|
|
288
|
-
late `firstByteMs` after an early `connectedMs` means something in between, such as a
|
|
289
|
-
proxy or tunnel, held the data. Browser reports also name the kind of browser (`engine`,
|
|
290
|
-
`os`, `standalone` for an installed web app; never the user agent string), the connection
|
|
291
|
-
(`protocol`, such as `h2` or `h3`, and `encoding`), and how the stream's body arrived:
|
|
292
|
-
`chunks` and `characters` up to the rows, `arrivals` (time and size of the first 10
|
|
293
|
-
pieces), `lastChunkMs`, and the longest silence between pieces (`maxGapMs`, ending at
|
|
294
|
-
`maxGapEndMs`). A long gap ending just before the rows means the data was held back on
|
|
295
|
-
the way rather than slow to send. Find them with
|
|
296
|
-
`litepaseo logs -n 2000 | grep timeline_slow`.
|
|
297
|
-
|
|
298
|
-
A conversation opens with a plain request (`GET …/timeline/latest`) for its latest rows;
|
|
299
|
-
its live stream then resumes from them and carries only changes. A plain response has an
|
|
300
|
-
end, so no proxy holds its tail back the way some hold back a long-lived stream. Reports
|
|
301
|
-
say which way the first rows came (`via`: `latest`, or `stream` when the request failed).
|
|
302
|
-
|
|
303
|
-
While a conversation is still loading after 3 seconds, the page says what it waits for:
|
|
304
|
-
the plain request ("Still loading this conversation"), or, when the stream carries the
|
|
305
|
-
rows, the connection to LitePaseo, the network, or the host. After an upgrade, open pages
|
|
306
|
-
offer a reload so they run the installed version.
|
|
307
|
-
|
|
308
|
-
Live streams and larger API responses (1 KB and up) are compressed with brotli or gzip
|
|
309
|
-
for browsers that accept it: a conversation's first rows usually shrink 3-6 times. Each
|
|
310
|
-
stream event is flushed as it is written, so compression never delays it. If a proxy
|
|
311
|
-
between you and LitePaseo mishandles compressed streams, run
|
|
312
|
-
`litepaseo config set compression off` and restart. Some proxies also hold a stream's
|
|
313
|
-
latest bytes until more arrive, so each burst of live updates is followed by a few bytes
|
|
314
|
-
of padding.
|
|
192
|
+
An environment variable, when set, wins over the saved value for that run. `LITEPASEO_HOME` (default `~/.litepaseo`) chooses the data directory itself, so it is only an environment variable.
|
|
193
|
+
|
|
194
|
+
**`push-subject`** is the signed contact address LitePaseo includes when handing a notification to Apple, Google, or Mozilla. It is never shown to users or emailed, and can be any `mailto:` address or `https://` URL you control (such as your console address). Replace the placeholder default with a real one; Apple is the strictest about this value.
|
|
195
|
+
|
|
196
|
+
LitePaseo's data directory contains credentials and settings. Conversation history stays on your daemons, and drafts stay in browser storage.
|
|
197
|
+
|
|
198
|
+
### Backups, upgrades & troubleshooting
|
|
199
|
+
|
|
200
|
+
Run `litepaseo backup /path/to/new-backup-directory` before upgrading; the destination must not exist. Keep backups private because they include credentials. Use `litepaseo help restore` for recovery instructions.
|
|
201
|
+
|
|
202
|
+
Upgrade with `npm install --global litepaseo`, then run `litepaseo restart` (or `litepaseo service restart` for an OS-managed installation). After an upgrade, open browser tabs offer a one-click reload banner.
|
|
203
|
+
|
|
204
|
+
Conversations taking longer than 3 seconds are logged without content (`litepaseo logs -n 2000 | grep timeline_slow`). See [Troubleshooting](docs/troubleshooting.md) for timeline latency breakdown fields, proxy SSE buffering, Web Push browser fixes, and Paseo 0.19 relay E2EE / host key diagnostics.
|
|
315
205
|
|
|
316
206
|
## How it fits together
|
|
317
207
|
|
|
@@ -324,23 +214,18 @@ Browser / installed web app
|
|
|
324
214
|
LitePaseo server
|
|
325
215
|
Node.js + Hono + SQLite
|
|
326
216
|
│
|
|
327
|
-
│ Official Paseo SDK
|
|
217
|
+
│ Official Paseo SDK (lean client)
|
|
328
218
|
├── Paseo daemon · machine A
|
|
329
219
|
└── Paseo daemon · machine B
|
|
330
220
|
```
|
|
331
221
|
|
|
332
|
-
The **browser** renders the interface and keeps local drafts. It receives only
|
|
333
|
-
the changes it needs to display.
|
|
222
|
+
The **browser** renders the interface and keeps local drafts. It receives only the changes it needs to display.
|
|
334
223
|
|
|
335
|
-
The **server** owns daemon connections, authentication, shared subscriptions,
|
|
336
|
-
notifications and bounded timeline updates. SQLite stores LitePaseo's metadata,
|
|
337
|
-
including hosts, the board and signed-in devices. Daemon credentials stay here.
|
|
224
|
+
The **server** owns daemon connections, authentication, shared subscriptions, notifications, and bounded timeline updates. SQLite stores LitePaseo's metadata, including hosts, the board, and signed-in devices. Daemon credentials stay here.
|
|
338
225
|
|
|
339
|
-
The **daemons** run the agents and own their conversation history. LitePaseo is
|
|
340
|
-
a client of those daemons; no daemon plugin is required.
|
|
226
|
+
The **daemons** run the agents and own their conversation history. LitePaseo is a client of those daemons; no daemon plugin is required.
|
|
341
227
|
|
|
342
|
-
Everything ships as one npm package: a Node service and prebuilt browser assets.
|
|
343
|
-
There is no separate database service to deploy.
|
|
228
|
+
Everything ships as one npm package: a Node service and prebuilt browser assets. There is no separate database service to deploy.
|
|
344
229
|
|
|
345
230
|
## Run from source
|
|
346
231
|
|
|
@@ -353,20 +238,17 @@ node dist/server/cli.mjs start
|
|
|
353
238
|
node dist/server/cli.mjs token
|
|
354
239
|
```
|
|
355
240
|
|
|
356
|
-
For frontend development, run `node dist/server/cli.mjs serve` and `npm run dev`
|
|
357
|
-
in separate terminals. The development proxy targets port 8787.
|
|
241
|
+
For frontend development, run `node dist/server/cli.mjs serve` and `npm run dev` in separate terminals. The development proxy targets port 8787.
|
|
358
242
|
|
|
359
243
|
To test a local npm installation:
|
|
360
244
|
|
|
361
245
|
```sh
|
|
362
246
|
npm run build
|
|
363
247
|
npm pack
|
|
364
|
-
npm install --global ./litepaseo
|
|
248
|
+
npm install --global ./litepaseo-<version>.tgz
|
|
365
249
|
litepaseo start
|
|
366
250
|
```
|
|
367
251
|
|
|
368
|
-
Use the tarball filename printed by `npm pack` if the version has changed.
|
|
369
|
-
|
|
370
252
|
Validation:
|
|
371
253
|
|
|
372
254
|
```sh
|
|
@@ -377,11 +259,11 @@ node tests/package.mjs
|
|
|
377
259
|
|
|
378
260
|
## Further reading
|
|
379
261
|
|
|
262
|
+
- [Troubleshooting](docs/troubleshooting.md) — slow conversation diagnostics, proxy buffering, Web Push fixes, and Paseo 0.19 relay E2EE errors.
|
|
380
263
|
- [Protecting LitePaseo with Cloudflare Access](docs/cloudflare-access.md).
|
|
381
|
-
|
|
264
|
+
- [Provider message delivery support](docs/provider-message-delivery.md) — Queue, Steer, and Interrupt behavior by provider.
|
|
382
265
|
- [Markstream integration and measurements](docs/markstream-integration-validation.md).
|
|
383
|
-
- [LitePaseo vs. official Paseo web UI](docs/performance-plan.md) and the
|
|
384
|
-
[benchmark harness](benchmarks/README.md).
|
|
266
|
+
- [LitePaseo vs. official Paseo web UI](docs/performance-plan.md) and the [benchmark harness](benchmarks/README.md).
|
|
385
267
|
|
|
386
268
|
## License
|
|
387
269
|
|
package/dist/server/cli.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { DatabaseSync } from "node:sqlite";
|
|
|
8
8
|
import { homedir } from "node:os";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
// src/server/version.ts
|
|
11
|
-
const VERSION = "0.
|
|
11
|
+
const VERSION = "0.17.0";
|
|
12
12
|
// src/server/rotating-log.ts
|
|
13
13
|
/** One writer (the supervisor); bounded active file plus numbered archives. */
|
|
14
14
|
var RotatingLog = class {
|
|
@@ -450,6 +450,10 @@ function migrate(db, directory) {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
// src/server/store.ts
|
|
453
|
+
const normalizePushPrefs = (prefs) => ({
|
|
454
|
+
...prefs,
|
|
455
|
+
failures: prefs.failures ?? prefs.turns
|
|
456
|
+
});
|
|
453
457
|
const toSession = (r) => ({
|
|
454
458
|
id: String(r.id),
|
|
455
459
|
secretHash: String(r.secret_hash),
|
|
@@ -549,7 +553,7 @@ var Store = class {
|
|
|
549
553
|
sessionId: String(r.session_id),
|
|
550
554
|
p256dh: String(r.p256dh),
|
|
551
555
|
auth: String(r.auth),
|
|
552
|
-
prefs: JSON.parse(String(r.prefs)),
|
|
556
|
+
prefs: normalizePushPrefs(JSON.parse(String(r.prefs))),
|
|
553
557
|
created: Number(r.created)
|
|
554
558
|
}));
|
|
555
559
|
}
|
|
@@ -1766,7 +1770,7 @@ async function run() {
|
|
|
1766
1770
|
if (name === "--help" || name === "-h") return console.log(mainHelp(VERSION, displayDirectory(), out));
|
|
1767
1771
|
if (name === "worker") {
|
|
1768
1772
|
const paths = await dataDirectory();
|
|
1769
|
-
const { runWorker } = await import("./worker-
|
|
1773
|
+
const { runWorker } = await import("./worker-Roc45FR7.mjs");
|
|
1770
1774
|
return runWorker(paths.directory, fileURLToPath(new URL("../web/", import.meta.url)));
|
|
1771
1775
|
}
|
|
1772
1776
|
const command = findCommand(name);
|