An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
export const showFullscreenDocumentBar = (protyle: IProtyle, host: HTMLElement) => {
const bar = protyle.breadcrumb?.element.parentElement;
if (!bar) {
return;
}
const marker = document.createComment("document-bar");
bar.before(marker);
host.before(bar);
bar.classList.add("protyle-breadcrumb--fullscreen");
host.classList.add("mindmap-view--document-bar");
return () => {
bar.classList.remove("protyle-breadcrumb--fullscreen");
host.classList.remove("mindmap-view--document-bar");
marker.replaceWith(bar);
};
};