gptme
gptme copied to clipboard
feat(util): added `gptme-util prompts workspace/git/journal` helper commands
The idea is to move the helper scripts for prompt generation in gptme-bob into gptme.
[!IMPORTANT] Adds new CLI commands to
gptmefor generating git, workspace, and journal prompts, enhancing context generation capabilities.
- New CLI Commands:
- Adds
prompts gitcommand ingptme/util/cli.pyfor generating git repository summaries with options like--branch,--since,--max-files, and--show-diff.- Adds
prompts workspacecommand ingptme/util/cli_context.pyto display directory structure as a tree, respecting.gitignore.- Adds
prompts journalcommand ingptme/util/cli_context.pyto generate prompts from journal entries.- Functionality:
context_git()incli_context.pygathers git status, diffs, and recent commits.context_workspace()incli_context.pyshows directory structure and file statistics.context_journal()incli_context.pyretrieves journal entries from specified directories.- Integration:
- Updates
get_workspace_prompt()ingptme/prompts.pyto include references toprompts_gitandprompts_workspace.This description was created by
for 21b39820b0a514ceb44c17b402e33086a1a68bf7. It will automatically update as commits are pushed.
:x: 1 Tests Failed:
| Tests completed | Failed | Passed | Skipped |
|---|---|---|---|
| 86 | 1 | 85 | 0 |
View the top 1 failed tests by shortest run time
::tests.test_util_cliStack Traces | 0s run time
No failure message available
To view more test analytics, go to the Test Analytics Dashboard Got feedback? Let us know on Github