Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7a056089ea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d089ddd8a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
AI-assisted follow-up to the current-head review findings, now pushed to
Local Bun workspace checks cannot execute in this environment; tests are NOT_RUN, not PASS. GitHub Actions action_required/zero-job state is likewise NO_RESULT if still present. @codex review current head please, specifically both previously unresolved P2 findings and the new tests. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a824686171
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Follow-up to the new P2 at #49 (comment). The existing helper now checks GET /v1/accounts, which Beeper's official accounts API documents as a bearer-authenticated request, instead of the public Current fork head: AI coding assistance disclosed; requesting independent technical/maintainer review. @codex review current head, focusing on whether /v1/accounts enforces bearer validity on both Desktop and Server modes and on regression-test coverage. |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Add an explicit live token check to auth status:
The existing command remains a cheap local snapshot by default. With
--check, the CLI sends the selected bearer toGET /v1/app/setupand reports:validfor an accepted tokeninvalidfor 401/403unknownfor target/network/non-auth failuresmissingwhen no bearer is configuredThe token itself is never returned in output.
Why
A recent #14 follow-up on headless Server 4.3.179 found that the email-login bearer can work for setup and recovery-key verification, then later be rejected with
401 Invalid token/Token not found. Todaybeeper auth statusstill says authenticated because it only checks whether a token exists on disk or inBEEPER_ACCESS_TOKEN.This does not pretend to fix the underlying Server token-persistence bug. It makes CLI diagnostics honest so operators and agents can separate "token stored" from "token accepted."
Behavior
auth statusbehavior is unchanged and does no network I/O.--checkis read-only.unknown, not misclassified as invalid credentials.Tests
Adds coverage for missing, valid, invalid, HTTP-error, and network-error states, including a check that returned diagnostics do not contain the token.
Fixes #48.
Related: #14.