Skip to content

Commit 8c423a2

Browse files
ampagenttoolmantim
andcommitted
Give explicit official modes the plugin and skill reload tools
- Add load_plugin, reload_plugins, and reload_skills to every explicit mode tool list - Require them in validate-tool-lists.mjs so new modes cannot drop them Amp-Thread-ID: https://ampcode.com/threads/T-2ac8df42-a781-45f7-bdba-1089be26558f Co-authored-by: Tim Lucas <tim@ampcode.com>
1 parent 7da2cdb commit 8c423a2

13 files changed

Lines changed: 40 additions & 1 deletion

‎official-modes/modes/deepseek-v4.1-flash.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export const DEEPSEEK_V4_1_FLASH_TOOL_NAMES = [
7373
'update_schedule',
7474
'clear_schedule',
7575
'skill',
76+
'load_plugin',
77+
'reload_plugins',
78+
'reload_skills',
7679
'oracle',
7780
'librarian',
7881
'view_media',

‎official-modes/modes/gemini-38-flash.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export const GEMINI_38_FLASH_TOOL_NAMES = [
8484
'update_schedule',
8585
'clear_schedule',
8686
'skill',
87+
'load_plugin',
88+
'reload_plugins',
89+
'reload_skills',
8790
'oracle',
8891
'Task',
8992
'librarian',

‎official-modes/modes/glm-52.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ export const GLM_52_TOOL_NAMES = [
140140
'update_schedule',
141141
'clear_schedule',
142142
'skill',
143+
'load_plugin',
144+
'reload_plugins',
145+
'reload_skills',
143146
'oracle',
144147
'librarian',
145148
'view_media',

‎official-modes/modes/glm-53-flash.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export const GLM_53_FLASH_TOOL_NAMES = [
7373
'clear_schedule',
7474
'ask_user_choice',
7575
'skill',
76+
'load_plugin',
77+
'reload_plugins',
78+
'reload_skills',
7679
'oracle',
7780
'librarian',
7881
'view_media',

‎official-modes/modes/glm-53.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export const GLM_53_TOOL_NAMES = [
3636
'read_web_page',
3737
'ask_user_choice',
3838
'skill',
39+
'load_plugin',
40+
'reload_plugins',
41+
'reload_skills',
3942
'oracle',
4043
'librarian',
4144
'Task',

‎official-modes/modes/gpt-56.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ export const GPT_56_TOOL_NAMES = [
7272
'Task',
7373
'create_thread',
7474
'skill',
75+
'load_plugin',
76+
'reload_plugins',
77+
'reload_skills',
7578
'read_thread',
7679
'find_thread',
7780
'get_thread_status',

‎official-modes/modes/grok-45.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const GROK_45_TOOL_NAMES = [
1919
'shell_command',
2020
'shell_command_status',
2121
'skill',
22+
'load_plugin',
23+
'reload_plugins',
24+
'reload_skills',
2225
'Task',
2326
'update_thread',
2427
'view_media',

‎official-modes/modes/kimi-k3.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ export const KIMI_K3_TOOL_NAMES = [
6161
'update_schedule',
6262
'clear_schedule',
6363
'skill',
64+
'load_plugin',
65+
'reload_plugins',
66+
'reload_skills',
6467
'oracle',
6568
'Task',
6669
'librarian',

‎official-modes/modes/minimax-m3.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ export const MINIMAX_M3_TOOL_NAMES = [
8282
'update_schedule',
8383
'clear_schedule',
8484
'skill',
85+
'load_plugin',
86+
'reload_plugins',
87+
'reload_skills',
8588
'oracle',
8689
'Task',
8790
'librarian',

‎official-modes/modes/muse-spark.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ export const MUSE_SPARK_TOOL_NAMES = [
106106
'update_schedule',
107107
'clear_schedule',
108108
'skill',
109+
'load_plugin',
110+
'reload_plugins',
111+
'reload_skills',
109112
'oracle',
110113
'Task',
111114
'librarian',

0 commit comments

Comments
 (0)