Repository navigation
Release v0.7.0
Release v0.7.0 - Add --host and --port flags to web command
NEW FEATURE: User can now specify host and port for web command
Problem:
- User wanted to run: term-wrapper web --host 100.67.148.16 claude
- But web command didn't support --host or --port flags
- ServerManager always started server with hardcoded localhost:0
Solution:
- Added --host and --port flags to web subparser
- Modified cli.py to pass these to ServerManager when web command used
- Updated ServerManager.get_server_url() to accept optional host/port
- Modified _start_server() to pass host/port to server command
- Updated _wait_for_server_start() to parse and return both host and port
Usage:
- term-wrapper web --host 100.67.148.16 --port 8000 claude
- term-wrapper web --host 0.0.0.0 claude (auto-assign port)
- term-wrapper web claude (default: localhost, auto-assign port)
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com