From cb78a65515642542580a62077ca1c8868c23ed45 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 21 Jul 2026 21:21:19 +0000 Subject: [PATCH 1/2] chore(deps): bump @photon-ai/dashboard-api to 1.6.20 Co-authored-by: citron --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 57ccf69..4b0b7dd 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.20", "@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.20", "", { "peerDependencies": { "@elysiajs/eden": "^1.4.9", "elysia": "^1.4.28" } }, "sha512-NJV3rkkQMn1lfkiel5XOgItimuZgZgkMQSlDKCaqcnA/ZjrkbPOkTzzw7u8SxKyZoXA1OrPi5oLL1MKr+TOmyw=="], "@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..645304f 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.20", "@types/bun": "latest", "@types/node": "^25.6.2", "@types/semver": "^7.7.1", From 73d36684a6b5241d056bfe2c938800a8a14a63d6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 21 Jul 2026 21:21:25 +0000 Subject: [PATCH 2/2] feat(projects): surface plan, platforms, and userCount in projects show Dashboard v1.6.14 (dashboard#255) added avatarUrl, plan, platforms, and userCount to the GET /api/projects/:id response. Surface plan, platforms, and userCount in the `photon projects show` output so the detail view matches the fields already shown in `projects list`. Co-authored-by: citron --- src/commands/projects.ts | 6 ++++++ tests/fixtures/project.show.json | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/commands/projects.ts b/src/commands/projects.ts index bef32b8..a3991b9 100644 --- a/src/commands/projects.ts +++ b/src/commands/projects.ts @@ -134,6 +134,12 @@ 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"], diff --git a/tests/fixtures/project.show.json b/tests/fixtures/project.show.json index d4fbfba..4622446 100644 --- a/tests/fixtures/project.show.json +++ b/tests/fixtures/project.show.json @@ -3,6 +3,10 @@ "name": "Acme Agent", "location": "United States", "status": "running", + "plan": "pro", + "platforms": ["imessage", "whatsapp_business"], + "userCount": 42, + "avatarUrl": null, "isOwner": true, "projectSecret": "sk_test_acme_0123456789abcdef", "template": false,