Skip to content

How-to

Choose how long a yes counts ​

This guide shows how to make an answer last beyond one call, how far it reaches, and how to end it early. It assumes a paired phone and a chat that asks; see Answer an approval.

Pick a choice under Remember ​

Before you hold Hold to allow, choose one of the keys under Remember:

KeyWhat it keepsWhere it applies
Oncenothingthis call only
2 h · this chatan allow that ends after two hoursthis chat, this tool, this target
Alwaysan allow that stays until you remove itevery chat, this tool, this target or a wider one

A no is never kept, whichever key is chosen.

Allow a wider target ​

When you choose Always, a second choice can appear under it:

  • This target: only what was asked, such as fw.home.example.
  • Wider: the pattern the daemon suggests, such as *.home.example for a host, notes/* for a path, or *@home.example for a recipient. It never suggests *.
The approval sheet with Always chosen, and This target and Wider (*.home.example, as the server suggests) beneath it.The approval sheet with Always chosen, and This target and Wider (*.home.example, as the server suggests) beneath it.

Change how long "for a while" lasts ​

The two hours are a setting of the workspace. Write forAWhile as a Go duration into the workspace's workspace.json:

json
{
  "title": "Home",
  "forAWhile": "30m"
}

The daemon reads it at every answer, so no restart is needed. The sheet then offers 30 min · this chat, and Settings shows it under "For a while" lasts the next time the app connects.

End an answer early ​

  • In the chat. A timed allow shows as a strip, Allowed in this chat, with the time it ends. Tap it and choose End now.

  • In Permissions. Open the tool's page, for example http_read. Under Timed, tap End now beside the rule.

  • An Always. In Permissions, tap the cell and choose Back to default, or from the terminal:

    sh
    nocturn perms clear chat http_read 'example.com' --reload

When only Once is offered ​

Only a chat's answers can be remembered. When an agent, a paired device, voice, a widget or a watch asks, the sheet offers Once alone. On a place set to Always ask (Make a tool always ask), the keys that would remember are drawn hatched, with the reason beneath them:

An agent's approval, Write to /mnt/nas/backups?, with Once chosen and Always hatched: Remembering is locked: this tool always asks this agent.An agent's approval, Write to /mnt/nas/backups?, with Once chosen and Always hatched: Remembering is locked: this tool always asks this agent.

To let such a holder go on without asking, change its cell in Permissions.

nocturn is open source. Example hosts and people on these pages are made up.