Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 37 additions & 41 deletions UPSTREAM_DIFF.md
Original file line number Diff line number Diff line change
@@ -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)
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions src/commands/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
Loading