Repository navigation
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
runprompt: a tip to ask once now withtouchenv 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 grantfor 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 approvedsays 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,grantandrmsaidno secret named Xfor 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 --syncedsays so too instead of printing nothing.
macOS only. Windows is unchanged: use the Windows zips of 1.9.1.