From 6a1bf115c16c56d8db462cde70f645e85e84df0f Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Tue, 03 Mar 2026 17:59:03 +0100
Subject: [PATCH] feat: add hybrid session kind to WsSession type + UI

---
 types/index.ts               |    1 +
 components/SessionPicker.tsx |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/components/SessionPicker.tsx b/components/SessionPicker.tsx
index 4d19164..eedb209 100644
--- a/components/SessionPicker.tsx
+++ b/components/SessionPicker.tsx
@@ -248,7 +248,7 @@
                             marginTop: 2,
                           }}
                         >
-                          {session.type === "terminal" ? "Terminal" : "Claude"}
+                          {session.kind === "api" ? "Headless" : session.kind === "visual" ? "Visual" : session.type === "terminal" ? "Terminal" : "Claude"}
                           {session.isActive ? " — active" : ""}
                         </Text>
                       </View>
diff --git a/types/index.ts b/types/index.ts
index aae0ecd..76add15 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -64,6 +64,7 @@
   index: number;
   name: string;
   type: "claude" | "terminal";
+  kind?: "api" | "visual";
   isActive: boolean;
   id: string;
 }

--
Gitblit v1.3.1