feat(ai): Add opencode integration and reorganize AI tools

This commit is contained in:
User
2026-07-11 19:01:59 +08:00
parent 03fa5bbfd4
commit c2af33247a
6 changed files with 84 additions and 12 deletions

View File

@@ -146,6 +146,41 @@ explanations, no quotes, no punctuation, no file extension."
(setq gptel-magit-model 'kimi-for-coding
gptel-magit-backend (gptel-get-backend "gptel-Kimi-Code-magit"))))
(use-package plz
:straight
(plz :type git
:host github
:repo "alphapapa/plz.el"
:ref "v0.9.1"))
(use-package plz-media-type
:straight
(plz-media-type :type git
:host github
:repo "r0man/plz-media-type"
:ref "v0.2.4"))
(use-package plz-event-source
:straight
(plz-event-source :type git
:host github
:repo "r0man/plz-event-source"
:ref "v0.1.3"))
(use-package opencode
:straight
(opencode :type git
:host codeberg
:repo "sczi/opencode.el")
:hook
(opencode-session-control-mode . disable-truncate-lines))
(use-package eval-elisp-mcp
:straight
(eval-elisp-mcp :type git
:host codeberg
:repo "sczi/eval-elisp-mcp"))
(provide 'init-gptel)
;;; init-gptel.el ends here