Skip to content

touchenv 1.9.2

Latest

Choose a tag to compare

@ptrinh ptrinh released this 18 Nov 18:10
· 1 commit to main since this release

For AI agents: ask once. An agent that asks for Touch ID now and then over a long task (notarize, then a store upload, then signing) gets prompts nobody may be there to answer. touchenv now nudges it, on stderr, one line at a time, only when an agent asks (--intent, and a known agent or CLAUDECODE / AI_AGENT set); your own terminal sees none of it:

  • after an approved run prompt: a tip to ask once now with touchenv grant --intent "<why>" --for 2h --uses 20 KEY …
  • from the same app's second prompt in 30 minutes: how many prompts and for which keys, and one touchenv grant for the rest (counted from the access log; nothing new is stored)
  • after a prompt nobody approved: the person may be away; don't retry in a loop, finish what needs no secret and ask once

Clearer errors.

  • touchenv: not approved says why when touchenv knows: declined, the Mac locked while the prompt was open, another Touch ID prompt took over, closed before anyone answered, or touchenv stopped (a tool's time limit, Ctrl-C) while the prompt was open.
  • Fixed: with the Mac locked, run, get, grant and rm said no secret named X for an iCloud-synced secret that exists (the Keychain can't list synced items while the Mac is locked, and an empty list was taken as "none"). Now: couldn't check whether X is stored: the Mac is locked, and the Keychain can't be read until it is unlocked. ls --synced says so too instead of printing nothing.

See For AI agents: ask once.

macOS only. Windows is unchanged: use the Windows zips of 1.9.1.