feat: streamline signup flow - #34
Merged
Merged
Conversation
skvark
force-pushed
the
feat/signup-flow
branch
from
April 24, 2026 12:40
612a942 to
feda3c1
Compare
skvark
force-pushed
the
feat/signup-flow
branch
2 times, most recently
from
May 4, 2026 10:52
72a0bf5 to
5742751
Compare
Add interactive auto-login bootstrap for example, languages, and feedback. Refactor login output to support stderr-safe JSON flows and fix the build script on Windows.
Extract the root CLI preAction so auto-login behavior can be tested directly. Keep example, languages, and feedback on the interactive auto-login path while restoring strict startup gating for search, code, and pkg based on resolved capability or local override. Update CLI/docs coverage to verify help output and registration stay aligned with the stricter gated surface.
Pass injectable TTY flags through the root CLI preAction helper and use them in the CLI test seam so auto-login tests no longer depend on the runner's real stdio state. This keeps the CI root preAction coverage deterministic without changing production behavior.
Keeps the rebased signup flow aligned with the mainline behavior where package/source CLI surfaces register from package-service configuration instead of JWT capability checks. Removes the obsolete startup capability parser and updates registration tests and docs accordingly.
Expands the interactive auto-login policy to cover the advertised init onboarding path and auth-required package/source commands, while preserving explicit opt-outs such as init --skip-login and host-driven MCP commands.
Removes stale gated-command wording from the signup-flow implementation notes now that package/source commands use URL-configured registration and participate in the interactive signup bootstrap.
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
npx -y githits@latest initexample,languages,feedback,search,search-status,code,docs, andpkgsubcommandsinit --skip-login,login,logout,auth status,mcp, andmcp startdo not auto-launch browser loginmainTesting
bun test src/shared/auto-login.test.ts src/cli.test.ts src/commands/search-registration.test.ts src/commands/code/index.test.ts src/commands/pkg/index.test.tsbun run buildbiome check --write --no-errors-on-unmatched,biome format --write --no-errors-on-unmatched,bun run typecheckbiome format --write --no-errors-on-unmatchedNotes
bun teston Windows still has known environment-sensitive failures unrelated to this PR path unless run with normalized/colorless expectations.