Official
ui
The look of the app's components: buttons, list rows, cards, settings, callouts, and the blocks and tables of replies. Edit a component here and the whole app draws with it.
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/ui@0.1.1
Permissions in 0.1.1
Files
components/reply.tsx561 B
/** @jsxRuntime classic */
/** @jsx template */
// An agent's reply in a transcript: no surface, the transcript's body text
// (13.125px on 18.75px), inset 5px so it lines up with the labels of
// activity rows. A chat's replies and the answer in a subagent's tab are
// both one, so they read alike.
import { type Definition, template } from "../define.ts";
export const reply: Definition = {
props: {},
template: <div display="flex" flexDirection="column" gap="small" paddingX={5} paddingY="small" fontSize={13.125} lineHeight={18.75}><slot /></div>,
};
No comments yet.