Add chat branching from a live session #46
Labels
No labels
delivered
outstanding
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kayg/hermternal-apple#46
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ask
Add chat branching from the current chat using the existing
session.branchRPC. A branched child must appear as a normal flat chat with a lineage indicator rather than nested under its parent.Files and APIs
Sources/HermternalCore/Net/GatewayClient.swift: the existingsession.branchRPC, which takes the live session id and optionalcountandname.Sources/Hermternal/AppModel.swift: branch action routing, child session state, and selection.Sources/Hermternal/Views/SidebarView.swift: normal child row presentation and lineage indicator.Sources/HermternalCore/Models/ChatModels.swift: branch parent/lineage metadata.Acceptance
session.branchwith the live session id and forwards optionalcountandnamewhen supplied.