Releases: photon-hq/cli
@photon-ai/cli v0.2.1
Bug Fixes
- Fixed release binary publishing so it uses the latest release tag correctly instead of trying to match a branch name as a commit SHA. It also skips rebuilding when the release already has binaries attached. (
d89ac87) ✅
Improvement
- Added the MIT license file and package metadata, making the CLI’s usage rights clear for users and downstream tooling. (
7774080)
Version: 0.2.1
@photon-ai/cli v0.2.0
New Features
- Added Homebrew install support for macOS and Linux:
brew install photon-hq/photon/photon. It installs a self-containedphotonbinary and updates throughbrew upgrade photon. 🍺 - The npm package now builds a Node-compatible CLI bundle, so
@photon-ai/clican run on Node.js 18+ without requiring Bun.
Bug Fixes
- Fixed release automation so binary uploads run after the release workflow finishes and resolve the exact release tag instead of accidentally targeting the latest release.
Improvement
- Updated avatar uploads and credential storage to use standard Node.js file APIs, keeping the CLI behavior the same while making distribution more portable.
Version: 0.2.0
@photon-ai/cli v0.1.5
Bug Fixes
- Fixed the
phoshortcut so it works reliably across Bun, npm, pnpm, Yarn, andbun linkinstalls. The CLI now finds the realphotonbinary instead of relying on package-manager-specific folder layouts. (5645c23)
Version: 0.1.5
@photon-ai/cli v0.1.4
Breaking Changes
- The npm package moved from
@photon-ai/photonto@photon-ai/cli. Reinstall withbun add -g @photon-ai/cli; the command you run staysphoton.
Improvement
- Updated release config, docs, and alias setup to use the new package name while keeping the
photonbinary andphoshortcut working as before. ✨
Version: 0.1.4
@photon-ai/photon v0.1.3
Breaking Changes
- Removed
photon link,photon unlink,photon link:status, and theprojects create --linkflag. Use--project "<id>"per command or setPHOTON_PROJECT_ID="<id>"instead. - Existing saved link files are no longer read by the CLI. If you had a linked project before, export
PHOTON_PROJECT_IDin your shell or direnv setup.
New Features
photon config shownow reportsactiveProjectfromPHOTON_PROJECT_ID, giving you a quick local way to see which project commands will use.projects createnow prints the exactexport PHOTON_PROJECT_ID="..."command after creating a project. ✨
Bug Fixes
- Project IDs from
--projectandPHOTON_PROJECT_IDare now trimmed consistently, avoiding confusing failures from accidental whitespace. - README host key examples now correctly use
_instead of-, matching the CLI’s collision-safe behavior.
Improvement
- Project selection is simpler and more predictable: the CLI now only uses
--projectorPHOTON_PROJECT_ID, with no hidden remembered active-project state.
Version: 0.1.3
@photon-ai/photon v0.1.2
Breaking Changes
- Removed
photon env list,env use,env add, andenv remove. UsePHOTON_API_HOSTor--api-host <url>to point the CLI at a non-production backend.
New Features
- Added runtime backend selection with
PHOTON_API_HOST, plus--api-host <url>support where relevant. Production remains the default. ✨
Bug Fixes
- Fixed API host normalization so trailing slashes, paths, queries, and fragments do not create separate backend identities.
- Fixed custom URL handling for
ping --urlso long but valid hostnames are accepted again.
Improvement
- Removed bundled staging/dev backend URLs from the public package; only the production URL is shipped now.
- Updated the README to make install options clearer: one-off
npx/bunx, globalbun add -g, or standalone release binaries.
Version: 0.1.2
@photon-ai/photon v0.1.1
Bug Fixes
- Fixed unpinned
npx @photon-ai/photonso it can find and run the CLI correctly.
Improvement
phois now created automatically the first time you runphoton, keeping the shorter command available without breakingnpxbehavior. ✨
Version: 0.1.1
@photon-ai/photon v0.1.0
Key Features
-
@photon-ai/photonbrings the Photon Dashboard into your terminal, so you can manage projects, billing, profiles, and Spectrum without jumping into the web UI. -
It supports secure device-flow login, per-environment credentials, and easy switching between production, staging, dev, or custom Photon environments.
-
Project workflows are covered end to end: list, create, update, delete, open in the dashboard, link a default project, and rotate Spectrum secrets.
-
Spectrum management is built in, including users, phone lines, platforms, profile details, and avatar uploads.
-
Billing commands let you view plans and subscriptions, start Stripe Checkout, and open the customer portal from the CLI.
Highlights
-
Built for both humans and scripts: commands support readable table output,
--json,PHOTON_TOKEN,PHOTON_PROJECT_ID, and CI-friendly flags. -
photonis the main command, withphoincluded as a shorter alias for everyday use. -
Friendly defaults reduce repeated typing: link a project once, then run project-scoped commands without passing the ID every time. ✨
-
Ships as a Bun-based npm package, with standalone release binaries planned for users who do not want Bun installed.
Version: 0.1.0