feat: sync CLI with dashboard@v1.6.22 - #94
Open
cursor[bot] wants to merge 2 commits into
Open
Conversation
Co-authored-by: citron <lcandy2@users.noreply.github.com>
Rewrite the diff summary to reflect the cumulative 1.6.12 -> 1.6.22 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 ReviewScenario: A — Initial review (PR opened by cursor[bot]) What is right
Concerns
Deferred (acknowledged in PR body)
Final note |
4 tasks
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.22 (dashboard@v1.6.22, sha105b499d5b0c764fa294c75da55e50ea49b8e02e)Routes added/removed/changed
Cumulative 1.6.12 → 1.6.22 delta (main was still pinned to 1.6.12 before this bump):
GET /api/captcha/provider,POST /api/otp/phone2/send.GET /api/projects/:id— response body gainsavatarUrl,plan,platforms,userCount(dashboard#255, v1.6.14). Already surfaced inphoton projects showon main.POST /api/otp/phone2/send— body gains optionalbrowserId?: string(dashboard#267, v1.6.21).POST /api/otp/phone.send— cosmetic field-order swap in decoy body (v1.6.15).No CLI code changes are required: the two new routes are OTP / captcha auth flows the CLI does not call, and the additive
projects showfields were already wired into the command on main.bun run checkis green after just the version bump.See
UPSTREAM_DIFF.mdfor the per-release breakdown, including no-op releases v1.6.13 and v1.6.16–v1.6.20.v1.6.22 itself is a no-op vs v1.6.21 at the
@photon-ai/dashboard-apilayer — the two dists differ only in unrelated identity metadata; routes and DTOs are identical. Upstream v1.6.22 covers server-side forensic logging (dashboard#268) and a captcha-provider swap (reCAPTCHA → hCaptcha, dashboard#272); neither touches routes the CLI calls.Snapshot changes
New runtime dependencies
Checklist
@photon-ai/dashboard-apiversion bump, not hand editsbun run checkpasses locallyNeed help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
Dependency and documentation-only sync; upstream OTP/captcha routes are not used by the CLI and existing project-show fields were already wired on main.
Overview
Bumps the dev dependency
@photon-ai/dashboard-apifrom 1.6.12 to 1.6.22 inpackage.jsonandbun.lockso CLI types track dashboard@v1.6.22. There are no runtime or CLI source changes in this PR.UPSTREAM_DIFF.mdis rewritten for the 1.6.12→1.6.22 range: it documents 2 new routes (GET api.captcha.provider,POST api.otp.phone2.send), no removals, and 3 changed contracts (richerGET api.projects.:idwithavatarUrl,plan,platforms,userCount; optionalbrowserIdon phone2 OTP send; cosmetic OTP decoy field order). Per-release notes call out that most intermediate releases are server-only no-ops and that v1.6.22 matches v1.6.21 at the published API package layer.Reviewed by Cursor Bugbot for commit 05a40b4. Bugbot is set up for automated code reviews on this repo. Configure here.