Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

2.7 KB
Raw Blame

Tenant Library Surface

  • Own the Tenant-scoped Library layout and its Home file tree.
  • The Library home (/library) is for finding Documents: no sidebar, a Recent card row, and My pages / Shared with me / Meetings tabs (?tab=). The Meetings list is a tab, not a route; /library/meetings?entry=<meeting id> opens one read-only meeting, and without entry it redirects to the tab.
  • My pages and Shared with me list their tree one Folder level at a time (?folder= opens a level); a Document inside a Folder never shows at the root. The smart view only supplies each row's Visible in sources. ?folder=<placement id> opens one Folder: a breadcrumb, then only its direct child Folders and Documents from that tab's tree. On My pages the New menu and file drops target the open Folder.
  • Uploads (Import, Upload folder, file or folder drops) recreate dropped folder structure as personal Folders, then upload files sequentially. The pending queue lives in library-upload-queue.ts outside React state so it survives leaving and reopening the Library; do not move it back into component state.
  • The sidebar appears beside an opened Document for switching: Back to Library, then personal Documents, Shared with me, and the independent read-only Meetings list. Wiki is a primary-rail destination with its own file sidebar, retaining /t/:tenantId/library/wiki. My Documents and Shared with me remain document-tree views.
  • LibraryLayout is a pathless route over library/* and documents/:documentId and alone renders the Library sidebar (on every route except the home), so navigation only swaps the content pane. Pages must not render LibrarySidebar; open it at phone width through useWorkspaceTree().
  • My Documents is the current Human owner's real personal Placement tree. Keep its multi-level Folder, inline create/rename, tree-local Move, Duplicate, import/export, trash/restore, ancestor expansion, active reveal, scroll restoration, keyboard, and menu behavior behind the shared tree module.
  • Shared with me is a Binding-derived smart view of accessible Documents not owned by the current Human. It never creates a Placement or masquerades as a Folder. Copy to My Documents creates an independent Document through the canonical Duplicate command and then opens the new identity.
  • Do not expose Favorite controls or views; TeamHub keeps no Favorite records or events.
  • Create and upload Human-owned Documents into personal Placement even when the same transaction creates a Room, Work Item, or Wiki Binding. Agent-owned Documents stay out of Human personal trees.
  • Opening any Document reuses the unified editor and stable document_id; do not add a Library-owned authority, second editor, shortcut identity, or fallback read.