Jian/ Docs

Phones and notifications

Pair a phone with your gateway by QR code, get a push when an agent replies or needs you, and revoke a phone at any time.

Pair a phone with a server gateway and it gets a token of its own, so you never copy your owner credentials onto it. A paired phone can then follow your conversations and receive a push when an agent replies, asks for approval or fails.

The Jian app for iPhone and Android isn't available yet. Pairing and notifications are already in your gateway, ready for it.

Try it

Every morning at 8, summarize what happened overnight across my repositories and send me the highlights.

Run the migration check on staging. If anything needs my approval, ask me and I'll answer from my phone.

Pair a phone

Set the public address

The QR code carries your gateway's address, so the gateway needs JIAN_PUBLIC_URL set. Without it, the page tells you to set it. See Gateway configuration.

Open Settings → Mobile

Mobile is offered on a server gateway only. It does not appear for the desktop app's own gateway; it appears when the desktop app is connected to a server.

Click Pair a phone and scan the code

Open Jian on your phone and scan the code. The one-time pairing code works for 5 minutes. The phone appears in the list once it is paired, with its platform (iPhone or Android) and when it was last seen.

Pairing attempts are limited to 10 a minute.

What a paired phone can do

A paired phone has its own token and is treated like you almost everywhere: it reads conversations, sends messages, answers questions and decides approvals. It is checked against the database on every request, so a revoked phone is out at once.

It cannot:

ActionWhy
Edit an Artifact, make one public or change its passwordA device that can be lost should not change who sees your work. See Artifacts
Add, change or delete a SecretA key typed on a phone could hand every agent's commands a credential from a lost device. It may see Secrets, as agents do. See Secrets

A phone can open, pin, rename, move and delete Artifacts.

Revoke a phone

In Settings → Mobile, click the revoke button beside the phone and confirm. Revoking ends that phone's token and nothing else.

Push notifications

Each paired phone with notifications on gets a push when:

  • an agent replies in a panel chat,
  • an agent asks for approval or asks a question, or
  • a run stops on an error.

The title is the agent's name, pushes are grouped per conversation, and the app icon's badge counts the panel chats waiting for your answer.

SettingEffect
Show previews onThe push carries the text
Show previews offThe text becomes "replied", "needs your approval", "asked you something" or "stopped on an error"

Pushes to a phone go through third-party push services and are not end-to-end encrypted. A preview passes through them unless you turn Show previews off for that phone.

You get no push where you are already looking: a phone with that conversation open gets nothing, and no phone gets a push about a chat you are reading in the panel. Jian stops sending to a phone that uninstalled the app.

Other notifications

WhereHow
Web panelThe bell beside the new chat button turns on notifications for that browser. On an iPhone, add Jian to the Home Screen first. Push needs the panel served over HTTPS
Desktop appA system notification when an agent finishes in a chat you aren't looking at, when a question or approval waits on you, and for a new message in a WhatsApp, Telegram or agent conversation. Settings → General → Notifications turns them off
In the panelA notice appears when the agent writes in a chat you aren't reading, with a button that opens it

The sidebar also shows what needs you: a spinner means the agent is working, a colored dot means an unread reply, and a yellow dot means a turn is waiting for your approval or answer.

If something fails

  • The QR page asks for an address: set JIAN_PUBLIC_URL and recreate the gateway container.
  • No pushes on a phone: the gateway must be able to reach the internet, and the phone must not have that conversation open.
  • A retry sent twice: it doesn't. A retried message is not added twice while an agent is working or waiting for your answer.

On this page