You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may have to restart the extension app to apply the changes. To do so, simply close the helper app by clicking on the menu bar icon that looks like a tentacle, it will automatically restart as needed.
149
+
"""
150
+
){
151
+
Form{
152
+
TextField(
153
+
text: $settings.nodePath,
154
+
prompt:Text(
155
+
"node"
156
+
)
157
+
){
158
+
Text("Path to Node (v18+)")
159
+
}
160
+
161
+
Text(
162
+
"Provide the path to the executable if it can't be found by the app, shim executable is not supported"
150
163
)
151
-
){
152
-
Text("Path to Node (v18+)")
153
-
}
154
-
155
-
Text(
156
-
"Provide the path to the executable if it can't be found by the app, shim executable is not supported"
157
-
)
158
-
.lineLimit(10)
159
-
.foregroundColor(.secondary)
160
-
.font(.callout)
161
-
.dynamicHeightTextInFormWorkaround()
162
-
163
-
Picker(selection: $settings.runNodeWith){
164
-
ForEach(NodeRunner.allCases, id: \.rawValue){ runner in
165
-
switch runner {
164
+
.lineLimit(10)
165
+
.foregroundColor(.secondary)
166
+
.font(.callout)
167
+
.dynamicHeightTextInFormWorkaround()
168
+
169
+
Picker(selection: $settings.runNodeWith){
170
+
ForEach(NodeRunner.allCases, id: \.rawValue){ runner in
Text("PATH inherited from $SHELL configurations.")
188
-
}
196
+
.lineLimit(10)
197
+
.foregroundColor(.secondary)
198
+
.font(.callout)
199
+
.dynamicHeightTextInFormWorkaround()
189
200
}
190
-
.lineLimit(10)
191
-
.foregroundColor(.secondary)
192
-
.font(.callout)
193
-
.dynamicHeightTextInFormWorkaround()
194
-
195
-
Spacer()
196
-
197
-
Text("""
198
-
You may have to restart the helper app to apply the changes. To do so, simply close the helper app by clicking on the menu bar icon that looks like a tentacle, it will automatically restart as needed.
This command sends a message to the active chat tab. You can provide additional context through the "Extra System Prompt" as well.
162
-
163
-
# Prompt to Code
164
-
165
-
This command opens the prompt-to-code panel and executes the provided requirements on the selected code. You can provide additional context through the "Extra Context" as well.
166
-
167
-
# Custom Chat
168
-
169
-
This command will overwrite the system prompt to let the bot behave differently.
170
-
171
-
# Single Round Dialog
172
-
173
-
This command allows you to send a message to a temporary chat without opening the chat panel.
174
-
175
-
It is particularly useful for one-time commands, such as running a terminal command with `/run`.
176
-
177
-
For example, you can set the prompt to `/run open .` to open the project in Finder.
178
-
""")
158
+
VStack{
159
+
SubSection(title:Text("Send Message")){
160
+
Text(
161
+
"This command sends a message to the active chat tab. You can provide additional context through the \"Extra System Prompt\" as well."
162
+
)
163
+
}
164
+
SubSection(title:Text("Prompt to Code")){
165
+
Text(
166
+
"This command opens the prompt-to-code panel and executes the provided requirements on the selected code. You can provide additional context through the \"Extra Context\" as well."
167
+
)
168
+
}
169
+
SubSection(title:Text("Custom Chat")){
170
+
Text(
171
+
"This command will overwrite the system prompt to let the bot behave differently."
172
+
)
173
+
}
174
+
SubSection(title:Text("Single Round Dialog")){
175
+
Text(
176
+
"This command allows you to send a message to a temporary chat without opening the chat panel. It is particularly useful for one-time commands, such as running a terminal command with `/run`. For example, you can set the prompt to `/run open .` to open the project in Finder."
0 commit comments