BlogSafety · · 2 min read
Answer permission prompts from your phone, safely
The short answerSince CLI 0.5.0 you can answer a Claude Code permission prompt, or one of its single-choice questions, from the HeyJason phone app or web app. You pick one of the options Claude Code shows, and your computer types it only after checking the same prompt is still on screen. Nothing answers on your behalf, and turning Remote control off on the computer turns it off.
What changed
What a permission prompt is
Before Claude Code runs a shell command, edits a file outside what you allowed, or fetches something, it stops and asks. That pause is the last check between a model’s suggestion and your machine.
Why we were careful
The reasons we gave for keeping prompts on the computer still matter. Here is how each one is handled now.
- You may not see enough. The app shows the prompt with every option Claude Code offers. If that is not enough to decide, leave it and answer at the computer.
- Sessions read untrusted text. A web page or an issue can try to steer a session. So only a person can answer: never HeyJason, never the lead session, never another session or a script. A steered session cannot approve itself.
- A remote yes is a remote key. Anyone who gets into your account could answer too. If you do not want that, turn Remote control off on the computer. Every answer is written in the audit log with who gave it.
How it is enforced
The rules are checked on your computer, not trusted from our server. You can only pick one of the options Claude Code shows; there is nothing else to type. Before your choice is typed, HeyJason on the computer checks that the same prompt, with the same options, is still on screen. If it changed, nothing is typed.
Remote prompts still go only into a session that is idle or done, as plain text. Shell commands (a prompt starting with !), settings commands and bare answers such as “yes” or “1” are refused, because those could act as an answer to a question that appears a moment later. Nothing is typed from outside into a sign-in or a first-run question.
What still happens at the computer
This first release covers permission prompts and single-choice questions in HeyJason’s own terminal. Questions that take several choices, and prompts in other terminals, are still answered at the computer, as are sign-ins and settings.
What you can do remotely
Answer the questions a session asks you (“ship it?”), answer a permission prompt, send a prompt, interrupt, and start or replace a session. The full list is on the security page.
By The HeyJason team. Found a mistake? support@heyjason.dev