docs: align documentation with current implementation

This commit is contained in:
weishu
2026-09-12 22:19:32 +08:00
parent dd9cfdcee5
commit 1de9613df6
27 changed files with 360 additions and 227 deletions
+10 -8
View File
@@ -72,11 +72,12 @@ Yes. Telegram is optional. You can use the web app directly in any browser or in
### How do I receive notifications?
HAPI supports three methods:
HAPI supports these notification channels:
1. **PWA Push Notifications** - Enable when prompted, works even when app is closed
2. **Telegram Bot** - See [Telegram Setup](./notifications.md#telegram-setup)
3. **FCM native push** - Used by the Android/Wear OS companion apps; notifications are delivered via Firebase Cloud Messaging
3. **Native app notifications** - Official Android and iOS apps use encrypted push delivery; pair your hub and allow notifications, with no push-provider setup required
4. **ServerChan (Server酱)** - Send notifications to WeChat and other channels; see [ServerChan Setup](./notifications.md#serverchan-server酱-setup)
### Can I start sessions remotely?
@@ -99,7 +100,7 @@ Yes. Open any session and use the chat interface to send messages directly to th
### Why did my session look idle when the agent woke itself?
Some agents (especially Cursor) can resume after idle from harness signals such as background Shell `notify_on_output` or `/loop`, without you sending a new HAPI message. HAPI treats real ACP agent activity (and permission requests) as thinking again so the session list matches the agent - same keepalive path as a normal turn. This is different from session-attached jobs (`hapi job`), which show progress while the agent stays idle on purpose.
Some agents (especially Cursor) can resume after idle from harness signals such as background Shell `notify_on_output` or `/loop`, without you sending a new HAPI message. HAPI updates the session's thinking indicator when the agent resumes work or requests permission, so the list reflects that activity.
### Can I access a terminal remotely?
@@ -115,10 +116,11 @@ The voice assistant supports three backends: ElevenLabs, Gemini Live, and Qwen R
### Is my data safe?
Yes. HAPI is local-first:
- All data stays on your machine
- Nothing is uploaded to external servers
- The database is stored locally in `~/.hapi/`
HAPI keeps session history on the hub you operate, in `~/.hapi/` by default,
rather than on a central HAPI account server. Your devices connect to that hub.
Coding agents still use their configured model providers; optional voice,
title generation, and notification features also contact external services.
See the [Privacy Policy](../privacy.md) for data handling and encrypted native push.
### How secure is the token authentication?
@@ -261,7 +263,7 @@ hapi doctor clean
| Design | Cloud-first | Local-first |
| Users | Multi-user | Single user by default; lightweight multi-account isolation via [namespaces](./namespace.md) |
| Deployment | Multiple services | Single binary |
| Data | Encrypted on server | Never leaves your machine |
| Session history | Encrypted on server | Stored on your own hub |
See [Why HAPI](./why-hapi.md) for detailed comparison.