Environment
Cloving Version: 0.3.15
Node: 20.16.0
Steps to Reproduce
- Create base app
cloving generate shell --prompt "Create a Next.js app called ai-todolist-nextjs" # create a new project
cd ai-todolist-nextjs
cloving init
- Generate a Next.js app with tailwind styling
cloving generate code --prompt "Build a dynamic todo list web app with tailwind styled with a blue theme" -f src
- Add a feature using
chat command
cloving chat -f src
Building AI prompt context...
📁 Loaded context from: src
✅ Added 5 file(s) to context
📊 Total tokens in context: 844
- Provide prompt
What would you like to do?
cloving> I want to add a Due Date and Assignee attributes for each todo list item
INFORMATION The generated prompt is approximately 3,307 tokens long. Would you like to review the prompt before sending it? (Y/n)
cloving> n
? Do you want to review the ~3,148 token prompt before sending it to
? Do you want to review the ~3,148 token prompt before sending it to
https://api.anthropic.com/v1/messages? no
Certainly! I'll break down the changes into separate pieces and implement the Due Date and Assignee attributes for each todo list item. We'll need to modify several files to accomplish this. Let's go through the changes step by step.
1. First, let's update the `TodoList` component to include the new attributes:
<outputs the changes that needs to be made>
- Finishes suggesting changes, shows menu and then exits without waiting for a response
These changes will add Due Date and Assignee attributes to each todo list item. The TodoForm now includes input fields for these new attributes, and the TodoList displays them for each item. The Home component has been updated to handle the new todo structure.
Is there anything else you'd like me to modify or explain further?
You can follow up with another request or:
- type "save" to save all the changes to files
- type "commit" to commit the changes to git with a AI - generated message
- type "copy" to copy the last response to clipboard
- type "review" to start a code review
- type "add <file-path>" to add a file to the chat context
- type "rm <pattern>" to remove files from the chat context
- type "ls <pattern>" to list files in the chat context
- type "git <command>" to run a git command
- type "exit" to quit this session
cloving> %
Environment
Cloving Version: 0.3.15
Node: 20.16.0
Steps to Reproduce
chatcommand