feat: sync CLI with dashboard@v1.6.21 - #91
Open
cursor[bot] wants to merge 2 commits into
Open
Conversation
Additive-only upstream change: adds an optional `browserId` field to the `POST /api/otp/phone2/send` request body (dashboard#267, browser-aware phone OTP abuse gate). Server-side auth flow; CLI does not call this route, so no code changes are needed and `bun run check` stays green after just the version bump. Co-authored-by: citron <lcandy2@users.noreply.github.com>
Rewrite the diff summary to reflect the cumulative 1.6.12 -> 1.6.21 delta shipped by this sync PR (main was still pinned at 1.6.12 before this bump). Co-authored-by: citron <lcandy2@users.noreply.github.com>
|
Agent PR Review Scenario: A — Initial review (PR opened by cursor[bot]) What is right
Concerns
Deferred (acknowledged in PR body)
Final note |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upstream version
@photon-ai/dashboard-api1.6.12 → 1.6.21 (dashboard@v1.6.21, shae879400).Release notes: https://github.com/photon-hq/dashboard/releases/tag/v1.6.21
Routes added/removed/changed
Cumulative delta since
mainwas last bumped (1.6.12):GET /api/captcha/provider(1.6.15+)POST /api/otp/phone2/send(1.6.15+)GET /api/projects/:idresponse gainsavatarUrl: string | null,plan: PlanTier,platforms: SpectrumPlatformId[],userCount: number(1.6.14).POST /api/otp/phone2/sendbody gains optionalbrowserId?: string(1.6.21, dashboard#267 — browser-aware phone OTP abuse gate).POST /api/otp/phone/send(decoy) — cosmetic field-order swap in body.The v1.6.21 change itself is purely additive on an OTP route the CLI does not call, so no source-code edits are required — the version bump alone keeps
bun run checkgreen.Snapshot changes
New runtime dependencies
Checklist
@photon-ai/dashboard-apiversion bump, not hand editsbun run checkpasses locallyNeed help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Low Risk
Dev-only API type pin and documentation; no application logic, snapshots, or new runtime dependencies.
Overview
Bumps the dev dependency
@photon-ai/dashboard-apifrom 1.6.12 to 1.6.21 (package.json,bun.lock) so Eden types match dashboard v1.6.21. There are no CLI source changes in this PR.UPSTREAM_DIFF.mdis rewritten for this sync window: it documents 2 new routes (GET api.captcha.provider,POST api.otp.phone2.send), no removals, and 3 typed changes—richerGET api.projects.:id(avatarUrl,plan,platforms,userCount), optionalbrowserIdon phone2 OTP send (v1.6.21), and a cosmetic decoy body field order onPOST api.otp.phone.send. OTP/captcha routes are server-side; the CLI does not call them.Reviewed by Cursor Bugbot for commit b02a799. Bugbot is set up for automated code reviews on this repo. Configure here.