Skip to content

Commit 27c3a85

Browse files
authored
Merge pull request #180 from WolframResearch/feature/AgentPrefsTake2
Update preferences dialog
2 parents c723ecd + 558e04c commit 27c3a85

2 files changed

Lines changed: 525 additions & 201 deletions

File tree

FrontEnd/Assets/AgentTools.wl

Lines changed: 139 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<|
22
"AgentToolsStrings" -> {
33

4-
"prefsSubtitle" -> LanguageSwitched["LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:", <|
5-
"ChineseSimplified" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:",
6-
"ChineseTraditional" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:",
7-
"French" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:",
8-
"Japanese" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:",
9-
"Korean" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:",
10-
"Spanish" -> "LLMs and their calling harnesses can be configured to access your Wolfram System through either of the following toolsets:"
4+
"prefsSubtitle" -> LanguageSwitched["AI environments can be configured to access `1` or `2`", <|
5+
"ChineseSimplified" -> "AI environments can be configured to access `1` or `2`",
6+
"ChineseTraditional" -> "AI environments can be configured to access `1` or `2`",
7+
"French" -> "AI environments can be configured to access `1` or `2`",
8+
"Japanese" -> "AI environments can be configured to access `1` or `2`",
9+
"Korean" -> "AI environments can be configured to access `1` or `2`",
10+
"Spanish" -> "AI environments can be configured to access `1` or `2`"
1111
|>],
1212

1313
"prefsDocsLinkText" -> LanguageSwitched["Documentation", <|
@@ -55,40 +55,67 @@
5555
"Spanish" -> "Tools for Wolfram Language development"
5656
|>],
5757

58-
"prefsHarnessesConfigured" -> LanguageSwitched["Configured:", <|
59-
"ChineseSimplified" -> "Configured:",
60-
"ChineseTraditional" -> "Configured:",
61-
"French" -> "Configured:",
62-
"Japanese" -> "Configured:",
63-
"Korean" -> "Configured:",
64-
"Spanish" -> "Configured:"
58+
"prefsHarnessesConfigured" -> LanguageSwitched["Configured on your system:", <|
59+
"ChineseSimplified" -> "Configured on your system:",
60+
"ChineseTraditional" -> "Configured on your system:",
61+
"French" -> "Configured on your system:",
62+
"Japanese" -> "Configured on your system:",
63+
"Korean" -> "Configured on your system:",
64+
"Spanish" -> "Configured on your system:"
6565
|>],
6666

67-
"prefsHarnessesMore" -> LanguageSwitched["More:", <|
68-
"ChineseSimplified" -> "More:",
69-
"ChineseTraditional" -> "More:",
70-
"French" -> "More:",
71-
"Japanese" -> "More:",
72-
"Korean" -> "More:",
73-
"Spanish" -> "More:"
74-
|>],
75-
76-
"prefsPickTool" -> LanguageSwitched["Pick a toolset", <|
77-
"ChineseSimplified" -> "Pick a toolset",
78-
"ChineseTraditional" -> "Pick a toolset",
79-
"French" -> "Pick a toolset",
80-
"Japanese" -> "Pick a toolset",
81-
"Korean" -> "Pick a toolset",
82-
"Spanish" -> "Pick a toolset"
67+
"prefsHarnessesDetected" -> LanguageSwitched["Detected on your system:", <|
68+
"ChineseSimplified" -> "Detected on your system:",
69+
"ChineseTraditional" -> "Detected on your system:",
70+
"French" -> "Detected on your system:",
71+
"Japanese" -> "Detected on your system:",
72+
"Korean" -> "Detected on your system:",
73+
"Spanish" -> "Detected on your system:"
8374
|>],
8475

85-
"prefsNoTool" -> LanguageSwitched["No toolset", <|
86-
"ChineseSimplified" -> "No toolset",
87-
"ChineseTraditional" -> "No toolset",
88-
"French" -> "No toolset",
89-
"Japanese" -> "No toolset",
90-
"Korean" -> "No toolset",
91-
"Spanish" -> "No toolset"
76+
"prefsHarnessesMore" -> LanguageSwitched["Other supported AI environments:", <|
77+
"ChineseSimplified" -> "Other supported AI environments:",
78+
"ChineseTraditional" -> "Other supported AI environments:",
79+
"French" -> "Other supported AI environments:",
80+
"Japanese" -> "Other supported AI environments:",
81+
"Korean" -> "Other supported AI environments:",
82+
"Spanish" -> "Other supported AI environments:"
83+
|>],
84+
85+
"prefsHarnessesAll" -> LanguageSwitched["Supported AI environments:", <|
86+
"ChineseSimplified" -> "Supported AI environments:",
87+
"ChineseTraditional" -> "Supported AI environments:",
88+
"French" -> "Supported AI environments:",
89+
"Japanese" -> "Supported AI environments:",
90+
"Korean" -> "Supported AI environments:",
91+
"Spanish" -> "Supported AI environments:"
92+
|>],
93+
94+
"prefsConfigureAllButton" -> LanguageSwitched["Configure All", <|
95+
"ChineseSimplified" -> "Configure All",
96+
"ChineseTraditional" -> "Configure All",
97+
"French" -> "Configure All",
98+
"Japanese" -> "Configure All",
99+
"Korean" -> "Configure All",
100+
"Spanish" -> "Configure All"
101+
|>],
102+
103+
"prefsConfigureButton" -> LanguageSwitched["Configure", <|
104+
"ChineseSimplified" -> "Configure",
105+
"ChineseTraditional" -> "Configure",
106+
"French" -> "Configure",
107+
"Japanese" -> "Configure",
108+
"Korean" -> "Configure",
109+
"Spanish" -> "Configure"
110+
|>],
111+
112+
"prefsDisableButton" -> LanguageSwitched["Disable", <|
113+
"ChineseSimplified" -> "Disable",
114+
"ChineseTraditional" -> "Disable",
115+
"French" -> "Disable",
116+
"Japanese" -> "Disable",
117+
"Korean" -> "Disable",
118+
"Spanish" -> "Disable"
92119
|>],
93120

94121
"prefsInstallLocation" -> LanguageSwitched["Install location:", <|
@@ -116,8 +143,26 @@
116143
"Japanese" -> "Uninstall this toolset",
117144
"Korean" -> "Uninstall this toolset",
118145
"Spanish" -> "Uninstall this toolset"
119-
|>]
146+
|>],
147+
148+
"prefsNoMCPClients" -> LanguageSwitched["The list of supported MCP clients is not available.", <|
149+
"ChineseSimplified" -> "The list of supported MCP clients is not available.",
150+
"ChineseTraditional" -> "The list of supported MCP clients is not available.",
151+
"French" -> "The list of supported MCP clients is not available.",
152+
"Japanese" -> "The list of supported MCP clients is not available.",
153+
"Korean" -> "The list of supported MCP clients is not available.",
154+
"Spanish" -> "The list of supported MCP clients is not available."
155+
|>],
120156

157+
"prefsNoMCPServers" -> LanguageSwitched["The list of default MCP servers is not available.", <|
158+
"ChineseSimplified" -> "The list of default MCP servers is not available.",
159+
"ChineseTraditional" -> "The list of default MCP servers is not available.",
160+
"French" -> "The list of default MCP servers is not available.",
161+
"Japanese" -> "The list of default MCP servers is not available.",
162+
"Korean" -> "The list of default MCP servers is not available.",
163+
"Spanish" -> "The list of default MCP servers is not available."
164+
|>]
165+
121166
},
122167

123168

@@ -133,6 +178,62 @@
133178
ImageSize->#2,
134179
PlotRange->{0, 1}]&),
135180

181+
"prefsConfiguredIcon" -> GraphicsBox[
182+
{Thickness[0.07081099420209053], FaceForm[LightDarkSwitched[
183+
RGBColor[0.20784313725490197`, 0.592156862745098, 0.10588235294117647`, 1.]]],
184+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{
185+
12.707099914550781`, 10.473299980163574`}, {5.061100006103516, 2.8282999992370605`}, {
186+
1.4160995483398438`, 6.473299980163574}, {0.00010013580322265625`, 5.060299873352051}, {
187+
5.061100006103516, 0.00030040740966796875`}, {14.122099876403809`, 9.061300039291382}, {
188+
12.707099914550781`, 10.473299980163574`}}}]},
189+
AspectRatio->Automatic,
190+
ImageSize->{16., 12.},
191+
PlotRange->{{-0.5, 14.622100830078125`}, {-0.5, 10.97339916229248}}],
192+
193+
"prefsConfigureAllIcon" -> GraphicsBox[
194+
{Thickness[0.05644359935603517],
195+
{FaceForm[LightDarkSwitched[
196+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
197+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{6.091000080108643,
198+
1.0880000591278076`}, {17.716001510620117`, 1.0880000591278076`}, {17.716001510620117`,
199+
2.749000072479248}, {6.091000080108643, 2.749000072479248}, {6.091000080108643,
200+
1.0880000591278076`}}}]},
201+
{FaceForm[LightDarkSwitched[
202+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
203+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{6.091000080108643,
204+
5.585000038146973}, {17.716001510620117`, 5.585000038146973}, {17.716001510620117`,
205+
7.246000289916992}, {6.091000080108643, 7.246000289916992}, {6.091000080108643,
206+
5.585000038146973}}}]},
207+
{FaceForm[LightDarkSwitched[
208+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
209+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{6.091000080108643,
210+
10.081000328063965`}, {17.716001510620117`, 10.081000328063965`}, {17.716001510620117`,
211+
11.742000579833984`}, {6.091000080108643, 11.742000579833984`}, {6.091000080108643,
212+
10.081000328063965`}}}]},
213+
{FaceForm[LightDarkSwitched[
214+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
215+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{
216+
4.1138997077941895`, 12.829500198364258`}, {1.8678996562957764`, 10.582500219345093`}, {
217+
0.7958998680114746, 11.654500126838684`}, {-0.00010061264038085938`, 10.859500050544739`}, {
218+
1.8678996562957764`, 8.992500305175781}, {4.909899652004242, 12.035500228404999`}, {
219+
4.1138997077941895`, 12.829500198364258`}}}]},
220+
{FaceForm[LightDarkSwitched[
221+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
222+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{
223+
1.867499828338623, 6.086699962615967}, {0.7954998016357422, 7.157700061798096}, {
224+
0.0004999637603759766, 6.36269998550415}, {1.867499828338623, 4.496699929237366}, {
225+
4.909499883651733, 7.539699912071228}, {4.113499879837036, 8.33270001411438}, {1.867499828338623,
226+
6.086699962615967}}}]},
227+
{FaceForm[LightDarkSwitched[
228+
RGBColor[0.38823529411764707`, 0.38823529411764707`, 0.38823529411764707`, 1.]]],
229+
FilledCurveBox[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, {{{
230+
1.867499828338623, 1.5903000831604004`}, {0.7954998016357422, 2.6613001823425293`}, {
231+
0.0004999637603759766, 1.866300106048584}, {1.867499828338623, 0.0003000497817993164}, {
232+
4.909499883651733, 3.0433000326156616`}, {4.113499879837036, 3.8363001346588135`}, {
233+
1.867499828338623, 1.5903000831604004`}}}]}},
234+
AspectRatio->Automatic,
235+
ImageSize->{19., 14.},
236+
PlotRange->{{-0.5, 18.216800689697266`}, {-0.5, 13.329200744628906`}}],
136237

137238
"prefsRemoveIcon" -> (GraphicsBox[
138239
{#1, LineBox[{{{0, 0}, {1, 1}}, {{1, 0}, {0, 1}}}]},

0 commit comments

Comments
 (0)