Skip to content

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

prompts dir > plans dir

Dane Schneider1ce6488d8d7a
diff --git a/app/plans/credits-cmd.txt b/app/plans/credits-cmd.txt
new file mode 100644
index 00000000..b731fecc
--- /dev/null
+++ b/app/plans/credits-cmd.txt
@@ -0,0 +1,6 @@
+
+Add a cmd/credits.go file with a command that calls GetOrgSession to get the current org and then if IntegratedModelsMode is true, displays the current credit balance formatted in dollars, to 4 decimal places.
+
+If IntegratedModelsMode isn't true, output that the org isn't using integrated models mode and nothing else.
+
+Display the current balance nicely in a table.
diff --git a/app/plans/credits-log-cmd.txt b/app/plans/credits-log-cmd.txt
new file mode 100644
index 00000000..6dbdd70a
--- /dev/null
+++ b/app/plans/credits-log-cmd.txt
@@ -0,0 +1,7 @@
+I want to add a 'plandex credits log' command to the 'cli/cmd' directory. I want it to show all debits and credits from the credits_transactions table in a nicely formated way.
+
+You will need to add an API handler and route for this endpoint in server/cloud/ and also do the CLI side of the endpoint in cli/types/api.go and cli/api/methods.go.
+
+We will also need a client-side version of the CreditsTransaction type in shared/data_models.go that includes appropriate attributes, as well as a ToApi method for the server-side CreditsTransaction type in server/cloud/types/credits.go
+
+Think through anything else we will need to make this work. Also think about the best way to format and display this data for maximum developer-friendliness.
diff --git a/prompts/invite-commands.txt b/plans/invite-commands.txt
similarity index 100%
rename from prompts/invite-commands.txt
rename to plans/invite-commands.txt
diff --git a/prompts/model-sets-custom-models-crud.txt b/plans/model-sets-custom-models-crud.txt
similarity index 100%
rename from prompts/model-sets-custom-models-crud.txt
rename to plans/model-sets-custom-models-crud.txt
diff --git a/prompts/race_cond_chatgpt.txt b/plans/race_cond_chatgpt.txt
similarity index 100%
rename from prompts/race_cond_chatgpt.txt
rename to plans/race_cond_chatgpt.txt