Skip to content

Function: isInViewBranch()

Makaio Framework


Makaio Framework / contracts / isInViewBranch

isInViewBranch(kind): boolean

Defined in: ../../../packages/contracts/src/session/utils/branch-kind.ts:107

Branches that stay in view (don’t navigate away).

  • branch: Parallel work that may merge back
  • subagent: Spawned worker within current context
  • coordinator: Orchestration/session-management node
  • aside: Ephemeral Q&A rendered inline in parent

null and undefined represent legacy sessions without a branch kind; use the individual predicates directly for those cases rather than getBranchBehavior.

"fork" | "branch" | "aside" | "subagent" | "compress" | "rewrite" | "coordinator" | null | undefined

Branch kind to check

boolean

True if the branch stays visible in the parent session view