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

  • Change app settings settings.writeHighChanges the app settings.Apply the components' look to the window

Files

components.test.ts818 B
// The kernel compiles in the set this plugin defines
// (crates/kernel/components/divergence.json), so the window draws every
// component before any plugin runs. It is written from here, never by
// hand: `UI_WRITE_STOCK=1 pnpm -C plugins test` rewrites it.
import assert from "node:assert/strict";
import { readFileSync, writeFileSync } from "node:fs";
import test from "node:test";
import { components } from "./components.ts";

const STOCK = new URL("../../crates/kernel/components/divergence.json", import.meta.url);

test("the kernel's stock components are this plugin's", () => {
  const written = `${JSON.stringify(components, null, 2)}\n`;
  if (process.env.UI_WRITE_STOCK) writeFileSync(STOCK, written);
  assert.equal(readFileSync(STOCK, "utf8"), written, "run UI_WRITE_STOCK=1 pnpm -C plugins test");
});

Versions

VersionPublishedPlugin APISizePermissionsStatus
0.1.2latestNov 21, 2026>=5 <610.6 KB1 permissionListed
0.1.1Nov 16, 2026>=5 <610.2 KB1 permissionListed
0.1.0Nov 9, 2026>=5 <68.8 KB1 permissionListed

Reviews and comments

0 threads · 0 reviews

No comments yet.