@@ -15,17 +15,17 @@ local COMMAND_PREFIX = "/"
15
15
local commands = {
16
16
add = {
17
17
value = COMMAND_PREFIX .. " add" ,
18
- description = " Add files to the chat for editing or detailed review" ,
18
+ description = " Add files to the chat so aider can edit them or review them in detail " ,
19
19
category = " input" ,
20
20
},
21
21
architect = {
22
22
value = COMMAND_PREFIX .. " architect" ,
23
- description = " Enter architect mode for high-level design discussions " ,
23
+ description = " Enter architect/editor mode using two different models. If no prompt is provided, switches to architect/editor mode " ,
24
24
category = " input" ,
25
25
},
26
26
ask = {
27
27
value = COMMAND_PREFIX .. " ask" ,
28
- description = " Ask questions about the codebase without editing files" ,
28
+ description = " Ask questions about the code base without editing any files. If no prompt is provided, switches to ask mode " ,
29
29
category = " input" ,
30
30
},
31
31
[" chat-mode" ] = {
@@ -40,27 +40,52 @@ local commands = {
40
40
},
41
41
code = {
42
42
value = COMMAND_PREFIX .. " code" ,
43
- description = " Request changes to your code" ,
43
+ description = " Ask for changes to your code. If no prompt is provided, switches to code mode " ,
44
44
category = " input" ,
45
45
},
46
46
commit = {
47
47
value = COMMAND_PREFIX .. " commit" ,
48
- description = " Commit edits made outside the chat to the repo" ,
48
+ description = " Commit edits to the repo made outside the chat (commit message optional)" ,
49
+ category = " input" ,
50
+ },
51
+ context = {
52
+ value = COMMAND_PREFIX .. " context" ,
53
+ description = " Enter context mode to see surrounding code context. If no prompt is provided, switches to context mode" ,
49
54
category = " input" ,
50
55
},
51
56
copy = {
52
57
value = COMMAND_PREFIX .. " copy" ,
53
- description = " Copy the last assistant message to clipboard" ,
58
+ description = " Copy the last assistant message to the clipboard" ,
59
+ category = " direct" ,
60
+ },
61
+ [" copy-context" ] = {
62
+ value = COMMAND_PREFIX .. " copy-context" ,
63
+ description = " Copy the current chat context as markdown, suitable for pasting into a web UI" ,
54
64
category = " direct" ,
55
65
},
56
66
diff = {
57
67
value = COMMAND_PREFIX .. " diff" ,
58
- description = " Display changes diff since the last message" ,
68
+ description = " Display the diff of changes since the last message" ,
59
69
category = " direct" ,
60
70
},
61
71
drop = {
62
72
value = COMMAND_PREFIX .. " drop" ,
63
- description = " Remove files from chat session to free context space" ,
73
+ description = " Remove files from the chat session to free up context space" ,
74
+ category = " input" ,
75
+ },
76
+ edit = {
77
+ value = COMMAND_PREFIX .. " edit" ,
78
+ description = " Alias for /editor: Open an editor to write a prompt" ,
79
+ category = " input" ,
80
+ },
81
+ editor = {
82
+ value = COMMAND_PREFIX .. " editor" ,
83
+ description = " Open an editor to write a prompt" ,
84
+ category = " input" ,
85
+ },
86
+ [" editor-model" ] = {
87
+ value = COMMAND_PREFIX .. " editor-model" ,
88
+ description = " Switch the Editor Model to a new LLM" ,
64
89
category = " input" ,
65
90
},
66
91
exit = {
@@ -80,7 +105,7 @@ local commands = {
80
105
},
81
106
lint = {
82
107
value = COMMAND_PREFIX .. " lint" ,
83
- description = " Lint and fix in-chat files or all dirty files" ,
108
+ description = " Lint and fix in-chat files or all dirty files if none are in chat " ,
84
109
category = " direct" ,
85
110
},
86
111
load = {
@@ -90,12 +115,12 @@ local commands = {
90
115
},
91
116
ls = {
92
117
value = COMMAND_PREFIX .. " ls" ,
93
- description = " List known files and their chat session status " ,
118
+ description = " List all known files and indicate which are included in the chat session" ,
94
119
category = " direct" ,
95
120
},
96
121
map = {
97
122
value = COMMAND_PREFIX .. " map" ,
98
- description = " Print the current repository map" ,
123
+ description = " Print out the current repository map" ,
99
124
category = " direct" ,
100
125
},
101
126
[" map-refresh" ] = {
@@ -105,17 +130,22 @@ local commands = {
105
130
},
106
131
model = {
107
132
value = COMMAND_PREFIX .. " model" ,
108
- description = " Switch to a new LLM" ,
133
+ description = " Switch the Main Model to a new LLM" ,
109
134
category = " input" ,
110
135
},
111
136
models = {
112
137
value = COMMAND_PREFIX .. " models" ,
113
138
description = " Search the list of available models" ,
114
139
category = " direct" ,
115
140
},
141
+ [" multiline-mode" ] = {
142
+ value = COMMAND_PREFIX .. " multiline-mode" ,
143
+ description = " Toggle multiline mode (swap behavior of Enter and Meta+Enter)" ,
144
+ category = " direct" ,
145
+ },
116
146
paste = {
117
147
value = COMMAND_PREFIX .. " paste" ,
118
- description = " Paste image/text from clipboard into chat" ,
148
+ description = " Paste image/text from the clipboard into the chat (optionally provide a name for the image) " ,
119
149
category = " direct" ,
120
150
},
121
151
quit = {
@@ -125,7 +155,12 @@ local commands = {
125
155
},
126
156
[" read-only" ] = {
127
157
value = COMMAND_PREFIX .. " read-only" ,
128
- description = " Add reference files to chat, not for editing" ,
158
+ description = " Add files to the chat for reference only (not for editing) or make added files read-only" ,
159
+ category = " input" ,
160
+ },
161
+ [" reasoning-effort" ] = {
162
+ value = COMMAND_PREFIX .. " reasoning-effort" ,
163
+ description = " Set the reasoning effort level (a number or low/medium/high, depending on model)" ,
129
164
category = " input" ,
130
165
},
131
166
report = {
@@ -135,47 +170,57 @@ local commands = {
135
170
},
136
171
reset = {
137
172
value = COMMAND_PREFIX .. " reset" ,
138
- description = " Drop all files and clear chat history" ,
173
+ description = " Drop all files and clear the chat history" ,
139
174
category = " direct" ,
140
175
},
141
176
run = {
142
177
value = COMMAND_PREFIX .. " run" ,
143
- description = " Run a shell command, optionally add output to chat" ,
178
+ description = " Run a shell command and optionally add the output to the chat (alias: !) " ,
144
179
category = " input" ,
145
180
},
146
181
save = {
147
182
value = COMMAND_PREFIX .. " save" ,
148
- description = " Save commands to reconstruct current chat session" ,
183
+ description = " Save commands to a file that can reconstruct the current chat session" ,
149
184
category = " direct" ,
150
185
},
151
186
settings = {
152
187
value = COMMAND_PREFIX .. " settings" ,
153
- description = " Print current settings" ,
188
+ description = " Print out the current settings" ,
154
189
category = " direct" ,
155
190
},
156
191
test = {
157
192
value = COMMAND_PREFIX .. " test" ,
158
- description = " Run command, add output to chat on non-zero exit" ,
193
+ description = " Run a shell command and add the output to the chat on non-zero exit code " ,
159
194
category = " direct" ,
160
195
},
196
+ [" think-tokens" ] = {
197
+ value = COMMAND_PREFIX .. " think-tokens" ,
198
+ description = " Set the thinking token budget (e.g. 8096, 8k, 10.5k, 0.5M)" ,
199
+ category = " input" ,
200
+ },
161
201
tokens = {
162
202
value = COMMAND_PREFIX .. " tokens" ,
163
- description = " Report tokens used by current chat context" ,
203
+ description = " Report on the number of tokens used by the current chat context" ,
164
204
category = " direct" ,
165
205
},
166
206
undo = {
167
207
value = COMMAND_PREFIX .. " undo" ,
168
- description = " Undo last git commit if done by aider" ,
208
+ description = " Undo the last git commit if it was done by aider" ,
209
+ category = " direct" ,
210
+ },
211
+ voice = {
212
+ value = COMMAND_PREFIX .. " voice" ,
213
+ description = " Record and transcribe voice input" ,
169
214
category = " direct" ,
170
215
},
171
- -- voice = {
172
- -- value = COMMAND_PREFIX .. "voice ",
173
- -- description = "Record and transcribe voice input ",
174
- -- category = "direct ",
175
- -- },
216
+ [ " weak-model " ] = {
217
+ value = COMMAND_PREFIX .. " weak-model " ,
218
+ description = " Switch the Weak Model to a new LLM " ,
219
+ category = " input " ,
220
+ },
176
221
web = {
177
222
value = COMMAND_PREFIX .. " web" ,
178
- description = " Scrape webpage, convert to markdown, send in message" ,
223
+ description = " Scrape a webpage, convert it to markdown, and send it in a message" ,
179
224
category = " input" ,
180
225
},
181
226
}
0 commit comments