Skip to content

A clear sign-in page for a new browser (v0.8.14) - #183

Merged
deepdivekr merged 4 commits into
mainfrom
fix/short-host-signin-page
Oct 14, 2026
Merged

deepdivekr merged 4 commits into
mainfrom
fix/short-host-signin-page

Conversation

@deepdivekr

@deepdivekr deepdivekr commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Owner 2026-10-14: "every time I type the Office address I get not found. Open the Control Center with: agent-office connect", and asked whether every rebuild signs the browser out.

Cause: the owner's Chrome profile held no Office cookie at all for office.localhost (checked by name and token hash only, no values). The capability token is the same across today's reinstalls and the server never deletes the cookie, so a rebuild does not sign a browser out; that profile's cookies were cleared on the browser side. One sign-in through the token address restored it (the cookie it sends now matches the running token).

  • A browser without the cookie gets a short Korean/English page: it has not signed in yet, how to (run agent-office connect, open its sign-in address here once; connect --open for the default browser), and that reinstalling or restarting keeps the sign-in. No token on the page; a script still gets one plain line.
  • The page lives in sign-in-page.ts, outside the display-copy coverage test, since it writes both languages itself.
  • agent-office connect prints sign_in_url (the short address with its token) for another browser.
  • Release v0.8.14.

Verified locally: copy coverage, ui-copy and control-address tests (the fixed-port test fails locally only because the real Control Center holds 4600).

🤖 Generated with Claude Code

deepdivekr and others added 4 commits October 14, 2026 16:17
The sign-in cookie is per browser. The owner typed the short address in
a second browser (Aside) and got a bare "not found" every time. A browser
without the cookie now gets a short Korean and English page saying it
has not signed in yet and how (run agent-office connect and open its
sign-in address here once; connect --open for the default browser); the
page carries no token, and a script still gets one plain line. connect
prints that sign-in address for another browser, with a warning not to
share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.8.14 in package.json and the lock file, the installer's default
tag and the install lines. Release notes in docs/releases/v0.8.14.md; a
CHANGELOG row and a What's new line in both READMEs. The install verifier
now also upgrades from v0.8.13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sign-in

The page shows both languages without the display script, so the copy
coverage test no longer reads it as Control Center markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng its folder

Every other Control Center test awaits close(); this one removed the data
folder while the server could still write to it, and CI failed it in the
after hook ("failed running after hook"), which skipped the v0.8.13 release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@deepdivekr
deepdivekr merged commit 674338a into main Oct 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant