mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
* feat(plugins): contribute settings screens and shared controls * fix(plugins): localize settings and verify shared UI consumers * test(composer): unmount draft test roots after each case * test(app): keep launch terminals alive until cleanup The fixed ten-second profile lifetime could expire before a busy CI browser attached or finished revisiting the composer. Keep the real process waiting for input until project teardown terminates it. * test(server): await the initial snapshot before a buffered ref event Watcher setup can read checkout facts before the initial refresh publishes a snapshot. Wait for publication before injecting the event so the test consistently exercises a second refresh.
14 lines
406 B
TypeScript
14 lines
406 B
TypeScript
import { defineSettings } from "@getpaseo/plugin";
|
|
import { z } from "zod";
|
|
|
|
export const preferences = defineSettings({
|
|
id: "display",
|
|
scope: "host",
|
|
version: 1,
|
|
schema: z.object({
|
|
groupBy: z.enum(["project", "workspace", "none"]).default("project"),
|
|
showMetadata: z.boolean().default(true),
|
|
title: z.string().trim().min(1, "Enter a title").max(40).default("Agent monitor"),
|
|
}),
|
|
});
|