@phanthy/phanthy-code 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 +33 -43
- package/dist/cli.js +1386 -1386
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@ phanthy code is a software engineering CLI owned and maintained by **phanthy gro
|
|
|
8
8
|
|
|
9
9
|
- Copyright and ownership belong to phanthy group.
|
|
10
10
|
- phanthy code is maintained as an independent phanthy group project.
|
|
11
|
-
- The default API endpoint is `http://oneapi.4pd.io:3000`; set `PHANTHY_BASE_URL` to override it.
|
|
12
11
|
|
|
13
12
|
---
|
|
14
13
|
|
|
@@ -23,52 +22,43 @@ phanthy code is a CLI for performing software engineering tasks such as editing
|
|
|
23
22
|
|
|
24
23
|
---
|
|
25
24
|
|
|
26
|
-
##
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
├── types/ # TypeScript type definitions
|
|
45
|
-
├── utils/ # Utility functions
|
|
46
|
-
│
|
|
47
|
-
├── bridge/ # IDE and remote-control bridge
|
|
48
|
-
├── coordinator/ # Multi-agent coordinator
|
|
49
|
-
├── plugins/ # Plugin system
|
|
50
|
-
├── skills/ # Skill system
|
|
51
|
-
├── keybindings/ # Keybinding configuration
|
|
52
|
-
├── vim/ # Vim mode
|
|
53
|
-
├── voice/ # Voice input
|
|
54
|
-
├── remote/ # Remote sessions
|
|
55
|
-
├── server/ # Server mode
|
|
56
|
-
├── memdir/ # Persistent memory directory
|
|
57
|
-
├── tasks/ # Task management
|
|
58
|
-
├── state/ # State management
|
|
59
|
-
├── migrations/ # Config migrations
|
|
60
|
-
├── schemas/ # Config schemas (Zod)
|
|
61
|
-
├── entrypoints/ # Initialization logic
|
|
62
|
-
├── ink/ # Ink renderer wrapper
|
|
63
|
-
├── native-ts/ # Native TypeScript utilities
|
|
64
|
-
├── outputStyles/ # Output styling
|
|
65
|
-
├── query/ # Query pipeline
|
|
66
|
-
└── upstreamproxy/ # Proxy configuration
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
Install Bun before using the CLI or working on the repository:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
curl -fsSL https://bun.sh/install | bash
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Install the published CLI with npm:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npm install -g @phanthy/phanthy-code
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For local development, install repository dependencies with Bun:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
bun install
|
|
67
43
|
```
|
|
68
44
|
|
|
69
45
|
---
|
|
70
46
|
|
|
47
|
+
## Environment Variables
|
|
48
|
+
|
|
49
|
+
Set authentication and service configuration through environment variables:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
export PHANTHY_API_KEY="your-api-key"
|
|
53
|
+
export PHANTHY_BASE_URL="https://your-phanthy-api.example.com"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`PHANTHY_API_KEY` provides API authentication. `PHANTHY_BASE_URL` is optional
|
|
57
|
+
and points the CLI at a custom or internal API gateway.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
71
61
|
## Research / Ownership Disclaimer
|
|
72
62
|
|
|
73
63
|
- This repository is owned and maintained by **phanthy group**.
|
|
74
|
-
- phanthy code uses
|
|
64
|
+
- phanthy code uses phanthy API configuration.
|