Repository navigation
fix(init): pass --relay-url through on the plain Kimi Work init path - #188
Merged
Merged
Conversation
…185) The final branch of runInit (plain --host kimi-work without per-role placements) called initializeTeam without relayUrl, so generated role configs always pointed at the default http://127.0.0.1:4100 even when --relay-url was given — a silent misroute on multi-project machines. Adds the pass-through and a regression test asserting the option reaches the initialize engine.
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.
Problem
On the plain
--host kimi-workinit path (no per-role placements, no codex/zcode),runInit's final branch callsinitializeTeamwithoutrelayUrl. The generated role channel configs therefore always point at the defaulthttp://127.0.0.1:4100even when--relay-urlis passed — a silent misroute on multi-project machines (a second project's channels would talk to another project's relay).Found during the #169 cold-install acceptance:
npx synloq@latest init --host kimi-work --relay-url http://127.0.0.1:62021produced configs withrelayUrl: http://127.0.0.1:4100.Fix
One-line pass-through of
relayUrlin the final branch (the reconcile/generic/opencode branches already pass it). Regression test asserts the option reaches the initialize engine; verified end-to-end that a generatedmcp/<role>.jsonnow carries the passed URL.Verification
pnpm verify— 138 files / 1257 tests green, build OK--relay-url http://127.0.0.1:62021→ config contains exactly that URLCloses #185.