From 0e7c86cc46ad632b115e87598d89d612c4c4f33e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 19 Jul 2026 23:03:56 +0000 Subject: [PATCH] chore(deps): bump @photon-ai/dashboard-api to 1.6.14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync API type contract with dashboard@v1.6.14 (bf18b4a). The only public API change is additive: GET /api/projects/:id now returns avatarUrl, plan, platforms, and userCount alongside the existing fields. Surface plan, platforms, and userCount in `photon projects show` — the whole point of dashboard#255 ("include plan and platforms in project details"). The rest of v1.6.14 is server-side security hardening (dashboard#251, #256, #257) and a dashboard-only UI tweak (#253), none of which touch the CLI surface. Co-authored-by: citron --- UPSTREAM_DIFF.md | 78 +++++++++++++++++++--------------------- bun.lock | 4 +-- package.json | 2 +- src/commands/projects.ts | 3 ++ 4 files changed, 43 insertions(+), 44 deletions(-) diff --git a/UPSTREAM_DIFF.md b/UPSTREAM_DIFF.md index 7e7d390..31d300e 100644 --- a/UPSTREAM_DIFF.md +++ b/UPSTREAM_DIFF.md @@ -1,44 +1,40 @@ -# Upstream API Diff - -> Old routes: 36 · New routes: 58 - -## Added Routes - -| Route | Method | -|-------|--------| -| `api.profile.spectrum-updates` | `PATCH` | -| `api.projects.:id.members` | `GET` | -| `api.projects.:id.members` | `POST` | -| `api.projects.:id.members.:memberUserId` | `DELETE` | -| `api.projects.:id.slack` | `DELETE` | -| `api.projects.:id.slack` | `GET` | -| `api.projects.:id.slack` | `PUT` | -| `api.projects.:id.slack.installations` | `GET` | -| `api.projects.:id.slack.installations.:teamId` | `DELETE` | -| `api.projects.:id.spectrum.avatar` | `DELETE` | -| `api.projects.:id.spectrum.avatar.commit` | `POST` | -| `api.projects.:id.spectrum.avatar.upload` | `POST` | -| `api.projects.:id.voice.imessage-enabled` | `PATCH` | -| `api.projects.:id.voice.settings` | `GET` | -| `api.projects.:id.voice.sip-inbound` | `DELETE` | -| `api.projects.:id.voice.sip-inbound` | `PATCH` | -| `api.projects.:id.webhooks` | `GET` | -| `api.projects.:id.webhooks` | `POST` | -| `api.projects.:id.webhooks.:webhookId` | `DELETE` | -| `api.projects.:id.whatsapp.templates` | `GET` | -| `api.projects.:id.whatsapp.templates` | `POST` | -| `api.projects.:id.whatsapp.templates.:templateId` | `DELETE` | -| `api.projects.:id.whatsapp.templates.:templateId` | `PATCH` | - -## Removed Routes - -| Route | Method | -|-------|--------| -| `api.projects.:id.spectrum.avatar-upload-url` | `GET` | +# Upstream diff — @photon-ai/dashboard-api 1.6.13 → 1.6.14 + +Dashboard release: [v1.6.14](https://github.com/photon-hq/dashboard/releases/tag/v1.6.14) +Dashboard SHA: `bf18b4a3b72c4ddb03ebee09b0c176959daa847b` ## Summary -- **23** added -- **1** removed -- **0** changed -- **35** unchanged +Additive DTO change on the project-detail endpoint plus server-side +security hardening in the dashboard that doesn't touch the public +API surface. + +## Changed routes + +- `GET /api/projects/:id` — response body gained four fields: + - `avatarUrl: string | null` + - `plan: PlanTier` (`"free" | "pro" | "business" | "enterprise"`) + - `platforms: SpectrumPlatformId[]` + - `userCount: number` + + Source: dashboard#255 ("include plan and platforms in project details"). + +## Added / removed routes + +- Added: (none) +- Removed: (none) + +## Non-API dashboard changes (no CLI impact) + +- dashboard#251 — suspend accounts after six phone-OTP failures (server-side rate limit). +- dashboard#253 — scaffold install commands now use `--yes` instead of `-y` (dashboard-generated shell snippets; CLI is unaffected). +- dashboard#256 — redirect suspended users to a reason page (dashboard UI). +- dashboard#257 — suspicious email-domain OTP abuse controls (server-side signup validation). + +## Snapshot changes + +(none) + +## New runtime dependencies + +(none) diff --git a/bun.lock b/bun.lock index 57ccf69..3324125 100644 --- a/bun.lock +++ b/bun.lock @@ -17,7 +17,7 @@ "update-notifier": "^7.3.1", }, "devDependencies": { - "@photon-ai/dashboard-api": "1.6.12", + "@photon-ai/dashboard-api": "1.6.14", "@types/bun": "latest", "@types/node": "^25.6.2", "@types/semver": "^7.7.1", @@ -52,7 +52,7 @@ "@noble/hashes": ["@noble/hashes@2.2.0", "", {}, "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg=="], - "@photon-ai/dashboard-api": ["@photon-ai/dashboard-api@1.6.12", "", { "peerDependencies": { "@elysiajs/eden": "^1.4.9", "elysia": "^1.4.28" } }, "sha512-CxUyvSpJmi5dn3razikiD8xw6l1YN3dflRlBghukV/fYIQaSL25UNJpaBYjdX8Qj0ka4+/RLJoloBdQdUTstmA=="], + "@photon-ai/dashboard-api": ["@photon-ai/dashboard-api@1.6.14", "", { "peerDependencies": { "@elysiajs/eden": "^1.4.9", "elysia": "^1.4.28" } }, "sha512-57GthtY1aNEEFc+H2pAYO0xJMJqIYSFbHYqCgQO1HZBl1nCCczabmpUREENqH8JCU7fAq01r/9mhttr8W/v9/w=="], "@pnpm/config.env-replace": ["@pnpm/config.env-replace@1.1.0", "", {}, "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w=="], diff --git a/package.json b/package.json index 266bc92..04814c1 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "prepublishOnly": "bun run typecheck && bun run build" }, "devDependencies": { - "@photon-ai/dashboard-api": "1.6.12", + "@photon-ai/dashboard-api": "1.6.14", "@types/bun": "latest", "@types/node": "^25.6.2", "@types/semver": "^7.7.1", diff --git a/src/commands/projects.ts b/src/commands/projects.ts index bef32b8..f455281 100644 --- a/src/commands/projects.ts +++ b/src/commands/projects.ts @@ -134,6 +134,9 @@ function registerShowCommand(projects: Command): void { printKv([ ["status", formatStatus(p.status)], ["location", p.location], + ["plan", p.plan], + ["platforms", p.platforms.length > 0 ? p.platforms.join(", ") : c.dim("—")], + ["userCount", String(p.userCount)], ["owner", p.isOwner ? c.green("yes") : c.dim("no")], ["template", p.template ? "yes" : "no"], ["observability", p.observability ? "yes" : "no"],