Package Exports
- @swishfoundry/qew
- @swishfoundry/qew/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@swishfoundry/qew) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@swishfoundry/qew
Queue. Code. Anytime. - Access AI coding agents from your mobile device.
Installation
npm install -g @swishfoundry/qewPrerequisites
- Node.js >= 20.0.0
- Claude Code CLI installed and authenticated
Usage
Local Mode (Default)
Direct connection on same network (or via Tailscale):
qew startWith custom port:
qew start -p 4000With usage stats:
qew start -o YOUR_ORG_ID -k YOUR_SESSION_KEYOptions:
-p, --port <number>- Port number (default: 3847)-o, --org <id>- Claude.ai organization ID (for usage stats)-k, --key <key>- Claude.ai session key (for usage stats)-t, --terminal- Use plain terminal output (no UI)
Relay Mode
Connect from anywhere using a relay server:
qew start -r wss://your-relay-server.comWith usage stats (requires Claude.ai session):
qew start -r wss://your-relay-server.com -o YOUR_ORG_ID -k YOUR_SESSION_KEYOptions:
-r, --relay <url>- Relay server URL-o, --org <id>- Claude.ai organization ID (for usage stats)-k, --key <key>- Claude.ai session key (for usage stats)
Getting Organization ID and Session Key (Optional)
To enable usage stats display, you need your Claude.ai credentials:
- Go to claude.ai and log in
- Open browser DevTools (F12 or right-click > Inspect)
- Go to Application tab (Chrome) or Storage tab (Firefox)
- Under Cookies >
https://claude.ai, find:- Organization ID:
lastActiveOrg - Session Key:
sessionKey(starts withsk-ant-)
- Organization ID:
Note: Session keys expire periodically. If usage stats stop working, get a fresh session key.
Connecting
After starting the CLI:
- A QR code will be displayed in your terminal
- Scan the QR code with the Qew mobile app
- Start sending commands to Claude from your phone
Commands
qew start # Start the server (relay or local mode)
qew queue # Manage instruction queues
qew usage # Check Claude usage stats
qew --help # Show helpFeatures
- End-to-end encrypted communication
- Session management with context compression
- Instruction queue system
- Git integration
- Real-time output streaming and usage (Quota Remaining) stats
- Relay over self-hosted server for remote access
License
MIT