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.
@@ -466,6 +483,23 @@ I've updated the CSS
466
483
<command>open index.html</command>
467
484
</attempt_completion>
468
485
486
+
## switch_mode
487
+
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.
488
+
Parameters:
489
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
490
+
- reason: (optional) The reason for switching modes
491
+
Usage:
492
+
<switch_mode>
493
+
<mode_slug>Mode slug here</mode_slug>
494
+
<reason>Reason for switching here</reason>
495
+
</switch_mode>
496
+
497
+
Example: Requesting to switch to code mode
498
+
<switch_mode>
499
+
<mode_slug>code</mode_slug>
500
+
<reason>Need to make code changes</reason>
501
+
</switch_mode>
502
+
469
503
# Tool Use Guidelines
470
504
471
505
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -751,6 +785,23 @@ I've updated the CSS
751
785
<command>open index.html</command>
752
786
</attempt_completion>
753
787
788
+
## switch_mode
789
+
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.
790
+
Parameters:
791
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
792
+
- reason: (optional) The reason for switching modes
793
+
Usage:
794
+
<switch_mode>
795
+
<mode_slug>Mode slug here</mode_slug>
796
+
<reason>Reason for switching here</reason>
797
+
</switch_mode>
798
+
799
+
Example: Requesting to switch to code mode
800
+
<switch_mode>
801
+
<mode_slug>code</mode_slug>
802
+
<reason>Need to make code changes</reason>
803
+
</switch_mode>
804
+
754
805
# Tool Use Guidelines
755
806
756
807
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -1082,6 +1133,23 @@ I've updated the CSS
1082
1133
<command>open index.html</command>
1083
1134
</attempt_completion>
1084
1135
1136
+
## switch_mode
1137
+
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.
1138
+
Parameters:
1139
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
1140
+
- reason: (optional) The reason for switching modes
1141
+
Usage:
1142
+
<switch_mode>
1143
+
<mode_slug>Mode slug here</mode_slug>
1144
+
<reason>Reason for switching here</reason>
1145
+
</switch_mode>
1146
+
1147
+
Example: Requesting to switch to code mode
1148
+
<switch_mode>
1149
+
<mode_slug>code</mode_slug>
1150
+
<reason>Need to make code changes</reason>
1151
+
</switch_mode>
1152
+
1085
1153
# Tool Use Guidelines
1086
1154
1087
1155
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -1419,6 +1487,23 @@ I've updated the CSS
1419
1487
<command>open index.html</command>
1420
1488
</attempt_completion>
1421
1489
1490
+
## switch_mode
1491
+
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.
1492
+
Parameters:
1493
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
1494
+
- reason: (optional) The reason for switching modes
1495
+
Usage:
1496
+
<switch_mode>
1497
+
<mode_slug>Mode slug here</mode_slug>
1498
+
<reason>Reason for switching here</reason>
1499
+
</switch_mode>
1500
+
1501
+
Example: Requesting to switch to code mode
1502
+
<switch_mode>
1503
+
<mode_slug>code</mode_slug>
1504
+
<reason>Need to make code changes</reason>
1505
+
</switch_mode>
1506
+
1422
1507
# Tool Use Guidelines
1423
1508
1424
1509
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2114,6 +2199,23 @@ I've updated the CSS
2114
2199
<command>open index.html</command>
2115
2200
</attempt_completion>
2116
2201
2202
+
## switch_mode
2203
+
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.
2204
+
Parameters:
2205
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2206
+
- reason: (optional) The reason for switching modes
2207
+
Usage:
2208
+
<switch_mode>
2209
+
<mode_slug>Mode slug here</mode_slug>
2210
+
<reason>Reason for switching here</reason>
2211
+
</switch_mode>
2212
+
2213
+
Example: Requesting to switch to code mode
2214
+
<switch_mode>
2215
+
<mode_slug>code</mode_slug>
2216
+
<reason>Need to make code changes</reason>
2217
+
</switch_mode>
2218
+
2117
2219
# Tool Use Guidelines
2118
2220
2119
2221
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2462,6 +2564,23 @@ I've updated the CSS
2462
2564
<command>open index.html</command>
2463
2565
</attempt_completion>
2464
2566
2567
+
## switch_mode
2568
+
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.
2569
+
Parameters:
2570
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2571
+
- reason: (optional) The reason for switching modes
2572
+
Usage:
2573
+
<switch_mode>
2574
+
<mode_slug>Mode slug here</mode_slug>
2575
+
<reason>Reason for switching here</reason>
2576
+
</switch_mode>
2577
+
2578
+
Example: Requesting to switch to code mode
2579
+
<switch_mode>
2580
+
<mode_slug>code</mode_slug>
2581
+
<reason>Need to make code changes</reason>
2582
+
</switch_mode>
2583
+
2465
2584
# Tool Use Guidelines
2466
2585
2467
2586
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -2747,6 +2866,23 @@ I've updated the CSS
2747
2866
<command>open index.html</command>
2748
2867
</attempt_completion>
2749
2868
2869
+
## switch_mode
2870
+
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.
2871
+
Parameters:
2872
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
2873
+
- reason: (optional) The reason for switching modes
2874
+
Usage:
2875
+
<switch_mode>
2876
+
<mode_slug>Mode slug here</mode_slug>
2877
+
<reason>Reason for switching here</reason>
2878
+
</switch_mode>
2879
+
2880
+
Example: Requesting to switch to code mode
2881
+
<switch_mode>
2882
+
<mode_slug>code</mode_slug>
2883
+
<reason>Need to make code changes</reason>
2884
+
</switch_mode>
2885
+
2750
2886
# Tool Use Guidelines
2751
2887
2752
2888
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -3038,6 +3174,23 @@ I've updated the CSS
3038
3174
<command>open index.html</command>
3039
3175
</attempt_completion>
3040
3176
3177
+
## switch_mode
3178
+
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.
3179
+
Parameters:
3180
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
3181
+
- reason: (optional) The reason for switching modes
3182
+
Usage:
3183
+
<switch_mode>
3184
+
<mode_slug>Mode slug here</mode_slug>
3185
+
<reason>Reason for switching here</reason>
3186
+
</switch_mode>
3187
+
3188
+
Example: Requesting to switch to code mode
3189
+
<switch_mode>
3190
+
<mode_slug>code</mode_slug>
3191
+
<reason>Need to make code changes</reason>
3192
+
</switch_mode>
3193
+
3041
3194
# Tool Use Guidelines
3042
3195
3043
3196
1. In <thinking> tags, assess what information you already have and what information you need to proceed with the task.
@@ -3272,6 +3425,23 @@ I've updated the CSS
3272
3425
<command>open index.html</command>
3273
3426
</attempt_completion>
3274
3427
3428
+
## switch_mode
3429
+
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.
3430
+
Parameters:
3431
+
- mode_slug: (required) The slug of the mode to switch to (e.g., "code", "ask", "architect")
3432
+
- reason: (optional) The reason for switching modes
3433
+
Usage:
3434
+
<switch_mode>
3435
+
<mode_slug>Mode slug here</mode_slug>
3436
+
<reason>Reason for switching here</reason>
3437
+
</switch_mode>
3438
+
3439
+
Example: Requesting to switch to code mode
3440
+
<switch_mode>
3441
+
<mode_slug>code</mode_slug>
3442
+
<reason>Need to make code changes</reason>
3443
+
</switch_mode>
3444
+
3275
3445
# Tool Use Guidelines
3276
3446
3277
3447
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