@photon-ai/cli 0.1.5 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Photon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -11,9 +11,18 @@ bun add -g @photon-ai/cli # or install for daily use
11
11
 
12
12
  ## Install
13
13
 
14
- Three options. Pick whichever fits.
14
+ Four options. Pick whichever fits.
15
15
 
16
- ### 1. One-off — no install (`npx` / `bunx`)
16
+ ### 1. Homebrew (macOS / Linux)
17
+
18
+ ```sh
19
+ brew install photon-hq/photon/photon
20
+ photon login
21
+ ```
22
+
23
+ Auto-updates with `brew upgrade photon`. No runtime dependencies — the formula installs a self-contained binary.
24
+
25
+ ### 2. One-off — no install (`npx` / `bunx`)
17
26
 
18
27
  ```sh
19
28
  npx @photon-ai/cli login
@@ -26,7 +35,7 @@ Each invocation pulls the latest release on demand. Good for scripts, throwaway
26
35
  curl -fsSL https://bun.sh/install | bash
27
36
  ```
28
37
 
29
- ### 2. Global install — daily use (`bun add -g`)
38
+ ### 3. Global install — daily use (`bun add -g`)
30
39
 
31
40
  ```sh
32
41
  bun add -g @photon-ai/cli
@@ -35,7 +44,7 @@ photon login
35
44
 
36
45
  After install, `photon` is on your `PATH`. The `pho` alias (see below) is created automatically the first time you run `photon`.
37
46
 
38
- ### 3. Standalone binary — no Bun, no Node
47
+ ### 4. Standalone binary — no Bun, no Node
39
48
 
40
49
  For CI environments or systems where you don't want any runtime:
41
50