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
Copy file name to clipboardExpand all lines: src/core/prompts/__tests__/__snapshots__/system.test.ts.snap
+170Lines changed: 170 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -181,6 +181,23 @@ I've updated the CSS
181
181
<command>open index.html</command>
182
182
</attempt_completion>
183
183
184
+
## switch_mode
185
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
186
+
Parameters:
187
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
188
+
- reason: (optional) The reason for switching modes
189
+
Usage:
190
+
<switch_mode>
191
+
<mode_slug>Mode slug here</mode_slug>
192
+
<reason>Reason for switching here</reason>
193
+
</switch_mode>
194
+
195
+
Example: Requesting to switch to code mode
196
+
<switch_mode>
197
+
<mode_slug>code</mode_slug>
198
+
<reason>Need to make code changes</reason>
199
+
</switch_mode>
200
+
184
201
# Tool Use Guidelines
185
202
186
203
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -469,6 +486,23 @@ I've updated the CSS
469
486
<command>open index.html</command>
470
487
</attempt_completion>
471
488
489
+
## switch_mode
490
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
491
+
Parameters:
492
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
493
+
- reason: (optional) The reason for switching modes
494
+
Usage:
495
+
<switch_mode>
496
+
<mode_slug>Mode slug here</mode_slug>
497
+
<reason>Reason for switching here</reason>
498
+
</switch_mode>
499
+
500
+
Example: Requesting to switch to code mode
501
+
<switch_mode>
502
+
<mode_slug>code</mode_slug>
503
+
<reason>Need to make code changes</reason>
504
+
</switch_mode>
505
+
472
506
# Tool Use Guidelines
473
507
474
508
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -757,6 +791,23 @@ I've updated the CSS
757
791
<command>open index.html</command>
758
792
</attempt_completion>
759
793
794
+
## switch_mode
795
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
796
+
Parameters:
797
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
798
+
- reason: (optional) The reason for switching modes
799
+
Usage:
800
+
<switch_mode>
801
+
<mode_slug>Mode slug here</mode_slug>
802
+
<reason>Reason for switching here</reason>
803
+
</switch_mode>
804
+
805
+
Example: Requesting to switch to code mode
806
+
<switch_mode>
807
+
<mode_slug>code</mode_slug>
808
+
<reason>Need to make code changes</reason>
809
+
</switch_mode>
810
+
760
811
# Tool Use Guidelines
761
812
762
813
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -1091,6 +1142,23 @@ I've updated the CSS
1091
1142
<command>open index.html</command>
1092
1143
</attempt_completion>
1093
1144
1145
+
## switch_mode
1146
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
1147
+
Parameters:
1148
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
1149
+
- reason: (optional) The reason for switching modes
1150
+
Usage:
1151
+
<switch_mode>
1152
+
<mode_slug>Mode slug here</mode_slug>
1153
+
<reason>Reason for switching here</reason>
1154
+
</switch_mode>
1155
+
1156
+
Example: Requesting to switch to code mode
1157
+
<switch_mode>
1158
+
<mode_slug>code</mode_slug>
1159
+
<reason>Need to make code changes</reason>
1160
+
</switch_mode>
1161
+
1094
1162
# Tool Use Guidelines
1095
1163
1096
1164
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -1431,6 +1499,23 @@ I've updated the CSS
1431
1499
<command>open index.html</command>
1432
1500
</attempt_completion>
1433
1501
1502
+
## switch_mode
1503
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
1504
+
Parameters:
1505
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
1506
+
- reason: (optional) The reason for switching modes
1507
+
Usage:
1508
+
<switch_mode>
1509
+
<mode_slug>Mode slug here</mode_slug>
1510
+
<reason>Reason for switching here</reason>
1511
+
</switch_mode>
1512
+
1513
+
Example: Requesting to switch to code mode
1514
+
<switch_mode>
1515
+
<mode_slug>code</mode_slug>
1516
+
<reason>Need to make code changes</reason>
1517
+
</switch_mode>
1518
+
1434
1519
# Tool Use Guidelines
1435
1520
1436
1521
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2129,6 +2214,23 @@ I've updated the CSS
2129
2214
<command>open index.html</command>
2130
2215
</attempt_completion>
2131
2216
2217
+
## switch_mode
2218
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
2219
+
Parameters:
2220
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2221
+
- reason: (optional) The reason for switching modes
2222
+
Usage:
2223
+
<switch_mode>
2224
+
<mode_slug>Mode slug here</mode_slug>
2225
+
<reason>Reason for switching here</reason>
2226
+
</switch_mode>
2227
+
2228
+
Example: Requesting to switch to code mode
2229
+
<switch_mode>
2230
+
<mode_slug>code</mode_slug>
2231
+
<reason>Need to make code changes</reason>
2232
+
</switch_mode>
2233
+
2132
2234
# Tool Use Guidelines
2133
2235
2134
2236
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2480,6 +2582,23 @@ I've updated the CSS
2480
2582
<command>open index.html</command>
2481
2583
</attempt_completion>
2482
2584
2585
+
## switch_mode
2586
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
2587
+
Parameters:
2588
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2589
+
- reason: (optional) The reason for switching modes
2590
+
Usage:
2591
+
<switch_mode>
2592
+
<mode_slug>Mode slug here</mode_slug>
2593
+
<reason>Reason for switching here</reason>
2594
+
</switch_mode>
2595
+
2596
+
Example: Requesting to switch to code mode
2597
+
<switch_mode>
2598
+
<mode_slug>code</mode_slug>
2599
+
<reason>Need to make code changes</reason>
2600
+
</switch_mode>
2601
+
2483
2602
# Tool Use Guidelines
2484
2603
2485
2604
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2768,6 +2887,23 @@ I've updated the CSS
2768
2887
<command>open index.html</command>
2769
2888
</attempt_completion>
2770
2889
2890
+
## switch_mode
2891
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
2892
+
Parameters:
2893
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2894
+
- reason: (optional) The reason for switching modes
2895
+
Usage:
2896
+
<switch_mode>
2897
+
<mode_slug>Mode slug here</mode_slug>
2898
+
<reason>Reason for switching here</reason>
2899
+
</switch_mode>
2900
+
2901
+
Example: Requesting to switch to code mode
2902
+
<switch_mode>
2903
+
<mode_slug>code</mode_slug>
2904
+
<reason>Need to make code changes</reason>
2905
+
</switch_mode>
2906
+
2771
2907
# Tool Use Guidelines
2772
2908
2773
2909
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -3099,6 +3235,23 @@ I've updated the CSS
3099
3235
<command>open index.html</command>
3100
3236
</attempt_completion>
3101
3237
3238
+
## switch_mode
3239
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
3240
+
Parameters:
3241
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
3242
+
- reason: (optional) The reason for switching modes
3243
+
Usage:
3244
+
<switch_mode>
3245
+
<mode_slug>Mode slug here</mode_slug>
3246
+
<reason>Reason for switching here</reason>
3247
+
</switch_mode>
3248
+
3249
+
Example: Requesting to switch to code mode
3250
+
<switch_mode>
3251
+
<mode_slug>code</mode_slug>
3252
+
<reason>Need to make code changes</reason>
3253
+
</switch_mode>
3254
+
3102
3255
# Tool Use Guidelines
3103
3256
3104
3257
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -3373,6 +3526,23 @@ I've updated the CSS
3373
3526
<command>open index.html</command>
3374
3527
</attempt_completion>
3375
3528
3529
+
## switch_mode
3530
+
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
3531
+
Parameters:
3532
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
3533
+
- reason: (optional) The reason for switching modes
3534
+
Usage:
3535
+
<switch_mode>
3536
+
<mode_slug>Mode slug here</mode_slug>
3537
+
<reason>Reason for switching here</reason>
3538
+
</switch_mode>
3539
+
3540
+
Example: Requesting to switch to code mode
3541
+
<switch_mode>
3542
+
<mode_slug>code</mode_slug>
3543
+
<reason>Need to make code changes</reason>
3544
+
</switch_mode>
3545
+
3376
3546
# Tool Use Guidelines
3377
3547
3378
3548
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
Description: Request to switch to a different mode. This tool allows modes to request switching to another mode when needed, such as switching to Code mode to make code changes. The user must approve the mode switch.
4
+
Parameters:
5
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
6
+
- reason: (optional) The reason for switching modes
0 commit comments