Skip to content

Conversation

@bgd4141221
Copy link

(I think I did a pretty good job also sorry about the commit messages, I forgot to add the "update:" at the beginning of the message)

  1. Backend change
    • Replaced in-process @mercuryworkshop/wisp-js/server handling with a proxied, locally managed wisp-server-python.
    • src/server.mjs now:
      • Starts python -m wisp.server when enabled/autostarted.
      • Proxies upgrade requests on the Wisp path to the Python instance via TCP.
      • Handles graceful shutdown and exit signal cleanup.
      • Allows external Wisp endpoints by disabling autostart and pointing host/port to another instance.
  2. Configuration
    • New config.json -> wispPython block: enabled, autostart, host, port, allowLoopback, allowPrivate, blockUdp,
      logLevel, proxy, pythonPath.
    • Keeps client-side Wisp URL unchanged; only the backend transport swaps.
  3. Tooling & environments
    • Dockerfile installs Python 3 and wisp-python.
    • Devcontainer post-create installs wisp-python.
    • CI (Linux & Windows) installs wisp-python before build/test.
  4. Docs
    • TODO item “Implement wisp python…” marked complete.

Added step to install Wisp Python in CI workflow.
Added step to install Wisp Python before dependencies.
Added wispPython configuration options to config.json.
Add Wisp (Python) configuration and proxy handling
Added Python and Wisp-Python installation to Dockerfile.
@QuiteAFancyEmerald
Copy link
Owner

AI moments.... sorry I cannot merge something like this into the codebase.

@bgd4141221 bgd4141221 closed this by deleting the head repository Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants