Feat/plain forge to installer#242
Merged
Merged
Conversation
dusano
approved these changes
Jul 7, 2026
8300c06 to
704c5be
Compare
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
codeplainCLI, leavingplain-forge(spec-authoring skills) and theplyneditor extension as manual steps. Both are now offered inline duringinstall.sh/install.ps1, with fallbacks whennpxor a supported editor isn't found.install.sh,walkthrough.sh, andexamples.sh(and their PowerShell equivalents) for a more consistent terminal experience.New user flow
What a user now experiences running curl -fsSL https://codeplain.ai/install.sh | bash (or the PowerShell equivalent):
CLI install
Installs uv if missing, then installs (or upgrades) the codeplain CLI via uv tool.
API key setup
If CODEPLAIN_API_KEY is already set, asks whether to get a new one anyway. Otherwise prompts for sign-up (platform.codeplain.ai) and a key to paste in, then persists it to the shell rc file (or Windows user env vars).
Welcome screen
Clears the screen, shows the ASCII art + "Sign in successful.", then asks: "? Would you like to get a quick intro to ***plain specification language?"
***plain walkthrough (if accepted) — 5 screens, teaching order changed this session:
plain-forge step (new)
Explains what plain-forge does, links the repo, asks "? Would you like to install it now?" — if yes and npx is found, runs npx plain-forge install inline (its own agent/scope picker takes over); if npx is missing, prints the manual command instead.
plyn editor extension step (new)
Detects code/cursor on PATH. If found, asks to install the extension via --install-extension; if not found, just prints the marketplace link.
Example projects
Same as before — offers to download plainlang-examples.
Final summary
"You're all set!": a numbered list of whichever of the three primary next steps weren't already done (plain-forge install → plyn install → codeplain your-project.plain), then Discord + docs demoted to one muted line at the bottom, then "Happy development!"