Repository navigation
fix(dev): discover the live service with shuvcode - #390
Merged
Merged
Conversation
dev:live and dev:vite:live were still calling opencode service, which this fork does not ship. Use the shuvcode binary and match the live-testing notes. pc_d2a7da1680f7 pc_d314812733cb Co-authored-by: shuv <shuv1337@users.noreply.github.com>
…-service-binary-8c38
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.
Issue for this PR
Fixes #380
Type of change
What does this PR do?
dev:liveanddev:vite:liveaskedopencode servicefor the elected server password and URL. This fork's CLI bin isshuvcodeonly, so live TUI testing failed unless a leftoveropencodeshim was on PATH. Both scripts now callshuvcode service get passwordandshuvcode service status. The Live V2 TUI Testing notes inAGENTS.mduse the same binary.Papercuts:
pc_d2a7da1680f7,pc_d314812733cb.How did you verify your code works?
Ran
bun run dev:live -- /tmp/some-projectandbun run dev:vite:live -- /tmp/vite-projectwith stubshuvcodeandbunbinaries first onPATH, so the scripts could not fall back toopencodeand did not launch the TUI.Each script called
shuvcode service statusandshuvcode service get password, then exec'd bun withOPENCODE_TUI_CHANNEL=dev,OPENCODE_PASSWORD=test-password, and--server http://127.0.0.1:4919, forwarding the directory argument.Screenshots / recordings
N/A. Script and docs only.
Checklist