Skip to content

Speed up relogin matching before v0.1.20 publish#17

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/speed-up-account-switching-v0-1-20-2026-04-28-22-23
Apr 28, 2026
Merged

Speed up relogin matching before v0.1.20 publish#17
NagyVikt merged 1 commit intomainfrom
agent/codex/speed-up-account-switching-v0-1-20-2026-04-28-22-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Manual npm publish is blocked on the already-published 0.1.19 version, so this prepares the next patch while tightening the account-switch hot path. External login sync now uses registry identity metadata before parsing saved snapshots, and direct switching records the copied auth fingerprint during the same session-state update.

Constraint: npm refuses republishing 0.1.19

Rejected: Parse every saved snapshot before checking registry metadata | slower for multi-account installs and unnecessary when registry identity is fresh

Confidence: high

Scope-risk: narrow

Directive: Keep codex-auth use on the no-preflight fast path and preserve alias names during relogin refresh

Tested: npm test --silent; npm pack --dry-run; openspec validate agent-codex-speed-up-account-switching-v0-1-20-2026-04-28-22-23 --strict; git diff --check

Not-tested: npm publish --access public because user wants to publish manually
@NagyVikt NagyVikt merged commit 359dbc3 into main Apr 28, 2026
@NagyVikt NagyVikt deleted the agent/codex/speed-up-account-switching-v0-1-20-2026-04-28-22-23 branch April 28, 2026 20:30
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