phion
v0.0.8
Published
Phion Development Agent and Vite Plugin for seamless code sync and auto-deploy
Readme
phion
Phion Development Agent for file synchronization between your local project and Phion platform.
Installation
pnpm add phionUsage
Using config file (recommended)
Create phion.config.json in your project root:
{
"projectId": "your-project-id",
"wsUrl": "ws://localhost:8080",
"debug": false
}Then run the agent:
phionUsing command line arguments
phion your-project-idUsing environment variables
export PHION_PROJECT_ID=your-project-id
export PHION_WS_URL=ws://localhost:8080
phionConfiguration
phion.config.json
projectId(required) - Your Phion project IDwsUrl(optional) - WebSocket server URL (default:ws://localhost:8080)debug(optional) - Debug mode (default:false)
Environment variables
PHION_PROJECT_ID- Project IDPHION_WS_URL- WebSocket server URL
Auto Updates
To get the latest agent updates, regularly update the package:
pnpm update phionFeatures
- 🔄 Real-time sync of files with Phion platform
- 🔗 Git integration for rolling back changes and syncing with GitHub
- 📁 Smart file watching with automatic exclusion of build folders
- 🚀 Auto-reconnection when connection is lost
- ⚙️ Flexible configuration via file, environment variables, or arguments
System Requirements
- Node.js 18+
- Git (for git commands)
Support
If you experience issues with the agent:
- Check your internet connection
- Make sure WebSocket server is running
- Verify your Project ID is correct
- Restart agent:
Ctrl+Cand runphionagain
