Repository navigation
Sign in to Toolstile Cloud, self-hosted servers and local instances - #24
Merged
Merged
Conversation
- `auth login --server <url>` signs in to any Toolstile server and `--local` to the instance on this machine (the origin in its instance.json, else http://127.0.0.1:4310). Plain http is accepted only for loopback addresses. - One saved sign-in per server, plus a current one. `TOOLSTILE_SERVER` (or `TOOLSTILE_URL`) picks the default; `--server` and `--local` work on every command that talks to a server. - New `auth status` and `whoami`; `auth logout` takes `--server`, `--local` or `--all`. - Self-hosted servers have no workspaces: setup sends no workspace ID and refuses `--workspace`. - Agents keep the server that issued their token. Agents on different servers coexist, and moving one asks first (or needs `--switch` without a terminal) and removes the old authorization when it can. - A self-hosted server's gateway must share its origin. - The credentials file moves to a per-server format on first use; agent links keep their shape, so proxies from earlier versions still work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
toolstile auth loginsigns in to Toolstile Cloud by default, any server with--server <url>, or the instance on this machine with--local. Plainhttp://is accepted only for loopback addresses.TOOLSTILE_SERVER(orTOOLSTILE_URL) sets the default, and--server/--localwork on every command that talks to a server.toolstile auth statusandtoolstile whoami.toolstile auth logouttakes--server,--localor--all.mcp setupsends no workspace ID and refuses--workspace.--switchwithout a terminal, and removes the old authorization when it can (it says so when it cannot).Needs servers that report
editionfrom/api/cli/account. Servers that do not are treated as Toolstile Cloud.Checks:
vp run typecheck,vp run test(170 tests),vp run build.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.