branch: elpa/aidermacs
commit 58779c2d9912f84094368fd5ab2f89fca7858341
Author: Raj Patil <rajp1...@gmail.com>
Commit: Matthew Zeng <matthew...@gmail.com>

    feat: aidermacs send voice
---
 aidermacs.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/aidermacs.el b/aidermacs.el
index 5f4d8ce0e9..0c4d259a71 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -189,6 +189,7 @@ This is the file name without path."
     ("R" "Refresh Repo Map" aidermacs-refresh-repo-map)
     ("h" "Session History" aidermacs-show-output-history)
     ("o" "Switch Model (C-u: weak-model)" aidermacs-change-model)
+    ("v" "Send Voice" aidermacs-send-voice)
     ("W" "Fetch Web Content" aidermacs-web)
     ("?" "Aider Meta-level Help" aidermacs-help)]]
   ["File Actions"
@@ -1224,6 +1225,12 @@ This updates aider's understanding of the repository 
structure and files."
   (aidermacs--send-command "/map-refresh")
   (message "Refreshing repository map..."))
 
+(defun aidermacs-send-voice ()
+  "send /voice command to aidermacs"
+  (interactive)
+  (aidermacs--send-command "/voice")
+  (message "aidermacs awaiting speech"))
+
 (defun aidermacs-web (url)
   "Fetch web content from URL using aider's web command.
 This allows aider to access online documentation, references, or examples."

Reply via email to