@photon-cli/flux 0.1.0 → 0.1.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/README.md +16 -5
- package/dist/cli.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,11 +22,22 @@ Build iMessage agents with just Python. Write your agent logic via LangChain, an
|
|
|
22
22
|
|
|
23
23
|
| Command | Description |
|
|
24
24
|
|---------|-------------|
|
|
25
|
-
| `flux
|
|
26
|
-
| `flux
|
|
27
|
-
| `flux
|
|
28
|
-
| `flux
|
|
29
|
-
| `flux
|
|
25
|
+
| `npx @photon-cli/flux` | Show help |
|
|
26
|
+
| `npx @photon-cli/flux whoami` | Check account |
|
|
27
|
+
| `npx @photon-cli/flux login` | Login and signup|
|
|
28
|
+
| `npx @photon-cli/flux logout` | Logout |
|
|
29
|
+
| `npx @photon-cli/flux run --local` | Start the development server (local mode) |
|
|
30
|
+
| `npx @photon-cli/flux run --prod` | Start with live iMessage bridge |
|
|
31
|
+
| `npx @photon-cli/flux validate` | Check your code for errors |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
npm install @photon-cli/flux
|
|
39
|
+
bun add @photon-cli/flux
|
|
40
|
+
```
|
|
30
41
|
|
|
31
42
|
---
|
|
32
43
|
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@photon-cli/flux",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Flux CLI - Connect LangChain agents to iMessage",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"flux": "bun src/cli.ts",
|
|
12
|
-
"build": "bun build src/cli.ts --
|
|
12
|
+
"build": "printf '#!/usr/bin/env node\\n' > dist/cli.js && bun build src/cli.ts --target node >> dist/cli.js",
|
|
13
13
|
"start": "bun dist/cli.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|