Skip to content

Feature Request: Support OpenCode Remote/HTTP Mode on Windows + WSL/Docker Installations #40

Description

@wywerne

Context

Current environment:
VSCode / VSCodium installed natively on Windows
OpenCode installed inside WSL or Docker
No local npm installation of the OpenCode CLI on Windows

OpenCode started using:
opencode serve
or opencode web

This setup follows the official OpenCode Windows + WSL documentation:
https://opencode.ai/docs/fr/windows-wsl

Current Problem

Mysti currently appears to detect only a locally installed OpenCode CLI binary on Windows.

In environments where:

VSCode runs on Windows
OpenCode runs remotely inside WSL/Docker
communication is performed through HTTP/WebSocket endpoints

Mysti does not detect the OpenCode instance and no manual HTTP configuration is available.

As a result:

Mysti cannot connect to OpenCode running in WSL/Docker
users are forced to install the CLI locally via npm on Windows
remote/containerized architectures are unsupported
Expected Behavior

Add support for remote OpenCode instances through configurable HTTP/WebSocket endpoints.

Example configuration:

Host: http://localhost:4096
WebSocket: ws://localhost:4096
Custom endpoint support

Suggested features:

Manual endpoint configuration in Mysti settings
Auto-detection of OpenCode serve mode
WSL interoperability support
Docker compatibility
Health check / connection test button
Optional authentication token support
Why This Matters

Many enterprise and DevSecOps environments:

avoid local npm installations on Windows
isolate AI tooling inside WSL or containers
use Dockerized developer environments
rely on Linux-based runtimes for consistency and security

Supporting HTTP/remote mode would:

improve Windows enterprise compatibility
align Mysti with official OpenCode deployment recommendations
simplify WSL/Docker workflows
improve adoption in secured corporate environments
Additional Notes

This feature would especially help users running:

VSCode on Windows
OpenCode inside WSL2
OpenCode inside Docker containers
remote AI development environments

It would also improve compatibility with:

VSCodium
containerized developer workstations
reproducible Dev environments

Thank you for considering this enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions