Repository navigation
Show when the MainSequence login ends, with devtools 0.3.15 - #18
Merged
Merged
Conversation
devtools 0.3.15 reports when the saved login ends (`sessionEndsAt` in auth-status, the refresh token's expiry; renewing does not move it) and reports the account signed out offline once it has passed. From a day before the end, the panel header's account dot turns amber and the header says "MainSequence session ends <local time> — sign in again (/ms login)". Once it has passed, the header shows Session ended with when it ended. While the panel stays open, a timer redraws the header at the warning and at the end. The account in /ms login, auth-status, refresh-token and status results gives the same warning and end, and otherwise names when it ends. FORBIDDEN (HTTP 403, new in devtools 0.3.15) stays an ordinary error in the panel, the discovery layer and /ms output: it keeps the panel's context and offers no sign-in. Only AUTH_REJECTED and NOT_AUTHENTICATED end the view. The devtools pin moves to 0.3.15 exactly; the lockfile integrity is the registry's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
devtools 0.3.15 reports when the saved login ends:
sessionEndsAtinauth-status, which is the refresh token's expiry and doesn't move when the session is renewed. Once that time has passed, devtools reports the account signed out without contacting the backend. This plugin now shows that end to Codex users:/ms login. While the panel stays open, a timer redraws the header at the warning and at the end./msoutput. The account inlogin,auth-status,refresh-tokenandstatusresults gives the same warning and end. Before the warning starts, it names when the login ends.FORBIDDEN(HTTP 403) stays an ordinary error in the panel,discovery.tsand/msoutput. It keeps the panel's context and offers no sign-in. OnlyAUTH_REJECTEDandNOT_AUTHENTICATEDend the view, as before. Comments mark the spot, and tests cover all three surfaces.0.3.15(npm install --save-exact). The lockfile integritysha512-YBU65IB…cj1kWQ==matches the registry'sdist.integrity.docs/agents-tools-panel.mddescribe the login end and howFORBIDDENis handled. Both stay version-free.The plugin version stays 0.7.12. This PR doesn't publish, tag or repoint the marketplace; those steps wait for the owner's approval.
Verified
npm run release:checkpasses: typecheck, 73/73 tests, release metadata (devtools 0.3.15, integrity matches the lockfile), docs check, Codex pack, npm pack, andverify:packageinstalling from the archive./mswarning, ended and active wording, plusFORBIDDENwith no sign-in line.expreaches the verified account.FORBIDDENkeeps the context, and a refused tool call is returned rather than turned into a context change.FORBIDDENleaves the account and environment in place.TZPacific/Kiritimati, America/Los_Angeles and Asia/Kolkata.🤖 Generated with Claude Code