Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 3 tasks
Owner
Author
|
Superseded by #58: dev servers are now served per session through Workshop's own port behind a wildcard hostname with per-host auth, so publishing an unauthenticated port range is no longer needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In Docker, Workshop publishes only port 3002, so a dev server an agent starts inside the container can't be reached from a browser. This PR adds a fixed range of dev ports and an installable skill that tells agents how to use them.
docker-compose.ymlanddocs/unraid/workshop.xmlpublish4100-4119(host port = container port) and passWORKSHOP_DEV_PORTSandWORKSHOP_DEV_HOSTinto the container.DEV_HOST/ Dev server host sets the hostname that appears in reported URLs.templates/skills/dev-server/SKILL.md: an agent picks a free port in the range, binds0.0.0.0, and runs the server in a detacheddev-<name>tmux session that keeps running after the agent ends. Output goes to a log in/tmp. The agent then reports the URL. The skill also lists and stopsdev-*sessions. On a native install neither variable is set and any local port works.docs/docker.mdgets a "Dev servers" section. For remote access it recommends the Tailscale plugin on unraid instead of port-forwarding, because the dev ports have no Workshop auth in front of them.Risk: the 20 host ports must be free on the unraid host. Dev servers stop when the container restarts, or when the worktree they serve from is removed.
Test plan
npx vitest run: 92 files and 870 tests passjs-yaml./dev/tcpfree-port probe in the container: 3002 reports taken, 4100 reports freedocker compose upwith the new mapping, and an end-to-end Vite server reached from a LAN browser🤖 Generated with Claude Code