Skip to content

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

install script updates, other minor updates

Dane Schneider36121a0277b5
diff --git a/app/cli/cmd/sign_in.go b/app/cli/cmd/sign_in.go
index 55b32101..0ea678cd 100644
--- a/app/cli/cmd/sign_in.go
+++ b/app/cli/cmd/sign_in.go
@@ -7,6 +7,8 @@ import (
"github.com/spf13/cobra"
)
+var pin string
+
var signInCmd = &cobra.Command{
Use: "sign-in",
Short: "Sign in to a Plandex account",
@@ -17,17 +19,12 @@ var signInCmd = &cobra.Command{
func init() {
RootCmd.AddCommand(signInCmd)
- signInCmd.Flags().String("code", "", "Sign in code from the Plandex web UI")
+ signInCmd.Flags().StringVar(&pin, "pin", "", "Sign in with a pin from the Plandex Cloud web UI")
}
func signIn(cmd *cobra.Command, args []string) {
- code, err := cmd.Flags().GetString("code")
- if err != nil {
- term.OutputErrorAndExit("Error getting code: %v", err)
- }
-
- if code != "" {
- err = auth.SignInWithCode(code, "")
+ if pin != "" {
+ err := auth.SignInWithCode(pin, "")
if err != nil {
term.OutputErrorAndExit("Error signing in: %v", err)
@@ -36,7 +33,7 @@ func signIn(cmd *cobra.Command, args []string) {
return
}
- err = auth.SelectOrSignInOrCreate()
+ err := auth.SelectOrSignInOrCreate()
if err != nil {
term.OutputErrorAndExit("Error signing in: %v", err)
diff --git a/app/cli/install.sh b/app/cli/install.sh
index 78d38405..e1af1d8d 100755
--- a/app/cli/install.sh
+++ b/app/cli/install.sh
@@ -57,7 +57,7 @@ fi
# Set Version
if [[ -z "${PLANDEX_VERSION}" ]]; then
- VERSION=$(curl -sL https://plandex.ai/cli-version.txt)
+ VERSION=$(curl -sL https://v2.plandex.ai/v2/cli-version.txt)
else
VERSION=$PLANDEX_VERSION
echo "Using custom version $VERSION"
diff --git a/app/server/main.go b/app/server/main.go
index 83ab0e88..cc941ed1 100644
--- a/app/server/main.go
+++ b/app/server/main.go
@@ -10,7 +10,7 @@ import (
func main() {
// Configure the default logger to include milliseconds in timestamps
- log.SetFlags(log.LstdFlags | log.Lmicroseconds)
+ log.SetFlags(log.LstdFlags | log.Lmicroseconds | log.Llongfile)
r := mux.NewRouter()
routes.AddHealthRoutes(r)
diff --git a/docs/docs/cli-reference.md b/docs/docs/cli-reference.md
index 4e546b8f..7b6a752c 100644
--- a/docs/docs/cli-reference.md
+++ b/docs/docs/cli-reference.md
@@ -621,9 +621,9 @@ Sign in, accept an invite, or create an account.
plandex sign-in
```
-`--code/-c`: Sign in with a code from the Plandex Cloud web UI.
+`--pin`: Sign in with a pin from the Plandex Cloud web UI.
-Unless you pass `--code/-c` (from the Plandex Cloud web UI), Plandex will prompt you for all required information to sign in, accept an invite, or create an account.
+Unless you pass `--pin` (from the Plandex Cloud web UI), Plandex will prompt you for all required information to sign in, accept an invite, or create an account.
### invite
diff --git a/docs/docs/hosting/cloud.md b/docs/docs/hosting/cloud.md
index f7add4ee..466ea0c9 100644
--- a/docs/docs/hosting/cloud.md
+++ b/docs/docs/hosting/cloud.md
@@ -19,14 +19,14 @@ Plandex Cloud has two billing modes:
- 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 $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.
+- After the trial, you can upgrade to a paid plan for $40 per month—includes $15 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 $40 per month.
+- After the trial, you can upgrade to a paid plan for $30 per month.
## Billing Settings