emacs: add pi-coding-agent package
Add dnouri/pi-coding-agent as an Emacs frontend for the pi coding agent. Pinned to commit 8d8158b. - Package installed from GitHub with all .el files (includes md-ts-mode) - Suppress grammar auto-install prompt since tree-sitter grammars are already managed by Nix (treesit-grammars.with-all-grammars) - Keybinding: SPC o p to launch pi-coding-agent - Alias: M-x pi as shortcut for M-x pi-coding-agent
This commit is contained in:
@@ -274,6 +274,18 @@ rbw is unavailable or the entry is not found."
|
|||||||
(error (format "Error listing directory %s: %s" dirpath (error-message-string err)))))
|
(error (format "Error listing directory %s: %s" dirpath (error-message-string err)))))
|
||||||
:args (list '(:name "dirpath" :type "string" :description "Directory path to list"))))
|
:args (list '(:name "dirpath" :type "string" :description "Directory path to list"))))
|
||||||
|
|
||||||
|
(use-package! pi-coding-agent
|
||||||
|
:commands (pi-coding-agent pi-coding-agent-toggle)
|
||||||
|
:init
|
||||||
|
(defalias 'pi 'pi-coding-agent)
|
||||||
|
(map! :leader
|
||||||
|
(:prefix ("o" . "open")
|
||||||
|
:desc "Pi Coding Agent" "p" #'pi-coding-agent))
|
||||||
|
:config
|
||||||
|
;; Tree-sitter grammars are managed by Nix (treesit-grammars.with-all-grammars),
|
||||||
|
;; so suppress the auto-install prompt
|
||||||
|
(setq pi-coding-agent-essential-grammar-action 'warn))
|
||||||
|
|
||||||
(use-package! claude-code-ide
|
(use-package! claude-code-ide
|
||||||
:commands (claude-code-ide-menu claude-code-ide-open-here)
|
:commands (claude-code-ide-menu claude-code-ide-open-here)
|
||||||
:init
|
:init
|
||||||
|
|||||||
@@ -72,3 +72,8 @@
|
|||||||
:recipe (:type git :repo "https://codeberg.org/ctietze/beads.el.git"
|
:recipe (:type git :repo "https://codeberg.org/ctietze/beads.el.git"
|
||||||
:files ("lisp/*.el"))
|
:files ("lisp/*.el"))
|
||||||
:pin "f40a6461d3c0fa0969311bbb6a1e30d1bba86c88")
|
:pin "f40a6461d3c0fa0969311bbb6a1e30d1bba86c88")
|
||||||
|
|
||||||
|
(package! pi-coding-agent
|
||||||
|
:recipe (:host github :repo "dnouri/pi-coding-agent"
|
||||||
|
:files ("*.el"))
|
||||||
|
:pin "8d8158b0a6150ce13d91e561a1223790670acaa7")
|
||||||
|
|||||||
Reference in New Issue
Block a user