grokkit/cmd
Gregory Gauthier d42b5278c1 refactor(chat): integrate tool calls with Cobra command execution
Refactor handleToolCall to set RunE on existing Cobra commands (edit, scaffold, testgen, lint) and execute them for better integration and reuse of CLI logic. Update commit tool to ignore output. Remove unused model parameter and adjust comments for consistency.
2026-03-04 12:05:01 +00:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go refactor(chat): deprecate agent command and integrate into chat with --agent flag 2026-03-04 10:49:53 +00:00
changelog_test.go refactor(changelog): change version flag shorthand to uppercase V 2026-03-03 22:27:49 +00:00
changelog.go refactor(changelog): change version flag shorthand to uppercase V 2026-03-03 22:27:49 +00:00
chat_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
chat.go refactor(chat): integrate tool calls with Cobra command execution 2026-03-04 12:05:01 +00:00
client.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commitmsg.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
completion_test.go test(cmd): improve error handling in completion test writer close 2026-03-02 22:19:47 +00:00
completion.go refactor(cmd): improve error handling in commands and tests 2026-03-01 14:10:24 +00:00
docs_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
docs.go refactor(cmd): remove automatic .bak backup creation 2026-03-03 20:44:39 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
edit.go refactor(cmd): remove automatic .bak backup creation 2026-03-03 20:44:39 +00:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go refactor(safety): replace file backups with Git-based change management 2026-03-03 20:49:27 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
root_test.go test(cmd): add unit tests for completion, root execution, config, errors, and logger 2026-03-02 22:12:54 +00:00
root.go feat(cmd): add scaffold command for AI-assisted file creation 2026-03-03 14:18:05 +00:00
run_test.go refactor(cmd): remove automatic .bak backup creation 2026-03-03 20:44:39 +00:00
scaffold_test.go fix(cmd): use Fprintf for efficiency and handle Chdir error in tests 2026-03-03 15:50:30 +00:00
scaffold.go fix(cmd): use Fprintf for efficiency and handle Chdir error in tests 2026-03-03 15:50:30 +00:00
testgen_test.go refactor(testgen): generalize Go test generation prompt 2026-03-03 18:27:49 +00:00
testgen.go refactor(cmd): remove automatic .bak backup creation 2026-03-03 20:44:39 +00:00