webview open-or-refresh/navigate: --signed-in that mints the wiki browser-session link itself (the _wiki_auth hint is dropped by tools)
Request
Add --signed-in to adom-cli hydrogen webview open-or-refresh and navigate, and consider making it the default for wiki.adom.inc URLs. With it, the CLI mints the browser-session link itself (adom-wiki auth login --page <owner>/<slug> or --next <path>) and navigates the tab to the single-use logged_in_url, so the tab opens the page signed in on the first try.
Also add one line to open-or-refresh --help and navigate --help about private wiki pages.
Why the existing hint isn't enough
#4 shipped the _wiki_auth hint (code WIKI_BROWSER_AUTH, with the exact login_cmd). It's correct, and it's in every reply for a wiki URL. But it only helps a caller that reads the JSON reply:
- Tools drop it. AI Flow (
adom-aiflow) shells out toopen-or-refreshfor the board's project page and the parts walkthrough, and ignores stdout. A private project page (project-page --private, 2026-10-20) opened as "Page not found" with a Login button, and nothing surfaced the hint. - Agents filter it out. An agent checking the reply for
actionortabIdnever sees it. That happened on the same day.
The sign-in is a fixed, safe sequence (mint, navigate once, burn), so the CLI can do it itself instead of asking every caller to.
Notes
- The link is a credential until redeemed. The CLI should mint it and navigate in one step and never print it, as the hint already says.
- The ticket expires in about 60 s, so mint it just before the navigate.
- Ordinary iframe tabs: per the hint's own note, if the iframe still shows Login after the handoff, the External Webview fallback applies.
Environment
- adom-cli 0.7.14
- adom-wiki CLI on the same container
- Hydrogen 1.0.644
- Adom Bridge 2.1.184
- DESKTOP-BAR6S0F, Windows 11 with the Adom-Workspace WSL container
Related: adom/hydrogen#138 (the symptom), adom/adom-cli#4 (the hint).