1 files changed, 39 insertions(+), 0 deletions(-)
M init.el
M init.el => init.el +39 -0
@@ 1271,6 1271,45 @@
'("^\\*eldoc for" display-buffer-at-bottom
(window-height . 4))))
+(my-use-package agent-shell
+ :ensure t
+ :general
+ (normal agent-shell-viewport-view-mode-map
+ "TAB" 'agent-shell-viewport-next-page
+ "<backtab>" 'agent-shell-viewport-previous-page
+ "r" 'agent-shell-viewport-reply
+ "n" 'agent-shell-viewport-next-item
+ "p" 'agent-shell-viewport-previous-item
+ "N" 'evil-search-previous
+ "C-n" 'evil-search-next)
+ (my-leader
+ "A A" '(agent-shell :wk "Agent shell")
+ "A d" '(agent-shell-send-dwim :wk "Send DWIM")
+ "A r" '(agent-shell-send-region :wk "Send region")
+ "A s" '(agent-shell-send-screenshot :wk "Send screenshot")
+ "A f" '(agent-shell-send-current-file :wk "Send current file")
+ "A F" '(agent-shell-send-other-file :wk "Send other file"))
+ :custom
+ ;; Usage
+ (agent-shell-prefer-viewport-interaction t)
+ ;; Command setup
+ (agent-shell-google-gmini-command
+ '("~/.local/bin/gemini" "--experimental-acp"))
+ (agent-shell-anthropic-claude-command
+ '("~/.local/bin/claude-code-acp"))
+ ;; Auth
+ (agent-shell-anthropic-authentication
+ (agent-shell-anthropic-make-authentication :login t))
+ (agent-shell-google-authentication
+ (agent-shell-google-make-authentication :login t))
+ (agent-shell-openai-authentication
+ (agent-shell-openai-make-authentication :login t)))
+
+(my-use-package agent-review
+ :ensure (agent-review :type git
+ :host github
+ :repo "nineluj/agent-review")))
+
(my-use-package lsp-mode
:ensure t
:commands (lsp lsp-mode)