Repository navigation
fix(tongflow-studio): expand a leading ~ in the studio root - #218
Merged
Merged
Conversation
TONGFLOW_STUDIO_ROOT usually reaches the server from a JSON file (a Claude Code settings `env` block, an MCP client config), where no shell expands `~`: `~/.dsh/tongflow` resolved to a folder literally named `~` under the working directory. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
TONGFLOW_STUDIO_ROOTusually reaches the server from a JSON file — a Claude Code settingsenvblock, an MCP client config — where no shell expands~.~/.dsh/tongflowresolved to a folder literally named~under the working directory.resolveStudioRootnow treats a leading~/~/as the home directory;~nameand a~further into the path stay as written. Tests cover the default, the precedence of the configured path over the environment, and the expansion.Last change before the first npm publish of
tongflow-studio0.1.0. The packed tarball was installed in a clean directory against npm'stongflow@0.2.0and driven over stdio: catalog, new / patch / validate, a local run, plugins list, the Studio page link.🤖 Generated with Claude Code