Fix branch summarization abort handling and tree navigation

- Check response.stopReason instead of catching errors for abort detection
- Return result object from _generateBranchSummary instead of throwing
- Fix summary attachment: attach to navigation target position, not old branch
- Support root-level summaries (parentId=null) in branchWithSummary
- Remove setTimeout hack for re-showing tree selector on abort
This commit is contained in:
Mario Zechner 2025-12-29 20:15:19 +01:00
parent 9dac0a1423
commit 01dae9ebcc
7 changed files with 55 additions and 40 deletions

View file

@ -25,7 +25,7 @@ export type ReadonlySessionManager = Pick<
| "getSessionDir"
| "getSessionId"
| "getSessionFile"
| "getLeafUuid"
| "getLeafId"
| "getLeafEntry"
| "getEntry"
| "getLabel"