This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Commit 7ee9f27
committed
refactor(gitcommit)!: move tool arguments to top level
Move parameters from the nested args object to the top level in
git_edit and git_read. Update validation.lua and output.lua to
handle vim.NIL values and support nullable schema types.
BREAKING CHANGE: Tool arguments are now top-level instead of nested
under an args key in git_edit and git_read.1 parent 091f33b commit 7ee9f27
File tree
8 files changed
+481
-426
lines changed- lua/codecompanion/_extensions/gitcommit/tools
- tests
8 files changed
+481
-426
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments