Skip to content

Releases: photon-hq/cli

@photon-ai/cli v0.2.1

11 May 16:12

Choose a tag to compare

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

11 May 11:42

Choose a tag to compare

New Features

  • Added Homebrew install support for macOS and Linux: brew install photon-hq/photon/photon. It installs a self-contained photon binary and updates through brew upgrade photon. 🍺
  • The npm package now builds a Node-compatible CLI bundle, so @photon-ai/cli can 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

09 May 06:45

Choose a tag to compare

Bug Fixes

  • Fixed the pho shortcut so it works reliably across Bun, npm, pnpm, Yarn, and bun link installs. The CLI now finds the real photon binary instead of relying on package-manager-specific folder layouts. (5645c23)

Version: 0.1.5

@photon-ai/cli v0.1.4

05 May 18:25

Choose a tag to compare

Breaking Changes

  • The npm package moved from @photon-ai/photon to @photon-ai/cli. Reinstall with bun add -g @photon-ai/cli; the command you run stays photon.

Improvement

  • Updated release config, docs, and alias setup to use the new package name while keeping the photon binary and pho shortcut working as before. ✨

Version: 0.1.4

@photon-ai/photon v0.1.3

30 Apr 08:43

Choose a tag to compare

Breaking Changes

  • Removed photon link, photon unlink, photon link:status, and the projects create --link flag. Use --project "<id>" per command or set PHOTON_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_ID in your shell or direnv setup.

New Features

  • photon config show now reports activeProject from PHOTON_PROJECT_ID, giving you a quick local way to see which project commands will use.
  • projects create now prints the exact export PHOTON_PROJECT_ID="..." command after creating a project. ✨

Bug Fixes

  • Project IDs from --project and PHOTON_PROJECT_ID are 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 --project or PHOTON_PROJECT_ID, with no hidden remembered active-project state.

Version: 0.1.3

@photon-ai/photon v0.1.2

30 Apr 06:51

Choose a tag to compare

Breaking Changes

  • Removed photon env list, env use, env add, and env remove. Use PHOTON_API_HOST or --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 --url so 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, global bun add -g, or standalone release binaries.

Version: 0.1.2

@photon-ai/photon v0.1.1

29 Apr 19:39

Choose a tag to compare

Bug Fixes

  • Fixed unpinned npx @photon-ai/photon so it can find and run the CLI correctly.

Improvement

  • pho is now created automatically the first time you run photon, keeping the shorter command available without breaking npx behavior. ✨

Version: 0.1.1

@photon-ai/photon v0.1.0

29 Apr 19:02

Choose a tag to compare

Key Features

  • @photon-ai/photon brings 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.

  • photon is the main command, with pho included 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