feat: one server button, and only primary agents to pick
The session screen now has a single server icon that opens the instance list; picking an instance drops the live connection and connects to it, and disconnecting moved into that list. A custom SVG rack stands in for the missing server symbol on Android. The agent sheet lists primary agents only: a session cannot run a subagent (General, Explore) as its own agent. Bump version to 0.1.5 (build 6).
This commit is contained in:
1 parent
9d9678e294
commit
e240a33e31
8 files changed
+76
-10
No files matched your search
@@ -341,6 +341,17 @@ func (c *controller) instancesSheet() ui.Node {
|
||||
}),
|
||||
)
|
||||
}),
|
||||
ui.Show(signal.Func(func() bool { return c.connected.Get() }),
|
||||
func() ui.Node {
|
||||
return ui.Button(ui.ButtonProps{
|
||||
Title: ui.Val("断开当前连接"),
|
||||
Variant: ui.ButtonGray,
|
||||
OnPress: func() {
|
||||
c.instancesOpen.Set(false)
|
||||
c.disconnect()
|
||||
},
|
||||
})
|
||||
}),
|
||||
ui.Button(ui.ButtonProps{
|
||||
Title: ui.Val("添加服务器"),
|
||||
Icon: ui.IconPlus,
|
||||
|
||||
Reference in new issue
Block a user