feat(ai): Add opencode integration and reorganize AI tools
This commit is contained in:
@@ -272,6 +272,12 @@ argument)."
|
||||
(let ((current-prefix-arg '-))
|
||||
(call-interactively 'gptel-agent)))
|
||||
|
||||
(defun my-opencode ()
|
||||
"Run `opencode' in project root."
|
||||
(interactive)
|
||||
(let ((default-directory (project-root (project-current t))))
|
||||
(opencode)))
|
||||
|
||||
(defun my-consult-ripgrep-project ()
|
||||
"Run `consult-ripgrep' in current project's root."
|
||||
(interactive)
|
||||
|
||||
Reference in New Issue
Block a user