🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
interface RailSectionPlacementInput {
/** The rail is folded away, so the main column carries the sections it owns. */
inlineRail?: boolean;
variant: 'default' | 'main' | 'rail';
}
/**
* Whether this column carries the sections the rail owns — goals and news.
*
* They live in the rail while it is open; the main column takes them only once
* it folds away, which is the difference between "collapsed" and "gone": a
* folded rail must not take long-lived goals and daily reports off the page.
*/
export const ownsRailSections = ({ inlineRail, variant }: RailSectionPlacementInput): boolean =>
variant !== 'main' || Boolean(inlineRail);