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:
blumia committed 2026-11-16 13:21:20 +08:00
1 parent 9d9678e294
commit e240a33e31
8 files changed
+76 -10

No files matched your search

+1 -3
View File
@@ -22,9 +22,7 @@ func (c *controller) sessionsScreen() ui.Node {
return ui.Text(c.errorMsg, ui.Style{Font: fonts.Footnote, Color: colors.Red, Lines: 2})
}),
),
ui.Button(ui.ButtonProps{Title: ui.Val("实例"), Variant: ui.ButtonPlain,
OnPress: func() { c.instancesOpen.Set(true) }}),
ui.Button(ui.ButtonProps{Title: ui.Val("断开"), Variant: ui.ButtonPlain, OnPress: c.disconnect}),
c.instancesButton(),
),
ui.Show(signal.Func(func() bool { return len(c.sessions.Get()) == 0 }),
func() ui.Node {