agentgui 1.0.420 → 1.0.421
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/js/client.js +6 -7
package/package.json
CHANGED
package/static/js/client.js
CHANGED
|
@@ -1833,8 +1833,7 @@ class AgentGUIClient {
|
|
|
1833
1833
|
const { agents } = await window.wsClient.rpc('agent.ls');
|
|
1834
1834
|
this.state.agents = agents;
|
|
1835
1835
|
|
|
1836
|
-
const
|
|
1837
|
-
const displayAgents = cliAgents.length > 0 ? cliAgents : agents;
|
|
1836
|
+
const displayAgents = agents;
|
|
1838
1837
|
|
|
1839
1838
|
if (this.ui.cliSelector) {
|
|
1840
1839
|
if (displayAgents.length > 0) {
|
|
@@ -1985,11 +1984,11 @@ class AgentGUIClient {
|
|
|
1985
1984
|
}
|
|
1986
1985
|
|
|
1987
1986
|
_setCliSelectorToAgent(agentId) {
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1987
|
+
if (this.ui.cliSelector) {
|
|
1988
|
+
this.ui.cliSelector.value = agentId;
|
|
1989
|
+
if (!this.ui.cliSelector.value) {
|
|
1990
|
+
this.ui.cliSelector.selectedIndex = 0;
|
|
1991
|
+
}
|
|
1993
1992
|
}
|
|
1994
1993
|
}
|
|
1995
1994
|
|