small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

feat(honcho): sign in with OAuth and refresh the grant

The Honcho extension only accepted a static bearer key, so a sign-in that expires could not be used and each daemon had no way to get its own credential. Add a device-grant sign-in named for the daemon's sign-in service, keep the completed grant under honcho in creds.json, and refresh its access token under a file lock before expiry, writing the rotated grant back under the settings lock. A refused grant pauses delivery with the reason instead of retrying a dead token.


Author aly.codes
Date Commit Parent e5f87bde
+644 -15
8 changed files
+644 -15
8 changed files