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

+3 -1
View File
@@ -495,7 +495,9 @@ func (ch *chat) openPicker(kind string) {
var agents []ocapi.AgentInfo
agents, err = client.Agents(ctx, ch.dir)
for _, a := range agents {
if a.Hidden {
// A session runs a primary agent; subagents are what the
// primary one delegates to.
if a.Hidden || a.Mode == "subagent" {
continue
}
items = append(items, pickerItem{