Add a Page tab that keeps the last shown page reachable

This commit is contained in:
Ian Gulliver
2026-10-21 18:57:46 -07:00
parent 24cd47de8b
commit b7c762757e
5 changed files with 17 additions and 8 deletions
+3 -2
View File
@@ -3,10 +3,10 @@ import Observation
import SwiftData
enum TaskTab: String {
case transcript, board, changes, files, terminal, workflow, project
case transcript, board, changes, files, page, terminal, workflow, project
}
let taskTabs: [TaskTab] = [.transcript, .board, .changes, .files, .terminal, .workflow, .project]
let taskTabs: [TaskTab] = [.transcript, .board, .changes, .files, .page, .terminal, .workflow, .project]
enum JumpTarget: Equatable {
case question(String)
@@ -71,6 +71,7 @@ final class Store {
var connected = false
private(set) var focus = Focus()
var sheet: Sheet?
var shownPages: [String: Page] = [:]
var leadSessions: [AgentSession] = []
let leadFeed: Feed
var jump: Jump?