Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829import type { Component } from 'svelte';import type { WindowType } from '../board.svelte';import { lazy } from '../lazy';
/** The windows a page has from the start; WindowSlot imports them directly. */export type Eager = 'session' | 'note' | 'chip';
/** * Every other window's component, loaded the first time one is opened, so a * page that shows only chats never fetches the terminal, the diff highlighter * or settings. */export const loaders: Record< Exclude<WindowType, Eager>, () => Promise<Component<any>>> = { review: lazy(() => import('./ReviewNode.svelte')), terminal: lazy(() => import('./TerminalNode.svelte')), command: lazy(() => import('./ShellCommandNode.svelte')), trace: lazy(() => import('./TraceNode.svelte')), agents: lazy(() => import('./AgentsNode.svelte')), extensions: lazy(() => import('./ExtensionsNode.svelte')), usage: lazy(() => import('./UsageNode.svelte')), artifact: lazy(() => import('./ArtifactNode.svelte')), display: lazy(() => import('./DisplayNode.svelte')), pty: lazy(() => import('./PtyNode.svelte')), settings: lazy(() => import('./SettingsNode.svelte')),};