[Bug]: 1point3acres whoami fails with AUTH_REQUIRED while the session is valid
Description
1point3acres whoami reports AUTH_REQUIRED for a session that is actually logged in. auth status says logged_in: true and cookie-gated commands such as search work normally, so only the identity probe is wrong.
Root cause: verify1Point3AcresIdentity navigates to https://www.1point3acres.com/bbs/, which now redirects logged-in users to the redesigned /home SPA. That page carries none of the Discuz identity markup the probe looks for, so the probe falls through to its anonymous branch.
Steps to Reproduce
opencli 1point3acres loginand complete the WeChat scanopencli auth statusreports1point3acres: logged_in: trueopencli 1point3acres search "O-1" --limit 5returns resultsopencli 1point3acres whoamifails withAUTH_REQUIRED
Expected Behavior
whoami returns the logged-in user_id and username. A probe that cannot find the identity element should also not claim the user is anonymous, since it runs only after the *_auth cookie check has passed.
OpenCLI Version
1.8.7
Node.js Version
22.x
Operating System
macOS
Logs / Screenshots
$ opencli 1point3acres whoami
ok: false
error:
code: AUTH_REQUIRED
message: 1point3acres bbs rendered but no logged-in identity
exitCode: 77The redirect, observed in the same session:
https://www.1point3acres.com/bbs/ lands on /home, no Discuz identity markup
https://www.1point3acres.com/bbs/?forum_ui=classic classic UI, identity link presentSource: jackwener/OpenCLI