JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1384
  • Score
    100M100P100Q105850F
  • License MIT

Queue. Code. Anytime.

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/qew

Prerequisites

Usage

Local Mode (Default)

Direct connection on same network (or via Tailscale):

qew start

With custom port:

qew start -p 4000

With usage stats:

qew start -o YOUR_ORG_ID -k YOUR_SESSION_KEY

Options:

  • -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.com

With usage stats (requires Claude.ai session):

qew start -r wss://your-relay-server.com -o YOUR_ORG_ID -k YOUR_SESSION_KEY

Options:

  • -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:

  1. Go to claude.ai and log in
  2. Open browser DevTools (F12 or right-click > Inspect)
  3. Go to Application tab (Chrome) or Storage tab (Firefox)
  4. Under Cookies > https://claude.ai, find:
    • Organization ID: lastActiveOrg
    • Session Key: sessionKey (starts with sk-ant-)

Note: Session keys expire periodically. If usage stats stop working, get a fresh session key.

Connecting

After starting the CLI:

  1. A QR code will be displayed in your terminal
  2. Scan the QR code with the Qew mobile app
  3. 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 help

Features

  • 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