Repository navigation
feat(init): Configure placeholder tokens during onboarding - #25
Merged
admarble merged 1 commit intoJan 8, 2026
Merged
Conversation
- Add config module for storing user-configured tokens
- Add devUrl field to stack configurations with smart defaults
- Prompt for dev URL during `sequant init` (auto-accept with --yes)
- Save config to .claude/.sequant/config.json
- Replace {{DEV_URL}} token in templates during init
- Preserve tokens during `sequant update`
- Migrate legacy installs by prompting for tokens on first update
Smart defaults by stack:
- Next.js: http://localhost:3000
- Astro: http://localhost:4321
- Python: http://localhost:5000
- Go/Rust: http://localhost:8080
Closes #18
Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/18-configure-placeholder-tokens-during-onboarding
branch
January 8, 2026 21:45
3 tasks
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
sequant initwith smart stack-based defaults.claude/.sequant/config.jsonfor persistencesequant updatefor seamless upgrades{{DEV_URL}}placeholder in skill templatesAcceptance Criteria
sequant initprompts for dev server URL with smart stack defaults.claude/.sequant/config.jsonsequant updatepreserves user-configured token valuesChanges
src/lib/config.tsgetConfig(),saveConfig()src/lib/stacks.tsdevUrldefaults per stacksrc/commands/init.tssrc/lib/templates.tsprocessTemplate()src/commands/update.tssrc/index.tssrc/commands/init.test.tsTest plan
npm run buildpassesnpm test- 144 tests passsequant initin fresh project prompts for URLsequant updatepreserves configured URLFixes #18
Generated with Claude Code