You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI code review — automated review for reference; please use your judgment.
No blocking issues found.
Nit: packages/opencode/src/account/account.ts:399-405 — because the base is the full server URL (${normalizedServer}/), a root-relativeverification_uri_complete such as /device?user_code=… resolves to the origin root (https://host/device) rather than beneath a configured subpath (…/console/device) — standard URL semantics keep only path-relative values under /console. If self-hosted servers behind a subpath emit root-relative paths, users would land on the wrong console page and device login would look broken. Worth documenting the expectation (or normalizing root-relative paths onto the server's path prefix) once real server behavior is confirmed.
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
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.
Summary
/consolein authorization URLsTesting
bun test test/account/service.test.ts(18 passed)bun typecheckbun x prettier --check src/account/account.ts test/account/service.test.tsgit diff --checkRequested by: @Slickstef11 (Stefan via Slack)