feat(tasks): Task-tracking tool
This is an implementation of a task tracking tool in Crush similar to that found in other coding agents on the market.
Task tracking tools allow the model to plan its next steps, remain focused, and avoid forgetting tasks, just like a human software engineer would do with their notes. It also has the benefit of giving the user the opportunity to better track the agent's progress through each step of a job.
- Addition of three new LLM tools:
todo_write,todo_list, andtodo_delete - TODO items tracked in the project-level (pwd) sqlite DB found in
.crush - Adds presentation of the TODOs to the sidebar
- Modifies the system prompts (further meta-prompting messaging may be needed for some of them?) for the various model vendors to encourage them to use the tools to plan ahead and track progress.
- An additional change: added DB testing helper routine for creating an in-memory sqlite DB with the Goose migrations applied, to enable tests for code that interact with the DB
Usage is just to use Crush as normal, and now the agent will plan out its work and use task tracking automatically, but for testing you can ask the model to directly add and remove TODOs.
All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.
I have read the Contributor License Agreement (CLA) and hereby sign the CLA.
I've fixed the issue and also there are couple of other parsing issue which i also fixed let me know if i can create new pull request
I've fixed the issue and also there are couple of other parsing issue which i also fixed let me know if i can create new pull request
Hey @naresh-tech-backend issue did you identify? (btw the CI failures should be resolved now)
I've fixed the issue and also there are couple of other parsing issue which i also fixed let me know if i can create new pull request
Hey @naresh-tech-backend issue did you identify? (btw the CI failures should be resolved now)
Json parsing issue when the model is sending request to update the todo and also in the right panel added extra things of color coding for the active todos and added new command to see all todo when there are more then 8 todos and also updates the todo sidebar to show 8 todos which contain good distribution allowing todos to auto scroll based on the progress
@orospakr we have an idea of how the design for this should be but it looks like this could be a good base for the feature, will review this and maybe work ontop of this to match the design we want.
Will there be a task tracker/expander like the Task Master suite of tools? (and maybe even PM tooling like Claude Flow or BMAD)
that sounds like a good idea to me!
i tested it, and got some errors though:
See also: https://github.com/charmbracelet/crush/discussions/494 & #743
Any update on this topic?
Any update on this topic?
Hi! Thanks for this one. I'm going to close this as to-dos were added in v0.24.0. Regardless, thank you very much for your contribution.