~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
19 lines · 1.5 KB Raw History
// @hud/shell: an app drawn as a web app from its app file (<domain>.json):
// `Shell` draws its frame (frame.ts: the tabs as a bottom bar, a rail or a
// sidebar by the window's width, its action, account and links, an aside)
// and its screens, each tab a nav stack of HUD's tool results drawn with
// @hud/renderer, on a server and hydrated alike. Its host gives it the app,
// its router's history (`Navigation`), where its server takes the pages'
// calls (`Host`), and what its server read for the page with
// `@hud/shell/server`. Import `@hud/shell/shell.css` once, after
// `@hud/renderer/theme.css`.

export { default as Shell, type Here, type Host, type Navigation } from './Shell.svelte';
export { default as Head } from './Head.svelte';
export { at, measureOf, pageCall, rootsOf, routesOf, tabCall, tabPath, type App, type Badge, type First, type Measure, type Page, type Search, type SignInPlan, type Tab, type Typeahead } from './app';
export { Client, SignInNeeded, toolRequest, toolResult, type Endpoints } from './client';
export { areasOf, frameCss, layoutOf, type AccountItem, type Frame, type Layout } from './frame';
export { headOf, headOfAnswer, headOfView, type AppHead, type Head as PageHead, type ScreenHead } from './head';
export { callOf, Names, pathOf, same, type Route } from './routes';
export { carried, entryOf, type Answer, type Screen, type SignInState } from './screen';
export { applyScheme, lookCss, schemeIn, schemeOf, type Look, type Palette, type Scheme } from './theme';