Skip to content

Keep CLI logins renewable - #168

Merged
morgaesis merged 2 commits into
mainfrom
codex/refreshable-cli-sessions
Aug 25, 2026
Merged

Keep CLI logins renewable#168
morgaesis merged 2 commits into
mainfrom
codex/refreshable-cli-sessions

Conversation

@morgaesis

Copy link
Copy Markdown
Contributor

Agent hosts should not require an interactive login every twelve hours. This adds rotating refresh credentials with a 180-day sliding inactivity window, serializes login, logout, and refresh across processes, preserves legacy access-only credentials, and keeps explicit API-key use independent of the stored login. Transient refresh failures retain the previous credential so the client can recover through the server replay window.

@socket-security

socket-securityBot commented Aug 24, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addedcargo/​fs2@​0.4.310010090100100

View full report

@morgaesis
morgaesis enabled auto-merge (squash) August 24, 2026 23:46

@postil-devpostil-devBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error1 blocking finding open
1 finding posted inline

Review details

Comment threadsrc/login.rs Outdated
@morgaesis
morgaesis merged commit 01b258d into mainAug 25, 2026
10 checks passed
@morgaesis
morgaesis deleted the codex/refreshable-cli-sessions branch August 25, 2026 00:03
Sign up for freeto 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

@morgaesis