Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

working on deployemtn, docs update

Dane Schneiderfe5dfa8d319d
diff --git a/.gitignore b/.gitignore
index 39555135..2dd618d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
.plandex/
.plandex-dev/
+.plandex-v2/
+.plandex-dev-v2/
.envkey
plandex
plandex-dev
diff --git a/app/cli/cmd/diffs.go b/app/cli/cmd/diffs.go
index ece08f74..42433c68 100644
--- a/app/cli/cmd/diffs.go
+++ b/app/cli/cmd/diffs.go
@@ -18,14 +18,15 @@ import (
)
// var plainTextOutput bool
-var showDiffUi bool
+var showDiffUi bool = true
var diffUiSideBySide = true
var diffUiLineByLine bool
+var diffUiGit bool
var diffsCmd = &cobra.Command{
Use: "diff",
Aliases: []string{"diffs"},
- Short: "Show diffs for the pending changes in git diff format",
+ Short: "Review pending changes",
Run: diffs,
}
@@ -34,6 +35,7 @@ func init() {
diffsCmd.Flags().BoolVarP(&plainTextOutput, "plain", "p", false, "Output diffs in plain text with no ANSI codes")
diffsCmd.Flags().BoolVar(&showDiffUi, "ui", false, "Show diffs in a browser UI")
+ diffsCmd.Flags().BoolVar(&diffUiGit, "git", false, "Show diffs in git diff format")
diffsCmd.Flags().BoolVarP(&diffUiSideBySide, "side", "s", true, "Show diffs UI in side-by-side view")
diffsCmd.Flags().BoolVarP(&diffUiLineByLine, "line", "l", false, "Show diffs UI in line-by-line view")
}
@@ -52,6 +54,10 @@ func diffs(cmd *cobra.Command, args []string) {
return
}
+ if diffUiGit {
+ showDiffUi = false
+ }
+
if showDiffUi {
getNewListener := func() net.Listener {
outputFormat := "line-by-line"
@@ -103,7 +109,7 @@ func diffs(cmd *cobra.Command, args []string) {
http.Serve(listener, nil)
}()
- ui.OpenURL("Showing diffs in your default browser...", fmt.Sprintf("http://localhost:%d/%s", port, outputFormat))
+ ui.OpenURL("Showing "+outputFormat+" diffs in your default browser...", fmt.Sprintf("http://localhost:%d/%s", port, outputFormat))
fmt.Println()
@@ -130,9 +136,9 @@ func diffs(cmd *cobra.Command, args []string) {
}
fmt.Printf("%s for git diff format\n", color.New(color.Bold, term.ColorHiGreen).Sprintf("(g)"))
- fmt.Printf("%s to continue\n", color.New(color.Bold, term.ColorHiGreen).Sprintf("Enter"))
+ fmt.Printf("%s to quit\n", color.New(color.Bold, term.ColorHiGreen).Sprintf("(q)"))
- color.New(term.ColorHiMagenta, color.Bold).Print("Press a hotkey or enter to continue πŸ‘‰ ")
+ color.New(term.ColorHiMagenta, color.Bold).Print("Hotkey πŸ‘‰ ")
char, key, err := term.GetUserKeyInput()
if err != nil {
diff --git a/app/cli/install.sh b/app/cli/install.sh
index 1e3eba40..78d38405 100755
--- a/app/cli/install.sh
+++ b/app/cli/install.sh
@@ -65,8 +65,12 @@ fi
welcome_plandex () {
- echo "Plandex $VERSION Quick Install"
- echo "Copyright (c) 2025 PlandexAI Inc."
+ echo ""
+ echo "$(printf '%*s' "$(tput cols)" '' | tr ' ' -)"
+ echo ""
+ echo "πŸš€ Plandex v$VERSION β€’ Quick Install"
+ echo ""
+ echo "$(printf '%*s' "$(tput cols)" '' | tr ' ' -)"
echo ""
}
@@ -78,7 +82,10 @@ download_plandex () {
mkdir -p plandex_install_tmp
cd plandex_install_tmp
- echo "Downloading Plandex tarball from $url"
+ echo "πŸ“₯ Downloading Plandex tarball"
+ echo ""
+ echo "πŸ‘‰ $url"
+ echo ""
curl -s -L -o plandex.tar.gz "${url}"
tar zxf plandex.tar.gz 1> /dev/null
@@ -91,7 +98,8 @@ download_plandex () {
echo "Attempting to use sudo to complete installation."
sudo mv plandex /usr/local/bin/
if [[ $? -eq 0 ]]; then
- echo "Plandex is installed in /usr/local/bin."
+ echo "βœ… Plandex is installed in /usr/local/bin"
+ echo ""
else
echo "Failed to install Plandex using sudo. Please manually move Plandex to a directory in your PATH."
exit 1
@@ -101,7 +109,7 @@ download_plandex () {
exit 1
fi
else
- echo "Plandex is installed in /usr/local/bin."
+ echo "βœ… Plandex is installed in /usr/local/bin"
fi
else
echo >&2 'Error: /usr/local/bin does not exist. Create this directory with appropriate permissions, then re-install.'
@@ -111,7 +119,7 @@ download_plandex () {
# ensure $HOME/bin exists (it's in PATH but not present in default git-bash install)
mkdir "$HOME/bin" 2> /dev/null
mv plandex.exe "$HOME/bin/"
- echo "Plandex is installed in '$HOME/bin'"
+ echo "βœ… Plandex is installed in '$HOME/bin'"
else
if [ $UID -eq 0 ]
then
@@ -126,7 +134,7 @@ download_plandex () {
exit 1
fi
- echo "Plandex is installed in /usr/local/bin"
+ echo "βœ… Plandex is installed in /usr/local/bin"
fi
# create 'pdx' alias, but don't ovewrite existing pdx command
@@ -134,7 +142,7 @@ download_plandex () {
echo "creating pdx alias"
LOC=$(which plandex)
BIN_DIR=$(dirname $LOC)
- error_msg=$(ln -s "$LOC" "$BIN_DIR/pdx" 2>&1) || { echo "Failed to create 'pdx' alias for Plandex. Error: $error_msg. Please create it manually if needed."; }
+ error_msg=$(ln -s "$LOC" "$BIN_DIR/pdx" 2>&1) || { echo "⚠️ Failed to create 'pdx' alias for Plandex. Error: $error_msg. Please create it manually if needed."; }
fi
}
@@ -171,7 +179,19 @@ welcome_plandex
check_existing_installation
download_plandex
-echo "Installation complete! Starting Plandex REPL..."
echo ""
-plandex
+echo "πŸŽ‰ Installation complete"
+echo ""
+echo "$(printf '%*s' "$(tput cols)" '' | tr ' ' -)"
+echo ""
+echo "⚑️ Run 'plandex' or 'pdx' in any project directory and start building!"
+echo ""
+echo "$(printf '%*s' "$(tput cols)" '' | tr ' ' -)"
+echo ""
+echo "πŸ“š Need help? πŸ‘‰ https://docs.plandex.ai"
+echo ""
+echo "πŸ‘‹ Join a community of AI builders πŸ‘‰ https://discord.gg/plandex-ai"
+echo ""
+echo "$(printf '%*s' "$(tput cols)" '' | tr ' ' -)"
+echo ""
diff --git a/app/cli/plan_exec/tell.go b/app/cli/plan_exec/tell.go
index ad9d5f6e..60eccfeb 100644
--- a/app/cli/plan_exec/tell.go
+++ b/app/cli/plan_exec/tell.go
@@ -35,8 +35,8 @@ var allHotkeyOptions = []hotkeyOption{
{"a", "apply", "Apply all pending changes", false, false},
{"r", "reject", "Reject some or all pending changes", false, false},
{"f", "follow up", "Iterate with a follow up prompt", true, false},
- {"q", "quit", "Back to terminal", false, true},
- {"q", "quit", "Back to REPL", true, false},
+ // {"q", "quit", "Back to terminal", false, true},
+ // {"q", "quit", "Back to REPL", true, false},
}
func TellPlan(
@@ -255,7 +255,11 @@ func TellPlan(
func showHotkeyMenu(diffs []string) {
numDiffs := len(diffs)
- color.New(color.Bold, term.ColorHiGreen).Printf("🧐 %d files have pending changes\n", numDiffs)
+ s := "files have"
+ if numDiffs == 1 {
+ s = "file has"
+ }
+ color.New(color.Bold, term.ColorHiGreen).Printf("🧐 %d %s pending changes\n", numDiffs, s)
// for _, diff := range diffs {
// fmt.Printf("β€’ %s\n", diff)
@@ -283,7 +287,7 @@ func showHotkeyMenu(diffs []string) {
table.Render()
fmt.Print(b.String())
- color.New(term.ColorHiMagenta, color.Bold).Printf("Press a hotkey or press %s %s πŸ‘‰ ", color.New(color.FgHiWhite, color.Bold).Sprintf("↓"), color.New(term.ColorHiMagenta, color.Bold).Sprintf("to select"))
+ color.New(term.ColorHiMagenta, color.Bold).Printf("Press a hotkey, %s %s, or %s %s πŸ‘‰ ", color.New(color.FgHiWhite, color.Bold).Sprintf("↓"), color.New(term.ColorHiMagenta, color.Bold).Sprintf("to select"), color.New(color.FgHiWhite, color.Bold).Sprintf("q"), color.New(term.ColorHiMagenta, color.Bold).Sprintf("to quit"))
}
func handleHotkey(diffs []string, params ExecParams) {
diff --git a/app/cli/term/help.go b/app/cli/term/help.go
index 013b84a8..3c6e1f2a 100644
--- a/app/cli/term/help.go
+++ b/app/cli/term/help.go
@@ -39,10 +39,10 @@ var CliCommands = []CmdConfig{
{"update", "u", "update outdated context", true},
{"show", "", "show current context by name or index", true},
- {"changes", "", "review pending changes in a TUI", false},
- {"diff", "", "review pending changes in 'git diff' format", true},
+ // {"changes", "", "review pending changes in a TUI", false},
+ {"diff", "", "review pending changes", true},
+ {"diff --git", "", "review pending changes in 'git diff' format", true},
{"diff --plain", "", "review pending changes in 'git diff' format with no color formatting", false},
- {"diff --ui", "", "review pending changes in a local browser UI", true},
{"summary", "", "show the latest summary of the current plan", true},
{"apply", "ap", "apply pending changes to project files", true},
diff --git a/docs/docs/hosting/cloud.md b/docs/docs/hosting/cloud.md
index d398e95e..f7add4ee 100644
--- a/docs/docs/hosting/cloud.md
+++ b/docs/docs/hosting/cloud.md
@@ -18,15 +18,15 @@ Plandex Cloud has two billing modes:
- Use Plandex credits to pay for AI models.
- No separate accounts or API keys are required.
- Credits are deducted at the model's price from OpenAI or OpenRouter.ai plus a small markup to cover credit card processing costs.
-- Start with a $5 trial (includes $5 in credits).
-- After the trial, you can upgrade to a paid plan for $25 per monthβ€”includes $10 in credits every month that never expire.
+- Start with a $10 trial (includes $10 in credits).
+- After the trial, you can upgrade to a paid plan for $50 per monthβ€”includes $20 in credits every month that never expire.
### BYO API Key
- Use your own OpenAI, OpenRouter.ai, or other OpenAI-compatible provider accounts.
- Supply your own API keys.
- Start with a free trial up to 10 plans and 20 model responses per plan.
-- After the trial, you can upgrade to a paid plan for $20 per month.
+- After the trial, you can upgrade to a paid plan for $40 per month.
## Billing Settings
@@ -54,7 +54,7 @@ Data sent to Plandex Cloud may be shared with the following third parties:
- [OpenRouter.ai](https://openrouter.ai/) for Anthropic, Google, and other non-OpenAI models when using Integrated Models Mode.
- [AWS](https://aws.amazon.com/) for hosting and database services. Data is encrypted in transit and at rest.
- Your name and email is shared with [Loops](https://loops.so/), an email marketing service, in order to send you updates on Plandex. You can opt out of these emails at any time with one click.
-- Your name and email are shared with our payment processor [Stripe](https://stripe.com/) if you subscribe to a paid plan or purchase the $5 trial.
+- Your name and email are shared with our payment processor [Stripe](https://stripe.com/) if you subscribe to a paid plan or purchase the $10 trial.
- Usage data is sent to [Google Analytics](https://analytics.google.com/) to help us track usage and make improvements.
Apart from the above list, no other data will be shared with any other third party. The list will be updated if any new third party services are introduced.