Files
hermes-agent/apps/desktop/src/test
emozilla babc763a0f fix(webapp): the launch link leaves the browser credential out of the browser's history
After spending its one-use ticket, the launch page opened the Webapp at /#hermes-session=<credential>.
That is a new page load, so the browser stored the address, credential included, in its history,
offered it in address-bar suggestions and synced it to the user's other devices. The credential is
kept in the gateway home and opens host shells and files until hermes webapp --sign-out, so anyone
who later read that history held it.

The launch page now puts the credential in the tab's sessionStorage, under the key the Webapp reads
at boot, as the child-window page already did, and opens the Webapp's own address. The Webapp reads
its credential only from there and no longer takes one from the address or reloads for a pasted
site storage gets a message saying so instead of "already used". Live with Playwright's Chromium and
its own profile: the history now holds the launch page and / only (receipt in the lane report).
2026-10-25 03:22:37 -07:00
..
…